Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » bots repair buildings
Re: bots repair buildings [message #204696 is a reply to message #204595] Wed, 21 June 2006 02:01 Go to previous messageGo to previous message
nopol10 is currently offline  nopol10
Messages: 1043
Registered: February 2005
Location: Singapore
Karma:
General (1 Star)
I do remember using a JFW_Engineer_Repair and JFW_Engineer_Target.

From the scripts.dll readme file

JFW_Engineer_Target (clone of M03_Engineer_Target)

JFW_Engineer_Repair (clone of M03_Engineer_Repair)
Repair_Priority (priority for repairing)

To prevent the problem where when you get out of a vehicle, it is no longer being repaired by the bots, use NH_SetTeam_OnLeave, it should work.
Also, in addition, JFW_Engineer_Target has been modified to check the Shield Strength (i.e. armour) of the object in addition to the health.
The repair object can be any vehicle or infantry that has a repair gun weapon and wheels/legs/tracks/whatever so it can move.
Also, there is a limit to how far away the repair script will detect a damaged target (since I can't find the sound presets it's using, I can't identify how far that is)


It didn't seem to work when I tried though.


nopol10=Nopol=nopol(GSA)

http://i14.photobucket.com/albums/a330/napalmic/siggy.jpg
 
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
Read Message
Read Message
Read Message
Previous Topic: Example Code: Inbuilt Veteran System
Next Topic: Ulead Photoimpact for skins + PS
Goto Forum:
  


Current Time: Tue Oct 08 10:17:58 MST 2024

Total time taken to generate the page: 0.01121 seconds