Home » Renegade Discussions » Mod Forum » scripts.dll stuff
scripts.dll stuff [message #62176] |
Fri, 16 January 2004 03:48   |
TimeFX
Messages: 25 Registered: January 2004 Location: Germany
Karma:
|
Recruit |

|
|
[REHT | Spirit]*comes in and smacks JonWil for the fun of it * (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 
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 
-------
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 
And when the usable tank got destroyed again (i.e. buggy) there is a destroyed one spawning again.
|
|
|
 |
|
scripts.dll stuff
By: jonwil on Thu, 15 January 2004 00:46
|
 |
|
scripts.dll stuff
By: TimeFX on Thu, 15 January 2004 04:26
|
 |
|
scripts.dll stuff
|
 |
|
Re: scripts.dll stuff
|
 |
|
scripts.dll stuff
By: Try_lee on Thu, 15 January 2004 08:24
|
 |
|
scripts.dll stuff
|
 |
|
Re: scripts.dll stuff
By: NeoSaber on Thu, 15 January 2004 11:23
|
 |
|
scripts.dll stuff
By: Blazer on Thu, 15 January 2004 11:38
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
By: laeubi on Thu, 15 January 2004 13:11
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
By: TimeFX on Fri, 16 January 2004 03:48
|
 |
|
scripts.dll stuff
By: TimeFX on Fri, 16 January 2004 06:14
|
 |
|
scripts.dll stuff
By: Sanada78 on Fri, 16 January 2004 15:32
|
 |
|
scripts.dll stuff
By: TimeFX on Fri, 16 January 2004 15:37
|
 |
|
ok, some answers
By: jonwil on Sat, 17 January 2004 22:21
|
 |
|
scripts.dll stuff
|
 |
|
scripts.dll stuff
By: laeubi on Sun, 18 January 2004 02:50
|
 |
|
scripts.dll stuff
|
Goto Forum:
Current Time: Mon Mar 03 02:46:34 MST 2025
Total time taken to generate the page: 0.00917 seconds
|