project-navigation
Personal tools

Author Topic: Hospital  (Read 4264 times)

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Hospital
« on: June 23, 2009, 11:41:04 pm »
Weird text in hospital screen on soldiers.

Obs: R24808

[attachment deleted by admin]

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Hospital
« Reply #1 on: June 24, 2009, 01:06:21 am »
Weird text in hospital screen on soldiers.

Obs: R24808

Empty strings. If you see such weird stuff empty strings are (tried to be) translated... As I see it's rank string. I saw warnings about ranks in another topic but I don't experience such a problem. Odie can you check your build?

-geever

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: Hospital
« Reply #2 on: June 24, 2009, 03:53:31 am »
Actually this is not odie's buil. My own compile. Only happened to me once and 2 of my soldiers where rookies and promoted to riflemen on this same mission (dunno if the same ones). Never seen it again, though.

Offline geever

  • Project Coder
  • PHALANX Commander
  • ***
  • Posts: 2561
    • View Profile
Re: Hospital
« Reply #3 on: June 24, 2009, 12:23:15 pm »
Actually this is not odie's buil. My own compile. Only happened to me once and 2 of my soldiers where rookies and promoted to riflemen on this same mission (dunno if the same ones). Never seen it again, though.

Sorry then. Maybe an issue with the packaging / installer build scripts then. Could you check your medals.ufo file? If it's in the correct place if it have the rank names "_Rifleman" and so?

-geever

Offline Another Guy

  • Squad Leader
  • ****
  • Posts: 239
    • View Profile
Re: Hospital
« Reply #4 on: June 24, 2009, 06:55:52 pm »
Well, all files I got straigh from SVN and did'nt changed them. I'll atach it just in case (renamed as .txt so forum will accept it).

However, I've noticed that when u hire any soldier, soldeir's rank is stated as "rifleman", but after first mission, the rookie strangely gets "promoted" to "riflemen" (wasn't he already a riflemen?). Makes me think just hired rokies have no rank at all before first mission. Maybe introducion a new rank "rookie" would solve this issue, as all hired soldiers with no missions would get a rank right from the begining (before any mission) or just assign the riflemen rank to all not yet hired soldiers.

Obs: No, I checked. the 2 rookies from that mission where not the same ones in hospital.
Obs 2: Even playing the exact same compile with no SVN updates, this never happened again.

[attachment deleted by admin]

odie

  • Guest
Re: Hospital
« Reply #5 on: June 26, 2009, 02:12:56 pm »
Empty strings. If you see such weird stuff empty strings are (tried to be) translated... As I see it's rank string. I saw warnings about ranks in another topic but I don't experience such a problem. Odie can you check your build?

-geever

Hmmmm....

I checked my rank file,
Code: [Select]
medal cross
{
name "_Cross"
image ""
}

medal coin
{
name "_Coin"
image ""
}

//=======================
// RANKS
//
// !!Higher ranks last!!
//
// mind
// Minimum "mind" value the soldier needs.
// killed_enemies
// Minimum number of _enemies_ killed by the soldier.
// killed_others
// Maximum number of killed _civilian_ targets or _own soldiers_ killed by the soldier.
// type
//  employeeType_t
//=======================

rank scientist
{
name "_Scientist"
image "ranks/rank_scientist"
type EMPL_SCIENTIST
factor 0.2
}

rank pilot
{
name "_Pilot"
image "ranks/rank_01"
type EMPL_PILOT
factor 0.2
}

rank ugv
{
name "_UGV"
image "ranks/ugv"
type EMPL_ROBOT
factor 0.6
}

rank worker
{
name "_Worker"
image "ranks/rank_worker"
type EMPL_WORKER
factor 0.2
}

rank rifleman
{
name "_Rifleman"
shortname "_Rfn"
image "ranks/rank_01"
type EMPL_SOLDIER
factor 0.4
}

rank lancecorp
{
name "_Lance-Corporal"
shortname "_LCpl"
image "ranks/rank_02"
mind 50
killed_enemies 3
killed_others 3
type EMPL_SOLDIER
factor 0.4
}

rank corporal
{
name "_Corporal"
shortname "_Cpl"
image "ranks/rank_03"
mind 55
killed_enemies 5
killed_others 5
type EMPL_SOLDIER
factor 0.5
}

rank sergeant
{
name "_Sergeant"
shortname "_Sgt"
image "ranks/rank_04"
mind 60
killed_enemies 10
killed_others 7
type EMPL_SOLDIER
factor 0.5
}

rank warrant
{
name "_Warrant Officer"
shortname "_WO"
image "ranks/rank_05"
mind 65
killed_enemies 18
killed_others 7
type EMPL_SOLDIER
factor 0.5
}

rank senwarrant
{
name "_Senior Warrant Officer"
shortname "_SWO"
image "ranks/rank_06"
mind 70
killed_enemies 25
type EMPL_SOLDIER
factor 0.6
}

rank seclieut
{
name "_Second Lieutenant"
shortname "_2Lt"
image "ranks/rank_07"
mind 75
killed_enemies 32
type EMPL_SOLDIER
factor 0.6
}

rank lieut
{
name "_Lieutenant"
shortname "_Lt"
image "ranks/rank_08"
mind 80
killed_enemies 38
type EMPL_SOLDIER
factor 0.6
}

rank captain
{
name "_Captain"
shortname "_Capt"
image "ranks/rank_09"
mind 85
killed_enemies 45
type EMPL_SOLDIER
factor 0.7
}

rank major
{
name "_Major"
shortname "_Maj"
image "ranks/rank_10"
mind 90
killed_enemies 55
type EMPL_SOLDIER
factor 0.7
}

rank ltcol
{
name "_Lieutenant-Colonel"
shortname "_Lt Col"
image "ranks/rank_11"
mind 95
killed_enemies 60
type EMPL_SOLDIER
factor 0.8
}

rank col
{
name "_Colonel"
shortname "_Col"
image "ranks/rank_12"
mind 100
killed_enemies 70
type EMPL_SOLDIER
factor 0.9
}

It seemed aok to me.
Same as his file.

As for the issue he faced.... let me go home with today's latest built and see if its the same. :D

For the records, i did not see this in well, 2 wk's ago's built (where i last try looking at the hosp.... i rarer than rarely have ppl hurt.....)

PS: Anyone can tell me how to get hurt w/o getting killed for sure? i have such a bad knack to kill before being shot...... (And if i am surprised, i am dead. lol)