UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

UGX Mod Ray Gun weird sprint.

broken avatar :(
Created 13 years ago
by JeremiahJK
0 Members and 1 Guest are viewing this topic.
3,864 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 April 2013
Last active: 13 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
JeremiahJK's Groups
JeremiahJK's Contact & Social Links
I installed UGX mods to my map, but not when I get the Ray Gun and sprint my left hand looks like a weird blocky Minecraft hand. How can I fix this? Also What files are the hint strings set up in UGX Mods?
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
Signature
If Java had true garbage collection, most programs would delete themselves upon execution.
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
It will be fixed in the upcoming v1.1 update.

Most hintstrings are compiled to the FF - if you want to change them you have to find where they are referenced in a setHintString and change it from a &string reference to a quote literal.

The wall weapon hinstrings are the only hintstrings which aren't compiled to an str.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 April 2013
Last active: 13 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
JeremiahJK's Groups
JeremiahJK's Contact & Social Links
It will be fixed in the upcoming v1.1 update.

Most hintstrings are compiled to the FF - if you want to change them you have to find where they are referenced in a setHintString and change it from a &string reference to a quote literal.

The wall weapon hinstrings are the only hintstrings which aren't compiled to an str.

Okay thanks for the speedy reply.

I guess I can put up for the weird sprint for now as long as I get the Thundergun in my map.

I want to put Porter's X2 Ray Gun on the wall but there is no hint string. What file do I need to edit to change this?

I also made it in my map where there are debris on top of a trap door. When you buy the debris it clears a path to the ladder that leads to the roof. It also clears a path to the trap door that leads to the basement. I made it so you can only buy the trap door after the debris. I also had it so the hint sting for the door only appeared after you bought the debris, but when I installed UGX the hint string was there even before you bought he debris. Do you know what causes this and/or how to fix it?

Note that my script still partially works even with UGX because you still can't buy the door before the debris even though the hint string is there.
broken avatar :(
×
broken avatar :(
[UGX] Founder
Location: usBay Area, California
Date Registered: 24 June 2011
Last active: 3 years ago
Posts
5,544
Respect
6,646Add +1
Forum Rank
Immortal
Primary Group
UGX Administrator
My Groups
More
My Contact & Social Links
More
×
treminaor's Groups
UGX Administrator
UGX Team Member
UGX Site Moderator Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
Okay thanks for the speedy reply.

I guess I can put up for the weird sprint for now as long as I get the Thundergun in my map.

I want to put Porter's X2 Ray Gun on the wall but there is no hint string. What file do I need to edit to change this?

I also made it in my map where there are debris on top of a trap door. When you buy the debris it clears a path to the ladder that leads to the roof. It also clears a path to the trap door that leads to the basement. I made it so you can only buy the trap door after the debris. I also had it so the hint sting for the door only appeared after you bought the debris, but when I installed UGX the hint string was there even before you bought he debris. Do you know what causes this and/or how to fix it?

Note that my script still partially works even with UGX because you still can't buy the door before the debris even though the hint string is there.
Check your script again, because UGX Mod does not modify the blockers/debris script. To add a weapon hintstring, check _zombiemode_weapons.gsc. Weapon hinstrings are set on line 651, and they are adaptive to any weapon. If you don't see a hintstring then it means either its name, price, or ammo price are undefined:

Code Snippet
cpp
hint_string = get_weapon_hint( weapon_spawns[i].zombie_weapon_upgrade ); 
cost = get_weapon_cost( weapon_spawns[i].zombie_weapon_upgrade );
ammo = get_ammo_cost( weapon_spawns[i].zombie_weapon_upgrade );
upgraded_ammo = get_upgraded_ammo_cost( weapon_spawns[i].zombie_weapon_upgrade );
weapon_spawns[i] SetHintString( "Press &&1 to buy " + hint_string + " [Cost: " + cost + ", Ammo: " + ammo + ", Upgraded: " + upgraded_ammo + "]" );
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 12 April 2013
Last active: 13 years ago
Posts
3
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
JeremiahJK's Groups
JeremiahJK's Contact & Social Links
Check your script again, because UGX Mod does not modify the blockers/debris script. To add a weapon hintstring, check _zombiemode_weapons.gsc. Weapon hinstrings are set on line 651, and they are adaptive to any weapon. If you don't see a hintstring then it means either its name, price, or ammo price are undefined:

Thanks, I was able to fix the Porter's X2 Ray Gun hint string problem, and I'll look over my script it's probably some simple problem.

 
Loading ...