Author Topic: Decreased TUs for aliens on your first turn [OXCE]  (Read 1565 times)

Offline Starving Poet

  • Colonel
  • ****
  • Posts: 267
    • View Profile
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #15 on: November 18, 2019, 07:56:23 pm »
Well, for one it's the same result  in that any enemies facing you now have less than maximum TU for reactions.  Which, if we are using their argument that they can see you and of course have full reactions when you leave the craft makes even *less* sense that they would just mill about and turn away from the craft :)

Offline Starving Poet

  • Colonel
  • ****
  • Posts: 267
    • View Profile
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #16 on: November 19, 2019, 02:10:29 am »
I made a little change for personal use - since flat 33% is a bit too much of a guarantee they won't react:

has enemies spawn with somewhere between 33 and 100% TUs

Code: [Select]
extended:
  scripts:
    createUnit:
      - offset: 41
        code: |
          var int unitTUs;
          var int divisor;
          # var int unitAggression;
          # adjust aliens' TUs on the first turn
          unit.getTimeUnitsMax unitTUs;
          battle_game.randomRange divisor 33 100;
          muldiv unitTUs divisor 100;
          unit.setTimeUnits unitTUs;
          return;

Offline new_civilian

  • Commander
  • *****
  • Posts: 735
    • View Profile
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #17 on: November 19, 2019, 01:52:17 pm »
After using this mod now for several weeks I got so used to it, that I got totally slaughtered when forgetting to use it in a X-Piratez test  ;D
Anyway: This mod is so second-nature now for me, that i simply will not play without it anymore.

And thanks Starving Poet for the randomizer script!

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8926
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #18 on: November 20, 2019, 08:27:45 pm »
Well, for one it's the same result  in that any enemies facing you now have less than maximum TU for reactions.  Which, if we are using their argument that they can see you and of course have full reactions when you leave the craft makes even *less* sense that they would just mill about and turn away from the craft :)

Good point, but that's more of a general AI issue. Not a "bug", but something to think about and perhaps address.
Still, ugly hacks are ugly. I like your randomizer way better!

Offline x60mmx

  • Sergeant
  • **
  • Posts: 36
    • View Profile
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #19 on: November 22, 2019, 10:37:35 pm »
Turn one is for smoke grenade deployment, why are you just sending your troops out into the open?  ;)


More mods, the merrier.

Offline Starving Poet

  • Colonel
  • ****
  • Posts: 267
    • View Profile
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #20 on: November 26, 2019, 04:24:31 pm »
This isn't vanilla


Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8926
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Decreased TUs for aliens on your first turn [OXCE]
« Reply #21 on: December 03, 2019, 06:57:47 pm »
This isn't vanilla

Oh, absolutely. But it was made with no artificial limitations in mind... :3