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.

Topics - hajhaka

How would i go about adding custom weapons to create a class in multiplayer?
7 years ago
So i want to port the fg42 from waw to black ops 3 but when i export the .ma it dosen't give me eny of the images i have the mod tools and i have pressed the converter buttom.
7 years ago
Your stuck in abounded skyscraper all hope has faded
This map is my first map that is properly done
well done custom weapons:
MPL from black ops 1
Ray Gun Mark 2 From black ops 2
SCAR-H From black ops 2
This map got my
God Mode Script
This map got my
Speed Mode Script
NateSmithZombies Kino Der Toten teleporter
A minecraft pap room!
shinged Buyable powerup Script
And alot more
Map is far from done so leave weapon suggestions/map suggestions
Have Fun Guys!  :nyan:








credits DTZxPorter
azsry
NateSmithZombies
shinged
treyarch
7 years ago
Hello everyone today im gonna release my 2nd script in 1 day wowwowow  :rainbow:
So this one is really simular to my last one but it gives you speed
Installation:

add
Code Snippet
Plaintext
#using scripts\zm\_zm_score;

at the top of your mapname.gsc

here
Code Snippet
Plaintext
zm_usermap::main();

add this underneeth
Code Snippet
Plaintext
thread speed();

Make a trigger_use in Radiant
give it target name SpeedTrigger

Add this at the bottom of your mapname.gsc

Code Snippet
Plaintext
function speed()
{
    trigger = GetEnt("SpeedTrigger", "targetname");
    trigger SetHintString("Press ^3&&1^7 For Speed [cost 10000");
    trigger SetCursorHint("HINT_NOICON");
    SpeedCost = 10000; // Edit the value to change how mutch points its gonna cost

     
    while(1)
    {
        trigger waittill("trigger", player);
   
        if(player.score >= SpeedCost && !isDefined(player.is_speed))
        {
            player zm_score::minus_to_player_score(SpeedCost);
            player PlayLocalSound( "cha_ching" );
            player SetMoveSpeedScale(2);
            player.is_speed = true;
            trigger SetHintStringForPlayer( player, "You Are Already in Speed Mode" );
            player iprintlnbold("Speed mode for 10 minutes GO SUPER SAIYAN");
            player thread speed_cooldown(trigger);
            wait(2);
        }
        else if( isDefined(player.is_speed) && player.is_speed )
        {
             
        }
        else
        {
            trigger SetHintStringForPlayer( player, "You Need "+SpeedCost+" points to Enable Speed Mode" );
            trigger PlayLocalSound ( "deny" );
            wait(2);
            trigger SetHintStringForPlayer(player, "Press ^3&&1^7 For Speed Mode");
        }
    }
}

function speed_cooldown(trigger)
{
    wait(600); // Edit this for the cooldown value 1 = 1 second
    self.is_speed = undefined;
    self SetMoveSpeedScale(1);
    self iprintlnbold( "Speed Mode Disabled You can buy again in 45 sec" );
    trigger SetHintStringForPlayer( self, "Comback later!" );
    wait (45);
    trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}

For this script i have added a cooldown so the player have to wait 45 seconds before buying the trigger again
U can remove this by changing
This
Code Snippet
Plaintext
function speed_cooldown(trigger)
{
    wait(600); // Edit this for the cooldown value 1 = 1 second
    self.is_speed = undefined;
    self SetMoveSpeedScale(1);
    self iprintlnbold( "Speed Mode Disabled You can buy again in 45 sec" );
    trigger SetHintStringForPlayer( self, "Comback later!" );
    wait (45);
    trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}

