riki2321 Posted December 4, 2015 actor stupidgun : Weapon 20060 { radius 20 height 16 inventory.pickupmessage "You got the stupid gun!!" weapon.selectionorder 8 weapon.kickback 500 weapon.ammotype "RocketAmmo" weapon.ammouse 4 weapon.ammogive 0 +WEAPON.CHEATNOTWEAPON +WEAPON.NOAUTOFIRE states { Ready: SHIT A 1 A_WeaponReady loop Deselect: SHIT A 1 A_Lower loop Select: SHIT A 1 A_Raise loop Fire: SHIT A 1 A_GunFlash SHIT B 1 Acs_execute(666,0) SHIT B 1 A_CustomMissile("Rocket",48,0) SHIT B 1 A_CustomMissile("Rocket",32,0) SHIT B 1 A_CustomMissile("Rocket",16,0) SHIT B 1 A_CustomMissile("Rocket",8,0) goto Ready Flash: SHIT A 1 bright A_Light1 SHIT A 1 bright SHIT A 1 bright A_Light2 SHIT A 0 bright A_Light0 stop Spawn: SHIT A -1 stop } } so when the missile is fired.. it doesnt work 0 Quote Share this post Link to post
scifista42 Posted December 4, 2015 Use A_FireCustomMissile instead of A_CustomMissile. A_CustomMissile is for enemy projectile attacks, while A_FireCustomMissile is for player weapon attacks. Beware, each of the functions has different parameters, see wiki. Also make sure that Script 666 exists in every map you are playing with this weapon, or is loaded via LOADACS to be available in every map in the wad. 0 Quote Share this post Link to post
riki2321 Posted December 4, 2015 scifista42 said:Use A_FireCustomMissile instead of A_CustomMissile. A_CustomMissile is for enemy projectile attacks, while A_FireCustomMissile is for player weapon attacks. Beware, each of the functions has different parameters, see wiki. Also make sure that Script 666 exists in every map you are playing with this weapon, or is loaded via LOADACS to be available in every map in the wad. thank you also i use script 666 on all my maps 0 Quote Share this post Link to post
Dave The Daring Posted December 5, 2015 Saint Scifista42.. Has a ring to it. 0 Quote Share this post Link to post
riki2321 Posted December 5, 2015 how to make it so the weapon is on slot 8 0 Quote Share this post Link to post
scifista42 Posted December 5, 2015 http://zdoom.org/wiki/Weapon_slots 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.