aliens

Author Topic: [STAT TRACKING] Soldier Diaries 1.0  (Read 542256 times)

Offline vlad

  • Sergeant
  • **
  • Posts: 32
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #630 on: February 13, 2015, 09:08:13 am »
given the game is played in 1999, citing Obama from 2009 seems kinda extraterrestrial :o (remove the year ?)
also typo at didn't - didn?t at the very same medal
« Last Edit: February 13, 2015, 09:14:43 am by vlad »

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #631 on: February 13, 2015, 01:12:00 pm »
:(  I'd really like to get on the Nightly... but I can't figure anything out about why those campaign saves won't load.  Shoot. Even the updated Legacy, because it would be nice to check the logic on the some of the new awards.

Also.  After completing my first mission since the new commendations are in the ruleset, I did get a rash of erroneous awards.


Don't forget that the stats for those new medals were already being tracked, so if your soldiers had already killed one of each rank or one with each weapon, then they would rightfully suddenly all get the commendation.

As for the not loading thing, I need to sit down and have a look at that. So to be clear, the issue is that games, legacy or nightly, with commendations mod pre-Feb-08 cannot be loaded with the Feb-08 mod, correct?

On a whim I installed this mod from the Steam Workshop last night, oh man, I'm in love with this lol.  Such an amazing job, and the detail it goes into is great!  Favorite weapon, number of types killed, so many stats <3

Great to hear! I am also curious to see the steam workshop link ;p

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #632 on: February 13, 2015, 07:59:45 pm »
given the game is played in 1999, citing Obama from 2009 seems kinda extraterrestrial :o (remove the year ?)
also typo at didn't - didn?t at the very same medal

Yeah, when I copy and paste often apostrophes and quotes insert in the wrong format.  I clean them up with a find and replace. :)  They'll be fixed when the new ruleset gets published. :)

And yeah.. time travel and all that... the quotes are really for fluff anyway, ;)

Also... I really don't like the black wings on the Field Surgeon medal. I'll be reworking that one.

Cheers, Ivan :D

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #633 on: February 13, 2015, 08:04:56 pm »
Don't forget that the stats for those new medals were already being tracked, so if your soldiers had already killed one of each rank or one with each weapon, then they would rightfully suddenly all get the commendation.

As for the not loading thing, I need to sit down and have a look at that. So to be clear, the issue is that games, legacy or nightly, with commendations mod pre-Feb-08 cannot be loaded with the Feb-08 mod, correct?

I keep meaning to upload the save with the erroneous medals... I'll get that this weekend.

As far as the not loading:

My old (and newer, for that matter) campaign saves are from an old legacy version.  I'm not sure if it is from July or October.

I tried loading it in both the New Nightly build, and the new Legacy build.  Both times it refused to load with the yaml.ccp error.
When I tried loading it with a vanilla nightly, it loaded alright, just commendations didn't work etc.  I didn't test any more than to see that the save loaded.

Cheers, Ivan :D

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #634 on: February 13, 2015, 08:21:53 pm »
Were you able to load a Geoscape save, a Battlescape save, or neither?

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #635 on: February 13, 2015, 08:29:42 pm »
With the new Diaries builds, I could load saves up to and during my first tactical mission. 
After that mission is over, any save fails to load. 

With the vanilla nightly, I tried loading the first Geoscape save after the first mission (it loaded successfully).

(I included these saves linked to an earlier post.)

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #636 on: February 14, 2015, 07:15:36 am »
Woot!  Here is the Last Batch





Shoes, The Pull Request should be final.    All the little punctuation has been ironed out and the ruleset looks good to go. :D

Offline kikimoristan

  • Commander
  • *****
  • Posts: 647
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #637 on: February 14, 2015, 07:27:24 am »
These guys are busy bees.

Once everything is ironed out plz make a pull request to SupSuper/Warboy MAYBE they gonna merge this mod with main branch.  MAYBE? I think is very useful feature to have. Keeping track of your soldiers. These are xcom achievements and challenges if you think about it. People have proof/something to boast about in screen pics and videos. And this mod is completely side thing doesn't even matter if you don't wanna use it feature is there. And doesn't change anything from original game. Only adds stat tracking for soldiers.

Gj guys. Looking good.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #638 on: February 14, 2015, 07:43:44 am »
Hmm... Shoes... Could the save not loading come from using a stock version of the .exe rather than the "debug" version (that I might have used in the past) ?

