Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll 1.3.1 is out
dont know... [message #58517] Sat, 20 December 2003 16:33 Go to previous messageGo to previous message
jonwil is currently offline  jonwil
Messages: 3557
Registered: February 2003
Karma:
General (3 Stars)

I will look at some ideas when I get back from my holiday.

But, here is how I could visualize things working, if its possible. Basicly, you would go up to the building with an engineer and "shoot" it with the repair gun. Then, that would trigger the "damaged" subroutine of the building. Said object would then check to see that the attacker was an enemy engineer (the preset names for same would be passed into the script as parameters). From there, it would start a timer. There would also be a flag which would be set to 0 on startup then 1 when the timer is started. If the damage code trips while the flag is 1, it does nothing. When the timer goes off, the flag gets set to 2. Then, the damage subroutine, when the flag is set to 2, transfers the ownership of the building.

Another thing to think about is, how do you handle the PCTs Plus, what about Base Defence, would that immediatly shoot at the new building?

So, even if the "change owner" thing does what is expected, there are unresolved issues. Plus, it would just turn into a building war where its a race to capture the other guys building.
 
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: never-ending rain in every WW map?
Next Topic: Waterfalls PLEASE HELP!
Goto Forum:
  


Current Time: Sun Dec 29 08:25:09 MST 2024

Total time taken to generate the page: 0.00825 seconds