Smolspidey Posted May 12, 2024 Hello, could anyone please tell me how I could edit the chaingun to increase it's rate of fire in Slade? Thanks in advanced. 0 Quote Share this post Link to post
kalensar Posted May 12, 2024 7 minutes ago, Smolspidey said: Hello, could anyone please tell me how I could edit the chaingun to increase it's rate of fire in Slade? Thanks in advanced. That entirely depends on what Source Port you are aiming for. If its by Dehacked then I can't help at all. If you are using Decorate or Zscript then I can offer a demo pk3 showing what to do, 1 Quote Share this post Link to post
Smolspidey Posted May 12, 2024 (edited) 9 minutes ago, kalensar said: That entirely depends on what Source Port you are aiming for. If its by Dehacked then I can't help at all. If you are using Decorate or Zscript then I can offer a demo pk3 showing what to do, I'm making a wad specifically for GZdoom so Decorate would work. Edited May 12, 2024 by Smolspidey 0 Quote Share this post Link to post
kalensar Posted May 12, 2024 Heres the Code inside of the this PK3 chaingundemo.pk3.zip ACTOR ChaingunDemo : ChainGun Replaces Chaingun { Weapon.SlotNumber 4 Weapon.SelectionOrder 700 Weapon.AmmoUse 1 Weapon.AmmoGive 20 Weapon.AmmoType "Clip" Inventory.PickupMessage "$GOTCHAINGUN" // "You got the chaingun" Obituary "$OB_MPCHAINGUN" // "%o was mowed down by %k's chaingun." Tag "$TAG_CHAINGUN" States { Ready: CHGG A 1 A_WeaponReady Loop Deselect: CHGG A 1 A_Lower Loop Select: CHGG A 1 A_Raise Loop Fire: CHGG AB 4 A_FireCGUN // Changing the Number on this line Changes the Fire Speed. vanilla is 4. CHGG B 0 A_ReFire Goto Ready Flash: // Down here you want to change these numbers to match the Fire Line so that the animations stay in sync. CHGF A 4 Bright A_Light1 Goto LightDone CHGF B 4 Bright A_Light1 Goto LightDone Spawn: MGUN A -1 Stop } } 1 Quote Share this post Link to post
Smolspidey Posted May 12, 2024 7 minutes ago, kalensar said: Heres the Code inside of the this PK3 chaingundemo.pk3.zip ACTOR ChaingunDemo : ChainGun Replaces Chaingun { Weapon.SlotNumber 4 Weapon.SelectionOrder 700 Weapon.AmmoUse 1 Weapon.AmmoGive 20 Weapon.AmmoType "Clip" Inventory.PickupMessage "$GOTCHAINGUN" // "You got the chaingun" Obituary "$OB_MPCHAINGUN" // "%o was mowed down by %k's chaingun." Tag "$TAG_CHAINGUN" States { Ready: CHGG A 1 A_WeaponReady Loop Deselect: CHGG A 1 A_Lower Loop Select: CHGG A 1 A_Raise Loop Fire: CHGG AB 4 A_FireCGUN // Changing the Number on this line Changes the Fire Speed. vanilla is 4. CHGG B 0 A_ReFire Goto Ready Flash: // Down here you want to change these numbers to match the Fire Line so that the animations stay in sync. CHGF A 4 Bright A_Light1 Goto LightDone CHGF B 4 Bright A_Light1 Goto LightDone Spawn: MGUN A -1 Stop } } I got it to work because of you, thank you so much! 1 Quote Share this post Link to post
boris Posted May 12, 2024 (edited) Use inheritance: https://zdoom.org/wiki/Using_inheritance Edited May 12, 2024 by boris 2 Quote Share this post Link to post
Naarok0fkor Posted May 12, 2024 Check out the Dehacked file in my WAD... https://www.moddb.com/mods/guntoberfest/downloads/naarok0fkors-winter-slayride-2023 1 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.