Darkforce002 Posted September 22, 2011 Im making a few monster escort levels and im wondering is there some way to make friendly (and/or unfriendly) monsters follow the player (ACS or DECORATE). instead of being behind the monster and forcing it to go the direction you want to go, or having to go slowly through the level and try to gain the monsters attention again. Im using the UDMF format. 0 Share this post Link to post
ReX Posted September 22, 2011 Darkforce002 said:Im making a few monster escort levels and im wondering is there some way to make friendly (and/or unfriendly) monsters follow the player (ACS or DECORATE). instead of being behind the monster and forcing it to go the direction you want to go, or having to go slowly through the level and try to gain the monsters attention again. Im using the UDMF format. 1. To create a friendly actor, use the +FRIENDLY flag in the DECORATE definition. 2. Refer to this ZDooM thread on how to use DECORATE in conjunction with ACS to create an actor that follows the player. 3. I don't know how to make the actor lead the player, but there may be a creative ACS way to pull this off. 0 Share this post Link to post
Gez Posted September 22, 2011 Friendly (or ally) is also a thing flag you can put on the thing right in the map editor. If you look at the "Edit Thing" window in DB2 (which I assume you use since you mention UDMF), you'll see the list of checkboxes features skill 1 to skill 5, deaf, single player, deathmatch, cooperative, FRIENDLY, dormant, standing, ALLY, translucent, invisible, etc. Currently, friendly and ally are identical in ZDoom. Eventually friendly monsters ought to behave slightly differently, but there are many issues to solve before MBF-style friendliness can be fully implemented, so it's the Strife-style ally behavior that's used for now. 0 Share this post Link to post
Darkforce002 Posted September 22, 2011 ReX 1.I know how to make monsters friendly. 2. I'll look in to that. thanks for help. Gez I also know that, but thanks anyways. (no joke Intended) 0 Share this post Link to post
Darkforce002 Posted September 25, 2011 srry for the double post, but for some reason doom builder 2 is being dumb, it's saying Thing_ChangeTID is not declared the script is script 1 enter { Thing_ChangeTID(0, 1000 + 1); PrintBold(s:"Good Luck!\n"); Delay(200); SetActorProperty(1, "APROP_Health", 1000); } 0 Share this post Link to post
Mithran Denizen Posted September 25, 2011 You probably forgot an important line at the top of your scripts lump; make sure this is in there:#include "zcommon.acs" 0 Share this post Link to post
Darkforce002 Posted September 27, 2011 Mithran Denizen said:You probably forgot an important line at the top of your scripts lump; make sure this is in there:#include "zcommon.acs" What was I thinking? :confused: I know that, im just forgeting to part on. thanks for reminding me. 0 Share this post Link to post