Repair Turrets? [message #71669] |
Sun, 14 March 2004 18:24 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
Hi there!
Did anybody know if itīs possible to create something like Repair Turrets? Would be nice to create Repair Bays with it but as i tried i didnīt find a working way. If i use a enemy turret it would be destroyed by my own Base Defence and if i use a friendly Turret it wouldnīt "Fire" on Friendly Units. So has anybody an idea for me?
<<SCUD-Storm Origin Creator>>
|
|
|
|
Repair Turrets? [message #71676] |
Sun, 14 March 2004 18:46 |
|
htmlgod
Messages: 360 Registered: July 2003
Karma: 0
|
Commander |
|
|
If you give it the repairgun_ai as a weapon, and attach the m06_engineer_repair script as an AI it should work, but that script, the only decent repair bot AI included with the engine, has many problems. But it works well for repairing harvester or other bots.
Keep in mind that you must attach m06_engineer_target to anything that you want it to repair, thats teh only way it will work.
The best probable application of this would be having some small discreet model attached to the refinery on your map by where the harvester comes in, to have it repair the harvester when it came in. You see, for some reason that I don't fully comprehend, the AI script doesn't allow hte bot to repair units that have experienced what is called a "transition," meaning someone has entered or exited the vehicle, so its not much use for that. I think it may work for infantry, and I'm fairly certain the script works for bots, but like it won't work for a vehicle that you buy and get into. Kind of hard to explain.
Check out http://newhope.conquergaming.com to see the progress of the STARWARS mod for Renegade.
|
|
|
Repair Turrets? [message #71679] |
Sun, 14 March 2004 18:52 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
well... i understood what you mean. Iīll keep on searching for other ways but this could help me. thx
<<SCUD-Storm Origin Creator>>
|
|
|
|
Repair Turrets? [message #71698] |
Sun, 14 March 2004 21:25 |
|
IRON FART
Messages: 1989 Registered: September 2003 Location: LOS ANGELES
Karma: 0
|
General (1 Star) |
|
|
Repairing the harvester on entry is a good idea.
And i'm looking forward to whatever the hell you are making, E!
Quote: |
Quote from IRC
<[Digital]> get man_fucking_a_car.mpg
<[Digital]> ah fuck wrong window
|
|
|
|
|
|
Repair Turrets? [message #71738] |
Mon, 15 March 2004 05:43 |
|
The best answer to this problem is to use JFW_Engineer_Repair on the repair turret and JFW_Engineer_Target on all presets which should be repaired.
Also, you need to use NH_SetTeam_OnLeave on all the vechicles to make sure they continue to be repaired even afte someone gets into and then back out of them.
|
|
|
Repair Turrets? [message #71747] |
Mon, 15 March 2004 08:04 |
|
E!
Messages: 70 Registered: February 2004
Karma: 0
|
Recruit |
|
|
^^and that works fpr both sides without repairing the enemy? or will the enemy be repaired too?
<<SCUD-Storm Origin Creator>>
|
|
|
Repair Turrets? [message #71809] |
Mon, 15 March 2004 15:21 |
|
Wont repair the enemy, only frendlies.
That why you need the NH_SetTeam_OnLeave, so that the vechicles dont turn neurtal after you get out of them.
|
|
|