Allowing weapons in the Bar and other areas. -1 reply

Please wait...

purvisdavid2

Slightly cooler than a n00b

50 XP

21st February 2007

0 Uploads

44 Posts

0 Threads

#1 11 years ago

Yeah, so far this has stumped me, I've tried to find the file that deals with weapons being disabled in the bar but to no avail. I did find something called "Zone_no_weapon.ltx" but I think this is a Clear Sky file, because it won't work in my game of LURK. So, can someone either tell me what file deals with this, or provide me with the file,which would be very nice and I'd be extremely appreciative. Thank you.




Remi

I'm too cool to Post

50 XP

20th November 2009

0 Uploads

14 Posts

0 Threads

#2 11 years ago

There's a file called zone_no_weapon.script in gamedata\scripts. Check it out, it might be the file you have to edit.




FEARLESS

Stalker Talker

50 XP

28th September 2002

0 Uploads

366 Posts

0 Threads

#3 11 years ago

Open the sr_no_weapon.script in the Gamedata\Scripts folder and use the find function to locate the word Hide. Change all the [COLOR="Blue"]*weapon_hide = true[/COLOR] to [COLOR="Red"]*weapon_hide = false[/COLOR]. I just tried it and it works until you trade with some one. then ya have to reload because the weapons are hidden, even outside. But, if ya have to deal with someone in the bar it will work. I will work on that part tomorrow.




FEARLESS

Stalker Talker

50 XP

28th September 2002

0 Uploads

366 Posts

0 Threads

#4 11 years ago

I have figured out the code change for this. :) In the bind_stalker.script, almost at the bottom of the page. I am currently using Stalker Complete 2009, the file from another mod may be in a different place of the page.

-- Weapon functions function hide_weapon() weapon_hide = [COLOR="Red"]false[/COLOR] -- was TRUE end function restore_weapon() weapon_hide = false end