Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Scripts question
Scripts question [message #27079] Tue, 24 June 2003 14:31 Go to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I'm trying to get a vehicle to be destroyed when a certain building is. After a couple days I haven't been able to get anything to work.

Currently I'm trying to get it to work with the scripts JFW_Death_Send_Custom (on the building controller) and JFW_Custom_Destroy_Object (on the vehicle)

The settings I've used:

JFW_Death_Send_Custom

ID: 100009 (ID of the vehicle)
Message: 5
Param: (I've tried several thing for this 0, 1, 5, etc)

JFW_Custom_Destroy_Object

Message: 5
ID: 100009 (ID of vehicle)

Does anyone know what I am doing wrong? Are the settings wrong, or can the scripts just not do what I want?


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #27092] Tue, 24 June 2003 15:12 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Try putting JFW_Custom_Destroy_Object on a Dave's Arrow then pointing the ID in the script to the vehicle rather than the script being on the vehicle. This also means that JFW_Death_Send_Custom should now point to the ID of the Dave's Arrow. Also do not set a param, just leave it empty as it isn't needed in this case. Let me know if it works or not. I can tell you how to debug it if what i said fails.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #27095] Tue, 24 June 2003 15:27 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I just tried the Dave's Arrow and Param suggestion. It didn't work.

NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #27097] Tue, 24 June 2003 15:42 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Ok next step. Attach JFW_Debug_Text_File to the building controller (Make sure your existing script is there otherwise it won't work properly) and set the following settings:
Log_File JFW_Building.txt
Description Building Controller

On the Arrow or Vehicle attach JFW_Debug_Text_File again along with the other script with these settings.
Log_File JFW_Receiver.txt
Description Object

Run your map (destory building) and then exit the game. Go into your Renegade directory and open up JFW_Building.txt and JFW_Receiver.txt and post the contents here on this topic and i'll tell you what's up.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #27106] Tue, 24 June 2003 16:16 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I attached those scripts like you said and nothing happened. I destroyed the building, exited the game, checked the Renegade directory (and every sub directory) and didn't find the .txt files.

NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #27225] Wed, 25 June 2003 05:35 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Hmm none of your scripts are working then. If the debug scripts don't work then there not being processed. Are you using a PKG file and making sure you don't delete the scripts before you export? If your using a MIX format then the scripts need to be installed in your Renegade Directory too. Let me know on any progress.

I have not used the version 1.2 DLL so I can't confirm that it is workling althought it should be because of the fact that other people have used it.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #27248] Wed, 25 June 2003 17:25 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I'm testing these in a .mix file right now. I figured my usual .pkg test folder is so bloated and messed up I better do a fresh start. Very Happy

I have the scripts file in the Renegade directory. I don't know if it means anything, but I also have the script M00_Base_Defense on the vehicle and that script works.

I'll try reinstalling the scripts or something and see if that helps.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #27252] Wed, 25 June 2003 18:54 Go to previous messageGo to next message
Captkurt
Messages: 488
Registered: February 2003
Karma: 0
Commander
NeoSaber

I'm testing these in a .mix file right now. I figured my usual .pkg test folder is so bloated and messed up I better do a fresh start. Very Happy

I have the scripts file in the Renegade directory. I don't know if it means anything, but I also have the script M00_Base_Defense on the vehicle and that script works.

I'll try reinstalling the scripts or something and see if that helps.


Keep us posted.
Scripts question [message #27253] Wed, 25 June 2003 18:59 Go to previous messageGo to next message
spreegem is currently offline  spreegem
Messages: 1755
Registered: March 2003
Location: Ellington, CT
Karma: 0
General (1 Star)

I can make bot mods if you need any help with those.

Scripts question [message #27310] Thu, 26 June 2003 03:55 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Yeah there is your problem then. Normal scripts such as M00_Base_Defence will work as they are located in the scripts.dll, in your Renegaade Directory. As your using a MIX file the scripts are read from the Renegade Directory and NOT the MIX file. If you save as PKG i can bet you it will work perfectly. To overcome this error install the scripts in your Renegade Directory.

scripts.dll = Version 1.2 of the DLL (300K or so) with this name in the Renegade Directory
scripts2.dll = Original Westwood scripts (2MB) called this name in the Renegade Directory.

This should fix your problem as I am certain that the map cannot access the custom scripts.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #27351] Thu, 26 June 2003 09:06 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I did have the scripts set up in my Renegade directory like that. Here's a snippit of what my Renegade directory looks like:

http://www.n00bstories.com/image.fetch.php?id=1346663398

I just went and tried it as a .pkg file to see if it could work like that. It still didn't. Not even the debug scripts worked.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #27377] Thu, 26 June 2003 10:33 Go to previous messageGo to next message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
Scripts.dll=288KB
Scripts2.dll=1.99MB

The log file should be in your main Renegade directory. On the script make sure you put .txt at the end of the location. When your done, you should end up with something like this (this is just my log file as an example).

testing [ID 1500000228] created.
animation S_A_HUMAN.H_A_A0L0 on testing [ID 1500000228] complete.   0.0 sec.
testing [ID 1500000228] heard sound 11463776.   1.0 sec.
testing [ID 1500000228] heard sound 11463776.   1.0 sec.
testing [ID 1500000228] damaged by object 1500000004.   4.0 sec.
testing [ID 1500000228] killed by object 1500000004.   4.0 sec.
testing [ID 1500000228] heard sound 11463776.   4.0 sec.
testing [ID 1500000228] heard sound 11463776.   4.0 sec.
testing [ID 1500000228] heard sound 11463776.   5.0 sec.
animation S_A_HUMAN.H_A_635A on testing [ID 1500000228] complete.   6.0 sec.
testing [ID 1500000228] shutdown.
 11463776.   6.0 sec.
testing [ID 1500000223] shutdown.


-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
Scripts question [message #27397] Thu, 26 June 2003 11:30 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
I haven't worked with version 1.2 yet so the only thing i can suggest is either a reinstall of the game and/or testing it on version 1.1.1 of the scripts as I know they work.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #27421] Thu, 26 June 2003 12:09 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
I tried Scripts 1.1.1 and that didn't help either. Maybe I'm setting these up wrong. Do these scripts attach like any other script would or is there something special that has to be done?

NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #28827] Fri, 04 July 2003 07:34 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
Time to bump this back up. Very Happy

I've tried re-installing Renegade, that didn't work either. Does anyone know how extensively the scripts.dll was tested on Windows 98?


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #28998] Sat, 05 July 2003 03:04 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
I have tested on Windows XP Pro, Windows ME and it worked perfect on all of them. I know this may sound extremly dubm but you have allowed windows to show file extensions haven't you? if not you will have a file like below:

scripts.dll.dll
scripts2.dll.dll

This is unlikely because you would have needed to overwrite the old files to install them and shouldn't have to had to rename them. Confirm this by clicking Start > Run > command.com > Ok then (press return after each part) cd\ > cd westwood > cd renegade > dir *.dll if you see the scripts will the correct name then it's okay. I'm not sure what else it could be, this is the first time i have came across this problem.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Scripts question [message #29068] Sat, 05 July 2003 14:50 Go to previous messageGo to next message
NeoSaber is currently offline  NeoSaber
Messages: 336
Registered: February 2003
Karma: 0
Recruit
Yes, Windows does have file extensions enabled. I double checked like you suggested just to be sure.

Maybe Level Edit is messed up. I'll try reinstalling that next time I get a chance.


NeoSaber

Renegade Map Maker at CnC Source
Animator/Compiler/Level Editor/Object Rigger/Programmer for Red Alert: A Path Beyond
Scripts question [message #29077] Sat, 05 July 2003 15:15 Go to previous message
bigwig992 is currently offline  bigwig992
Messages: 555
Registered: February 2003
Location: Nashua, NH
Karma: 0
Colonel
I do all my Renegade work on a 98, so yes, 98 does work with all the scripts.

-The ONLY Renegade fan to pee off a school.
http://www.n00bstories.com/image.fetch.php?id=1055662786
http://www.n00bstories.com/stats/renegade_stats.php?player=bigwig992&team=gdi
Previous Topic: Tiberium Evolution
Next Topic: Looking for graphics specialist!
Goto Forum:
  


Current Time: Fri Dec 20 02:18:46 MST 2024

Total time taken to generate the page: 0.00991 seconds