Very pissed off at this.

Archive of the old editing forum
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.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Very pissed off at this.

Post by RaptorX »

I cant pick up or use this weapon.

Code: Select all

ACTOR Blade : Weapon 25000
{
   Weapon.SelectionOrder 350
   Inventory.PickupSound "misc/w_pkup"
   Inventory.PickupMessage "You got the Ninja Claws"
   States
   {
   Spawn:
      WVBL A -1
      loop
   Ready:
      VBLG A 1 A_WeaponReady
      Loop
   Deselect:
      VBLG A 1 A_Lower
      Loop
   Select:
      VBLG A 1 A_Raise
      Loop
   Fire:
      VBLR ABC 7
	  VBLR D 7 A_CustomPunch(100)
	  VBLR EFG 7
	  VBLL AB 7
	  VBLL C 7 A_CustomPunch(100)
	  VBLL DE 7
	  goto ready
   AltFire:
      DVBL A 20
	  PVBL ABC 8
	  PVBL DEFGDEFGDEFGDEFGDEFG 3
	  PVBL C 50 A_FireCustomMissile("bfgball")
	  goto ready
   }
}
any idea?
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Very pissed off at this.

Post by XutaWoo »

Do you have the sprites "VBLG" and such in your wad? ZDoom won't let you pickup weapons without Ready sprites.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Very pissed off at this.

Post by Ceeb »

Have you tried the obvious, like making sure you don't have noclip on? That looks like it should work.. :?

EDIT: In the Spawn state, should it be V instead of W? :lol:
User avatar
XutaWoo
Posts: 4005
Joined: Sat Dec 30, 2006 4:25 pm
Location: beautiful hills of those who are friends
Contact:

Re: Very pissed off at this.

Post by XutaWoo »

@Ceeb: What? VVBL? He's using Doom-styled weapon-sprite naming.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Very pissed off at this.

Post by Ceeb »

XutaWoo wrote:@Ceeb: What? VVBL? He's using Doom-styled weapon-sprite naming.
Oh. :? Sorry. The way I usually do is (in the case of my Desert Eagle) have my normal weapon frames (ABCD) and then E is the pickup.
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Very pissed off at this.

Post by RaptorX »

I have the weapon sprites and everything.
No clip is not on. >->
this is very frustrating. :x
User avatar
Logan MTM
Posts: 678
Joined: Mon Jan 16, 2006 8:53 pm
Location: Rio de Janeiro - Brazil

Re: Very pissed off at this.

Post by Logan MTM »

It happened to me too.
Try remove your sprites and load it agian into the correct marks.
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Re: Very pissed off at this.

Post by Giest118 »

Just to cover all the bases, make sure you have the weapon set to a slot in your KEYCONF lump as well.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Very pissed off at this.

Post by Ceeb »

Giest118 wrote:Just to cover all the bases, make sure you have the weapon set to a slot in your KEYCONF lump as well.
That doesn't matter. He should still be able to pick it up.

Is your DECORATE lump in with your sprites? (Inside the sprite markers.)
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Very pissed off at this.

Post by RaptorX »

no theyre outside the markers.
ive been decorateing for a long while and i dont c whats wrong.
ill try reloading the sprites.

that didnt work.
Attachments
Blades.wad
This file hates me.
(163.39 KiB) Downloaded 27 times
User avatar
Mephestys
Posts: 2
Joined: Sun Sep 21, 2008 12:21 am
Location: Around here, somewhere

Re: Very pissed off at this.

Post by Mephestys »

AltFire:
--> DVBL A 20
PVBL ABC 8
PVBL DEFGDEFGDEFGDEFGDEFG 3
PVBL C 50 A_FireCustomMissile("bfgball")
goto ready

Not sure if this is the cause, but your first frame in AltFire starts with the wrong letter.. there's no DVBL sprite in the wad. I'm going to give it a try now and see if that fixes it.

Yes, I just joined the forum a second ago... so welcome me!
User avatar
Isle
Posts: 687
Joined: Fri Nov 21, 2003 1:30 am
Location: Arizona, USA

Re: Very pissed off at this.

Post by Isle »

the ready, deselect, and select frames have the wrong name
User avatar
Mephestys
Posts: 2
Joined: Sun Sep 21, 2008 12:21 am
Location: Around here, somewhere

Re: Very pissed off at this.

Post by Mephestys »

Isle wrote:the ready, deselect, and select frames have the wrong name
Yep, just noticed it myself. Tested and Confirmed.

Code: Select all

ACTOR Blade : Weapon 25000
{
   Weapon.SelectionOrder 350
   Inventory.PickupSound "misc/w_pkup"
   Inventory.PickupMessage "You got the Ninja Claws"
   States
   {
   Spawn:
      WVBL A -1
      Stop
   Ready:
      PVBL A 1 A_WeaponReady
      Loop
   Deselect:
      PVBL A 1 A_Lower
      Loop
   Select:
      PVBL A 1 A_Raise
      Loop
   Fire:
      VBLR ABC 7
      VBLR D 7 A_CustomPunch(100)
      VBLR EFG 7
      VBLL AB 7
      VBLL C 7 A_CustomPunch(100)
      VBLL DE 7
      Goto Ready
   AltFire:
      PVBL A 20
      PVBL ABC 8
      PVBL DEFGDEFGDEFGDEFGDEFG 3
      PVBL C 50 A_FireCustomMissile("bfgball")
      Goto Ready
   }
}
Give that a go. (adjust as needed.)
User avatar
RaptorX
Posts: 71
Joined: Fri May 30, 2008 10:36 am
Location: hell

Re: Very pissed off at this.

Post by RaptorX »

thanks helped out a lot. :lol:
User avatar
Hasuak
Posts: 204
Joined: Sun Jul 15, 2007 9:44 pm
Location: Raahe, Finland

Re: Very pissed off at this.

Post by Hasuak »

Since when ninjas had 'claws'? :D
Locked

Return to “Editing (Archive)”