Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Monster disappears after loop
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Monster disappears after loop

Continually adding patrol nodes to the monster is excessive and unnecessary to meet the desired result. All you have to do is modify the monster entity variables. Since you're using the grunt, you're going to have to make a copy of the grunt so that it doesn't overwrite the original grunt. You do this by making a copy of the ENT file that represents the grunt, give it a different file name so that the original does not take its place, then edit the ENT in a plain-text editor.

Under user defined variables, you add
<Var Name="AutoRemoveAtPathEnd" Value="false" />

You may also want to increase the activation distance of the monster to prevent premature deactivation of the monster. Then in the level editor replace the grunt with the modified grunt. This also requires that the custom_stories folder is listed in the resources.cfg file.

Note that if you choose to edit the modified grunt in the model editor, it'll undo the manual changes to the ENT file if you save. Meaning, you'll have to add the code again.

Tutorials: From Noob to Pro
(This post was last modified: 03-02-2013, 01:36 AM by Your Computer.)
03-02-2013, 01:34 AM
Website Find


Messages In This Thread
Monster disappears after loop - by Romulator - 03-01-2013, 03:46 PM
RE: Monster disappears after loop - by ghostelom - 03-01-2013, 03:49 PM
RE: Monster disappears after loop - by Romulator - 03-01-2013, 03:51 PM
RE: Monster disappears after loop - by Adrianis - 03-01-2013, 08:02 PM
RE: Monster disappears after loop - by Your Computer - 03-02-2013, 01:34 AM
RE: Monster disappears after loop - by Romulator - 03-02-2013, 03:30 AM



Users browsing this thread: 1 Guest(s)