again statistics

For bug reports and fixes, installation issues, and new ideas for technical features.

Moderator: SEOW Developers

IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi gross,

Tonight I will send you the files for an Italian translation, and I will send Quax the files for a German translation. Pavel, are you interested in doing a Spanish translation? And Jager - Finnish?

Here is the list of translators:

Dore: French
gross: Italian
Quax: German
Pavel: Spanish??
Jager: Finnish??

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Language packs sent. I have already got PA_Dore's "Francais" language pack back. This is nice!

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
=69.GIAP=PAVEL
Posts: 22
Joined: Fri 12 Jan 2007 5:17 am
Location: Girona - SPAIN

Post by =69.GIAP=PAVEL »

IV/JG7_4Shades wrote:
Pavel: Spanish??
Of course, you don't have to ask, just send it to me.

S!
Image
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Wow, everyone is being quick. Quax has finished his German language pack too.

Thanks Pavel, much appreciated. Paddington and Jager are on the Finnish translation, and Gross is on the Italian translation ... Anyone else interested in other languages, Cmirko?

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
102nd-HR-cmirko
Posts: 179
Joined: Tue 16 Jan 2007 8:29 am
Contact:

Post by 102nd-HR-cmirko »

would not really be a problem for me to do the translation to Serbo-Croatian - although i really don't see the point of it - most of my squad understands english well enough and i don't know of any other group from former yugoslavia which would benefit from the translation :)

still, why not ? :) send me the files to my email and i'll try to translate them by the end of week....

S!
Jager
Posts: 25
Joined: Fri 12 Jan 2007 7:28 pm
Location: Finland
Contact:

Post by Jager »

Ok,finnish translation on the move,first version sended to Paddington yesterday.Hopefully he has some time to check it out and to correct my mistakes...
102nd-YU-VUK
Posts: 11
Joined: Sat 05 May 2007 9:12 am
Contact:

Post by 102nd-YU-VUK »

Is it nedeed Balkan language pack (serbian, croatian) well ofcourse this are similar languages so I can translate it to serbian and later someone will adjust to croatian if feel necesery.
only I need is files :D
"Ako misliš pobediti ne smeš izgubiti."
"Neprijatelj koga poznajete, je ujedno i onaj protiv koga se možete i braniti."
Image
102nd-HR-cmirko
Posts: 179
Joined: Tue 16 Jan 2007 8:29 am
Contact:

Post by 102nd-HR-cmirko »

will send the files today to 4Shades :)
102nd-HR-cmirko
Posts: 179
Joined: Tue 16 Jan 2007 8:29 am
Contact:

Post by 102nd-HR-cmirko »

mail sent :) - my first try to translate "terms of stats" on serbo-croatian - although i always think in english on these :D

would like to see them on web before actual language pack release :)


S!
22GCT_Gross
Posts: 302
Joined: Fri 13 Apr 2007 1:13 pm
Location: Italy

Post by 22GCT_Gross »

22GCT_Gross
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

I like it. :)

It is also nice to see that an Allied "GAZ Truck + 4x7.62mm" actually deserted at the end of the last mission. 8)

Cheers,
4S (still on holiday in the wilderness)
IV/JG7_4Shades
SEOW Developer

Image
Jager
Posts: 25
Joined: Fri 12 Jan 2007 7:28 pm
Location: Finland
Contact:

Ranks or Pilot Rating?

Post by Jager »

As we have been translating the finnish version i had an idea with "pilot rating" word.

Would it be possible to add more options to "ratings" as now it has just 4 ratings?
Now:
  • Rookie
    Average
    Veteran
    Ace
After:
  • Private =Rookie
    Corporal
    Sergeant =Average
    2nd Lieutenant
    Lieutenant =Veteran
    Captain
    Major =Ace
    Colonel
Some Finnish Airforce ranks...
*= what we tried in translation.

Or would it be possible to Campaign Host or Commander to give pilots a rank somehow, this could be an optional option if you wanted to use it?
IV/JG7_4Shades
Posts: 2202
Joined: Mon 08 Jan 2007 11:10 pm
Location: Perth, Western Australia

Post by IV/JG7_4Shades »

Hi Jager,

The Pilot Rating is governed by the following function in Statistics/stats_functions.php:

Code: Select all

//Algorithm for the pilot rating.
function Pilot_Rating($Sorties,$AK,$SK,$IK,$KIAMIA) {
 	extract($GLOBALS);
 
 	if ($Sorties < 3) {return LL($L->screen->PilotDetails->skill0);}
 
 
 	$simpleRating = Floor((3*$AK+$SK+$IK)/$Sorties - $KIAMIA);
 
 	if ($simpleRating < 0) {
 		return LL($L->screen->PilotDetails->skill0);
 	}
 	else if ($simpleRating == 0) {
 		return LL($L->screen->PilotDetails->skill1);
 	}
 	else if ($simpleRating == 1) {
 		return LL($L->screen->PilotDetails->skill2);
	}
 	else if ($simpleRating >= 2 && ($AK > 5 || $SK+$IK > 15)) {
 		return LL($L->screen->PilotDetails->skill3);
 	}
 	else {
 		return LL($L->screen->PilotDetails->skill2);
 	}
 
 	return LL($L->screen->PilotDetails->skill0);
 
}
The $LL object used above is the XML object that contains the UTF8 language data for the Statistics Language selected (in the impending MP release). So you can see that you can define ANY ranking structure you like for the Statistics engine merely by re-writing the above function, and re-writing the Language pack structureto fit.

Presently the Pilot Rating is simply a function of the number of sorties flown, the numbers of air, surface, infrastructure kills, and the number of KIA+MIA.

If you have some ideas regarding commander-assignation of ranks to pilots, please discuss in detail. I don't follow what you are suggesting.

Cheers,
4Shades
IV/JG7_4Shades
SEOW Developer

Image
Jager
Posts: 25
Joined: Fri 12 Jan 2007 7:28 pm
Location: Finland
Contact:

Post by Jager »

That simple :lol:

Bit busy with christmas preparations,but i'l try to "dress" my idea to something...
22GCT_Gross
Posts: 302
Joined: Fri 13 Apr 2007 1:13 pm
Location: Italy

Post by 22GCT_Gross »

hi 4S,
Gross Score calculation seems to work wrong in v1.86.

compare:
http://85.14.219.109/ScorchedEarth/MP4/ ... tor=Crimea
with
http://85.14.219.109/ScorchedEarth/MP4/ ... tor=Crimea

then look at pilot details, where single $values are printed
22GCT_Gross
Post Reply