Jump to content
The Dark Mod Forums


  • Content Count

  • Joined

  • Last visited

Everything posted by kcghost

  1. I found a new strategy for displaying the stealth stats that some may prefer. The attached addon (just drag into the darkmod folder) overrides the loot inventory gui and associated script. I got rid of the loot breakdown (jewels, gold, etc.) as well as the loot icon that appears (didn't look right next to longer text). Instead it displays a stealth breakdown and total loot out of the mission's available loot. Suspicions, Searches, Sightings, Bodies, Score, Loot. Messing with the gui layout is a pain, so it ends up a bit of a tradeoff. It doesn't look pretty, it trades the neat touch
  2. @Dragofer Not sure what causes it, but I found an issue with the tdm_movers script. If you call the script, then make a quicksave, then load that quicksave, you get an error "Cannot load console". Something doesn't play nice with save/load mechanisms.
  3. Thanks so much everybody for all your help with this, this is amazing. @Dragofer I tried your new script and it looks great! Also thank you for confirming what I suspected, that there is no entirely clean and elegant way to hook in an addon script. My approach was to include in a "tdm_custom_addon_scripts.script" in tdm_main.script. Perhaps that is a change that should be taken in to the main sources, if any devs are listening. That way "addons" can include themselves in that file, and provide special instructions for simple modifications to work with other addons. Same for executing
  4. So I made a small project and hosted it on github: https://github.com/kcghost/tdm-ghost It generates a "tdm_ghost.pk4" that can just be dropped into the darkmod folder, and it works. (Well, it prints the stealthScore to the console every second, not exactly polished). I am currently hooking it in by overriding tdm_main.script, #including the script there, as well as calling out from tdm_main(). This is all probably terrible, but I'm not familiar enough with this modding ecosystem to know if there is a right way - especially since this is a weird situation. I want the mod to appl
  5. @Dragofer Actually your script works! With *one* tweak, change: statistics_stealthScore = $player1.getMissionStatistic("stealthScore"); to statistics_stealthScore = sys.getMissionStatistic("stealthScore"); I don't quite know what I am doing yet as far as the proper way to hook a script like this as an addon pack, but I tried this in mission 1 and saw the values update in real time.
  6. Are there any configuration options or addons available to view your stealth score or breakdown in-game? Or perhaps better, a custom difficulty setting to fail the mission when seen or searched for. I try to ghost missions, but it can be difficult at times to actually know whether you have been spotted until the end of the mission. Loot stats and other "final" stats would be helpful as well, though I have found "bind "F2" "tdm_show_loot"" to be useful for the purpose of ensuring all loot has been gotten.
  • Create New...