Spiker, on Jul 7 2009, 08:00 AM, said:
So your goal is to replace the shotgun with a completely custom art sequence?
Then what you're going to want is getplayer[THISACTOR].kickback_pic.
http://wiki.eduke32....ki/Kickback_pic
From there you can use EVENT_DISPLAYWEAPON to display your frames using rotatesprite.
To define TOTALTIME, etc, you will want these vars:
WEAPONx_CLIP
WEAPONx_FIREDELAY
WEAPONx_FIRESOUND
WEAPONx_FLAGS
WEAPONx_INITIALSOUND
WEAPONx_SHOOTS
WEAPONx_SHOTSPERBURST
WEAPONx_SPAWN
WEAPONx_SPAWNTIME
WEAPONx_TOTALTIME
(too many to link, just look them up on the Wiki)
Note that x indicates the weapon slot number.
EDIT:
Isn't there also a WEAPONx_RELOADTIME or something along those lines? I didn't see it listed in the Wiki, but I seem to recall that when CLIP is reached RELOADTIME is added to TOTALTIME (and thus kickback_pic's value/sequence).

Help
Duke4.net
DNF #1
Duke 3D #1





