OpenXcom

[OXCE] First Turn Enemy TU Randomizer for OpenXcom

Released . Ranked 127 of 197 with 131 (0 today) downloads

Published by Starving_Poet (mod ID: 715302)

screenshot_6.png

This script randomizes starting TU for enemy units on the very first turn to between 33 and 100 percent, the goal being to *maybe* reduce reaction fire from the enemies directly facing your starting position.


You can adjust the min / max by editing this line to your liking:

battle_game.randomRange divisor 33 100;

Releases

FilenameSizeVersionAddedOptions
first_turn_tu_tweak.zip0.71kb1.0

Comments

Join the community or sign in with your gaming account to join the conversation:

Finnik
Finnik @finnik

I like the idea, and it fits many deployments (like one on the screen, lol). I would like to use it my mod, tho I think I will play with numbers. Also, you have commented var int unitAggression - was your idea to calculate it based on aggression?
Also, as it is standalone script, probably it would be better to use getTimeUnits instead of getTimeUnitsMax because current value could be affected with some another createUnit script?
And also I think you can add if eq side 0; check to not lower xcom unit TUs =)