aliens

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Nirran

Pages: 1 [2]
16
Help / adding items to map blocks
« on: February 10, 2021, 08:13:21 pm »
settings in items rul have elerium at 150 divisor,assuming if i lower it more elerium will be recovered?

also what rul file has the randomizedItems setting in map blocks?

and can point me to a script that fires at mission start>?

17
Help / code snip help please
« on: February 08, 2021, 02:20:46 pm »
why doesnt this work?ive tried many variations,none do anything

im trying to remove the engine added stats and use my own

this is available commands i read(is this wrong?)

Code: [Select]
          #statPrevious - original stats before mission (read only)
          #statChange - stats change from exp (read only)
          #soldier.Stats - current stats of geoscape soldier, if you change it it will permanently change stats of soldier
          #unit.Stats - stats of battle soldier, changed by armor. Only affect current battle.
          #unit.Exp - exp grain during battle (read only)

and this is what i have so far

Code: [Select]
          #arbitrary value
          #unit.Exp.getTimeUnits changeTimeUnits;
          #statChange.getTimeUnits changeTimeUnits;
          statPrevious.getTimeUnits prevTimeUnits;  
          soldier.Stats.getTimeUnits origTimeUnits;
          sub origTimeUnits prevTimeUnits;
          soldier.Stats.getTimeUnits currTimeUnits;
          #battle_game.randomRange value valueMin valueMax;
          sub currTimeUnits origTimeUnits; #remove engine added  
          #add origTimeUnits value; #add 1-3 to old stat
          soldier.Stats.setTimeUnits currTimeUnits; #overwrite stat +1-3

18
Help / soldier ezperience
« on: February 07, 2021, 07:34:50 am »
hello :)

first off this openxcom engine is awesome !!

i am trying to limit how much stats are added at end of missions,please dirrect me to the rellavent  topics

Pages: 1 [2]