浏览代码

Traduction française.

Alexandre NOEL 1 月之前
父节点
当前提交
17d391a0a7
共有 1 个文件被更改,包括 78 次插入92 次删除
  1. 78 92
      npc/battleground/kvm/kvm02.txt

+ 78 - 92
npc/battleground/kvm/kvm02.txt

@@ -1,27 +1,28 @@
 //===== rAthena Script =======================================
 //= BattleGround System - KvM 1-59
+//= Traduit par OverSu et Liara
 //===== Description: =========================================
-//= [Official Conversion]
-//= Kreiger Von Midgard Battleground for levels 1 to 59
-//= - Winning Team: 1 point
-//= - Losing Team: 0 point
+//= [Conversion Officielle]
+//= Champs de bataille Kreiger Von Midgard pour les niveaux 1 à 59
+//= - Équipe gagnante : 1 point
+//= - Équipe perdante : 0 point
 //===== Changelogs: ==========================================
-//= 1.0 First Version. [L0ne_W0lf]
-//= 1.1 Updated using official Aegis files. [L0ne_W0lf]
-//= 1.2 Upated some announces and dialogs from iRO.
-//=     Changed how the scoreboard works slightly.
-//=     Removed the areapercentheals, and minor things.
-//= 1.3 Fixed wrong names for disablenpc/enablenpc. [Ai4rei]
-//=     Fixed points in text and actual points differing.
-//= 1.4 Added battle_config checks to allow this script to use the new queue interface or the previous method. [Aleos]
+//= 1.0 Première version. [L0ne_W0lf]
+//= 1.1 Mise à jour via fichiers Aegis officiels. [L0ne_W0lf]
+//= 1.2 Mises à jour des annonces et dialogues depuis iRO.
+//=     Ajustement du fonctionnement du tableau des scores.
+//=     Suppression des soins de zone, et divers détails.
+//= 1.3 Corrections des noms erronés pour disable/enablenpc. [Ai4rei]
+//=     Correction des points affichés vs points réellement reçus.
+//= 1.4 Ajout de vérification battle_config pour supporter l'interface de file d’attente ou la méthode classique. [Aleos]
 //============================================================
 
-// Waiting Room NPCs
+// NPCs de salle d'attente
 //============================================================
 bat_room,197,226,5	script	KVM Waiting Room#a2::KvM02R_Guillaume	418,{
 	end;
 OnInit:
-	waitingroom "Battle Station 5 Players",6,"KvM02_BG_Out::OnGuillaumeJoin",1;
+	waitingroom "Station de combat - 5 joueurs",6,"KvM02_BG_Out::OnGuillaumeJoin",1;
 	end;
 OnEnterBG:
 	set $@KvM02BG_id1, waitingroom2bg("bat_c02",52,129,"KvM02_BG::OnGuillaumeQuit","KvM02_BG::OnGuillaumeDie");
@@ -31,7 +32,7 @@ OnEnterBG:
 bat_room,197,205,3	script	KVM Waiting Room#b2::KvM02R_Croix	414,{
 	end;
 OnInit:
-	waitingroom "Battle Station 5 Players",6,"KvM02_BG_Out::OnCroixJoin",1;
+	waitingroom "Station de combat - 5 joueurs",6,"KvM02_BG_Out::OnCroixJoin",1;
 	end;
 OnEnterBG:
 	set $@KvM02BG_id2, waitingroom2bg("bat_c02",147,55,"KvM02_BG::OnCroixQuit","KvM02_BG::OnCroixDie");
@@ -41,7 +42,7 @@ OnEnterBG:
 bat_room,197,220,0	warp2	#kvm601	2,2,bat_room,154,150
 bat_room,197,21,0	warp2	#kvm602	2,2,bat_room,154,150
 
-// Starting Line
+// Lignes de départ
 //============================================================
 -	script	KVM02::CellEffect2	-1,{
 	end;
@@ -105,7 +106,8 @@ OnTouch:
 	end;
 }
 
