Renegade Public Forums
C&C: Renegade --> Dying since 2003â„Ē, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Repair Turrets?
Repair Turrets? [message #71669] Sun, 14 March 2004 18:24 Go to next message
E! is currently offline  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 #71672] Sun, 14 March 2004 18:38 Go to previous messageGo to next message
Madtone is currently offline  Madtone
Messages: 713
Registered: February 2003
Location: United Kingdom
Karma: 0
Colonel
is it possible to set the turret as the other team, give it the repair gun as a weapon?

I dunno.. was just improvising, hehe!
Repair Turrets? [message #71676] Sun, 14 March 2004 18:46 Go to previous messageGo to next message
htmlgod is currently offline  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.

http://newhope.conquergaming.com/OtherStuff/NIKE.jpg
Repair Turrets? [message #71679] Sun, 14 March 2004 18:52 Go to previous messageGo to next message
E! is currently offline  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 #71691] Sun, 14 March 2004 20:55 Go to previous messageGo to next message
TheKGBspy is currently offline  TheKGBspy
Messages: 96
Registered: April 2003
Karma: 0
Recruit
i have done that in my very early beta of ra2:vengeance.


create a normal ai controled turret. add repair weapon to it, attach the defences scripts and set the team of the turret as mutant.

it has some minor bugs(this turret will repair gdi and nod team) but work well. Very Happy

edit: i have just saw your problem with base defences. my idea will get killed by defences too. i just tought you wanted to do a repair outpost somewhere Smile


Ra2: Vengeance Project lead(it's Dead... sorry)
An empty Ghost since 2005.
Repair Turrets? [message #71698] Sun, 14 March 2004 21:25 Go to previous messageGo to next message
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!


http://www.baclan.org/albums/album05/dasmodell.jpg
Quote:


Quote from IRC
<[Digital]> get man_fucking_a_car.mpg
<[Digital]> ah fuck wrong window

Repair Turrets? [message #71716] Mon, 15 March 2004 00:17 Go to previous messageGo to next message
NeoX is currently offline  NeoX
Messages: 408
Registered: April 2003
Location: Canada, Ontario, Acton
Karma: 0
Commander
IRON-FART

Repairing the harvester on entry is a good idea.

And i'm looking forward to whatever the hell you are making, E!


I second that!
Repair Turrets? [message #71736] Mon, 15 March 2004 05:01 Go to previous messageGo to next message
E! is currently offline  E!
Messages: 70
Registered: February 2004
Karma: 0
Recruit
so i truely had two problems the repair turret would fix both but now with your help i had a way to fix 1 of them. The 1st problem was the Propaganda Tower of the Chinese Overlord Tank (C&C Generals) making work itself, and the 2nd problem is to reset Damage textures by the Repair Bay. The Propaganda Problem is fixed yet but the Damage textures still donīt gets resetted by the repair bay seems like the vehicle has to get "hit" to reset them and a repair turret would fix that and it would move nice Wink

<<SCUD-Storm Origin Creator>>
Repair Turrets? [message #71738] Mon, 15 March 2004 05:43 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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 Go to previous messageGo to next message
E! is currently offline  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 Go to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma: 0
General (3 Stars)

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.
Previous Topic: Blackhand Studios announces the release of scripts.dll 1.5
Next Topic: HARRIERS
Goto Forum:
  


Current Time: Fri Nov 29 16:57:10 MST 2024

Total time taken to generate the page: 0.00752 seconds