Euflorium: The Eufloria Community
Eufloria => Eufloria Classic => Eufloria Classic Mods => Topic started by: CdeathJD on March 27, 2009, 01:41:28 AM
-
Hey there, i'm just getting into the level editing side of Dyson but am having problems:
<?xml version="1.0"?>
<DysonSettings version="0.3">
<colour r="239" g="246" b="253" />
<dir name="AGENTS">
<dir name="ATTACKAGENTDISTANCE" type="int" value="250" />
<dir name="ATTACKREPEATTIME" type="float" value="0.75" />
</dir>
<dir name="ASTEROIDS">
<dir name="VOLUME" type="int" value="52" />
<dir name="CONQUERVOLUME" type="int" value="128" />
<dir name="MAXTREES" type="int" value="5" />
<dir name="SENDVOLUME" type="int" value="25" />
<dir name="ASTEROIDSELECTRADIUS" type="int" value="4500" />
<dir name="MINSENDDISTANCE" type="int" value="4500" />
<dir name="MAXSENDDISTANCE" type="int" value="4500" />
</dir>
<dir name="AI">
<dir name="MINTICK" type="int" value="1" />
<dir name="MAXTICK" type="int" value="5" />
<dir name="GRACE" type="int" value="1000" />
</dir>
<dir name="STRUCTURES">
<dir name="COST" type="int" value="15" />
<dir name="MINHEALTH" type="int" value="1000" />
<dir name="MAXHEALTH" type="int" value="4000" />
<dir name="HEALTHPOWERRULE" type="int" value="10" />
<dir name="FULLAGEDAMAGEMULTIPLIER" type="int" value="0.2" />
<dir name="ZEROAGEDAMAGEMULTIPLIER" type="int" value="1.1" />
<dir name="DAMAGEREDUCTIONPOWER" type="int" value="4" />
<dir name="REGENERATE" type="int" value="0.3" />
<dir name="LEVELDURATION1" type="int" value="30" />
<dir name="LEVELDURATION2" type="int" value="60" />
<dir name="LEVELDURATION3" type="int" value="90" />
<dir name="LEVELDURATION4" type="int" value="120" />
<dir name="SPAWNTIME1" type="int" value="25" />
<dir name="SPAWNTIME2" type="int" value="20" />
<dir name="SPAWNTIME3" type="int" value="17" />
<dir name="SPAWNTIME4" type="int" value="12" />
<dir name="SOUNDVOLUME" type="int" value="200" />
<dir name="MINSOUNDTIME" type="int" value="15" />
<dir name="MAXSOUNDTIME" type="int" value="100" />
</dir>
<dir name="MISSILES">
<dir name="AMMOAVAILABLE1" type="int" value="6" />
<dir name="AMMOAVAILABLE2" type="int" value="7" />
<dir name="AMMOAVAILABLE3" type="int" value="8" />
<dir name="AMMOAVAILABLE4" type="int" value="9" />
<dir name="DAMAGEMIN" type="int" value="20" />
<dir name="DAMAGEMAX" type="int" value="80" />
<dir name="RADIUSMIN" type="int" value="100" />
<dir name="RADIUSMAX" type="int" value="175" />
<dir name="MINSPEED" type="int" value="500" />
<dir name="MAXSPEED" type="int" value="900" />
<dir name="TRIGGERDISTANCE" type="int" value="70" />
<dir name="RELOADMIN" type="int" value="1" />
<dir name="RELOADMAX" type="int" value="3" />
<dir name="TURNRATE" type="int" value="2" />
<dir name="LAUNCHDURATION" type="int" value="3" />
<dir name="CHECKTIMER" type="int" value="1.5" />
</dir>
<dir name="CAMERA">
<dir name="EXTRAVIEW" type="int" value="26000" />
</dir>
<dir name="GAME">
<dir name="ENEMYFACTIONSMIN" type="int" value="1" />
<dir name="ENEMYFACTIONSMAX" type="int" value="1" />
<dir name="STARTINGSEEDLINGS" type="int" value="45" />
<dir name="STARTINGSEEDLINGSPLAYER" type="int" value="45" />
<dir name="GREYSPROBABILITY" type="int" value="50" />
<dir name="GREYSMIN" type="int" value="1" />
<dir name="GREYSMAX" type="int" value="2" />
</dir>
<dir name="PROGRAM">
<dir name="MUSIC" type="int" value="1" />
<dir name="TOOLTIPTIME" type="int" value="0.25" />
<dir name="TOOTIPTIMEUI" type="int" value="0.25" />
<dir name="AUTOHIDE" type="int" value="0" />
<dir name="FULLSCREEN" type="int" value="0" />
<dir name="SEENHELP" type="int" value="1" />
<dir name="FONTSIZE" type="int" value="1.5" />
<dir name="BACKGROUNDFADE" type="int" value="0.01" />
<dir name="PLAYERCOLOR" type="int" value="6" />
</dir>
<!--Player9 Center Asteroid (Asteroid 0)-->
<!--asteroid pos="0,0" attribs="1.0,1.0,0.9" radius="800" owner="9" trees="2,3" seedlings="300" static="false"/-->
<asteroid pos="-3,-5" radius="500" attribs="1.0,1.0,1.0" owner="1" trees="1,1" seedlings="50" static="false"/>
<asteroid pos="-3784,-4098" radius="500" attribs="0.46,0.46,0.46" static="false"/>
<asteroid pos="4015,-4330" radius="930" attribs="0.46,0.61,0.46" static="false"/>
<asteroid pos="3452,2446" radius="802" attribs="0.76,0.76,0.61" static="false"/>
<asteroid pos="415,3152" radius="395" attribs="0.01,0.01,0.01" static="false"/>
<asteroid pos="-3186,4400" radius="500" attribs="0.01,0.01,0.01" static="false"/>
<asteroid pos="-1280,6918" radius="500" attribs="0.01,0.01,0.01" static="false"/>
<asteroid pos="-1397,10567" radius="500" attribs="0.01,0.01,0.01" static="false"/>
<asteroid pos="-3798,14239" radius="500" attribs="0.01,0.01,0.01" static="false"/>
<asteroid pos="-3328,18853" radius="500" attribs="0.76,0.61,0.31" static="false"/>
<asteroid pos="-3375,26104" radius="1250" attribs="0.61,0.61,0.46" owner="2" trees="1,1" seedlings="50" static="false"/>
<asteroid pos="-4997,26" radius="930" attribs="1.0,0.76,0.76" owner="1" trees="1,1" seedlings="50" static="false"/>
<asteroid pos="-517,-3369" radius="851" attribs="0.91,0.91,0.76" owner="1" trees="1,1" seedlings="50" static="false"/>
<!--Greeting Text-->
<greeting text="LEVEL 2: RETURN TO ALPHA QUADRANT V.2"/>
<greeting text=""/>
<greeting text="CONQUER ALL 13 CENTRAL ASTEROIDS AND THE FOUR"/>
<greeting text="ASTEROIDS CLOSEST TO THE EDGE OF THE MAP"/>
<!--Winning Text-->
<wintext text="EPIC WIN!"/>
<!--Losing Text-->
<losetext text="EPIC FAIL!"/>
<!--Win Conditions-->
<win if="team 1 owns 6 asteroids"/>
<lose if="team 1 owns 0 asteroids"/>
</DysonSettings>
For some unknow reason the program puts in a ring of random asteroids around the ones i've planned. Does anyone know why this might be?
-
Try this:
Add <dir name="ASTEROIDS" type="int" value="0" /> under the Game directory after EnemyFactionsMax
If that doesn't work, add these two right before Asteroids.
<dir name="BELTRADIUS" type="int" value="20000" />
<dir name="BELTWIDTH" type="int" value="10000" />
These are just guesses. I had the same problem at one point, but I'm not exactly certain how I fixed it.
-Jamis
-
Thanks! That seemed to work!
-
Hi, I'm new here as of yesterday.
Do we know which of those added lines got rid of the random asteroids, and why it worked?
Thanks!
-
The main thing is to set the number of asteroids to zero. That will cause the game not to generate any random asteroids.
-
You can also set it to the exact number of asteroids you yourself define in the level file, jsut count the asteroids you are creating and use that as your totalasteroid number. Additionally, if you want to have a few more random ones you can increase the asteroid number accordingly. You will need to play with the beldwith and diameter values though :-)