Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How does the obilisk choose its targets?
Re: How does the obilisk choose its targets? [message #356157 is a reply to message #355982] Tue, 28 October 2008 13:14 Go to previous messageGo to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma:
General (2 Stars)

I cloned the original obelisk script to fix the "obby stays charged" bug. This is how the script works. Since people say it apparently does not shoot the first vehicle, perhaps there was another bug in there that I fixed so that it now does. The .5 second thing is accurate anyway. That's the way AI enemy seen logic works. If it indeed does not fire at the first vehicle on default, I assume it fires at the thing it apparently finds last, in which case I can not predict what it would be. It seems unlikely to me that it would always pick the object latest in view.

I agree that improving the target picking might be nice, but it could influence gameplay quite a bit. (Shoot the hotty rather than the engi / shoot the vehicle that will die in one shot rather than the one that can survive another / shoot the vehicle furthest away because maybe you can fire another shot at it / etc). Iirc scripts contains a obelisk script clone (M00_Obelisk or M00_Obelisk_Weapon or something?), you should be able to enable its registrant and play around to find some nice algorithm. I'm interested in the results.


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Obi...
Next Topic: [REQUEST] Star Wars 500 sniper request.
Goto Forum:
  


Current Time: Wed Dec 25 13:57:19 MST 2024

Total time taken to generate the page: 0.00732 seconds