Cutstuff Forum

Mega Man 8-bit Deathmatch => Projects & Creative => DECORATE and ACS Modifications => Topic started by: TheBladeRoden on November 03, 2010, 03:15:31 AM

Title: Weapons
Post by: TheBladeRoden on November 03, 2010, 03:15:31 AM
Are there any guides for adding custom weapons?
Title: Re: Weapons
Post by: Ivory 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.
Title: Re: Weapons
Post by: TheBladeRoden 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?"
Title: Re: Weapons
Post by: Ivory 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.
Title: Re: Weapons
Post by: TERRORsphere 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.
Title: Re: Weapons
Post by: Ivory 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.
Title: Re: Weapons
Post by: TERRORsphere on November 04, 2010, 02:47:39 AM
C'mon, take one look of the code for them.
Title: Re: Weapons
Post by: Mr. X 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.
Title: Re: Weapons
Post by: Korby 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.
Title: Re: Weapons
Post by: Ivory 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.
Title: Re: Weapons
Post by: Korby on November 04, 2010, 02:59:34 AM
How many lines of code is in your longest weapon?
Title: Re: Weapons
Post by: Ivory 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.
Title: Re: Weapons
Post by: Korby 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?
Title: Re: Weapons
Post by: Ivory 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
Title: Re: Weapons
Post by: TERRORsphere 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.
Title: Re: Weapons
Post by: TheBladeRoden on November 05, 2010, 04:27:11 AM
Things are going alright so far, though weapon colors aren't working, ammo pickups don't work, and the inventory icon is too big and in the wrong place.

http://www.mediafire.com/?uz0rlxc8zlfkj8t (http://www.mediafire.com/?uz0rlxc8zlfkj8t)
Title: Re: Weapons
Post by: Mr. X on November 05, 2010, 07:36:18 PM
Ok, I have a question about weapons and things in general I guess.  When I was trying to make the damaging cactus for my race course, you (DTD) said make the cactus and put it in a DECORATE lump in my wad.  While it worked on my computer, when Yellow Devil tried it, skulltag failed to launch.  Why did that happen?

(It relates to weapons because I'd like to try making a simple custom weapon and put it in a map)

And TheBladeRoden:  Dude.  How long did it take you to make that and how difficult was it?  I mean, sure there's some stuff that still needs to be fixed, but it's the freaking fire flower and it works extremely well!
Title: Re: Weapons
Post by: Blaze Yeager on November 05, 2010, 08:36:05 PM
I'd Actually like to make a weapon based off of the Break Dash or Spark Search (Terra's weapon) or A Wepaon Based off of the Picket Man's Axe
Title: Re: Weapons
Post by: Max on November 05, 2010, 08:37:10 PM
I want to make a crowbar... any steamers will know why.

Just... how would I make it original?
Title: Re: Weapons
Post by: TheBladeRoden on November 05, 2010, 08:42:07 PM
Been working on it since Wednesday. It is more difficult than adding new skins and bots since I had to trial and error my way through it. That and the attributes are distributed among many core files instead of just the one or two for skins and bots, which is annoying.
Title: Re: Weapons
Post by: Phoba555 on November 05, 2010, 08:48:08 PM
Sounds awesome.
I wished I could code, but yep, no good at that.


Also, I have been expecting you, Mr Freeman.
Title: Re: Weapons
Post by: MegamanFTW on January 21, 2011, 01:14:44 AM
Quote from: "TheBladeRoden"
Things are going alright so far, though weapon colors aren't working, ammo pickups don't work, and the inventory icon is too big and in the wrong place.

http://www.mediafire.com/?uz0rlxc8zlfkj8t (http://www.mediafire.com/?uz0rlxc8zlfkj8t)
also,the weapon tanks wont work for it,but its fun!and change the colours up a bit,cause the pink one blends in with marios skin in the mario skin
Title: Re: Weapons
Post by: NitroBro on January 21, 2011, 11:17:41 AM
Bumped prety much? Any way I believe he stopped working on it so stop bumping dead topics and stop answering old comments its rather annoying and it is not forum policy