As a first person shooter a robot can aim to others getting differednces by color:
Variables:
x1=x lines
y1=y lines
sight= range to shoot
des = desitions
:"start"
color "real color of the faction"
char "normal"
set "des" random 1 2
if des = 1 "aimloop
wait 3
go randnb 1
goto "start"
:"aimloop"
set "x1" 0
set "y1" 0
loop start
inc "x1" random -1 1
inc "y1" random -1 1
if "opponent1 color" robot p?? "x1" "y1" "target"
if "opponent2 color" robot p?? "x1" "y1" "target"
loop "sight"
goto "Start"
:target
char ''shoting"
send "x1" "y1" "gotcha"
wait 3
goto "start"
:"gotcha"
char "hitted"
color "white"
wait 1
set des random 1 "armor"
if des = 1 "die"
goto "start"
:"die"
die
Put real colors of any faction for example red colony against green colony
this example can be apply to a robot by player, if any1 can tell me how to post my games at mzx page ill be glad.
check it out and tell me what do you think at rausendefausto@gmail.com
Page 1 of 1
New way to the player Im done with a new way to the player as
#2
Posted 30 September 2006 - 05:48 PM
Fico, on Sep 17 2006, 06:22 PM, said:
if any1 can tell me how to post my games at mzx page ill be glad.
Upload them to the New Game Announcements forum, and we'll get around to adding them to the site.
chicken jockey
Share this topic:
Page 1 of 1

Help