to this
Code Snippet
Plaintext
function speed_cooldown(trigger)
{
    wait(600); // Edit this for the cooldown value 1 = 1 second
    self.is_speed = undefined;
    self SetMoveSpeedScale(1);
    self iprintlnbold( "Speed Mode Disabled" );
    trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For Speed Mode [Cost 10000");
}

credit me if u want but its up to you
Have Fun!  :nyan:
But if ur gonna credit me use name "m1cke"
7 years ago
Hello guys and zombie modders!
Today im gonna release my god mode script
What it does is it gives the player ability to buy god mod for 10 minutes
You can edit the time for how long you want the player to have god mode
and edit the price
Thanks to natesmithzombies for fixing the script and helping me


Make sure to add
Code Snippet
Plaintext
#using scripts\zm\_zm_score;

at the top of your mapname.gsc

Installation add the script down below to your mapname.gsc

go to
Code Snippet
Plaintext
zm_usermap::main();
and add
Code Snippet
Plaintext
level thread givegod();

Then open radiant make a trigger_use and simpely use the target name GetGod


Code Snippet
Plaintext
function givegod()
{
    trigger = GetEnt("GetGod", "targetname");
    trigger SetHintString("Press ^3&&1^7 For GOD MODE");
    trigger SetCursorHint("HINT_NOICON");
    GodCost = 1000; // Edit the value to change how mutch points its gonna cost

     
    while(1)
    {
        trigger waittill("trigger", player);
   
        if(player.score >= GodCost && !isDefined(player.is_god))
        {
            player zm_score::minus_to_player_score(GodCost);
            player PlayLocalSound( "cha_ching" );
            player EnableInvulnerability();
            player.is_god = true;
            trigger SetHintStringForPlayer( player, "You Are Already in God Mode" );
            player thread god_cooldown(trigger);
            wait(2);
        }
        else if( isDefined(player.is_god) && player.is_god )
        {
             
        }
        else
        {
            trigger SetHintStringForPlayer( player, "You Need "+GodCost+" points to Enable God Mode" );
            trigger PlayLocalSound ( "deny" );
            wait(2);
            trigger SetHintStringForPlayer(player, "Press ^3&&1^7 For GOD MODE");
        }
    }
}
 
function god_cooldown(trigger)
{
    wait(600); // Edit this for the cooldown value 1 = 1 second
    trigger SetHintStringForPlayer(self, "Press ^3&&1^7 For GOD MODE");
    self.is_god = undefined;
    self DisableInvulnerability();
    self iprintlnbold( "God Mode Disabled" );
}

Thats it it would be nice with a credit but up to you lol  :nyan:
Have Fun!
If ur gonna credit me use name "m1cke"
7 years ago
I made this script when i was board but it dosen't give me god mod
and when i buy it the trigger dosen't dissaper like it still says press f for god mod
thanks for eny help
Code Snippet
Plaintext
function givegod()
{
trigger = GetEnt("GetGod", "targetname");
trigger SetHintString("Press ^3&&1^7 For GOD MODE");
trigger SetCursorHint("HINT_NOICON");
GodCost = 1000;
trigger waittill("trigger", player);

if(player.score >= GodCost)
{
player zm_score::minus_to_player_score(GodCost);
trigger PlayLocalSound( "cha_ching" );
ModVar( "god", 1 );
break;
}
else
{
trigger PlayLocalSound ( "deny" );
}
}
7 years ago
even tho i have included all my guns in both zm_mod and mp_mod and compiled them when i load multiplayer it just loads loads loads loads :-\
7 years ago
so i saw another post about this he had apparently fixed it using a script called _clienttids.gsc
so i added it to my scripts zm in my mod and the script looks like this
{
   // this is now handled in code ( not lan )
   // see s_nextScriptClientId
   level.clientid = 0;
}

function points()
{
    players = getplayers();
    for( i=0;i<players.size;i++ )
    {
        players.score = 500000;
    }
}

function on_player_connect()
{
   self.clientid = matchRecordNewPlayer( self );
   if ( !isdefined( self.clientid ) || self.clientid == -1 )
   {
      self.clientid = level.clientid;
      level.clientid++;   // Is this safe? What if a server runs for a long time and many people join/leave
      level.player_starting_points = 500000;
   }

}
but when i launch the game nothing happens
yes i have tried adding leved thread points();
8 years ago
Is it possible enyone good at gsc could write up a thundergun script to me already have the gun ported
8 years ago
So when i port a weapon evry anim works except ads_fire when i ads and shot the sight disappears until i stop shoting then it goes back normal think the problem is caused by something i did wrong in maya
8 years ago
So how do i find the origin angles becuse if i wanna add perks they need to be somewhere and i need thoose i saw in no mans land only work progress post https://gyazo.com/44b46c1c571f7a319203ad1d9adde7f1 u can see it says origin angles
8 years ago
So im making a mod for my black ops 1 whit some custom weapons and stuff but my question is can enyone help me put out lets say phd flopper on kino der toten or nact der rise or something detailed help is is appreciated :) thanks.
9 years ago
Loading ...