Calling a state directly

Advanced OpenGL source port fork from ZDoom, picking up where ZDoomGL left off.
[Home] [Download] [Git builds (Win)] [Git builds (Mac)] [Wiki] [Repo] [Bugs&Suggestions]

Moderator: Graf Zahl

Locked
Darlos
Posts: 2
Joined: Mon Sep 17, 2007 23:30
Location: Raleigh, NC
Contact:

Calling a state directly

Post by Darlos »

Alright guys, I've been racking my brain about this for a while. I've been using ZDoom for a while now, and I just now switched to GZDoom so I can get custom states and some better-looking stuff.

So, here's my question: is there some way to set up a key bind that just directly calls a state of a player's weapon? I've looked at some mods at how they set stuff up, and there was some somewhat hackish stuff where custom inventory items were thrown around as flags and variables which THEN told the gun to jump to the custom state. I'm just wondering if thats really necessary, as I'd like to be as clean as possible about it.

I'll start working with stuff like that for the moment, though, in case the answer turns out to be a resounding "no."
User avatar
wildweasel
DRD Team Admin (Inactive)
Posts: 2132
Joined: Wed Jun 29, 2005 22:00
Location: the Admincave!
Contact:

Post by wildweasel »

Far as I can tell, there's no direct way to send a weapon to a state with a simple keypress - the closest I've found is to just use custom inventory items like you mentioned. A pain, yes, but I doubt it's going to change anytime soon.
Darlos
Posts: 2
Joined: Mon Sep 17, 2007 23:30
Location: Raleigh, NC
Contact:

Post by Darlos »

Eh, well, thats all I wanted to know. Thanks.
Locked

Return to “GZDoom”