Asteroid modding in EL

Custom mods, stories, and artwork based on the Evochron / Arvoch universe.
Kirth
Ensign
Ensign
Posts: 2
Joined: Thu Nov 04, 2010 7:50 am

Asteroid modding in EL

Post by Kirth »

First of all, a big hello to everyone :D. I have a question about modding asteroids in EL. In the readme file for the customizing kit it states
Asteroids can also be modified to provide different items to mine as well as at different frequencies. The commands are: RoidsAMin RoidsAMax RoidsBMin RoidsBMax RoidsCMin RoidsCMax RoidsATyp RoidsBTyp RoidsCTyp You can define up to three separate item slots that can be mined from asteroids, the default values are 6, 7, and 12 (metal, diamonds, and platinum). If you wanted to include only one item, just put the same slot number in all three 'Typ' fields. The minimum and maximum options are the percentages each item type will be recovered. The default values are -1 to 35 for A, 34 to 75 for B, and 74 to 101 for C. The values are stepped apart by 1 to account for the greater than and less than calculation (>-1 to <35 means a 0 to 34 range). You can adjust these values if you want to change the frequency a particular item is mined.
How do you use the commands? Like this?
-Asteroid Field
RoidsSecX=-9
RoidsSecY=0
RoidsSecZ=7
RoidsPosX=500
RoidsPosY=100
RoidsPosZ=7000
RoidsSize=0
RoidsText=1
RoidsAMin=
RoidsAMax=
RoidsBMin=
RoidsBMax=
RoidsCMin=
RoidsCMax=
RoidsATyp=12
RoidsBTyp=12
RoidsCTyp=12
-EndRoids
could someone maybe post or U2U me an example please? Any help would be much appreciated, thanks :)

[Edited on 7-11-2010 by Kirth]
User avatar
Marvin
Global Moderator
Global Moderator
Posts: 14373
Joined: Wed Mar 04, 2009 5:47 am
Location: Fallon-Reno

Asteroid modding in EL

Post by Marvin »

:cool: The definitions go in a modded version of the "universedata" file, the long form being what you've listed. If you included the values to what's missing, it might look like this:
-Asteroid Field
RoidsSecX=-9
RoidsSecY=0
RoidsSecZ=7
RoidsPosX=500
RoidsPosY=100
RoidsPosZ=7000
RoidsSize=0
RoidsText=1
RoidsAMin=-1
RoidsAMax=35
RoidsBMin=34
RoidsBMax=75
RoidsCMin=74
RoidsCMax=101
RoidsATyp=6
RoidsBTyp=7
RoidsCTyp=12
-EndRoids
The short form would look something like this:
-Asteroid Field
RoidsSecX=-2
RoidsSecY=-2
RoidsSecZ=6
RoidsPosX=-4000
RoidsPosY=5000
RoidsPosZ=-7000
RoidsSize=5
RoidsText=1
-EndRoids
The short form uses default values ('cause nothing else is specified). The long form is only needed if you want to modify the type(s) of minerals found in the asteroid cluster.

SecX, SecY and SecZ are the sector coordinates for the location of your asteroid field.

PosX, PosY and PosZ are the coordinates for the location within the sector ... divided by 10. Meaning, if you want to place an asteroid field midway along the positive X axis (located at 50000), you divide by 10 and use the definition:
RoidsPosX=5000
You only divide by 10 when specifying coodinates within a sector ... not the sector coordinates themselves.
Kirth
Ensign
Ensign
Posts: 2
Joined: Thu Nov 04, 2010 7:50 am

Asteroid modding in EL

Post by Kirth »

Ahhhh, many thanks Marvin :)