Sorry if this has been posted before. I've been googling this and the closest help I found was the creator of Zombie Hotel made a perfect wunderwaffe wall buy. I have the chalk made and the cost/hint ready. But I can only buy it once, and I can't purchase ammo.
The ammo issue is more so my fault for not finding the appropriate file to put that script in. But I felt it would be easier to tack it on to this issue.
I already have the trigger set up to buy the tesla_gun and it works (I buy it for 10000 points). But then the trigger stops, even if I replace the waffe to try and rebuy it. Restarting the map rather than quitting also results in an empty purchase. i.e. I pay 10000 point but get nothing.
Thats due to _zombiemode_weapons.gsc having unique setup for Tesla wallbuy, need to remove some checks for it to get working. At top of _zombiemode_weapons.gsc, there should be this line:
Code Snippet
Plaintext
level thread add_limited_tesla_gun();
Comment it out, so function doesnt get called like this:
Code Snippet
Plaintext
// level thread add_limited_tesla_gun();
Thats what I did to get the wallbuy working in Hotel V2, lol
Thats due to _zombiemode_weapons.gsc having unique setup for Tesla wallbuy, need to remove some checks for it to get working. At top of _zombiemode_weapons.gsc, there should be this line:
Code Snippet
Plaintext
level thread add_limited_tesla_gun();
Comment it out, so function doesnt get called like this:
Code Snippet
Plaintext
// level thread add_limited_tesla_gun();
Thats what I did to get the wallbuy working in Hotel V2, lol
Thanks man. This worked. I can't believe I didn't see the limited tesla string. This even fixed the ammo problem. You are awesome.
No problem. +1 for finding correct section for topic and actually marking best answer
I try to follow rules. I've been kicked out of enough websites in my time to realize reading rules benefits everyone involved. I'm just trying to learn my way into building maps and this site is one of VERY few with a library of info on the topic. I'd rather not cut that off.