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 - B0hnez

Dude, i saw u are german, me to do u want to colaborate, making a  map, dm me on discord
2 months ago
I managed to solve :epic_win: ​​​​​​​:bananadance:  but thanks in advance.
How do u solved it ?
1 year ago
Hello, first of all nice work, but i have a question, can u edit the script for me so the elevator only works when power_on, and the caller_triggers hintstring is "the Power must be activated first" ? i looked into ur script but i dont understand much of it ^^ it would be a pleasure for me if i could help me :)
 
-B0hnez
1 year ago
Dear Mapper and Modder,
 
i want to share my litte first script with u all.
I scripted a small custom wall weapon.
 
Youtube:  https://www.youtube.com/watch?v=BzXfQVdLrZI
 
The actaul weapon is provided by shippuden1592, thanks for porting the Axe from IW.
 
first you add this lines in your <mapname>.gsc  under level thread DLC3_threadCalls();
Code Snippet
Plaintext
level thread init_fireaxe_upgrade();
level thread fireaxe();

at the end of your <mapname>.gsc add:
Code Snippet
Plaintext
fireaxe(){
    flag_wait( "all_players_connected" );
    trig_axe = GetEnt( "trig_axe", "targetname" );
    glass_1 = GetEnt( "nobroken", "targetname" );
    glass_2 = GetEnt( "broken", "targetname" );
    fireaxe = GetEnt( "fireaxe", "targetname" );
    fireaxe show();
    glass_2 hide();    
    trig_axe SetCursorHint( "HINT_NOICON" );
    trig_axe UseTriggerRequireLookAt();
    trig_axe SetHintString( "Press &&1 To Take" );
    while(1)
    {
        trig_axe waittill( "trigger", player );
        glass_1 hide();
        play_sound_on_ent("bullet_ap_glass");
        glass_2 show();
        player_has_weapon = false;
        weapons = player GetWeaponsList();
        if( IsDefined( weapons ) )
        {
            for( i = 0; i < weapons.size; i++ )
            {
                if( weapons[i] == self.zombie_weapon_upgrade )
                {
                    player_has_weapon = true;
                }
            }
        }
        if( !player_has_weapon )
        {
            player maps\_zombiemode_weapons::weapon_give( self.zombie_weapon_upgrade );
        }
        player iprintlnbold( "weapon taked" );
        fireaxe hide();        
        trig_axe delete();        
    }
}

init_fireaxe_upgrade()
{
    trig_axe_spawns = ;
    trig_axe_spawns = GetEntArray( "trig_axe", "targetname" );
    for( i = 0; i < trig_axe_spawns.size; i++ )
    {
        trig_axe_spawns[i] UseTriggerRequireLookAt();
        trig_axe_spawns[i] thread maps\_zombiemode_weapons::weapon_spawn_think();
    }
}

Dont forget to place the provided prefep in your Map!
 
 
Now the weapon part:
 
Download shippunden1592 IW melee weapon "Axe": https://www.ugx-mods.com/forum/full-weapons/59/infinite-warfare-weapons/23056/
 
Special Thanks to Shippuden1592 for porting the weapons, GimmCity and Phil81334 for looking up my script.
 
Feel free to edit this and make more special Stuff
 
 
--B0hnez
1 year ago
First of all u make a great job on ur scripts man :)
but now after i set all up in my map the engineer spawn, his weapon disappears and he doesnt move,
may u can help me with my problem or know how to fix it ?
1 year ago
Loading ...