(Still trying to sort out my inability to load my saves with the new builds).

Offline Shoes

  • Commander
  • *****
  • Posts: 502
    • View Profile
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #639 on: February 14, 2015, 02:27:33 pm »
These guys are busy bees.

Once everything is ironed out plz make a pull request to SupSuper/Warboy MAYBE they gonna merge this mod with main branch.  MAYBE? I think is very useful feature to have. Keeping track of your soldiers. These are xcom achievements and challenges if you think about it. People have proof/something to boast about in screen pics and videos. And this mod is completely side thing doesn't even matter if you don't wanna use it feature is there. And doesn't change anything from original game. Only adds stat tracking for soldiers.

Gj guys. Looking good.

Thanks! The devs have told me that the stat tracking portion of the mod would indeed be viable for making it into the base game, and then the comms mod could be packaged with it by default. Neither of us are in a rush to get it merged though; they're busy with TFTD, I am still trying to cram as much stuff into it and fix any bugs that creep up.

Hmm... Shoes... Could the save not loading come from using a stock version of the .exe rather than the "debug" version (that I might have used in the past) ?

(Still trying to sort out my inability to load my saves with the new builds).

I don't think so.. I am gonna investigate a bit this morning.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #640 on: February 14, 2015, 04:54:07 pm »
Ok... erroneous award thing.

Here is my latest save. Only soldiers on the mission got the erroneous awards. Not all of them did.

Taking Names (All Ranks) (soldier, engineer, medic, navigator, leader, commander, terrorist)
Code: [Select]
  - type: STR_MEDAL_ALLRANKS_NAME
    description: STR_MEDAL_ALLRANKS_DESCRIPTION
    sprite: 42
    criteria:
      killsWithCriteriaCareer: [1, 2, 3, 3, 3, 3, 4, 4, 4, 4]
    killCriteria:
      -
        1: ["STR_LIVE_SOLDIER", "FACTION_HOSTILE"]
        1: ["STR_LIVE_ENGINEER", "FACTION_HOSTILE"]
        1: ["STR_LIVE_MEDIC", "FACTION_HOSTILE"]
        1: ["STR_LIVE_NAVIGATOR", "FACTION_HOSTILE"]
        1: ["STR_LIVE_LEADER", "FACTION_HOSTILE"]
        1: ["STR_LIVE_COMMANDER", "FACTION_HOSTILE"]
        1: ["STR_LIVE_TERRORIST", "FACTION_HOSTILE"]

