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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - HyperFirez

Dunno why your storing players on level variables - if start there

Pass the player as a argument for the function instead and use iprints to check the right info is being passed
Can ya tell me what line(s) you are talking about?
7 years ago
I already said, just use the perk bottle one - it's already set properly
It's not giving me the weapon even when I used the perk bottle weapon file and configured it properly. I think it is in the scripts...
7 years ago
Well, I copied the perk bottle and changed the anims and models. It loads in the game, but nothing happens when I buy from the machine. These are my two scripts:
_gobble_gum.gsc
_gumball_flourish.gsc
7 years ago
There's a missing / in there too

Just redo it

Copy the perk bottle one and swap out the model and anims. Don't touch anything else till you know at least that works

Weapon files are super sensitive and easily fuck up - especially if using ugxs tool
Alright...

Edit: What kind of weapon would it be?
7 years ago
Wait a minute. When I look at the weapon file in Notepad++, it shows this: Screenshot
Should I just delete it considering that I have no sounds?

(UGX Weapons Editor didn't show any notetracks.)
7 years ago
Well there you go

"Failed loading zombie_gumball

Looks like stuffys right, it's moaning about your hide tags, redo the weapon file - and next time check the error log, that's what it's there for
When I look at the weapon file, there are absolutely no note tracks.
7 years ago
https://gyazo.com/8da6b54b8535ca0e4fd4a64e80a81a3f
Didn't think I needed to export the world stuff as well to test it...?
7 years ago
You've added it in script but not actually added it to your mod

Hence "unknown" item
You mean checking the checkbox when building mod? Because I did that.
7 years ago
When I went to load up my map I go this error: Screenshot

Can someone please tell me what it means?
7 years ago
no it has all 4

one just doesnt show on the hud
Oh, I see. Even if I tell it to give me the weapon on the moment I spawn, it doesn't...
7 years ago
could be wrong but im pretty sure waw only has 4 actionslots
It has 3, assigned to 4 5 & 6
7 years ago
let me leave you a function of mine i've used to give a weapon... maybe that will give you a jump start for your own script.
Code Snippet
Plaintext
my_bonus()
{
my_reward_trig = getEnt("my_reward_trig", "targetname");
self setCursorHint("HINT_NOICON");
my_reward_trig waittill("trigger", user);
{
players = get_players();
for(i=0;i<players.size;i++)
if( players[i].playername == "Riptide1106" )
{
player = players[i];
weapon = player getcurrentweapon();
weap = player GetWeaponsListPrimaries();
if(weap.size <= 1)
{
player giveweapon("thunderg");
player switchtoweapon("thunderg");
}
if(weap.size >=2)
{
player takeweapon(weapon);
player giveweapon("thunderg");
player switchtoweapon("thunderg");
}
my_reward_trig delete();
}
}
}
Ayy, thanks m8.

Double Post Merge: January 08, 2017, 05:39:28 am
I'm still having issues.

Double Post Merge: January 08, 2017, 03:25:41 pm
Is there a way to check if a player is pressing a specific button?

Double Post Merge: January 08, 2017, 05:51:48 pm
This is what I have so far:
Code Snippet
Plaintext
gum_think()
{
//gumball_machine = getEnt("gumball_machine","targetname");
//gumball_machine waittill("trigger", user);
players = get_players();

for(i=0;i<players.size;i++)
{
player = players[i];
player SetActionSlot( 5, "weapon", "zombie_gumball" );
uses = getAmmoCount( "zombie_gumball" );
//weapon = player getcurrentweapon();
//weap = player GetWeaponsListPrimaries();
if()
{
player giveweapon("zombie_gumball");
continue;
}

if(player isFiring("zombie_gumball"))
{
player switchToOffHand("zombie_gumball");
}

if(uses < 1)
{
player takeweapon("zombie_gumball");
}
wait(0.5);
}
}
7 years ago
As most of you know, I am making a gobblegum script. I am having trouble giving the player the gumball though: Script

Double Post Merge: January 08, 2017, 12:17:05 am
I have a bunch of random code commented out and I think 1 if statement with no params, because idk what to put there.
7 years ago
Code Snippet
Plaintext
players = get_players();
lol okay. I alread knew that.  :P
Thanks again guys.
7 years ago
Loading ...