UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: ItzTylerB123 on September 30, 2014, 05:52:01 pm

Title: buildables not working correctly
Post by: ItzTylerB123 on September 30, 2014, 05:52:01 pm
can anybody help me out with this
http://www.youtube.com/watch?v=Fj_STKOXWuI (http://www.youtube.com/watch?v=Fj_STKOXWuI)
Title: Re: buildables not working correctly
Post by: JBird632 on September 30, 2014, 06:05:41 pm
can anybody help me out with this
http://www.youtube.com/watch?v=Fj_STKOXWuI (http://www.youtube.com/watch?v=Fj_STKOXWuI)
Sounds like you don't have the knuckle crack weapon from the pack a punch machine included properly, if you don't have it it can't give you the weapon - so the code is likely waiting until you switch weapons (which was suppose to be the knuckle crack but you don't have it included) but since you don't have it, it won't allow you to do anything. Once you buy another weapon though, it see that you switched weapons and adds the part.

So, to summarize - simply make sure you have the knuckle crack weapon added properly (a good way to test if it is the knuckle crack would be to try packapunching and it will probably give you the default weapon if you don't have it included properly).
Title: Re: buildables not working correctly
Post by: ItzTylerB123 on September 30, 2014, 06:12:58 pm
Sounds like you don't have the knuckle crack weapon from the pack a punch machine included properly, if you don't have it it can't give you the weapon - so the code is likely waiting until you switch weapons (which was suppose to be the knuckle crack but you don't have it included) but since you don't have it, it won't allow you to do anything. Once you buy another weapon though, it see that you switched weapons and adds the part.

So, to summarize - simply make sure you have the knuckle crack weapon added properly (a good way to test if it is the knuckle crack would be to try packapunching and it will probably give you the default weapon if you don't have it included properly).
ok thanks for reply ill check to see if that happens it should br right as i copied the exact text script from the page.

Double Post Merge: September 30, 2014, 07:05:25 pm
Sounds like you don't have the knuckle crack weapon from the pack a punch machine included properly, if you don't have it it can't give you the weapon - so the code is likely waiting until you switch weapons (which was suppose to be the knuckle crack but you don't have it included) but since you don't have it, it won't allow you to do anything. Once you buy another weapon though, it see that you switched weapons and adds the part.

So, to summarize - simply make sure you have the knuckle crack weapon added properly (a good way to test if it is the knuckle crack would be to try packapunching and it will probably give you the default weapon if you don't have it included properly).
well this is annoying the prefab for pack a punch in sniperbolts tutorial isnt working what can i do to get one working
it spawns in map and has a hand picture when i get near it and thats all
Title: Re: buildables not working correctly
Post by: JBird632 on September 30, 2014, 07:30:16 pm
I believe you have to have at least one perk in the map to get the pack a punch to work - assuming that you didn't add in any perks yet.

If that's not the case, you likely edited something in _zombiemode_weapons.gsc which would be causing it.
Title: Re: buildables not working correctly
Post by: ItzTylerB123 on September 30, 2014, 08:38:51 pm
I believe you have to have at least one perk in the map to get the pack a punch to work - assuming that you didn't add in any perks yet.

If that's not the case, you likely edited something in _zombiemode_weapons.gsc which would be causing it.
something was wrong with my _zombie_weapons.gsc i replaced it with a new one and it worked.