friendly guys bots

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.
Locked
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

friendly guys bots

Post by DOOMERO-21 »

well i need to make this question..
is possible add a decorate actions for bots, like "follow me" ?
i really want the friendly guy folow the player.
Last edited by DOOMERO-21 on Mon Jun 16, 2008 2:58 pm, edited 2 times in total.
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: friendly guys boths

Post by Ghastly »

@ZDoomers: He means bots.

There's nothing that I know of in decorate that can do that, but it's probably doable with a lot of ACS.
User avatar
DOOMERO-21
Posts: 1423
Joined: Wed Jan 02, 2008 10:02 pm
Location: Chile

Re: friendly guys bots

Post by DOOMERO-21 »

mmm i see.
User avatar
Nerdking13
Posts: 71
Joined: Tue Apr 22, 2008 4:33 pm

Re: friendly guys bots

Post by Nerdking13 »

well there ARE some very hacky ways to do that in DECORATE....... :twisted:
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: friendly guys bots

Post by bagheadspidey »

Yeah, it's possible to do, but tricky. Check this thing out, it can be made to follow you with a keypress... kind of. It doesn't work too well if you go around a few corners though =/

http://forum.zdoom.org/viewtopic.php?t=15906
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

Re: friendly guys boths

Post by Matt »

Ghastly_dragon wrote:@ZDoomers: He means bots.

There's nothing that I know of in decorate that can do that, but it's probably doable with a lot of ACS.
I can't think of anything that could set a goal or target for an actual bot. AFAIK ACS doesn't touch the bot AI at all, ever, except to check whether a player is a bot... :shrug:
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: friendly guys bots

Post by bagheadspidey »

Oops, I guess I thought he just meant friendly decorate actors..
User avatar
Ghastly
... in rememberance ...
Posts: 6109
Joined: Fri Jul 06, 2007 2:34 pm

Re: friendly guys bots

Post by Ghastly »

I'm pretty sure he does mean that. Last I heard, he's working on the Doom 3 Sentry Bot for his Revenge of Evil wad.

I, also, would like to know how to do something like that, if I end up making a Doom 2-ish Doom 3 remake :P.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm
Contact:

Re: friendly guys bots

Post by bagheadspidey »

Ghastly_dragon wrote:I, also, would like to know how to do something like that
Check the link I gave above (I think you've seen it before, it's the EyeCam thing) ... look in the keyconf section for a command named "return" or similar and check out the acs script that it calls and the corresponding decorate. Basically it spawns an invisible, noclip actor where the friendly helper is. The invisible actor hates (chases) the player but will not attack, and the friendly helper hates (chases) the invisible actor, and also will not attack. When the friendly helper gets close to the invisible actor, the invisible actor disappears.

This works pretty well... the helper will follow the invisible thing unless attacked, in which case it should retaliate. Unfortunately, doom's path finding algorithm is really basic, so the helper has a hard time finding you if you go around too many corners. Also, I'm not sure there is a way to make friendly monsters open doors.
Locked

Return to “Editing (Archive)”