URGENT QUESTION!!!!! [message #218364] |
Sat, 09 September 2006 20:23 |
Brandon
Messages: 282 Registered: August 2006 Location: United States
Karma: 0
|
Recruit |
|
|
Ok, I need some serious help here. I'm making it so that you press a switch and $800 will be subtracted from your credits and you'll get a medium tank only... I can't seem to get the tank to appear. Does anyone know how to make this possible? What script(s) should I use?
|
|
|
Re: URGENT QUESTION!!!!! [message #218367 is a reply to message #218364] |
Sat, 09 September 2006 20:36 |
|
You will require bhs.dll on both the server and client for this to work (since walking up to an object and pressing E on it requires bhs.dll to work).
Assuming you have that, you can use the script JFW_Vehicle_Buy_Poke to do what you want.
Or if you just want it to appear without being constructed from a weapons factory etc, you can use JFW_Preset_Buy_Poke.
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: URGENT QUESTION!!!!! [message #218371 is a reply to message #218364] |
Sat, 09 September 2006 21:15 |
Brandon
Messages: 282 Registered: August 2006 Location: United States
Karma: 0
|
Recruit |
|
|
Ok, I did that, so how do I get it on a bhs though? And once I do get it on the bhs then I just put it in the RenegadeFDS/Server folder?
|
|
|
|
|
|
|
Re: URGENT QUESTION!!!!! [message #218475 is a reply to message #218458] |
Sun, 10 September 2006 08:51 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
the zone is done on some servers
doesn't a script like: Send_Custom_On_Enter_Zone exists?
Moding can be real Fun...
|
|
|
Re: URGENT QUESTION!!!!! [message #218492 is a reply to message #218364] |
Sun, 10 September 2006 10:25 |
ghost
Messages: 437 Registered: May 2005 Location: California
Karma: 0
|
Commander |
|
|
I added this to my server and it would tend to crash the server. Isnt it true if non "corepatch" users press on the switch it crashes the server?
Please visit my forums at: RenForce
Creator of the CrazyAOW Mod
|
|
|
Re: URGENT QUESTION!!!!! [message #218508 is a reply to message #218492] |
Sun, 10 September 2006 11:26 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
does it exists?
and the corepatch, if non corepatch poke, they dont (after my experience) crash
Moding can be real Fun...
|
|
|
Re: URGENT QUESTION!!!!! [message #218539 is a reply to message #218364] |
Sun, 10 September 2006 13:32 |
Brandon
Messages: 282 Registered: August 2006 Location: United States
Karma: 0
|
Recruit |
|
|
Ok, I've got the whole BHS thing in my script folder. I redid the map but when I load my server it loads as far as 51% and then crashes. All I did after modifying the map was put the M13.ldd, scripts.dll, scripts2.dll, and bhs.dll in the RenegadeFDS/Server folder (M13.ldd went into Server/Data folder). Yes, you can do it with a script zone (dropping vehicles that is) but I just want to buy one using a switch (poke switch and it subtracts money and a tank is dropped or appears at the location specified).
EDIT: I tried to get the map to work but it won't. I thought it was when I put the bhs and scripts in the server folder that caused the problem but it wasn't. Will SSAOW 1.5 let you add fully functional switches that do stuff to maps? Or is it like the whole AI bot thing, it just won't work?
[Updated on: Sun, 10 September 2006 14:07] Report message to a moderator
|
|
|
|