Monsters picking up items?
- Bootleg Guy
- Posts: 25
- Joined: Mon Jan 11, 2016 11:18 pm
- Location: Chile
- Contact:
Monsters picking up items?
Is there any way to make monsters able to pick up items in zandronum? I know they can pick up items with the +PICKUP flag, but it only seems to work in zdoom.
- SwordGrunt
- Forum Regular
- Posts: 377
- Joined: Thu Jun 07, 2012 8:43 pm
Re: Monsters picking up items?
There is a way by using invisible monsters as replacement for items, but I don't think you'd want to go that far. If +PICKUP doesn't work on Zandronum that should be reported as a bug.
- ZZYZX
- Posts a lot
- Posts: 742
- Joined: Thu Jun 07, 2012 5:56 pm
- Location: Ukraine
- Clan: A3
- Clan Tag: [A3]
Re: Monsters picking up items?
You can simulate item pickup by querying nearby actors with A_RadiusGive. But then you'll need to manually handle each item class.
I guess the next question will be "how to activate switches programmatically" lol
and the answer is it's impossible
so no decorate bots sorry
I guess the next question will be "how to activate switches programmatically" lol
and the answer is it's impossible
so no decorate bots sorry
quality DoomExplorer hackeringFilystyn wrote:Do you know what windows.h is? It's D, DWORD.
overcomplicated ZDoom grenade
random Doom things
GZDoomBuilder-Bugfix
- Bootleg Guy
- Posts: 25
- Joined: Mon Jan 11, 2016 11:18 pm
- Location: Chile
- Contact:
Re: Monsters picking up items?
I guess that could work, and I really dont plan to make the bots able to use switches at all, I just want to have something that can act like a player, sorta.ZZYZX wrote:You can simulate item pickup by querying nearby actors with A_RadiusGive. But then you'll need to manually handle each item class.
I guess the next question will be "how to activate switches programmatically" lol
and the answer is it's impossible
so no decorate bots sorry
- ZZYZX
- Posts a lot
- Posts: 742
- Joined: Thu Jun 07, 2012 5:56 pm
- Location: Ukraine
- Clan: A3
- Clan Tag: [A3]
Re: Monsters picking up items?
Well you see for bots to act like a player they need to use elevators and doors, and these are switches ;P
quality DoomExplorer hackeringFilystyn wrote:Do you know what windows.h is? It's D, DWORD.
overcomplicated ZDoom grenade
random Doom things
GZDoomBuilder-Bugfix
Re: Monsters picking up items?
A_RadiusGive doesn't work in Zand 2. I know because I tried to use it myself.
"For the world is hollow, and I have touched the sky."