CrazyDoomguy Posted June 5, 2023 (edited) I am trying to add a new weapon, but to no avail... The weaponbullet is ignored, and I don't know how to add custom fire to weapons 0... Also, I can't add more spirites even with SPXX. Can I add more at all? Or is it limited to the doom 2 format? Can you send me your version so that I can orientate myself? Spoiler weapon 0 "ShotgunXXL" { States { Ready: SAWG CD 4 A_WeaponReady Loop Deselect: SAWG C 1 A_Lower Loop Select: SAWG C 1 A_Raise Loop Fire: SAWG A 0 A_WeaponSound(fre008) SAWG A 4 A_WeaponBulletAttack(50, 50, 200, 25, 5) SAWG B 8 A_ReFire Goto Ready Spawn: CSAW A -1 Stop } } Edited June 6, 2023 by CrazyDoomguy 0 Share this post Link to post
CrazyDoomguy Posted June 6, 2023 (edited) 2 minutes ago, ramon.dexter said: What kind of code is this? Dehacked? This is similar to DECORATE, but for the doomtools compiler. It converts this script to a dehacked.txt file this is for new boom format - MBF21 0 Share this post Link to post
ViolentBeetle Posted June 6, 2023 36 minutes ago, CrazyDoomguy said: Which weapon number is chainsaw? I think chainsaw is 7. It goes normal progression starting from zero, then goes to chainsaw, and the last one is SSG. 1 Share this post Link to post
CrazyDoomguy Posted June 6, 2023 (edited) 22 minutes ago, ViolentBeetle said: I think chainsaw is 7. It goes normal progression starting from zero, then goes to chainsaw, and the last one is SSG. Yes, now I've made a new weapon! finally! Here's the code if anyone needs to see how it's done. Later you need to put a custom DSSAWUP without sound or you do this custom music You have to use SAWG and extra stuff CSAW! Spoiler weapon 7 "ShotgunXXL" { States { Ready: SAWG C 1 A_WeaponReady Loop Deselect: SAWG C 1 A_Lower Loop Select: SAWG C 1 A_Raise Loop Fire: SAWG A 0 A_WeaponSound (fre008) SAWG A 6 A_WeaponBulletAttack(50, 50, 1000, 50, 10) SAWG GHIJ 2 SAWG KLMN 2 A_WeaponSound (fre009) SAWG OPQR 1 SAWG STUV 2 A_WeaponSound (fre009) SAWG WXYZ 2 CSAW BC 1 CSAW DEFG 2 A_WeaponSound (fre009) CSAW HIJK 1 CSAW LMNO 2 A_WeaponSound (fre009) SAWG FEDB 6 SAWG B 0 A_WeaponSound (fre010) SAWG C 1 A_ReFire Goto Ready flash: SAWG A 4 Bright A_Light1 SAWG G 3 Bright A_Light2 goto lightdone Spawn: CSAW A -1 Stop } } 0 Share this post Link to post