-// Battleground Engine
+
+// Système du champ de bataille (suite)
 //============================================================
 -	script	KvM02_BG	-1,{
 	end;
@@ -125,17 +127,17 @@ OnInit:
 OnGuillaumeQuit:
 	if (getbattleflag("feature.bgqueue"))
 		bg_desert;
-//	else
-//		set BG_Delay_Tick, gettimetick(2) + 1200;
+	end;
+
 OnGuillaumeDie:
-	if( $@KvM02BG == 2 )
-	{
+	if( $@KvM02BG == 2 ) {
 		set .Guillaume_Count, .Guillaume_Count - 1;
 		bg_updatescore "bat_c02",.Guillaume_Count,.Croix_Count;
-		if( .Guillaume_Count < 1 ) donpcevent "KvM02_BG::OnCroixWin";
+		if( .Guillaume_Count < 1 )
+			donpcevent "KvM02_BG::OnCroixWin";
 		else {
-			mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
-			mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+			mapannounce "bat_c02", "Il reste "+.Guillaume_Count+" soldats dans les rangs de Guillaume.",bc_map,"0x00ff00";
+			mapannounce "bat_c02", "Il reste "+.Croix_Count+" soldats dans les rangs de Croix.",bc_map,"0x00ff00";
 		}
 	}
 	end;
@@ -143,17 +145,17 @@ OnGuillaumeDie:
 OnCroixQuit:
 	if (getbattleflag("feature.bgqueue"))
 		bg_desert;
-//	else
-//		set BG_Delay_Tick, gettimetick(2) + 1200;
+	end;
+
 OnCroixDie:
-	if( $@KvM02BG == 2 )
-	{
+	if( $@KvM02BG == 2 ) {
 		set .Croix_Count, .Croix_Count - 1;
 		bg_updatescore "bat_c02",.Guillaume_Count,.Croix_Count;
-		if( .Croix_Count < 1 ) donpcevent "KvM02_BG::OnGuillaumeWin";
+		if( .Croix_Count < 1 )
+			donpcevent "KvM02_BG::OnGuillaumeWin";
 		else {
-			mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
-			mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
+			mapannounce "bat_c02", "Il reste "+.Guillaume_Count+" soldats dans les rangs de Guillaume.",bc_map,"0x00ff00";
+			mapannounce "bat_c02", "Il reste "+.Croix_Count+" soldats dans les rangs de Croix.",bc_map,"0x00ff00";
 		}
 	}
 	end;
@@ -170,23 +172,22 @@ OnStart:
 	disablenpc "KVM Officer#KVM02A";
 	disablenpc "KVM Officer#KVM02B";
 	set $@KvM02BG_Victory, 0;
-	// Warp Teams
 	bg_warp $@KvM02BG_id1,"bat_c02",53,128;
 	bg_warp $@KvM02BG_id2,"bat_c02",146,55;
 	initnpctimer;
 	end;
 
 OnTimer1000:
-	mapannounce "bat_c02", "In 1 minute, KVM will start.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "La bataille de KvM commence dans 1 minute.",bc_map,"0x00ff00";
 	end;
 
 OnTimer3000:
-	mapannounce "bat_c02", "The maximum time for a KVM battle is 5 minutes.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Temps maximum pour la bataille : 5 minutes.",bc_map,"0x00ff00";
 	end;
 
 OnTimer6000:
-	mapannounce "bat_c02", "Please prepare for the KVM battle.",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "You can buff your people.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Préparez-vous pour le combat !",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Profitez-en pour lancer vos buffs !",bc_map,"0x00ff00";
 	donpcevent "#A_camp_start02::OnEnable";
 	donpcevent "#B_camp_start02::OnEnable";
 	end;
@@ -197,31 +198,30 @@ OnTimer13000:
 	end;
 
 OnTimer30000:
-	mapannounce "bat_c02", "30 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Début de la bataille dans 30 secondes.",bc_map,"0x00ff00";
 	end;
 
 OnTimer45000:
-	mapannounce "bat_c02", "15 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "15 secondes restantes !",bc_map,"0x00ff00";
 	donpcevent "::OnKvM02One";
 	end;
 
 OnTimer50000:
-	mapannounce "bat_c02", "10 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "10 secondes restantes !",bc_map,"0x00ff00";
 	donpcevent "::OnKvM02Two";
 	end;
 
 OnTimer55000:
-	mapannounce "bat_c02", "5 seconds remaining to start KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "5 secondes restantes !",bc_map,"0x00ff00";
 	donpcevent "::OnKvM02One";
 	end;
 
 OnTimer59000:
-	mapannounce "bat_c02", "KVM is now commencing.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Le KvM commence maintenant !",bc_map,"0x00ff00";
 	donpcevent "::OnKvM02Two";
 	end;
 
 OnTimer61000:
-	// Team Members
 	set .Guillaume_Count, bg_get_data($@KvM02BG_id1, 0);
 	set .Croix_Count, bg_get_data($@KvM02BG_id2, 0);
 
@@ -229,51 +229,51 @@ OnTimer61000:
 		if (.Guillaume_Count < 5 || .Croix_Count < 5) {
 			set $@KvM02BG_Victory, 3;
 			set $@KvM02BG, 3;
-			mapannounce "bat_c02","There are not enough players to start the battle",1,0x808080;
+			mapannounce "bat_c02", "Pas assez de joueurs pour démarrer la bataille.",1,0x808080;
 			stopnpctimer;
 			donpcevent "KvM02_BG::OnStop";
 			end;
 		}
 	}
 	bg_updatescore "bat_c02",.Guillaume_Count,.Croix_Count;
-	set $@KvM02BG, 2; // Playing
+	set $@KvM02BG, 2;
 	bg_warp $@KvM02BG_id1,"bat_c02",62,119;
 	bg_warp $@KvM02BG_id2,"bat_c02",137,64;
 	end;
 
+
 OnTimer300000:
-	mapannounce "bat_c02", "1 minute remaining to finish the KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Il reste 1 minute avant la fin de la bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer330000:
-	mapannounce "bat_c02", "30 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Il reste 30 secondes avant la fin de la bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer345000:
-	mapannounce "bat_c02", "15 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Il reste 15 secondes avant la fin de la bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer350000:
-	mapannounce "bat_c02", "10 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Il reste 10 secondes avant la fin de la bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer355000:
-	mapannounce "bat_c02", "5 seconds remaining to finish the KVM battle.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Il reste 5 secondes avant la fin de la bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer360000:
-	mapannounce "bat_c02", "The KVM battle is over.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "La bataille de KvM est terminée !",bc_map,"0x00ff00";
 	if( .Croix_Count > .Guillaume_Count )
 		donpcevent "KvM02_BG::OnCroixWin";
 	else if( .Croix_Count < .Guillaume_Count )
 		donpcevent "KvM02_BG::OnGuillaumeWin";
-	else
-	{ // Draw Game
+	else {
 		set $@KvM02BG, 3;
 		set $@KvM02BG_Victory, 3;
-		mapannounce "bat_c02", "The number of Guillaumes is "+.Guillaume_Count+".",bc_map,"0x00ff00";
-		mapannounce "bat_c02", "The number of Croixes is "+.Croix_Count+".",bc_map,"0x00ff00";
-		mapannounce "bat_c02", "This battle has ended in a draw.",bc_map,"0x00ff00";
+		mapannounce "bat_c02", "Guillaumes restants : "+.Guillaume_Count+".",bc_map,"0x00ff00";
+		mapannounce "bat_c02", "Croix restants : "+.Croix_Count+".",bc_map,"0x00ff00";
+		mapannounce "bat_c02", "Cette bataille se termine sur une égalité.",bc_map,"0x00ff00";
 		donpcevent "KvM02_BG::OnStop";
 	}
 	end;
@@ -281,18 +281,18 @@ OnTimer360000:
 OnGuillaumeWin:
 	set $@KvM02BG, 3;
 	set $@KvM02BG_Victory, 1;
-	mapannounce "bat_c02", "Guillaume wins!",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "Congratulations to Guillaume members.",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Victoire de Guillaume !",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Félicitations à tous les combattants de Guillaume.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Tout le monde va être téléporté au point de départ.",bc_map,"0x00ff00";
 	donpcevent "KvM02_BG::OnStop";
 	end;
 
 OnCroixWin:
 	set $@KvM02BG, 3;
 	set $@KvM02BG_Victory, 2;
-	mapannounce "bat_c02", "Croix wins!",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "Congratulations to Croix members.",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "Everyone will be moved to the start point.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Victoire de Croix !",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Félicitations à tous les combattants de Croix.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Tout le monde va être téléporté au point de départ.",bc_map,"0x00ff00";
 	donpcevent "KvM02_BG::OnStop";
 	end;
 
@@ -300,7 +300,6 @@ OnStop:
 	stopnpctimer;
 	enablenpc "KVM Officer#KVM02A";
 	enablenpc "KVM Officer#KVM02B";
-	// Warp Teams
 	bg_warp $@KvM02BG_id1,"bat_c02",53,128;
 	bg_warp $@KvM02BG_id2,"bat_c02",146,55;
 	donpcevent "KvM02_BG_Out::OnBegin";
@@ -309,6 +308,8 @@ OnStop:
 	end;
 }
 
+// Sortie de champ de bataille
+//============================================================
 -	script	KvM02_BG_Out	-1,{
 	end;
 
@@ -317,21 +318,21 @@ OnBegin:
 	end;
 
 OnTimer1000:
-	mapannounce "bat_c02", "Please apply with the Officer to acquire KVM points.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Parlez à l'officier pour recevoir vos points KvM.",bc_map,"0x00ff00";
 	end;
 
 OnTimer3000:
-	mapannounce "bat_c02", "The Officer will grant you the points for 30 seconds.",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "In 30 seconds, the Officer will be sent away.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "L'officier vous remettra les points pendant 30 secondes.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Dans 30 secondes, il quittera le champ de bataille.",bc_map,"0x00ff00";
 	end;
 
 OnTimer5000:
-	mapannounce "bat_c02", "Unless you talk to the Officer, you cannot gain the points.",bc_map,"0x00ff00";
-	mapannounce "bat_c02", "Please be careful.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Sans parler à l'officier, vous ne recevrez aucun point !",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Soyez prudent, soldat.",bc_map,"0x00ff00";
 	end;
 
 OnTimer55000:
-	mapannounce "bat_c02", "You will be sent back.",bc_map,"0x00ff00";
+	mapannounce "bat_c02", "Retour imminent à la salle d’attente...",bc_map,"0x00ff00";
 	end;
 
 OnTimer60000:
@@ -361,29 +362,28 @@ OnCroixJoin:
 	if( .@Guillaume < 5 || .@Croix < 5 )
 		end;
 
-	set $@KvM02BG, 1; // Starting
+	set $@KvM02BG, 1; // Lancement en cours
 	donpcevent "KvM02R_Croix::OnEnterBG";
 	donpcevent "KvM02R_Guillaume::OnEnterBG";
 	donpcevent "KvM02_BG::OnStart";
 	end;
 }
-
-// Battleground rewards
+// Récompenses de champ de bataille
 //============================================================
 bat_c02,51,130,5	script	KVM Officer#KVM02A	419,{
 	if( $@KvM02BG_Victory ) {
-		mes "[KVM Officer]";
+		mes "[Officier KvM]";
 		if( $@KvM02BG_Victory == Bat_Team ) {
-			mes "Good Game.";
-			mes "May the glory of KVM be with you.";
-			mes "You aquire the winning points: 1";
+			mes "Belle performance, camarade !";
+			mes "Que l’honneur de la KvM t’accompagne.";
+			mes "Tu remportes les points de la victoire : ^0055FF1 point^000000.";
 			close2;
 			set kvm_point,kvm_point + 1;
 		}
 		else {
-			mes "I am so sorry.";
-			mes "I wish you better luck next time.";
-			mes "You aquire the losing points: 0";
+			mes "Ah... Le destin n'était pas en ta faveur.";
+			mes "Reprends des forces, et reviens plus fort.";
+			mes "Pas de points cette fois, mais le courage ne se mesure pas toujours en chiffres.";
 			close2;
 		}
 		bg_leave;
@@ -394,17 +394,3 @@ bat_c02,51,130,5	script	KVM Officer#KVM02A	419,{
 	end;
 }
 bat_c02,148,53,1	duplicate(KVM Officer#KVM02A)	KVM Officer#KVM02B	415
-
-// BG Queue makes these scripts useless
--	script	BGQueueInit#kvm02	-1,{
-	end;
-
-OnInit:
-	if (getbattleflag("feature.bgqueue")) {
-		unloadnpc "KvM02R_Guillaume";
-		unloadnpc "KvM02R_Croix";
-		unloadnpc "#kvm601";
-		unloadnpc "#kvm602";
-	}
-	end;
-}