Code: Select all
<Zone effect="fortress">
<ShapeCircle radius="27" growth="0">
<Point x="864" y="-688"/>
</ShapeCircle>
do i only need to put something like that in there:
Code: Select all
<speed along x="6" y="-6" />
Code: Select all
<Zone effect="fortress">
<ShapeCircle radius="27" growth="0">
<Point x="864" y="-688"/>
</ShapeCircle>
Code: Select all
<speed along x="6" y="-6" />
Code: Select all
print("spawn_zone n north fortress none 0 " . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n north fortress none 0 " . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n north fortress none 0 " . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
//south sumo zones
print("spawn_zone n south fortress none 0 -" . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n south fortress none 0 -" . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n south fortress none 0 -" . $zone_pos . " " . $zone_size . " " . $growth . " 0 0 false\n");
//east sumo zones
print("spawn_zone n east fortress none " . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n east fortress none " . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n east fortress none " . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
//west sumo zones
print("spawn_zone n west fortress none -" . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n west fortress none -" . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
print("spawn_zone n west fortress none -" . $zone_pos . " 0 " . $zone_size . " " . $growth . " 0 0 false\n");
Code: Select all
print("CENTER_MESSAGE The Zones are Moving!...\n");
print("set_zone_position north 0 -2.5 0 -100 0 -100\n");
print("set_zone_position south 0 2.5 0 100 0 100\n");
print("set_zone_position east -2.5 0 -100 0 -100 0\n");
print("set_zone_position west 2.5 0 100 0 100 0\n");
Code: Select all
spawn_zone n north fortress
Code: Select all
set_zone_position north 0 -2.5 0 -100 0 -100
Code: Select all
SPAWN_ZONE death 450 250 40 0 -10 0 true
I think kyle is saying you can convert the script to a language you understand better. But I suspect you aren't fluent in any programing language, isn't that right? I thought I remember you saying such. Maybe soon you will find someone to help you with your project.AI Teâm wrote:hm ??
i dont get the point?!
Code: Select all
import sys, re
while 1:
line = sys.stdin.readline()
if re.match("^GAME_TIME", line):
keywords = line.split()
game_time=int(keywords[1])
if( game_time == -1):
sys.stdout.write("Spawn_zone bla bla bla")
sys.stdout.flush()