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

Score issue (no points on kills)

broken avatar :(
Created 13 years ago
by JR-Imagine
0 Members and 1 Guest are viewing this topic.
3,483 views
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
Signature
"Deleted code is debugged code." - Jeff Sickel
"Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
I'm using the Payload spawners for a mod/map I'm working on and for some reason I don't get points for kills, only for hits. I used the UGX Script Placer if that helps.
Last Edit: October 28, 2013, 08:24:16 pm by JR-Imagine
broken avatar :(
  • n123q45
  • Deleted Member
×
broken avatar :(
n123q45
This user is deleted :(
Check your _zombiemode_score
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Check your _zombiemode_score
I've NEVER modified or even thouched that file. :P Also, works fine on another map without those spawners.
broken avatar :(
×
broken avatar :(
☭ Soviet Commander ☭
Location: us
Date Registered: 13 August 2012
Last active: 10 years ago
Posts
2,789
Respect
Forum Rank
King of the Zombies
Primary Group
Community Daedra
My Groups
More
My Contact & Social Links
More
Signature
Let's keep this thread on topic from here on in. -DBZ

+1 to off-topic reply -DBZ

lmao. Too funny.

Goliath Script Placer: http://ugx-mods.com/forum/index.php/topic,11234.msg125257/topicseen.html#new

"...Christ, people. Learn C, instead of just stringing random characters
together until it compiles (with warnings)..."

-Linus Torvalds
×
daedra descent's Groups
Community Daedra
Community Daedra
daedra descent's Contact & Social LinksBlueSoviet
I know that a lot of code was commented out in payloads zombie scripts, maybe one of the functions that help keep track of score for _zombiemode_score is commented?

EDIT

Looks like i was right:

Code Snippet
Plaintext
zombie_death_points( origin, mod, hit_location, player )
{
// level thread maps\\payload_zombiemode_powerups::powerup_drop( origin );

if( !IsDefined( player ) || !IsPlayer( player ) )
{
return;
}

// player maps\\payload_zombiemode_score::player_add_points( "death", mod, hit_location );
}

There's most likely other functions that are commented out that you need too.
Last Edit: October 29, 2013, 01:33:49 am by daedra descent
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
I'm not even using the Payload scripts. Just the standard ones. But if I can't get it fixed I'll just drop the payload spawners and use regular ones.

Edit: Tested with normal spawners, they work... Same map, same scripts. I guess I won't be using the payload spawners then... :(
Last Edit: October 29, 2013, 10:19:53 am by JR-Imagine
broken avatar :(
×
broken avatar :(
Former UGX Lead Asset Creator
Location: ca
Date Registered: 17 August 2012
Last active: 7 years ago
Posts
1,932
Respect
Forum Rank
Zombie Destroyer
Primary Group
UGX V.I.P.
My Groups
More
My Contact & Social Links
More
Personal Quote
Eh?
Signature

(Click to enter portfolio)
×
SajeOne's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
I'm not even using the Payload scripts. Just the standard ones. But if I can't get it fixed I'll just drop the payload spawners and use regular ones.

Edit: Tested with normal spawners, they work... Same map, same scripts. I guess I won't be using the payload spawners then... :(
Maybe the spawners you are using aren't defined the same as the axis AI within script so the when the game checks if you killed an enemy it's false. Just an idea but if your score script is correct and it only happens with these spawners then that's probably why.
broken avatar :(
×
broken avatar :(
Location: be
Date Registered: 17 August 2013
Last active: 5 years ago
Posts
369
Respect
Forum Rank
Perk Hacker
Primary Group
Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
Web & Software Developer and Designer
×
JR-Imagine's Groups
Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
Maybe the spawners you are using aren't defined the same as the axis AI within script so the when the game checks if you killed an enemy it's false. Just an idea but if your score script is correct and it only happens with these spawners then that's probably why.
I've check the KVP's and the payload ones don't have the "script_noteworthy","zombie_spawner" one. So that's propably why... But once I add that KVP they turn into regular zombies. But nvm the payload spawners, after looking through my ideas, I think regular zombies would fit the map better.

 
Loading ...