| Author | Message | 
        
			| Coops124 
					Joined: Fri Feb 22, 2008 7:49 pm
 Posts: 17
   |   Moding TroubleHey Guys,
 im making a mod with a weapon (assault rifle) and i'd like to know how to make my weapon shoot a certain amount of Shots and then stop, kinda like burstfire.. lets say it shoots 3 shots then stops. How do i do that?  Im also not a very good coder
 
 
 | 
		
			| Tue Aug 19, 2008 6:10 pm | 
					
					   | 
	
	
		|  | 
	
			| ppiksmada 
					Joined: Tue Jan 01, 2008 5:56 am
 Posts: 564
 Location: Behind a DarKlone, trying to pierce its fudging armor!
   |   Re: Moding TroubleFrom what I understand, there's no real way to do it besides giving it a 3-round clip and have it reload between each burst. Two builds from now I think you can script weapons, so it'll be a bit of a wait. 
 
 | 
		
			| Tue Aug 19, 2008 6:47 pm | 
					
					   | 
	
	
		|  | 
	
			| Coops124 
					Joined: Fri Feb 22, 2008 7:49 pm
 Posts: 17
   |   Re: Moding Troubleahh, ok  
 
 | 
		
			| Tue Aug 19, 2008 7:58 pm | 
					
					   | 
	
	
		|  | 
	
			| Tea 
					
				   |   Re: Moding TroublePossible: Make it have a tracer round every 4 shots and make the round and invisible o lifetime  null particle. 
 
 | 
		
			| Tue Aug 19, 2008 8:54 pm | 
					
					 | 
	
	
		|  | 
	
			| ppiksmada 
					Joined: Tue Jan 01, 2008 5:56 am
 Posts: 564
 Location: Behind a DarKlone, trying to pierce its fudging armor!
   |   Re: Moding TroubleIt would still fire single if you wanted it to, and you have to take into account how fast he might want the gun to fire. 
 It would sound like ***-***-*** as opposed to ***----*** if you kept firing. Wouldn't be a convincing delay.
 
 
 | 
		
			| Tue Aug 19, 2008 9:26 pm | 
					
					   | 
	
	
		|  | 
	
			| Tea 
					
				   |   Re: Moding Troubleppiksmada wrote: It would still fire single if you wanted it to, and you have to take into account how fast he might want the gun to fire. 
 It would sound like ***-***-*** as opposed to ***----*** if you kept firing. Wouldn't be a convincing delay.
