Jump to content

Enemy ambush in indoor cell


dertspovor06

Recommended Posts

Hi everyone!

 

I'm trying to create a new indoor cell with ghouls inside it.

My problem is that when I inter the cell, the ghouls instantly detect me and when the fade out of the screen ends they're almost already on me.

I would like to find a way to avoid that : the ghouls stay where they are till the player is close enough to them. Also, I would like that when several ghouls attack me somewhere in the cells, the distant ghouls (from other rooms) stay where they / don't start their ambush animations till I come close enough.

 

I know we can do that and perhaps it's something easy to do but I don't have the knowledge on cell-design to do that.

I tried to follow what was done on the National Training Yard with the ghouls but I don't manage to do what I want. Also I used the script MasterAmbushActorScript but I probably don't know how to use it or I missed something.

 

What I did:

-I placed a ghoul "LvlFeralGhoul" with a MasterAmbushActorScript and a linked ref "SandboxFeralGhoulXXX" or a "PatrolIdleMarker"

-In the PatrolIdleMarker / SandboxFeralGhoulXXX I changed nothing. PatrolData isn't checked.

-For the script, "agression" is set on agression, "ambush on trigger" is true, fAgression is set on 2, "linkKeyword" is blank and "Suspicious" is set on suspicious.

 

Thanks for your help!

Dertspovor06

Link to comment
Share on other sites

Not sure what you're doing wrong except maybe your SandboxFeralGhoulXXX is too big? or not the right type of trigger box? it should be a defaultactivateself box so that it triggers the ghoul when the player enters it.

 

You should use the ambush packins (search the CK for ambush or ghouls and locate the packin in the list) to see how it is done properly, that's what I always use to place ambushing ghouls and it works like a charm.

Link to comment
Share on other sites

I don't know, that's what was used in other cells so I copied that, but I probably missed something. I'll try the packin, thanks for to answer !

 

EDIT: It works perfectly, I think I did a mistake with the keyword used. Thanks for your help!

Edited by dertspovor06
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...