| Author | Message | 
        
			| Magmacow358 
					Joined: Thu Feb 16, 2012 4:05 am
 Posts: 37
   |   Dual wielding shotgunsAny mods that add this? If not, anyone mind making one? Preferably powerful sawn off/lever action shotguns.
 For that matter, can anyone suggest mods that allow dual wielding of automatic weapons? (Aside from PA and MDC)
 
 
 | 
		
			| Sat Mar 24, 2012 11:17 pm | 
					
					   | 
	
	
		|  | 
	
			| Miggles Data Realms Elite 
					Joined: Mon Jul 12, 2010 5:39 am
 Posts: 4558
   |   Re: Dual wielding shotgunsIt's very easy.Find any weapon you wish to be dual wieldable, press Ctrl+F and look for OneHanded = 0.
 Because CC's variables tend to run off of simple Boolean on or off states, you can change the 0 to a 1 and buy 2 of the guns to dual wield.
 
 If the OneHanded = 0 isn't in the code, then go to the section of the gun's defining right under the sounds that has the rate of fire, reload time, etc., and add it in between any of those.
 
 
 | 
		
			| Sun Mar 25, 2012 3:10 am | 
					
					     | 
	
	
		|  | 
	
			| Kettenkrad 
					Joined: Mon Oct 25, 2010 5:51 am
 Posts: 1198
 Location: Sydney
   |   Re: Dual wielding shotgunsWhat Miggles said, but you also have to add the line 'AddToGroup = Shields' somewhere in a duplicate of the weapon's code.
 Best way to do this is copy the entire chunk of code, duplicate it, change the name of the second gun to "[weaponname] offhand" - or something - and add the 'AddToGroup' and 'OneHanded' lines.
 
 
 | 
		
			| Sun Mar 25, 2012 4:35 am | 
					
					   | 
	
	
		|  | 
	
			| Magmacow358 
					Joined: Thu Feb 16, 2012 4:05 am
 Posts: 37
   |   Re: Dual wielding shotgunsThe offhand weapons dont seem to be appearing in the buymenu.
 And yes, I included them in the index file.
 
 
 | 
		
			| Sun Mar 25, 2012 8:10 pm | 
					
					   | 
	
	
		|  | 
	
			| Kettenkrad 
					Joined: Mon Oct 25, 2010 5:51 am
 Posts: 1198
 Location: Sydney
   |   Re: Dual wielding shotgunsDid you change the names? Check under both 'Shields' and 'Guns'? 
 
 | 
		
			| Mon Mar 26, 2012 12:34 pm | 
					
					   | 
	
	
		|  | 
	
			| olo 
					Joined: Sun Feb 20, 2011 7:31 pm
 Posts: 21
   |   Re: Dual wielding shotgunsI am trying those instruction but they don't work , CC crashed when loading , ok this is f* up , even when I change and come back to previous it gaves error 
 
 | 
		
			| Thu Aug 09, 2012 7:53 pm | 
					
					   | 
	
	
		|  | 
	
			| Miggles Data Realms Elite 
					Joined: Mon Jul 12, 2010 5:39 am
 Posts: 4558
   |   Re: Dual wielding shotgunsGive us the error. 
 
 | 
		
			| Sat Aug 11, 2012 9:41 am | 
					
					     | 
	
	
		|  | 
	
			| olo 
					Joined: Sun Feb 20, 2011 7:31 pm
 Posts: 21
   |   Re: Dual wielding shotgunsit just stops loading on the (some weapon).ini file 
 
 | 
		
			| Sat Aug 11, 2012 9:05 pm | 
					
					   | 
	
	
		|  | 
	
			| Miggles Data Realms Elite 
					Joined: Mon Jul 12, 2010 5:39 am
 Posts: 4558
   |   Re: Dual wielding shotgunsMiggles wrote: Give us the error.
 
 | 
		
			| Sat Aug 11, 2012 11:31 pm | 
					
					     | 
	
	
		|  | 
	
			| olo 
					Joined: Sun Feb 20, 2011 7:31 pm
 Posts: 21
   |   Re: Dual wielding shotgunsI can't copy it , it's just windows error 
 
 | 
		
			| Sun Aug 12, 2012 12:35 am | 
					
					   | 
	
	
		|  | 
	
			| Kettenkrad 
					Joined: Mon Oct 25, 2010 5:51 am
 Posts: 1198
 Location: Sydney
   |   Re: Dual wielding shotgunsScreenshot it with PrintScreen or something, unless you mean the program stops responding. In that case you've got a CopyOf to something that doesn't exist. 
 
 | 
		
			| Sun Aug 12, 2012 2:13 am | 
					
					   | 
	
	
		|  | 
	
			| olo 
					Joined: Sun Feb 20, 2011 7:31 pm
 Posts: 21
   |   Re: Dual wielding shotgunsOk I tried with MDC revolver and it worked , but when I tried with gatling gun there was error  "Could not understand preset type" 
 
 | 
		
			| Mon Aug 13, 2012 12:51 am | 
					
					   | 
	
	
		|  | 
	
			| Asklar Data Realms Elite 
					Joined: Fri Jan 07, 2011 8:01 am
 Posts: 6211
 Location: In your office, earning your salary.
   |   Re: Dual wielding shotgunsolo wrote: "Could not understand preset type"If I'm not wrong, you get that error when you write a property wrong, like instead of CopyOf you type Copyof.
 
 | 
		
			| Mon Aug 13, 2012 12:54 am | 
					
					   | 
	
	
		|  | 
	
			| olo 
					Joined: Sun Feb 20, 2011 7:31 pm
 Posts: 21
   |   Re: Dual wielding shotgunsI checked twice , but this is hilarious because when I went back to orginal code(deleted changes) and it gave me the same error lol spooky , maybe I can't get gatling guns to work because they are two handed or something? 
 
 | 
		
			| Mon Aug 13, 2012 2:09 am | 
					
					   | 
	
	
		|  | 
	
			| Asklar Data Realms Elite 
					Joined: Fri Jan 07, 2011 8:01 am
 Posts: 6211
 Location: In your office, earning your salary.
   |   Re: Dual wielding shotgunsWell, you've got to make sure you used OneHanded = 1 to make a weapon dual-wieldable, but still, that error points to wrong typed variables or incorrect type of information on a variable, if I'm not mistaken.
 Though, it would be easier if we could see the code.
 
 
 | 
		
			| Mon Aug 13, 2012 2:16 am | 
					
					   | 
	
	
		|  | 
	
	
		|  |