Advanced Search

Author Topic: How do I make a slashing weapon? (E.G, Flame Sword, Slash Claw)  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

January 29, 2020, 01:28:13 AM
Read 873 times

Offline Bittybud

  • Standard Member

  • Pew pew pew.
  • Date Registered: January 29, 2020, 01:24:13 AM

    • View Profile
How do I make a slashing weapon? (E.G, Flame Sword, Slash Claw)
« on: January 29, 2020, 01:28:13 AM »
As the title describes, I cannot find how to make a Slashing weapon. The weapon tutorial pinned only has projectile and buster weapons, and I've checked the Official MM8BDM wiki for the code for the weapons to no luck. Thank you if you do help!

January 29, 2020, 05:49:58 PM
Reply #1

Offline Korby

  • Global Moderator

  • Benvenuto nella room italiana!
  • *************
  • Date Registered: March 04, 2010, 03:36:02 AM

    • View Profile
    • Korby Games
Re: How do I make a slashing weapon? (E.G, Flame Sword, Slash Claw)
« Reply #1 on: January 29, 2020, 05:49:58 PM »
The simplest way is to make a weapon that fires a projectile that has a limited life.

Here's the code for Slash Claw and Flame Sword.

https://pastebin.com/zE1uDiPb

https://pastebin.com/E9MRSL8j

If you have any further questions, feel free to ask.
Remember to check out the ZDoom Wiki as well for helpful code reference.

January 29, 2020, 07:30:01 PM
Reply #2

Offline Bittybud

  • Standard Member

  • Pew pew pew.
  • Date Registered: January 29, 2020, 01:24:13 AM

    • View Profile
Re: How do I make a slashing weapon? (E.G, Flame Sword, Slash Claw)
« Reply #2 on: January 29, 2020, 07:30:01 PM »
Thank you so much!

January 30, 2020, 04:50:35 AM
Reply #3

Offline Bittybud

  • Standard Member

  • Pew pew pew.
  • Date Registered: January 29, 2020, 01:24:13 AM

    • View Profile
Re: How do I make a slashing weapon? (E.G, Flame Sword, Slash Claw)
« Reply #3 on: January 30, 2020, 04:50:35 AM »
If you have any further questions, feel free to ask.
I assume another thread is best for this. Thank you once again!