decorate is irritating
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
decorate is irritating
I was makin a new weapon, like a sort of overpowered/realistic shotgun. i read all the stuff on decorate and trie dit and it WONT WORK what the f!! here is my decorate:
actor mega shotgun : replaces shotgun
{
weapon.ammouse 1
weapon.ammogive 8
weapon,ammotype shell
states
{
select:
shot a 1 a_weaponraise
deselect:
shot a 1 a_weaponlower
ready:
shot a 1 a_weaponready
fire:
shot a 1
shot b 1 a_firebullets(30,30.100,20)
shot c 1
shot d 1
shot e 1
shot f 1
shot g 1
shot h 1
shot i 1 a_refirte
goto ready
}
so how do i fix this i am at a loss this is REALLY damn annoying!
actor mega shotgun : replaces shotgun
{
weapon.ammouse 1
weapon.ammogive 8
weapon,ammotype shell
states
{
select:
shot a 1 a_weaponraise
deselect:
shot a 1 a_weaponlower
ready:
shot a 1 a_weaponready
fire:
shot a 1
shot b 1 a_firebullets(30,30.100,20)
shot c 1
shot d 1
shot e 1
shot f 1
shot g 1
shot h 1
shot i 1 a_refirte
goto ready
}
so how do i fix this i am at a loss this is REALLY damn annoying!
- TheDarkArchon
- Posts: 7656
- Joined: Sat Aug 07, 2004 5:14 am
- Location: Some cold place
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
ill fix my post to try and figure out the code tags you say i noticed other people using them but cant figure out how. illl re-read that decorate thing too. still this is annoying my decorate LOOKS error free for fs sake!
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
Code: Select all
actor mega shotgun : shotgun replaces shotgun 100
{
weapon.ammouse 1
weapon.ammogive 8
weapon.ammotype shell
states
{
select:
shot a 1 a_weaponraise
deselect:
shot a 1 a_weaponlower
ready:
shot a 1 a_weaponready
fire:
shot a 1
shot b 1 a_firebullets(30,30.100,20)
shot c 1
shot d 1
shot e 1
shot f 1
shot g 1
shot h 1
shot i 1 a_refirte
goto ready
}
- Zhs2
- Posts: 1301
- Joined: Fri Nov 07, 2008 3:29 pm
- Graphics Processor: ATI/AMD with Vulkan/Metal Support
- Location: Maryland, USA, but probably also in someone's mod somewhere
- Contact:
Re: decorate is irritating
Well, you fixed most of your errors... but:
A_Refire, not A_Refirte
A_Lower, not A_WeaponLower
A_Raise, not A_WeaponRaise
A_Refire, not A_Refirte
A_Lower, not A_WeaponLower
A_Raise, not A_WeaponRaise
Last edited by Zhs2 on Fri Jan 16, 2009 7:57 pm, edited 1 time in total.
- XutaWoo
- Posts: 4005
- Joined: Sat Dec 30, 2006 4:25 pm
- Location: beautiful hills of those who are friends
- Contact:
Re: decorate is irritating
Also, THIS is the stupidest DECORATE mistake I've every seen.
You forgot to close your states, so the gun will keep falling through it's states until it his "Fire," which is closed.
Replace
with
Although you don't even need those states anyway, since they're already defined by the regular Shotgun. You can just make it only have a Fire state and it will work.

You forgot to close your states, so the gun will keep falling through it's states until it his "Fire," which is closed.
Replace
Code: Select all
select:
shot a 1 a_weaponraise
deselect:
shot a 1 a_weaponlower
ready:
shot a 1 a_weaponready
Code: Select all
select:
shot a 1 a_weaponraise
loop
deselect:
shot a 1 a_weaponlower
loop
ready:
shot a 1 a_weaponready
loop
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
okay thanks for the help let me try fixing what you guys said
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
WHAT THE HECK IT STILL WONT WORK OH MY GOD
this is really beginning to PISS ME OFF WHY is zdoom being SO [censored word]
Code: Select all
actor mega shotgun : shotgun replaces shotgun 100
{
weapon.ammouse 1
weapon.ammogive 8
weapon.ammotype shell
states
{
select:
shot a 1 a_raise
loop
deselect:
shot a 1 a_lower
loop
ready:
shot a 1 a_ready
loop
fire:
shot a 1
shot b 1 a_firebullets(30,30.100,20)
shot c 1
shot d 1
shot e 1
shot f 1
shot g 1
shot h 1
shot i 1 a_refire
goto ready
}
}
Re: decorate is irritating
MAYBE IT'S BECAUSE YOUR CODE IS [censored word].
Now then...
Why is there a period in there? And you need to capitalize your sprite names/frame letters. SHOT A is correct, shot a is not.
Now then...
Code: Select all
(30,30.100,20)
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
THIS IS SO FING STUPID WHO MADE DECORATE AND ZDOOM!!! WHY WONT IT WORK UGH I FIXED AL L THE FUCKING ERRORS NOW IM SO PISSED!!
ZDOOM SUCKS!!
Code: Select all
actor mega shotgun : shotgun replaces shotgun 100
{
weapon.ammouse 1
weapon.ammogive 8
weapon.ammotype shell
states
{
select:
shot a 1 a_raise
loop
deselect:
shot a 1 a_lower
loop
ready:
shot a 1 a_ready
loop
fire:
shot a 1
shot b 1 a_firebullets(30,30,100,20)
shot c 1
shot d 1
shot e 1
shot f 1
shot g 1
shot h 1
shot i 1 a_refire
goto ready
}
}
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: decorate is irritating
Relax beavis. There's a space in your class name. Try replacing it with an underscore.
Also put quotes around "ready" near that last line.
Also chill out with the ZDOOM SUCKS stuff, we all like zdoom fine and most of us can handle a few lines of decorate so you're only making yourself look bad.
Also put quotes around "ready" near that last line.
Also chill out with the ZDOOM SUCKS stuff, we all like zdoom fine and most of us can handle a few lines of decorate so you're only making yourself look bad.
- esselfortium
- Posts: 3862
- Joined: Tue Sep 19, 2006 8:43 pm
- Contact:
-
- Posts: 32
- Joined: Tue Jan 13, 2009 12:35 am
Re: decorate is irritating
dude quit giving me bad advice YOU ASSHOLE I added an underscore and it did nothing
Re: decorate is irritating
You pinhead, read what I told you. Make your sprite names and frame letters capital.deader-man wrote:dude quit giving me bad advice YOU ASSHOLE I added an underscore and it did nothing

EDIT
And in Ready, you need to put A_WeaponReady.
- yomoneyboat
- Posts: 8
- Joined: Sun Dec 02, 2007 11:00 am
Re: decorate is irritating
I love this thread