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 » Mon Dec 29, 2014 6:50 pm

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: 5173
Joined: Fri Dec 13, 2002 4:11 am
Location: https://discord.gg/NN9uAvx
Contact:

Re: Make robots respect stealth/cloak/noradar

Post by JeffM » Tue Dec 30, 2014 10:11 pm

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.

Post Reply