Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Script possibility question.
Script possibility question. [message #206559] Tue, 04 July 2006 17:39 Go to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
I was wondering if I am able to do the following 2 things in Renegade. I'll try to ask without spoiling anything so forgive me if you can't understand me. If there are any scripts out there that can already do this, please name them Rocked Over .

1:
If <object a> is destroyed, <object b> takes # damage.

2:
If <object> is destroyed, the game ends with <team> winning.

Edit: I forgot 1.

3:
If <object> is destroyed, <spawner> is disabled (or removed).


Beter known as "raapnaap".
www.apathbeyond.com

[Updated on: Tue, 04 July 2006 17:43]

Report message to a moderator

Re: Script possibility question. [message #206567 is a reply to message #206559] Tue, 04 July 2006 19:30 Go to previous messageGo to next message
IronWarrior is currently offline  IronWarrior
Messages: 2460
Registered: November 2004
Location: England UK
Karma: 0
General (2 Stars)
I would want these myself. Surprised
Re: Script possibility question. [message #206606 is a reply to message #206559] Wed, 05 July 2006 04:30 Go to previous messageGo to next message
Sir Kane
Messages: 1701
Registered: March 2003
Location: Angerville
Karma: 0
General (1 Star)
Easy shit.

Proud N9500 and proud N6270 user. Creator of the IEE libraries (original bhs.dll) and the RB series software.
http://n00bstories.com/image.fetch.php?id=1189992501http://www.n00bstories.com/image.fetch.php?id=1257492907
Re: Script possibility question. [message #206607 is a reply to message #206606] Wed, 05 July 2006 04:35 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
Silent Kane wrote on Wed, 05 July 2006 13:30

Easy shit.


I'm sure it is, for someone that has the experience with this kind of stuff. But I don't, so maybe you could explain it?

I'm not asking how to make scrips, I'm asking how to set them up in level edit... That is if any of the current scripts.dll versions allow this kind of stuff.


Beter known as "raapnaap".
www.apathbeyond.com

[Updated on: Wed, 05 July 2006 04:38]

Report message to a moderator

Re: Script possibility question. [message #206614 is a reply to message #206559] Wed, 05 July 2006 07:17 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

For your first request you want JFW_Death_Send_Custom and JFW_Custom_Damage_Object.
For the second one you want JFW_Death_Send_custom and JFW_Console_Input_On_Custom with the WIN console command
For the third one you want JFW_Death_Send_Custom and JFW_Custom_Destroy_Object.

Look in the readme.txt to see how to use the scripts.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Script possibility question. [message #207242 is a reply to message #206614] Sun, 09 July 2006 13:13 Go to previous messageGo to next message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
Having the names of the right scripts I needed speeds things up a lot. Thanks for that.

I have however 1 question, what do you mean with:

jonwil wrote on Wed, 05 July 2006 16:17

JFW_Console_Input_On_Custom with the WIN console command



Where exactly am I supposed to do this? The readme doesn't say anything about a 'console command' for that script.


Beter known as "raapnaap".
www.apathbeyond.com
Re: Script possibility question. [message #207282 is a reply to message #206559] Sun, 09 July 2006 19:07 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

Basicly, JFW_Console_Input_On_Custom takes a string as a parameter (as well as a custom/message that is sent to it).
When it recieves the custom/message, it sends the string to the console input parser. So basicly, its like you typed it in the console window.


Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Script possibility question. [message #207347 is a reply to message #206559] Mon, 10 July 2006 08:35 Go to previous message
Naamloos is currently offline  Naamloos
Messages: 771
Registered: April 2004
Location: The Netherlands
Karma: 0
Colonel
So, unless I'm reading it wrong, I just need to enter 'WIN' as the string? And the console will pick it up?

Edit: Ah what the heck, I'll just make the game end by blowing up a building controller using JFW_Custom_Destroy_Object Blush


Beter known as "raapnaap".
www.apathbeyond.com

[Updated on: Mon, 10 July 2006 08:41]

Report message to a moderator

Previous Topic: Black Cell Forwarder
Next Topic: Problem with W3dview
Goto Forum:
  


Current Time: Fri May 03 20:46:18 MST 2024

Total time taken to generate the page: 0.00725 seconds