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

Need some help (box and Quick-revive)

broken avatar :(
Created 9 years ago
by thebromonkey
0 Members and 1 Guest are viewing this topic.
2,541 views
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 27 December 2013
Last active: 7 years ago
Posts
64
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
thebromonkey's Groups
thebromonkey's Contact & Social Links
So first of, the light from inside the box is gone, anyone knows were I could edit this? Im using the standard box btw.

Second (this question probably goes to you Harry)
When you die in solo with QR, and it is not by a zombie (trigger hurt) and you fire your gun, you stay in downed mode forever and your weapon dissapears. Is there a way to edit this in the script?

Thanks in advance !

broken avatar :(
×
broken avatar :(
Location: esMadrid
Date Registered: 27 March 2015
Last active: 5 years ago
Posts
371
Respect
Forum Rank
Perk Hacker
Primary Group
Member
My Contact & Social Links
More
Personal Quote
JIGGLYPUFF used SING! YOU fell asleep!
Signature
×
Soy-Yo's Groups
Soy-Yo's Contact & Social LinksSoy-yoElCerdoRey
1) You'll probably need to find these kind of lines in _zombiemode_weapons and add your mapname inside the if's:
Code Snippet
Plaintext
if(level.script == "nazi_zombie_sumpf" || level.script == "nazi_zombie_factory" || level.script == "nazi_zombie_coast")

2) I think it is "MOD_UNKNOWN" which solo revive gets fucked up with. Had problems with it in my map too. Can't remember exactly what, but something happened if the player died by "MOD_UNKNOWN". Don't know if you can set the trigger_hurt to do a certain type of damage, but you can with a trigger_multiple and a bit of scripting. Kind of like:
Code Snippet
Plaintext
// self = trigger_multiple
players = get_players();
for( i = 0; i < players.size; i++ ) {
    if( players[ i ] isTouching( self ) ) {
        players[ i ] dodamage( 60, players[ i ].origin, undefined, undefined, "riflebullet" );
    }
}
But don't know why it doesn't do the damage I've set.
Or you can look in _callbackglobal. There should be a function that is called when the player dies and you can check if he died by "MOD_UNKNOWN" and change it to any other, but I don't think this is something good to do.
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 27 December 2013
Last active: 7 years ago
Posts
64
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
thebromonkey's Groups
thebromonkey's Contact & Social Links
Ok thanks  :)

There is no kvp you easily could add to a trigger to to damage to players? Like riflebullet damage?
broken avatar :(
×
broken avatar :(
Location: gbMilton Keynes
Date Registered: 17 January 2014
Last active: 5 years ago
Posts
6,877
Respect
Forum Rank
Immortal
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Signature
If you want scripts / features made for you, then contact me by PM or email / skype etc
it will cost you tho so if you have no intention of reciprocating don't even waste my time ;)
×
Harry Bo21's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Harry Bo21's Contact & Social LinksHarryBo000[email protected]HarryBo21
1) You'll probably need to find these kind of lines in _zombiemode_weapons and add your mapname inside the if's:
Code Snippet
Plaintext
if(level.script == "nazi_zombie_sumpf" || level.script == "nazi_zombie_factory" || level.script == "nazi_zombie_coast")

2) I think it is "MOD_UNKNOWN" which solo revive gets fucked up with. Had problems with it in my map too. Can't remember exactly what, but something happened if the player died by "MOD_UNKNOWN". Don't know if you can set the trigger_hurt to do a certain type of damage, but you can with a trigger_multiple and a bit of scripting. Kind of like:
Code Snippet
Plaintext
// self = trigger_multiple
players = get_players();
for( i = 0; i < players.size; i++ ) {
    if( players[ i ] isTouching( self ) ) {
        players[ i ] dodamage( 60, players[ i ].origin, undefined, undefined, "riflebullet" );
    }
}
But don't know why it doesn't do the damage I've set.
Or you can look in _callbackglobal. There should be a function that is called when the player dies and you can check if he died by "MOD_UNKNOWN" and change it to any other, but I don't think this is something good to do.
dont think that's coz of mod Unknown, but is actually coz of dodamage

Use radiusdamage if attacking a player, dodamage can fuck it up and cause co-op to restart
broken avatar :(
×
broken avatar :(
Location: se
Date Registered: 27 December 2013
Last active: 7 years ago
Posts
64
Respect
Forum Rank
Rotting Walker
Primary Group
Member
×
thebromonkey's Groups
thebromonkey's Contact & Social Links
Okey ill try, but I remember adding a fix to the dodamage restarting in co-op( I think)

 
Loading ...