Tripwire Interactive Forums

Go Back   Tripwire Interactive Forums > Red Orchestra: Ostfront 41-45 Forums > Red Orchestra Modifications > General Modding Discussion

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 01-03-2010, 04:47 PM
Six_Ten's Avatar
Six_Ten Six_Ten is offline
Senior Member
 
Join Date: Mar 2006
Posts: 1,382
Default Musket code

Moving this here since fewer and fewer people read the Coding forum any more:


I'm making a musket by converting the Kar98.

What I want to happen is

player squeezes trigger:

0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan

1 second later
bullet is fired, muzzle flash, muzzle smoke

How do I code the delay from the time the trigger is squeezed and the pan is ignited, to the bullet being fired and the muzzle flash and smoke?

So far what I have is:

0 seconds
weapon animation begins, flint strikes steel, there's a flash in the pan and smoke rises from pan, bullet is fired, muzzle flash, muzzle smoke all simultaneously.
__________________
NEMO ME IMPVNE LACESSIT

Last edited by Six_Ten; 08-10-2012 at 04:03 PM.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2013, Tripwire Interactive, LLC