OpenXcom Forum

Modding => Help => Topic started by: Zar Nivop on July 05, 2019, 12:11:48 am

Title: Changing TU percentage requirement
Post by: Zar Nivop on July 05, 2019, 12:11:48 am
I want to alter the percentage of total TUs for specific items/actions. Searched the RUL files, didn't find something that seemed to be it, Help will be appreciated.
Title: Re: Changing TU percentage requirement
Post by: Meridian on July 05, 2019, 12:20:11 am
For example laser pistol

Code: [Select]
  - type: STR_LASER_PISTOL
    size: 0.1
    costSell: 20000
    weight: 7
    bigSprite: 5
    floorSprite: 5
    handSprite: 112
    bulletSprite: 5
    fireSound: 11
    hitSound: 19
    hitAnimation: 36
    power: 46
    damageType: 4
    accuracyAuto: 28
    accuracySnap: 40
    accuracyAimed: 68
    tuAuto: 25      # <-     this
    tuSnap: 20      # <-     this
    tuAimed: 55     # <-     and this
    clipSize: -1
    battleType: 1
    invWidth: 1
    invHeight: 2

Title: Re: Changing TU percentage requirement
Post by: Zar Nivop on July 06, 2019, 07:30:52 am
Great!
Can the grenades priming %tu be changed too?
Title: Re: Changing TU percentage requirement
Post by: Meridian on July 06, 2019, 09:44:54 am
only in OXCE