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
Ghost-like entity help
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#4
RE: Ghost-like entity help

(01-19-2013, 03:01 PM)Acies Wrote: I have an idea of how to do this, something which I figured out while importing my first "monster" - but I have never tested it so no guarantees!

In the .ent file you can set how tall objects the monster may climb. I think the default value is around 0.3m(?). If one were to set it to a value higher than 4m (the walls are 4m) and create a room which has no collision the monster could possibly simply travel over the walls if the
ShowEnemyPlayerPosition(string& asName);


Was issued!


But then the ceilings are still an issue. Instead, simply make it so the walls are made into static .ent and make the bodies have player collision, but not non-char collision. Just be careful. If the player is carrying something and throws it, it'll go through the wall. Make sure the player can't pick up things at this time/in this area.
(This post was last modified: 01-19-2013, 06:49 PM by Statyk.)
01-19-2013, 06:49 PM
Find


Messages In This Thread
Ghost-like entity help - by The Rock Worm - 01-18-2013, 10:18 PM
RE: Ghost-like entity help - by TheGreatCthulhu - 01-19-2013, 02:12 PM
RE: Ghost-like entity help - by Acies - 01-19-2013, 03:01 PM
RE: Ghost-like entity help - by Statyk - 01-19-2013, 06:49 PM
RE: Ghost-like entity help - by The Rock Worm - 01-19-2013, 09:22 PM
RE: Ghost-like entity help - by Acies - 01-19-2013, 06:53 PM



Users browsing this thread: 1 Guest(s)