FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   S.T.A.L.K.E.R. SoC Modding, Mapping and Editing (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing-954/)
-   -   Guns in Bar (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing/320985-guns-bar.html)

DoubleDose July 4th, 2007 08:26 PM

Guns in Bar
 
I've combed through the Basix Mod (obviously not well enuf), but can't find the option to let guns in the Bar. Must...kill...Snitch...

"I have some information..." BOOM!!!

Any help would be greatly appreciated and much good karma will be sent your way. TIA

Brusher July 4th, 2007 09:50 PM

Look in your gamedata\scripts. Find the "sr_no_weapon" script file.

Look for this close to the bottom:

Code:

function action_no_weapon:zone_enter()
    self.state = state_inside
    bind_stalker.hide_weapon()

Change it to this:

Code:

function action_no_weapon:zone_enter()
    self.state = state_inside
    bind_stalker.restore_weapon()

Don't be too hard on that annoying guy.:lol: Have fun!:)

dezodor July 5th, 2007 06:53 AM

hehe, or you can remove that "space_restrictor" from the all.spawn too, that will do the same. btw i removed that guy from the game, we dont need him... hehe

Brusher July 5th, 2007 11:17 AM

dezoder, in order to do the same in the all.spawn, did you simply remove\delete the code in the corrsponding box to the right? I've learned to add stuff using the all spawn editor but I've been wondering about the space restrictors and how it would affect the game to simply remove the code from certain portions.
Might save me a few reboots. ;} Thanks.:}

natasha8384 July 5th, 2007 11:30 AM

Quote:

Originally Posted by DoubleDose (Post 3774005)
I've combed through the Basix Mod (obviously not well enuf), but can't find the option to let guns in the Bar. Must...kill...Snitch...

"I have some information..." BOOM!!!

Any help would be greatly appreciated and much good karma will be sent your way. TIA

if you still have Basix .. go to gamedata -> scripts
and the file is: sr_no_weapon.script :)

dezodor July 6th, 2007 03:50 AM

well, there are a lot of space restrictors you can delete without problems... like the pripjat stadium scene (and after deletion, you can go in at the main gate too) and the "duty - warning" restrictors (you will be able to go to the bar without the agroprom files... and also you can delete the restrictor at duty base.... it was simple: on_actor_inside = %+actor_is_enemy% -that was it, so when you entered the base, you became an enemy ... funny stuff) also make backups all the time, you can easily ruin the game :F

Brusher July 7th, 2007 12:35 AM

Thanks. That was very helpfull. Answered a lot of questions.

Yes on the backups. I never mess with any all.spawns without first making a backup. BTW, you guys did some really cool and interesting stuff. Nice work on the coding too!

zfredzfred July 13th, 2007 07:47 PM

I have not beenable to locate this script file. As a last resort, I used the search function all files. It found only the cut and paste notepad I took from your forum post.

I first looked in the gamedata script area, finding nothing. I am baffled. I am running Fraikes mod 2.2.

Thanks for the help! Fred.

Brusher July 13th, 2007 08:28 PM

faiakes doesn't use the sr_no weapon.script file. You will have to extract it along with the rest of the gamedata.DB files to edit it.

If you need help doing that, read here,

http://forums.filefront.com/s-t-l-k-...ata-files.html

BTW, you can add the sr_no_weapon.script to faiakes mod with no problems since he didn't use it, or modify it in his mod.


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.