Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » scripts.dll stuff
scripts.dll stuff [message #62176] Fri, 16 January 2004 03:48 Go to previous messageGo to previous message
TimeFX is currently offline  TimeFX
Messages: 25
Registered: January 2004
Location: Germany
Karma:
Recruit

[REHT

Spirit]*comes in and smacks JonWil for the fun of it Very Happy * (just kidding)

2. You CAN print messages to the chat box! But with some limitedness. This is how I did it for Survival:

-Make a new string of the message you want to say (for me, one of them was something like "NHB: MUAHAHAHAHAHAHA!!!!").

-Make a new building, must be on GDI or Nod, and have it's destruction string set to your new string.

-When you want to trigger the message, kill the building.

This does have some faults, like you can't do something like "You have XXX vehicles" without making a string for each number. You also have to kill the building at the end of the game if it doesn't get killed before then, otherwise you can't win until the building is killed (well, the map would be one-sided based on the building's team).

Still, it works. For me it was enough. With a little tricky work-arounds, you can probally use the current Survival scripts to do this. SUR_NHB or SUR_Overmind, whichever it's called, can trigger it. You just need to fool it into thinking that it's time to "taunt" you.[/u]



loool that's exactly my idea I wanted to test next Very Happy

I'll try to dnamically generate and destroy a building for the message when I want to print it, so there souldn't be a problem at the end of the game.
Hope that works Smile



-------


BTW:
I made a TFX_Replace_When_Repaired script, so you can replace destroyed vehicles the the usable ones (like in first SP mission where an engineer repairs a destroyed med tank)
Works very fine Smile
And when the usable tank got destroyed again (i.e. buggy) there is a destroyed one spawning again. Wink
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: scripts.dll > Printing Messages
Next Topic: Skeleton
Goto Forum:
  


Current Time: Fri Dec 13 06:00:58 MST 2024

Total time taken to generate the page: 0.00941 seconds