project-navigation
Personal tools

Author Topic: Modify Time Units and Health  (Read 1981 times)

madashell

  • Guest
Modify Time Units and Health
« on: February 21, 2009, 10:21:38 pm »
Hy

i nearlly spent hours by playing with the .ufo-files, also created some new campaings.

I know want to know, if it is possible to modify the time-units or health of the soldier?

Is character_data what i am searching for?
I tried the example-code

character_data {
   TEAM_PHALANX EMPL_SOLDIER skill 15 100
   TEAM_PHALANX EMPL_SOLDIER ability 15 100
   TEAM_ALIEN EMPL_SOLDIER skill 65 100
   TEAM_ALIEN EMPL_SOLDIER ability 55 100
}

but if I do so, the campaign is not listed.

Instead, if I try
   character_data {
      TEAM_PHALANX EMPL_SOLDIER skill 99 100
   }

the campaing is listed.

how i am able to modify the number of time units a soldier gots?

Offline BTAxis

  • Administrator
  • PHALANX Commander
  • *******
  • Posts: 2607
    • View Profile
Re: Modify Time Units and Health
« Reply #1 on: February 21, 2009, 10:41:07 pm »
Sorry, it's not possible to do this with scripts. TUs are equal to the soldier's speed parameter, and all soldier (and enemy) stats are generated in the code.