| Scripts question [message #27079] | 
			Tue, 24 June 2003 14:31   | 
		 
		
			
				
				
				  | 
					
						  
						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    | 
		 
		
			
				
				
				  | 
					
						  
						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 #27097] | 
			Tue, 24 June 2003 15:42    | 
		 
		
			
				
				
				  | 
					
						  
						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    | 
		 
		
			
				
				
				  | 
					
						  
						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    | 
		 
		
			
				
				
				  | 
					
						  
						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 #27310] | 
			Thu, 26 June 2003 03:55    | 
		 
		
			
				
				
				  | 
					
						  
						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 #27397] | 
			Thu, 26 June 2003 11:30    | 
		 
		
			
				
				
				  | 
					
						  
						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    | 
		 
		
			
				
				
				  | 
					
						  
						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 #28998] | 
			Sat, 05 July 2003 03:04    | 
		 
		
			
				
				
				  | 
					
						  
						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    | 
		 
		
			
				
				
				  | 
					
						  
						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
		
 |  
	| 
		
	 | 
 
 
 | 
	| 
		
 |