| Author | 
            Message | 
        
        
			| 
				
				 Dudemauler 
				
				
					 Joined: Mon Jul 13, 2009 4:24 am Posts: 96
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						YAY! now spamming soldiers with rifles at the enemy is actually a viable tactic! Maginot, here I come!
 
  This one's DEFINITELY a keeper. 
					
  
			 | 
		
		
			| Sun Aug 16, 2009 5:45 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Dudemauler 
				
				
					 Joined: Mon Jul 13, 2009 4:24 am Posts: 96
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						I did the template and it makes the sprite but it dosent shoot out an actor! Somebody correct my code please Code: //This is a template that will allow you to create a Cloning Tube for an actor of your choice. //To start, press (Ctrl H) and replace all "Mike" with the name of your desired Actor. //Finish the rest of the template by adjusting the lines that have comments. //To enable the Cloning Tube, go to (zzDispenser.rte/Index.ini) and delete the (//) in front of (IncludeFile = zzDispenser.rte/CloningTubeTemplates/Template.ini)
  AddActor = ACRocket    CopyOf = Cloning Tube Base Craft R    PresetName = Cloning Tube Mike Craft R    AddInventory = AHuman   //Change this to the type of actor you are using. (Actor) (ACrab) (AHuman) (ACRocket) (ACDropShip)       CopyOf = UniTec/Mike   //Change this to the .rte name and name of actor. Example: Coalition/Soldier Light       PresetName = Cloning Tube Mike Red       Buyable = 0       Team = 0       AIMode = 1
  AddAmmo = Round    PresetName = Round Cloning Tube Mike R    ParticleCount = 1    Particle = ACRocket       CopyOf = Cloning Tube Mike Craft R    Shell = None    FireVelocity = 0.0001    ShellVelocity = 1    Separation = 0
  AddDevice = HDFirearm    CopyOf = Cloning Tube Base Gun R    PresetName = Cloning Tube Mike Gun R    Magazine = Magazine       CopyOf = Magazine Cloning Tube Base R       PresetName = Magazine Cloning Tube Mike R       RegularRound = Round          CopyOf = Round Cloning Tube Mike R
  AddActor = Turret    PresetName = Cloning Tube Mike Turret R    CopyOf = Cloning Tube Base Turret R    MountedMO = HDFirearm       CopyOf = Cloning Tube Base Gun R       ParentOffset = Vector          X = 0          Y = 0
  AddActor = ACrab    CopyOf = Cloning Tube Base R    PresetName = Cloning Tube Mike R    Description = A cloning tube that creates Mikes for the Red Team.    Buyable = 1    Turret = Turret       CopyOf = Cloning Tube Base Turret R       ParentOffset = Vector          X = 0          Y = 50
  //////////////////////////////  
					
  
			 | 
		
		
			| Sun Aug 30, 2009 2:54 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Grif 
				REAL AMERICAN HERO 
				
					 Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Unitec.rte/Mike 
					
  
			 | 
		
		
			| Sun Aug 30, 2009 3:02 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Dudemauler 
				
				
					 Joined: Mon Jul 13, 2009 4:24 am Posts: 96
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						THANKS GRIF! I've already tried pasting the index and contents of unitec into the zzdispenser folder, so you can see how desperate i was.   That's the dispenser mod(the smiley)  
					
  
			 | 
		
		
			| Sun Aug 30, 2009 5:53 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 DUDE! 
				
				
					 Joined: Sat Aug 29, 2009 12:56 pm Posts: 22
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						very cool cuz i like to make storage rooms for guns on my bunkers and this makes it easy     
					
  
			 | 
		
		
			| Sun Aug 30, 2009 2:40 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Jadestone 
				
				
					 Joined: Wed Sep 02, 2009 10:57 am Posts: 30
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers  
					
						Azukki wrote: Idea, needs some simple Lua though.
  - Make a blank one. - The user throws a sample of what you want it to create into it. - It's then calibrated to create those. - The gold cost of the device determines how fast it can generate them. - Maybe have a means of re-calibration
  Should be useful for any device ever. HDFs/HDs/TDEs You could apply the same concept to other objects like actors and crafts too of course.
  I'm assuming you can read the preset name and gold cost of un-held devices with Lua, am I correct? You should make it (Im not being sarcastic or mean i want that) its awsome i would love that Azukki can you please make it    
					
  
			 | 
		
		
			| Sun Oct 18, 2009 9:39 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Spy MasterX 
				
				
					 Joined: Sat Oct 24, 2009 12:13 pm Posts: 13
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Combat Dispenser mod doesn't work for me...
  ERROR:
  Failed to load datafile object with following path and name:
  Coalition.rte/Actors/Drone/LegFGMediumA000
  ---------------------------------------------------------------
  Am I missing something? Last I Checked there was no drones directory under the Coalition Folder. And yes I couldn't code if my life depended on it.
  P.S I'm on a mac
  EDIT: The medium typo was my mistake not the codes. 
					
						
  
						Attachments: 
						
						
			File comment: Abort Screen Image
		
			 
			abortscreen.bmp [ 1.37 MiB | Viewed 5463 times ]
		
		
	 
						
						 
					
							
  
							
    							Last edited by Spy MasterX on Sun Oct 25, 2009 6:21 am, edited 1 time in total. 
    						 
						
			 | 
		
		
			| Sun Oct 25, 2009 5:53 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Point.blank 
				
				
					 Joined: Sat May 02, 2009 4:52 am Posts: 254
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Spy MasterX wrote: Combat Dispenser mod doesn't work for me...
  ERROR:
  Failed to load datafile object with following path and name:
  Coalition.rte/Actors/Drone/LegFGMeduimA000 Now there's yer problem! I believe it's spelt 'Medium' instead of 'Meduim', so try and delve into the code, and find said line, and change it. EDIT: Disregard all the above. Maybe it has something to do with the slashes (/ and \), like in the other threads that you had the problem? I'm on PC, so it doesn't really affect me...  
					
							
  
							
    							Last edited by Point.blank on Sun Oct 25, 2009 6:27 am, edited 1 time in total. 
    						 
						
  
			 | 
		
		
			| Sun Oct 25, 2009 6:18 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 Spy MasterX 
				
				
					 Joined: Sat Oct 24, 2009 12:13 pm Posts: 13
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Edited My post, that typo was mine. I think it's the drone directory, because I can't find any under Coalition.rte/actors/.
  Would it be because mac release is only up to build 22? 
					
  
			 | 
		
		
			| Sun Oct 25, 2009 6:21 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 1nfernal 
				
				
					 Joined: Wed May 20, 2009 10:06 am Posts: 163 Location: Sweden
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Maybe, but it is most certainly because Macs can't read backslashes 
					
  
			 | 
		
		
			| Sun Oct 25, 2009 8:52 pm | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 bananasgomoo 
				
				
					 Joined: Thu Apr 08, 2010 4:31 am Posts: 9 Location: California
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						sorry to revive this old thread, but whenever i try and  make a weapon dispenser, i follow what the template says, and when i try and load it, the error says:
   abortion in file .\system\DDTerror.cpp line 109 because: assertion failed: Stream suggests allocating an allocatable type in magazine::round::create! the last screen has been aborted to abortscreen.bmp
 
  and i cant see anything wrong with the file. 
					
  
			 | 
		
		
			| Thu Apr 08, 2010 4:46 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 LowestFormOfWit 
				
				
					 Joined: Mon Oct 06, 2008 2:04 am Posts: 1559
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						Post an attachment of said file and an image of that abortscreen.bmp 
					
  
			 | 
		
		
			| Thu Apr 08, 2010 5:04 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 bananasgomoo 
				
				
					 Joined: Thu Apr 08, 2010 4:31 am Posts: 9 Location: California
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						ok just a minute
  EDIT: uploaded
  EDIT2: its a jpg cause the original bmp was 3MB and 1280x800px and the forum wouldn't let me upload it.
  EDIT3: its the teslagun by amrobotics (i think) 
					
						
  
						Attachments: 
						
						
			File comment: abort screen
		
			 
			abortscreen.jpg [ 153.65 KiB | Viewed 5378 times ]
		
		
	 
						
						
			File comment: the not-working weapon dispenser
		
			
				  
				TeslaGun.ini [2.53 KiB]
			
			Downloaded 262 times
		
		
	 
						
						 
					
			 | 
		
		
			| Thu Apr 08, 2010 5:07 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 bananasgomoo 
				
				
					 Joined: Thu Apr 08, 2010 4:31 am Posts: 9 Location: California
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						any help? 
					
  
			 | 
		
		
			| Fri Apr 09, 2010 3:15 am | 
			
				
					 
					
					 
				  
			 | 
    	
		
	
	
		  | 
	
	
			| 
				
				 cheremenin 
				
				
					 Joined: Fri Jun 04, 2010 8:57 pm Posts: 7 Location: St.-Petersburg, Russia
				 
				 
			 | 
			
				
				  Re: Weapon Dispensers (Update 8-15-09) Combat Drones!  
					
						I'm sorry for mah stupidity... But damn it... I was made a Actor Cloning Tube from Template and... I tried with few actors but it didn't work >_> Well, just saying. Anyway the normal ones was great. Good job. 
					
  
			 | 
		
		
			| Fri Jun 04, 2010 9:46 pm | 
			
				
					 
					
					 
				      
			 | 
    	
		
	
	
		  | 
	
	
	
		 |