Armis Potens (All Battle Types - needs firearm, melee, grenade, & proximity grenade)
Here is the Ruleset Logic:
Code: [Select]
  - type: STR_MEDAL_ALLBATTLETYPES_NAME
    description: STR_MEDAL_ALLBATTLETYPES_DESCRIPTION
    sprite: 40
    criteria:
      killsWithCriteriaCareer: [1, 2, 3, 4, 5, 6, 7, 8, 8, 9]
    killCriteria:
      -
        1: ["BT_FIREARM", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["BT_MELEE", "FACTION_HOSTILE", "STATUS_UNCONSCIOUS"]
        1: ["BT_PROXIMITYGRENADE", "FACTION_HOSTILE", "STATUS_DEAD"]
        1: ["BT_GRENADE", "FACTION_HOSTILE", "STATUS_DEAD"]

Here is the kill record of a soldier record of one who got both erroneously:

        id: 40
        name: MilksterProd.

Code: [Select]
          killList:
            - rank: STR_LIVE_NAVIGATOR
              race: STR_SECTOID
              weapon: STR_PISTOL
              weaponAmmo: STR_PISTOL_CLIP
              status: 6
              faction: 1
              mission: 10
              turn: 3006
            - rank: STR_LIVE_ENGINEER
              race: STR_SECTOID
              weapon: STR_PISTOL
              weaponAmmo: STR_PISTOL_CLIP
              status: 6
              faction: 1
              mission: 32
              turn: 9633
            - rank: STR_LIVE_SOLDIER
              race: STR_MUTON
              weapon: STR_FLASHBANG_GRENADE
              weaponAmmo: STR_FLASHBANG_GRENADE
              status: 7
              faction: 1
              mission: 35
              turn: 10515
            - rank: STR_LIVE_NAVIGATOR
              race: STR_MUTON
              weapon: STR_LASER_PISTOL
              weaponAmmo: STR_LASER_PISTOL
              status: 7
              faction: 1
              mission: 35
              turn: 10524
            - rank: STR_LIVE_ENGINEER
              race: STR_MUTON
              weapon: STR_HIGH_EXPLOSIVE
              weaponAmmo: STR_HIGH_EXPLOSIVE
              status: 6
              faction: 1
              mission: 35
              turn: 10563
            - rank: STR_LIVE_SOLDIER
              race: STR_SNAKEMAN
              weapon: STR_BLASTERPACK
              weaponAmmo: STR_BLASTERPACK
              status: 6
              faction: 1
              mission: 46
              turn: 13833
            - rank: STR_LIVE_SOLDIER
              race: STR_SNAKEMAN
              weapon: STR_BLASTERPACK
              weaponAmmo: STR_BLASTERPACK
              status: 6
              faction: 1
              mission: 46
              turn: 13833
            - rank: STR_LIVE_COMMANDER
              race: STR_SNAKEMAN
              weapon: STR_BLASTERPACK
              weaponAmmo: STR_BLASTERPACK
              status: 6
              faction: 1
              mission: 46
              turn: 13833
            - rank: STR_LIVE_TERRORIST
              race: STR_CHRYSSALID
              weapon: STR_BLASTERPACK
              weaponAmmo: STR_BLASTERPACK
              status: 6
              faction: 1
              mission: 46
              turn: 13833

Analysis:
AllRanks is missing a medic and a leader, and AllBattleTypes is missing melee and Proximity.
There are five other soldiers with erroneous AllBattleTypes (ids; 102, 106, 99, 66, 63).  No other ones with the erroneous AllRanks.
One correctly awarded the AllBattleType: Xenophage2 (id: 82).


I've attached the entire save as a zip file below.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #641 on: February 15, 2015, 02:34:50 am »
After discussing with Volutar some of the difficullties of getting a background gradient that looks decent, I have been working on a new style that uses the pattern gradient that he discussed and is more in line with classic XCOM style (look&feel).  I have taken the gradients that he mocked up and moved them over so they are only a background to the medals. 







I am willing to rework all the art if necessary to get a better look and feel.  This isn't a huge job, as its basically swapping out the background layer.  Some of the older art needs some love too.

Thoughts, everyone?  How do you like these in comparison to the images previously posted in the thread?
(Again, Shoes has the last word. ;)  )

Cheers, Ivan :D

Offline Mr. Quiet

  • Commander
  • *****
  • Posts: 523
  • Likes: Quiet things. Dislikes: Loud things.
    • View Profile
    • =Open_X_Com= Mods
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #642 on: February 15, 2015, 02:45:59 am »
Amazing job with this pictures, I don't need anything too fancy to grab this mod. I only have one or two requests: I'd love to have a version without the quotes and the second part. Just the requirement is fine. Thanks mate.

Offline ivandogovich

  • Commander
  • *****
  • Posts: 2381
  • X-Com Afficionado
    • View Profile
    • Ivan Dogovich Youtube
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #643 on: February 15, 2015, 03:06:56 am »
Amazing job with this pictures, I don't need anything too fancy to grab this mod. I only have one or two requests: I'd love to have a version without the quotes and the second part. Just the requirement is fine. Thanks mate.

LOL.  Sorry, my friend.  You are stuck with the "fluff"

You are always welcome to edit the ruleset and clear out all the extra stuff in the ufopedia entries. ;)

Cheers, Ivan :D

Offline Mr. Quiet

  • Commander
  • *****
  • Posts: 523
  • Likes: Quiet things. Dislikes: Loud things.
    • View Profile
    • =Open_X_Com= Mods
Re: [STAT TRACKING] Soldier Diaries 1.0
« Reply #644 on: February 15, 2015, 03:19:14 am »
Thanks, I shall if it's as easy as you stated. Great work nonetheless both you and Shoes.

One thing I've always been wanting is adding a simple, but immersive message after the debriefing screen or within it, specifying a ceremony in base after a certain time and date. Nothing more. If I didn't forget the memorable quotes by my favorite mod on Freespace 2, Wing Commander Saga, I'd give you the one from a debriefing that mentioned the same thing. Little pieces of dialog that go a long way.