Author Topic: Custom Level I'm having some trouble with.  (Read 5965 times)

Unre9istered

  • Guest
Custom Level I'm having some trouble with.
« on: March 20, 2009, 02:24:35 AM »
Here's a level I'm working on that I'm having some problems with. 
Current problems:
  1. Team 2 activates right away.
  2. Send distance appears the same for all asteroids irregardless of size.

I'm trying to make it so that after a certain time (I'd adjust to make it a challenge) the massive numbers of enemy units on the outer ring would "awaken" and attack.  Base on how they act now, it would still be challenging to win if you've only taken half or so of the outer ring before they attack.

Any help (or ideas for improvement) would be welcome.

Quote
<?xml version="1.0"?>
<DysonSettings version="0.3">
<!-- Unre9istered's attempt at a Dyson Level -->
 <dir name="ASTEROIDS">
 <dir name="MAXTREES" type="int" value="5" />
 <dir name="MINRADIUS" type="int" value="100" />
 <dir name="MAXRADIUS" type="int" value="1000" />
 <dir name="MINSENDDISTANCE" type="int" value="2400" />
 <dir name="MAXSENDDISTANCE" type="int" value="4000" />
 </dir>
 <dir name="AI">
 <dir name="MINTICK" type="int" value="3" />
 <dir name="MAXTICK" type="int" value="6" />
 <dir name="GRACE" type="int" value="99000" />
 </dir>
 <dir name="GAME">
 <dir name="ENEMYFACTIONSMIN" type="int" value="1" />
 <dir name="ENEMYFACTIONSMAX" type="int" value="1" />
 <dir name="ASTEROIDS" type="int" value="45" />
 <dir name="MAXASTEROIDNEIGHBOURDIST" type="int" value="10000" />
 </dir>
 <greeting text="The Titans sleep in the outer ring!"/>
 <greeting text="Destroy them before they awaken."/>
 <wintext text="WIN!"/>
 <losetext text="FAIL"/>
 <win if="team 2 owns 0 asteroids"/>
 <lose if="team 1 owns 0 asteroids"/>

 <empire team="2" grace="99000" />

 <!-- 1 big center -->
 <asteroid pos="0,0" attribs="1,1,1" radius="1000" owner="1" trees="2,0" seedlings="65" static="false"/>

 <!-- 1 small 1st ring -->
 <asteroid pos="2000,0" attribs="0.3,0.3,1" radius="100" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 2 small 1st ring -->
 <asteroid pos="-2000,0" attribs="0.3,0.3,1" radius="100" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 3 small 1st ring -->
 <asteroid pos="0,2000" attribs="0.3,0.3,1" radius="100" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 4 small 1st ring -->
 <asteroid pos="0,-2000" attribs="0.3,0.3,1" radius="100" owner="0" trees="0,1" seedlings="30" static="false"/>

 <!-- 1 med 2nd ring -->
 <asteroid pos="1068,3984" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 2 med 2nd ring -->
 <asteroid pos="2917,2917" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 3 med 2nd ring -->
 <asteroid pos="3984,1068" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 4 med 2nd ring -->
 <asteroid pos="3984,-1068" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 5 med 2nd ring -->
 <asteroid pos="2917,-2917" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 6 med 2nd ring -->
 <asteroid pos="1068,-3984" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 7 med 2nd ring -->
 <asteroid pos="-1068,-3984" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 8 med 2nd ring -->
 <asteroid pos="-2917,-2917" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 9 med 2nd ring -->
 <asteroid pos="-3984,-1068" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 10 med 2nd ring -->
 <asteroid pos="-3984,1068" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>   
 <!-- 11 med 2nd ring -->
 <asteroid pos="-2917,2917" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>   
 <!-- 12 med 2nd ring -->
 <asteroid pos="-1068,3984" attribs="0.6,0.6,1" radius="500" owner="0" trees="0,1" seedlings="30" static="false"/>

 <!-- 1 big 3rd ring -->
 <asteroid pos="4773,4773" attribs="0.8,0.8,1" radius="750" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 2 big 3rd ring -->
 <asteroid pos="4773,-4773" attribs="0.8,0.8,1" radius="750" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 3 big 3rd ring -->
 <asteroid pos="-4773,-4773" attribs="0.8,0.8,1" radius="750" owner="0" trees="0,1" seedlings="30" static="false"/>
 <!-- 4 big 3rd ring -->
 <asteroid pos="-4773,4773" attribs="0.8,0.8,1" radius="750" owner="0" trees="0,1" seedlings="30" static="false"/>

 <!-- 1 small 4th ring -->
 <asteroid pos="2329,8693" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 2 small 4th ring -->
 <asteroid pos="4500,7794" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 3 small 4th ring -->
 <asteroid pos="6364,6364" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 4 small 4th ring -->
 <asteroid pos="7794,4500" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 5 small 4th ring -->
 <asteroid pos="8693,2329" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 6 small 4th ring -->
 <asteroid pos="9000,0" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 7 small 4th ring -->
 <asteroid pos="8693,-2329" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 8 small 4th ring -->
 <asteroid pos="7794,-4500" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 9 small 4th ring -->
 <asteroid pos="6364,-6364" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 10 small 4th ring -->
 <asteroid pos="4500,-7794" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 11 small 4th ring -->
 <asteroid pos="2329,-8693" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 12 small 4th ring -->
 <asteroid pos="0,-9000" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 13 small 4th ring -->
 <asteroid pos="-2329,-8693" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 14 small 4th ring -->
 <asteroid pos="-4500,-7794" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 15 small 4th ring -->
 <asteroid pos="-6364,-6364" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 16 small 4th ring -->
 <asteroid pos="-7794,-4500" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 17 small 4th ring -->
 <asteroid pos="-8693,-2329" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 18 small 4th ring -->
 <asteroid pos="-9000,0" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 19 small 4th ring -->
 <asteroid pos="-8693,2329" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 20 small 4th ring -->
 <asteroid pos="-7794,4500" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 21 small 4th ring -->
 <asteroid pos="-6364,6364" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 22 small 4th ring -->
 <asteroid pos="-4500,7794" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 23 small 4th ring -->
 <asteroid pos="-2329,8693" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 <!-- 24 small 4th ring -->
 <asteroid pos="0,9000" attribs="1,1,1" radius="100" owner="2" trees="0,5" seedlings="100" static="false"/>
 

</DysonSettings>

Alex

  • Administrator
  • Ent
  • *****
  • Thank You
  • -Given: 3
  • -Receive: 14
  • Posts: 1,035
Re: Custom Level I'm having some trouble with.
« Reply #1 on: March 20, 2009, 08:15:35 PM »
I'll check it out. Cheers.

Jamis

  • Seedling
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 27
Re: Custom Level I'm having some trouble with.
« Reply #2 on: March 22, 2009, 04:07:37 AM »
"<empire team="2" grace="99000" />"

From what I understand, grace is the time in seconds that AI teams wait until they start attacking.

E.G. if you want Team 2 to start attacking after 5 minutes, set their grace to 300 (5x60=300).

Assign different teams to different parts of your rings and give them ever increasing grace times.

In the main game options, you might have to remove the grace entry:

<dir name="AI">
 <dir name="MINTICK" type="int" value="3" />
 <dir name="MAXTICK" type="int" value="6" />
 <!--dir name="GRACE" type="int" value="99000" /-->   (Either comment this out like this, or just delete the whole line)
 </dir>

Does that help?  If I am wrong someone please chime in.

Thanks,

-Jamis