Make robots respect stealth/cloak/noradar

Make suggestions for improving one of the best games on the net!
Post Reply
BrianHoltz
Private
Private
Posts: 1
Joined: Mon Dec 29, 2014 6:20 pm

Make robots respect stealth/cloak/noradar

Post by BrianHoltz »

I want to make robots respect the noradar setting and the stealth and cloak flags. Any advice on the best way to implement this? Initial reading of the code indicates that robots use their omniscience to pick a target (regardless of obstructions, noradar, stealth) and then navigate an intercept path.

I find that radar makes the game graphics close to pointless, and that if radar is available then one only looks at the radar pixels. Might as well be playing on an Atari 2600 at that point. So I set noradar, but that doesn't affect the robots, and my kids get tired of being ambushed by omniscient robots.
User avatar
JeffM
Staff Sergeant
Staff Sergeant
Posts: 5196
Joined: Fri Dec 13, 2002 4:11 am

Re: Make robots respect stealth/cloak/noradar

Post by JeffM »

If youv'e found the place in the code where it picks a target, then just update that code to check the carried flag and ignore the target. The bots are very dumb.
ImageJeffM
Post Reply