![]() |
To force a Npc to stay always in the same place 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 |
Re: To force a Npc to stay always in the same place 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 |
Re: To force a Npc to stay always in the same place 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. :) |
Re: To force a Npc to stay always in the same place 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. |
Re: To force a Npc to stay always in the same place Sorry for the late reply guys. I will try that for sure. Thanks. |
| All times are GMT -7. |
Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.