; ; Sitting-Duck robot. Use this one as a non-moving target. ; (it just spins in place) ; ; Sample robot - by Ed T. Toton III 02/04/97 #def turn_rate #def bbbacc #DEF V #config armor=0 #config heatsinks=0 #config shield=4 #config scanner=0 #config engine=2 #config weapon=2 #config mines=4 OPO 20, 500 ; SET SHUTDOWN LEVEL MOV V 0 ; SET V=0 mov turn_rate, 10 :1 opo 15, 0 opo 24, 1 ;ipo 7 ax ;opo 24, 1 ;ipo 8,bbbacc ;opo 24, 1 ;SUB ax bbbacc ;add accuracy to scan ;opo 24, 1 inc ax and ax, 255 ; fix it to 0 to 255 opo 24, 1 opo p_abs_turret, ax ; aim turret opo 24, 1 opo 14, turn_rate opo 24, 1 OPO 11, 100; SET THRUST TO 100% ;OPO 14, V; TURN DIRECTION V DEGREES OPO 22, 10; LAY MINE WITH RADIUS 10 IPO 6, AX ; STORE CURRENT ARMOUR VALUE TO VARIABLE AX CMP AX,20 ;DETONATE ALL MINES IF ARMOUR VALUE<=20% JBE 2 JMP 1; GOTO 1 :2 OPO 23 JMP 1 ;jmp 1 #END 02/17/97 You can put whatever you want after the program by using the #END compiler directive, since the compiler stops compiling at that point.