Grrrr help on npcs

WeissberV

New Adventurer
Crusaders
Joined
Jan 21, 2007
Messages
1,053
Reaction score
0
Age
32
Location
England
I know how to make NPC's

I know how to use Monster Clips

BUT!!!!!

How the heck do i make them stand still AND not turn around :evil:
 

evilsquirrel

New Adventurer
MSC Developer
RiP
Joined
Jan 2, 2006
Messages
2,905
Reaction score
0
Age
36
Location
middle of nowhere
i suspect this would have to do with ms_npcscript, which might be iffy...you should probably talk to thothie about it.
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Why do you not want them turning around? On second thought...don't answer that...

>_>
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
Some NPC's roam about, some don't - depends on the script.

You can run ms_npcscript event "no_roam" on individual NPC's to make them stand still, but if they are hostile, they will move when they hear or spot a player. Most guards also rotate towards any player they hear, while maintaining their position.

If you need an NPC to do something specific, it can be created, or there may already be a script that does what you need we can name for ya.
 

evilsquirrel

New Adventurer
MSC Developer
RiP
Joined
Jan 2, 2006
Messages
2,905
Reaction score
0
Age
36
Location
middle of nowhere
hah...i should make a map that makes people be sneakysneaky, and use teamwork...bwahahahahah - but not now.
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Thothie said:
Some NPC's roam about, some don't - depends on the script.

You can run ms_npcscript event "no_roam" on individual NPC's to make them stand still, but if they are hostile, they will move when they hear or spot a player. Most guards also rotate towards any player they hear, while maintaining their position.

If you need an NPC to do something specific, it can be created, or there may already be a script that does what you need we can name for ya.

Since NPCs hear, is there a texture or material that would make the player "silent" so that the monster wouldn't turn?

On second thought, why not just spawn the model and not an actual NPC?
 

evilsquirrel

New Adventurer
MSC Developer
RiP
Joined
Jan 2, 2006
Messages
2,905
Reaction score
0
Age
36
Location
middle of nowhere
yeah, spawn the model instead of the npc

then if you want them to activate when the player does something (possibly on accident) have a trigger_relay killtarget the models and spawn the real monsters.
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
He hasn't said what he needs this NPC to do, other than stand still. ;)
 

The Man In Black

Administrator
Staff member
Administrator
Moderator
RiP
Joined
Jul 9, 2006
Messages
6,904
Reaction score
71
Exactly. And technically, if we needed something special, a 1x1x1 unit NPC that sits inside him and talks would work wonders >_>
 

WeissberV

New Adventurer
Crusaders
Joined
Jan 21, 2007
Messages
1,053
Reaction score
0
Age
32
Location
England
well i need the guards to stand still to guard like of helena
plus i'll try that "no roam" thing out later
 

Oedipus

New Adventurer
Crusaders
Joined
Feb 1, 2006
Messages
94
Reaction score
0
Location
UK
Current map: Orc castle

Is it good: Don't ask u gotta w8 for it!!!

... I don't :p
 

WeissberV

New Adventurer
Crusaders
Joined
Jan 21, 2007
Messages
1,053
Reaction score
0
Age
32
Location
England
well... ahem....thats because.... u test it with me :wink:
 

Thothie

Administrator
Staff member
Administrator
Moderator
MSC Archivist
Joined
Apr 8, 2005
Messages
16,342
Reaction score
326
Location
lost
WeissberV said:
well i need the guards to stand still to guard like of helena
plus i'll try that "no roam" thing out later

The helena guard's scripts are:
helena/archer
helena/memorialguard

It'd be better to use their base guards instead, as you can't control which direction the helena guards face:
NPCs/human_guard_archer
NPCs/human_guard_sword
(beware: script names are case sensitive)
 
Top