| Author | Message | 
        
			| Contrary 
					Joined: Mon Mar 16, 2009 10:50 pm
 Posts: 2175
 Location: Neverwhere
   |   Pirate PistolSo yesterday I decided to aim my stupidity at mod making, a flintlock pistol to go with my pirate actor.I added air resistance, made it a heavy bullet that loses velocity in half a screen, exactly what I wanted. There's two things I want to add though.
 
 1. Smokes: How do I make it emit smoke after each shot? I looked a base.rte but I failed.
 
 2. Bonk! These pistols are single-shot only, so I thought it would be cool if they turned into melee weapons after that one shot. I looked at the War Crime, but I didn't understand it at all.
 
 Helphalp :<
 
 plox
 
 
 | 
		
			| Thu Jul 16, 2009 6:35 pm | 
					
					   | 
	
	
		|  | 
	
			| madmax 
					Joined: Sun Apr 22, 2007 8:01 pm
 Posts: 378
 Location: Nomadic
   |   Re: Pirate Pistol-snip-I'm dumb.
 
 
 | 
		
			| Thu Jul 16, 2009 6:44 pm | 
					
					   | 
	
	
		|  | 
	
			| Disst 
					Joined: Thu Feb 12, 2009 1:47 am
 Posts: 1182
   |   Re: Pirate PistolContrary wrote: 1. Smokes: How do I make it emit smoke after each shot? I looked a base.rte but I failed. You have to make it fire an emitter that emits your smoke particles.
 
 | 
		
			| Thu Jul 16, 2009 6:50 pm | 
					
					   | 
	
	
		|  | 
	
			| Contrary 
					Joined: Mon Mar 16, 2009 10:50 pm
 Posts: 2175
 Location: Neverwhere
   |   Re: Pirate PistolI don't know where to put it. T_TI tried to copypasta from coalition, bu it errored. I put it under the ammo.
 
 
 | 
		
			| Thu Jul 16, 2009 7:08 pm | 
					
					   | 
	
	
		|  | 
	
			| Manticore 
					Joined: Tue Nov 18, 2008 1:03 am
 Posts: 342
 Location: Spathiwa
   |   Re: Pirate Pistolive been trying to add smoke to a round but ive been just getting cc crashes with no errors 
 
 | 
		
			| Fri Jul 17, 2009 7:11 am | 
					
					   | 
	
	
		|  | 
	
			| deathbringer 
					Joined: Sun Dec 21, 2008 8:16 am
 Posts: 293
   |   Re: Pirate PistolTake the same shell as the revolver cannon and some smoke should come out, provided you put the same ejection offsets as the muzzle offset, else the smoke will come out of some weird place on your gun. (Like the trigger...)
 Else, you could base your whole weapon on the revolver cannon because there are some smoke that appears on the canister it shoots.
 
 
 | 
		
			| Fri Jul 17, 2009 10:03 pm | 
					
					   | 
	
	
		|  | 
	
			| Contrary 
					Joined: Mon Mar 16, 2009 10:50 pm
 Posts: 2175
 Location: Neverwhere
   |   Re: Pirate Pistoldeathbringer wrote: Take the same shell as the revolver cannon and some smoke should come out, provided you put the same ejection offsets as the muzzle offset, else the smoke will come out of some weird place on your gun. (Like the trigger...)
 Else, you could base your whole weapon on the revolver cannon because there are some smoke that appears on the canister it shoots.
Oh poop, I guess I could just base it on that. I tried stealing some from that very gun, but I errored.
 
 | 
		
			| Sat Jul 18, 2009 1:41 am | 
					
					   | 
	
	
		|  | 
	
			| deathbringer 
					Joined: Sun Dec 21, 2008 8:16 am
 Posts: 293
   |   Re: Pirate PistolAlso to make the weapon shoot only once, put one bullet in the mag and put -1 for reload time on the gun (I think) and it should shoot only once. For the melee idea though it will be a little harder, unless you actually put an emitter on the gun that emits hurting particles at high speed with a short lifetime so when you move your gun on someone it hurts them...
 That would be the lazy way to make your gun melee-able. But it would be a ton of fun to stick it up the err... Yeah enough with my sadistic ideas.
 
 Edit : I'm not even sure we can attach emitters to guns...
 
 
 | 
		
			| Sat Jul 18, 2009 7:05 am | 
					
					   | 
	
	
		|  | 
	
			| Contrary 
					Joined: Mon Mar 16, 2009 10:50 pm
 Posts: 2175
 Location: Neverwhere
   |   Re: Pirate PistolEhh... That's funny since I made a female pirate to go with it.... 
 
 | 
		
			| Sat Jul 18, 2009 6:51 pm | 
					
					   | 
	
	
		|  | 
	
			| Exalion 
					Joined: Fri Mar 02, 2007 6:59 am
 Posts: 1726
 Location: NSW, Australia
   |   Re: Pirate Pistoldeathbringer wrote: Also to make the weapon shoot only once, put one bullet in the mag and put -1 for reload time on the gun (I think) and it should shoot only once. For the melee idea though it will be a little harder, unless you actually put an emitter on the gun that emits hurting particles at high speed with a short lifetime so when you move your gun on someone it hurts them...
 That would be the lazy way to make your gun melee-able. But it would be a ton of fun to stick it up the err... Yeah enough with my sadistic ideas.
 
 Edit : I'm not even sure we can attach emitters to guns...
you can stick emitters on guns. you'd be better off using some sort of lua so one shot 'destroys' the pirate pistol and replaces it with a melee version in your inventory.
 
 | 
		
			| Mon Jul 20, 2009 12:46 pm | 
					
					   | 
	
	
		|  | 
	
	
		|  |