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
Help: Avoid getting monsters gimped (Creative solution)
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#1
Help: Avoid getting monsters gimped (Creative solution)

I have been thinking about a way to avoid getting a monster in my map gimped (blocked by entities). I've attached a picture of the area in the spoiler tag:

Spoiler below!

.jpg   Bel-Map_Example.JPG (Size: 116.91 KB / Downloads: 190)

I don't want him to get blocked by the tables.

Things I have thought about:
1. Can't teleport/move him.
2. Addpropimpulse does not work (making him "jump" over the tables).
3. SetEntityActive("table_nice02", false); does not work. The table does not disappear.
4. Unsure of this script: SetPropActiveAndFade("table_nice02", false, 0.1f); - but tried it. Does not work.

Possible solutions(?):
1. To somehow set the properties of the table to collide = false, while he passes. (What does "SetPropPhysics" do?)

Could work, but not optimal:
2. To set monster 1 unactive and set monster 2 (which is on the other side of the table) active.
3. Remove the tables and work with something else.

I'm guessing you guys could have some good ideas!

[Image: mZiYnxe.png]


(This post was last modified: 03-10-2011, 04:12 PM by Acies.)
03-10-2011, 03:56 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#2
RE: Help: Avoid getting monsters gimped (Creative solution)

Can't see your image, but I recommend using invisible object blockers.

03-10-2011, 04:04 PM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#3
RE: Help: Avoid getting monsters gimped (Creative solution)

Oh, I know of that. But I don't want to restrict the player - I'm looking for a solution which allows the monster to overcome pathing blockers.

EDIT: Or are you suggesting I make small "ramps" with the invisible object blockers? (what a funny word!) Smile

[Image: mZiYnxe.png]


(This post was last modified: 03-10-2011, 04:16 PM by Acies.)
03-10-2011, 04:13 PM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#4
RE: Help: Avoid getting monsters gimped (Creative solution)

Nope, but I just tried ways to solve it, but none of them work.
My grunt keeps walking against the table aswell and only would try to find a way around it when I moved.

03-10-2011, 05:07 PM
Find
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#5
RE: Help: Avoid getting monsters gimped (Creative solution)

The "ramp" thing worked, however to add finesse to it ill add an area at the ramp which SetEntityActive("ramp", false); on enter and SetEntityActive("ramp", true); on leave. That way the player won't notice there is a "ramp" by the table.

If someone has trouble with this issue, this can be a form of solution - and i'll answer questions if there are any.

[Image: mZiYnxe.png]


03-10-2011, 07:32 PM
Find
Bek Offline
Senior Member

Posts: 390
Threads: 4
Joined: May 2010
Reputation: 1
#6
RE: Help: Avoid getting monsters gimped (Creative solution)

Out of curiosity can you set collision to only affect NPC's and not players?
03-12-2011, 03:10 AM
Find
Pandemoneus Offline
Senior Member

Posts: 328
Threads: 2
Joined: Sep 2010
Reputation: 0
#7
RE: Help: Avoid getting monsters gimped (Creative solution)

(03-12-2011, 03:10 AM)Bek Wrote: Out of curiosity can you set collision to only affect NPC's and not players?

You would have to make a new *.ent file for that (which I did).

-> http://www.mediafire.com/?5gy04h8j4oupt07
Extract into your amnesia folder and to your custom story folder so it works when you share it.

03-12-2011, 03:46 PM
Find




Users browsing this thread: 1 Guest(s)