PDA

View Full Version : GUN_BIGGER not triggering properly?



RHINO_Mk.II
04-20-2015, 09:56 PM
Just had another session (https://recursiontracker.com/player/RHINOmkII/?p=c&c=saved&id=44267) where GUN_BIGGER didn't trigger like I thought it was supposed to. Went in and looked at the trigger conditions and it seems to be bound to the AI Phalanx turrets, not the AV ones. Not sure if that's how it was intended, I vaguely recall being told it was supposed to trigger on a 6 killstreak with the Phalanx AV turret. Could be wrong though.

Trigger Conditions:
attribute = killstreak.Value.customTracking:GetAttributeValue("WeaponGroups", phalanxAIGroup.groups[0])
if(attribute) then
return attribute:ValidateMod(this.variables[0])
end
return false

Trigger Variables: 6

http://i.imgur.com/x8BppnT.png

Silencer
04-20-2015, 10:08 PM
Hmm, I'm checking it out now. Yeah we accidentally named the variable in the script AI, but it's actually referencing the AV IDs.

Do you still have your session open? Can you go into options and turn on API Info display, then double click on one of the infantry kills in the feed and paste the weapon ID in here?

Actually I just pulled up your session, its 704 which is part of the correct group... can you save your session?

Wait I pulled up your saved session... it registers you got the achievement? Are you sure it didn't play?

RHINO_Mk.II
04-20-2015, 10:14 PM
http://i.imgur.com/ZwP94u4.png

Silencer
04-20-2015, 10:16 PM
http://i.imgur.com/ZwP94u4.png

It's testing fine in the simulator, and your saved session page shows it registered.

923


I double checked the settings for the group its part of, and it shouldn't let itself be canceled, but if another achievement in the same group has a higher priority it will overwrite it only if it was queued. The double kill you got after wouldn't have done that.

Are you using a custom voice pack? Can you make sure there's a sound file for it? It should still play the pop-up regardless though..

RHINO_Mk.II
04-20-2015, 10:24 PM
That is strange. I swear it didn't show up in game - I know because I was particularly enthusiastic about the voice line I selected for it but it never plays. Didn't get any other achievement at the same time with higher priority. I'm pretty sure it didn't show up on the scoreboard either as my last achievement. It's odd that it shows up in the saved session though. Does the saved session parse the data independently to determine achievements after each kill or is the achievement data sent too when the session is uploaded?

RHINO_Mk.II
04-20-2015, 10:34 PM
I played around with the event simulator and can't get it to play using that either - other achievements seem to be working fine in simulation.

RHINO_Mk.II
04-20-2015, 10:42 PM
Are you using a custom voice pack? Can you make sure there's a sound file for it? It should still play the pop-up regardless though..

Okay, so after more testing, it seems that with the default voice pack it works fine, but when I tested with custom voice packs it was broken. I tried two voice packs, one with a new line for GUN_BIGGER and one with the default line for GUN_BIGGER but other custom sounds. Neither voice pack played the achievement.

EDIT: Even more strange, using the default voicepack and having changed the sound for that particular achievement only, it's working.

EDIT EDIT: Okay, published the above voice pack and it now works when I load it, older voice packs are still not playing that achievement.

FINAL EDIT: Just re-published my voicepack after resetting the sound to default and selecting it again. Seems to be working now. Still doesn't work with the older version. Would hardly believe myself if not for that. Just gonna drop it at this point.

Silencer
04-20-2015, 11:03 PM
Thanks for trying that out. If I get some time I'll try playing around with it too. It shouldn't be different than any other achievement, they all get evaluated through the same system.