Notices

Go Back   FileFront Forums > The Games! > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Shadow of Chernobyl > S.T.A.L.K.E.R. SoC Modding, Mapping and Editing

Remember Me?

S.T.A.L.K.E.R. SoC Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
4635395
To force a Npc to stay always in the same place
insanelazarez
October 16th, 2008 03:28 PM
Hello guys,
I want to know if is possible to "force" one npc to stay always in the same place AND to make sure he ONLY use grenades (with the grenadier mod, of course), or a rpg? One example is the snipers in freedom base. They are always in the tower. Any idea?

Thanks.

Insanelazarez
4637958
Re: To force a Npc to stay always in the same place
Abandonator
October 18th, 2008 06:53 AM
I know you can do it, you have to put them min "guard" mode/ animation,

but problem is, I don't know anymore where that was
4638262
Re: To force a Npc to stay always in the same place
jamie1992
October 18th, 2008 10:26 AM
custom_data = <<END
[smart_terrains]
none = true

[logic]
active = remark
trade = misc\xxxx.ltx (This bit is if he is a trader, if not dont add it)

[remark]
no_move = true
anim = guard
meet = meet
danger = danger_ignore

[danger_ignore]
ignore_distance = 100

[meet]
use = true
use_wpn = true
meet_talk_enabled = true
meet_state = ward
use_medkit = true

Stick this into a new LTX file and put that into Config>Scripts and name the file xxxx (xxxx being what you want)

Then in the all.spawn section where you spawn him add this to his ; cse_alife_object properties section like so.

; cse_alife_object properties
game_vertex_id = 61
distance = 3.5
level_vertex_id = 42599
object_flags = 0xffffffbf
custom_data = <<END
[logic]
cfg = scripts\xxxx.ltx
END

Not sure about the nading but this is a crude way to get an npc to stay still without a Smart Terrain however cant guarenntee that he wont move if he goes into combat.

Hope that helps.
4638462
Re: To force a Npc to stay always in the same place
dezodor
October 18th, 2008 12:24 PM
Thats ok, but only until something happens (enemy appears). Then npc will move away, and stop somewhere else again.

add the custom npc to the gulag scripts, make way move and way look position for him (way move, a waypoint that he will follow, if there is only one, he will stay in 1 place, and way look is his looking point, where the npc will be orientated)

i can suggest to bookmark this page:
Category:Articles - Mod Wiki

we and many other modders added a lot of useful articles.
4671522
Re: To force a Npc to stay always in the same place
insanelazarez
November 7th, 2008 11:37 PM
Sorry for the late reply guys. I will try that for sure. Thanks.
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
sp npc force lightning help dipper.f SW:JK3 Problems, Errors and Help 9 September 22nd, 2008 11:24 PM
Spawning npc with a screen like the force powers Darth Wampa SW:JK3 Modding, Mapping and Editing 1 February 3rd, 2006 08:40 AM
Is it possible to place NPC entities in a map that have no AI? slothman01@hotmail.c SW:JK3 Modding, Mapping and Editing 12 December 29th, 2003 10:21 AM
help another good place stay alive - your friends are here! mtheadedone General Yib-Yab (Off Topic) 18 July 31st, 2001 11:34 AM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind