Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Construction Yard Scripts, how do you get them to work?
Construction Yard Scripts, how do you get them to work? [message #7120] Mon, 17 March 2003 02:47 Go to next message
Thiima is currently offline  Thiima
Messages: 25
Registered: March 2003
Karma: 0
Recruit
I have tried to add the two construction yards scripts into my map, i can get it so that the construction yard repairs all the buildings when they are damaged, however, the more damage the building takes the faster it repairs itself (as seen on level 10 on the single player missions) also when the construction yard is destroyed, the repairs continue.

I was wondering if Aircraftkiller or anyone who knows how they work, can teach me how to get them to work like they do on C&C_Basin.

Thanks in Advance. Smile


Construction Yard Scripts, how do you get them to work? [message #7123] Mon, 17 March 2003 02:57 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

Attach the Script: TDA_Conyard_Controller to your Conyardbuildingcontroller

Quote:

//TDA_Conyard_Controller
//
//Building1_ID=0:int '1st building to disable
//Building2_ID=0:int '2nd building to disable
//Building3_ID=0:int '3rd building to diable
//Building4_ID=0:int '4th building to diable
//Building5_ID=0:int '5th building to diable
//Building6_ID=0:int '6th building to diable
//Building7_ID=0:int '7th building to diable
//Building8_ID=0:int '8th building to diable
//Building9_ID=0:int '9th building to diable
//Building10_ID=0:int '10th building to diable


Then attach to every building that should be repaired by the conyard the script: TDA_Conyard_Repair
Quote:

// Repair_Frequency:int how many ticks till it recieves 1 health
// Timer_ID:int ID of the object it is attached to, will crash game if left blank.


Fill in every ID of buildingcontroller into the parameters of the fisrt script, or the repairing of Buldings don't stop, if the conyard gets destroyed.

and btw to use these scripts you needs the custom scripts you can downlaod
here.
A readme how to install the scripts are included.


www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"

[Updated on: Mon, 17 March 2003 02:59]

Report message to a moderator

Construction Yard Scripts, how do you get them to work? [message #7124] Mon, 17 March 2003 02:58 Go to previous messageGo to next message
Aircraftkiller is currently offline  Aircraftkiller
Messages: 8213
Registered: February 2003
Karma: 1
General (5 Stars)
Attach the TDA_ConYard_Controller script to the Construction Yard in question.

Gather the building ID of every structure or vehicle (e.g., Turret, Guard Tower) you want to be repaired and punch the numbers into the Construction Yard script.

Then apply the TDA_ConYard_Repair script to said structures or vehicles... Punch their building IDs in for the Timer_ID and you're all set.

Repeat for the other team.
Construction Yard Scripts, how do you get them to work? [message #7135] Mon, 17 March 2003 05:18 Go to previous messageGo to next message
Thiima is currently offline  Thiima
Messages: 25
Registered: March 2003
Karma: 0
Recruit
Yay, Thanks both of you Laughing

Construction Yard Scripts, how do you get them to work? [message #7167] Mon, 17 March 2003 08:57 Go to previous messageGo to next message
Thiima is currently offline  Thiima
Messages: 25
Registered: March 2003
Karma: 0
Recruit
erm.... i have got more than 10 buildings that i want to be repaired by the construction yard... how do i go about doing this? can i attach the script twice but put the other building ID's in for the second time?

Construction Yard Scripts, how do you get them to work? [message #7170] Mon, 17 March 2003 09:01 Go to previous messageGo to next message
laeubi is currently offline  laeubi
Messages: 799
Registered: February 2003
Location: Germany
Karma: 0
Colonel

An Idea: Try it Very Happy

www.laeubi.de Find Mods, Maps, Tool, Files and More!
< All Tutorials you ever searched for >
< contact me >
"Don't say it is imposible... just find a solution!"
Construction Yard Scripts, how do you get them to work? [message #7172] Mon, 17 March 2003 09:41 Go to previous messageGo to next message
Thiima is currently offline  Thiima
Messages: 25
Registered: March 2003
Karma: 0
Recruit
yup it works, everything works Smile

Construction Yard Scripts, how do you get them to work? [message #7339] Mon, 17 March 2003 23:48 Go to previous message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
Thiima

erm.... i have got more than 10 buildings that i want to be repaired by the construction yard... how do i go about doing this? can i attach the script twice but put the other building ID's in for the second time?


yes, it is designed for that purpose


Previous Topic: Air Mod (Needs your help and/or suggestions)
Next Topic: 171 PT ICONS (not avatars)
Goto Forum:
  


Current Time: Sun Dec 22 02:47:28 MST 2024

Total time taken to generate the page: 0.00751 seconds