Advanced Search

Author Topic: Weapons  (Read 9779 times)

0 Members and 1 Guest are viewing this topic.

November 03, 2010, 03:15:31 AM
Read 9779 times

Offline TheBladeRoden

  • MM8BDM Extender
  • ***
  • Date Registered: October 14, 2010, 07:26:58 PM

    • View Profile
    • TheBladeRoden's Home Page
Weapons
« on: November 03, 2010, 03:15:31 AM »
Are there any guides for adding custom weapons?

November 03, 2010, 03:27:38 AM
Reply #1

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #1 on: November 03, 2010, 03:27:38 AM »
Quote from: "TheBladeRoden"
Are there any guides for adding custom weapons?

Not of yet. but it should be as simple as adding an additional file. However keep in mind the weapons are placed on a map. Meaning your weapon won't appear on any map unless cheated for. Unless you make a custom map which has the weapon.

Assuming your question meant you already made one, and now your looking to test it out in game.

November 03, 2010, 03:29:58 AM
Reply #2

Offline TheBladeRoden

  • MM8BDM Extender
  • ***
  • Date Registered: October 14, 2010, 07:26:58 PM

    • View Profile
    • TheBladeRoden's Home Page
Re: Weapons
« Reply #2 on: November 03, 2010, 03:29:58 AM »
oops I guess I should have asked "Is there a tutorial for creating custom weapons and then adding them?"

November 03, 2010, 03:32:42 AM
Reply #3

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #3 on: November 03, 2010, 03:32:42 AM »
Ah. well no, currently there is not. The best thing I can tell you is  to read and understand this.
http://zdoom.org/wiki/Creating_new_weapons
After that study how Cutty made the MM8BDM weapons in the pk3 file. Decorate really isn't that difficult to learn.

November 03, 2010, 02:50:45 PM
Reply #4

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: Weapons
« Reply #4 on: November 03, 2010, 02:50:45 PM »
Quote from: "Ivory"
Ah. well no, currently there is not. The best thing I can tell you is  to read and understand this.
http://zdoom.org/wiki/Creating_new_weapons
After that study how Cutty made the MM8BDM weapons in the pk3 file. Decorate really isn't that difficult to learn.
Why don't you study how Cutty made them? See how "simple" it is.
The Decorate part is easy. The rest, is not.

November 03, 2010, 06:21:55 PM
Reply #5

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #5 on: November 03, 2010, 06:21:55 PM »
Quote from: "DoomThroughDoom"
Quote from: "Ivory"
Ah. well no, currently there is not. The best thing I can tell you is  to read and understand this.
http://zdoom.org/wiki/Creating_new_weapons
After that study how Cutty made the MM8BDM weapons in the pk3 file. Decorate really isn't that difficult to learn.
Why don't you study how Cutty made them? See how "simple" it is.
The Decorate part is easy. The rest, is not.

Because I actually understand it. You have no idea how damned complex my own weapons are in my doom project that I'm still keeping underwraps.

November 04, 2010, 02:47:39 AM
Reply #6

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: Weapons
« Reply #6 on: November 04, 2010, 02:47:39 AM »
C'mon, take one look of the code for them.

November 04, 2010, 02:52:00 AM
Reply #7

Offline Mr. X

  • MM8BDM Contributor
  • ****
  • Date Registered: July 09, 2010, 07:05:48 PM

    • View Profile
    • http://mrxsrr.blogspot.com
Re: Weapons
« Reply #7 on: November 04, 2010, 02:52:00 AM »
(click to show/hide)

The Mega Buster.  It's a work of art, really.

EDIT:  I just realized the Darkman buster is included in this code.

November 04, 2010, 02:53:22 AM
Reply #8

Offline Korby

  • Global Moderator

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

    • View Profile
    • Korby Games
Re: Weapons
« Reply #8 on: November 04, 2010, 02:53:22 AM »
Except most of that is Darkman Buster.
(click to show/hide)
That much is actually Mega Buster and Pellets/Ammo.
(click to show/hide)
That's the weapon only.

November 04, 2010, 02:56:09 AM
Reply #9

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #9 on: November 04, 2010, 02:56:09 AM »
Okay fine. For someone unaware in both decorate and acs, that would be a handful. I take it back, don't study cutty's code for learning.
but I still understand it. The weapons in my mod are absolutely hell.

November 04, 2010, 02:59:34 AM
Reply #10

Offline Korby

  • Global Moderator

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

    • View Profile
    • Korby Games
Re: Weapons
« Reply #10 on: November 04, 2010, 02:59:34 AM »
How many lines of code is in your longest weapon?

November 04, 2010, 03:04:18 AM
Reply #11

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #11 on: November 04, 2010, 03:04:18 AM »
My Plasma Rifle. The weapon itself is worth 143 lines. With everything that goes with it, 240 lines.

Flamethrower is 367 lines in total. However the Flamethrower is coded from scratch while the Plasma Rifle isn't as long due to inheritance.

November 04, 2010, 03:05:46 AM
Reply #12

Offline Korby

  • Global Moderator

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

    • View Profile
    • Korby Games
Re: Weapons
« Reply #12 on: November 04, 2010, 03:05:46 AM »
What.
What.
Okay, yeah, I see what you mean. How long did it take you to code all that?

November 04, 2010, 03:12:23 AM
Reply #13

Offline Ivory

  • MM8BDM Extender
  • *********
  • Date Registered: August 25, 2009, 08:17:59 AM

    • View Profile
    • http://www.cutstuff.net/
Re: Weapons
« Reply #13 on: November 04, 2010, 03:12:23 AM »
I...don't remember. I've been working on this project for well over a year now(on and off). I don't spend all my time working on one thing and then moving on, I work on everything at once and slowly build up.

But College eats a lot of time, and now I'm distracted with MM8BDM  :p

November 04, 2010, 05:49:34 PM
Reply #14

Offline TERRORsphere

  • MM8BDM Contributor
  • ****
  • Date Registered: August 22, 2009, 08:45:17 PM

    • View Profile
    • http://www.youtube.com/user/DoomThroughDoom
Re: Weapons
« Reply #14 on: November 04, 2010, 05:49:34 PM »
Quote from: "Korby"
Code: [Select]
BUST B 0 ACS_ExecuteAlways(981,0,0)

BUST B 0 ACS_ExecuteAlways(998,0,0)
So, take a look at the ACS. Also look at SBARINFO.