Can I use weapon cabinet for my Der Riese style map? How? Because I placed _prefabs\zombiemode\weapon_cabinet.map. I press & hold F in the game but nothing happens.
One of the functions in zombiemode weapon isn't threaded under the second cabinet think func. Think it w's decide hide show or w/e before the while loop.
Last Edit: January 23, 2015, 07:54:33 pm by daedra descent
Can I use weapon cabinet for my Der Riese style map? How? Because I placed _prefabs\zombiemode\weapon_cabinet.map. I press & hold F in the game but nothing happens.
I know that there is somewhere in a script, I think on "_zombiemode_weapons.gsc"
there is a part about the weapon cabinet.
and the function looks like this:
Code Snippet
Plaintext
init_weapon_cabinet() {
if you see that and it is not active then you will see this before the:
Code Snippet
Plaintext
init_weapon_cabinet() {
here a example:
Code Snippet
Plaintext
/* init_weapon_cabinet() { //more function //on the end */
The cabinet is opened but I don't get weapon and do not detract from cost.
The function that i was talking about earlier...
Code Snippet
Plaintext
decide_hide_show_hint();
under
Code Snippet
Plaintext
weapon_cabinet_think()
make it look like:
Code Snippet
Plaintext
self thread decide_hide_show_hint();
Sorry for not being more clear earlier, wasn't home and typed that up on a 7in Windows tablet.
Edit: By default the cabinet has a kar98k_scoped_zombie set as the weapon it'll give. Edit the triggers kvps and replace the kar gun models inside for your custom gun if you want one. The gun has to be included like your other guns.
Sorry for not being more clear earlier, wasn't home and typed that up on a 7in Windows tablet.
Edit: By default the cabinet has a kar98k_scoped_zombie set as the weapon it'll give. Edit the triggers kvps and replace the kar gun models inside for your custom gun if you want one. The gun has to be included like your other guns.
Okay, I modified script... I did it the way you wrote it. The cabinet door opened and the cost will be deducted, but still did not give me weapon. It works at all?
Okay, I modified script... I did it the way you wrote it. The cabinet door opened and the cost will be deducted, but still did not give me weapon. It works at all?
Yes it does work.
Quote
Edit: By default the cabinet has a kar98k_scoped_zombie set as the weapon it'll give. Edit the triggers kvps and replace the kar gun models inside for your custom gun if you want one. The gun has to be included like your other guns.
^This. If the weapon cabinet isn't giving you a weapon and you haven't modified the prefab then you need to add kar98k_scoped_zombie to your mapname.csv in zone_source, _zombiemode_weapons.gsc, and dlc3_code.gsc.
^This. If the weapon cabinet isn't giving you a weapon and you haven't modified the prefab then you need to add kar98k_scoped_zombie to your mapname.csv in zone_source, _zombiemode_weapons.gsc, and dlc3_code.gsc.
It does work! Thanks for help!
Last Edit: January 27, 2015, 11:19:45 pm by Deer2014