Yeah, You're right, but I just thought of a different way. Your way still sounds better.
 
 | 
		
			| Tue Aug 19, 2008 9:40 pm | 
					
					 | 
	
	
		|  | 
	
			| Duh102 happy carebear mom 
					Joined: Tue Mar 04, 2008 1:40 am
 Posts: 7096
 Location: b8bbd5
   |   Re: Moding TroubleWell, you could also make it fire an emitter that fired 3 rounds, but it would look funny if it shot them if you moved the gun in between. You could also make it sound like you shot a burst and just shoot a single round, again not exactly what you're looking for. 
 
 | 
		
			| Tue Aug 19, 2008 11:23 pm | 
					
					   | 
	
	
		|  | 
	
			| Azukki 
					Joined: Sat Nov 03, 2007 9:44 pm
 Posts: 1916
 Location: Flint Hills
   |   Re: Moding TroubleDuh102 wrote: fire an emitterYou can't make an emitter shoot something the direction you're aiming consistently. If you make it the round particle, it just emits at the predetermined angle. If you make it the round shell(casing), it emits at the firing angle, plus the predetermined angle, (ignorable if zero/undefined) but only if you're facing rightward, and the opposite direction leftward. This is also why we can't have straight-firing accurately propelled rocket launchers. Directionally limited turrets come to mind though; they could make use of casings' partially correct angular ejection. Or you could hold a HDF for firing in different directions, but that's a bit silly. Objects with rotational symmetry of the second order (two-fold) (they stay the same when rotated 180 degrees) would also be unaffected by the oppositional angle too, as can be seen in numgun's C3 Shield Gun. I'm guessing it has something to do with the way data made the HDF not be upside-down when aimed leftward. He rotated some of the aspects of the HDF a full 180. Including the angle of the fired round particle and ejected round shell/casing. He later made the angle of the fired round particle unaffected by the angle of the HDF, for whatever reason. But he didn't do this for casings, there probably wasn't a reason to. So there's still this exploit in casings for modders, even though it wasn't intentionally made at all. But that's all just my guess. understandable tl;dr yeah but if you face left the emissions hit you
 
 
    							Last edited by Azukki on Sun Mar 29, 2009 9:48 pm, edited 1 time in total. 
 
 | 
		
			| Wed Aug 20, 2008 12:27 am | 
					
					   | 
	
	
		|  | 
	
			| fyher 
					Joined: Wed Aug 29, 2007 4:09 am
 Posts: 239
 Location: The land of Pwnt
   |   Re: Moding Troublewow, i actually read all that....... 
 
 | 
		
			| Wed Aug 20, 2008 7:14 am | 
					
					   | 
	
	
		|  | 
	
			| Grif REAL AMERICAN HERO 
					Joined: Sat Jan 27, 2007 10:25 pm
 Posts: 5655
   |   Re: Moding Troublefyher wrote: wow, i actually read all that.......OH MY GOD THAT IS SO AMAZING YOU ARE CAPABLE OF READING THREE CONSECUTIVE PARAGRAPHS? ♥♥♥♥, I AM IN FACT ♥♥♥♥ AMAZED. YOU ARE A GOD AMONG MEN. YOUR ATTENTION SPAN IS MIGHTY, YOUR PHONETIC VERBAL READING THUNDEROUS, AND YOUR FINGER RIDING THE LINES ACROSS THE SCREEN IS TRULY A SIGN OF GREATNESS. I CONGRATULATE YOU, SIR, ON YOUR ABILITY TO READ THREE ♥♥♥♥ PARAGRAPHS .
 
 | 
		
			| Thu Aug 21, 2008 12:12 am | 
					
					   | 
	
	
		|  | 
	
			| Thanatos 
					Joined: Sat Jan 06, 2007 3:58 am
 Posts: 346
 Location: Germany
   |   Re: Moding TroubleVery nice Grif, I'd say a 9.5
 
 You advance to the next round!
 
 
 (no, no way to do it.)
 
 
 | 
		
			| Thu Aug 21, 2008 12:56 am | 
					
					   | 
	
	
		|  | 
	
			| Coops124 
					Joined: Fri Feb 22, 2008 7:49 pm
 Posts: 17
   |   Re: Moding TroubleDuh102 wrote: Well, you could also make it fire an emitter that fired 3 rounds, but it would look funny if it shot them if you moved the gun in between. You could also make it sound like you shot a burst and just shoot a single round, again not exactly what you're looking for.It would Fire like a shotgun though and the emitter  wouldn't fire far enoughBUT  thanks for thinking about it
 
 | 
		
			| Thu Aug 21, 2008 4:37 am | 
					
					   | 
	
	
		|  | 
	
			| Coops124 
					Joined: Fri Feb 22, 2008 7:49 pm
 Posts: 17
   |   Re: Moding TroubleI hope you can do something about this in either one of the new builds or in the ingame console,  or maybe some REALLY  good coding..  
 
 | 
		
			| Thu Aug 21, 2008 4:43 am | 
					
					   | 
	
	
		|  | 
	
			| fyher 
					Joined: Wed Aug 29, 2007 4:09 am
 Posts: 239
 Location: The land of Pwnt
   |   Re: Moding Troublei wish there was a thread where all of Grif's flame posts were, id be the most popular thread ever..
 I wish people wouldn't go blatantly off-topic. Topic seemed to do pretty well until you posted.
 
 And by the way, It'd be the most popular thread ever."
 
 
 | 
		
			| Fri Aug 22, 2008 2:10 am | 
					
					   | 
	
	
		|  | 
	
	
		|  |