Ediwiki

Wiki officiel de l'éditeur de carte du jeu Slayers Online

Outils pour utilisateurs

Outils du site


tutoriaux:ystorsa

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
tutoriaux:ystorsa [2010/06/08 22:41] ystorsatutoriaux:ystorsa [2010/06/09 10:55] (Version actuelle) – effacée ystorsa
Ligne 1: Ligne 1:
-====== Les évènements courants simple ====== 
- 
-Dans ce grand tutoriel, vous trouverez tout les évènements qui ont rapport au arène, au joueur et aussi a l'environnement. 
- 
- 
- 
- 
- 
-===== Panneau de guilde modifiable ===== 
- 
-<html><center><u><b># Évènement Maitre #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez-vous faire?','Ajouter un message','Tout effacer','Rien') 
-OnResultQuery('Rien') 
-OnResultQuery('Tout effacer') 
-Serveur[GuildeTestPanneauAffichage]= 
-Message('Voilà, c'est fait !) 
-OnResultQuery('Ajouter un message') 
-Serveur[GuildeTestPanneauAffichage]=Concat(' Message de %Name% : InputString('Veuillez mettre votre message')') 
-Message('Voilà, c'est fait !') 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%!=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Message('Vous n'avez pas accès au panneau d'affichage.') 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b># Évènement automatique (Le panneau par exemple) #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Condition('Serveur[GuildeTestPanneauAffichage]!=0') 
-Message('Serveur[GuildeTestPanneauAffichage]') 
-Condition('Serveur[GuildeTestPanneauAffichage]=0') 
-Message('Il n'y a rien d'écrit.') 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
- 
- 
- 
- 
-===== L'anti-Chevauchement ===== 
- 
- 
-<html><center><u><b># Évènement Maître #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez vous faire ?','Gerer le chevauchement','Rien') 
-OnResultQuery('Gerer le chevauchement') 
-Variable[13]=1 
-OnResultQuery('Rien') 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b># Évènement a placer a coté de l'évènement maître #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Variable[13]=1 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Condition('Serveur[Test_Chevauchement]=1') 
-Message('Anti-chevauchement activé') 
-InputQuery('Que faire?','Rien','Activer','Desactiver') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Activer') 
-Serveur[Test_Chevauchement]=1 
-Variable[13]=0 
-OnResultQuery('Desactiver') 
-Serveur[Test_Chevauchement]=0 
-Variable[13]=0 
-QueryEnd 
-Condition('Serveur[Test_Chevauchement]=0') 
-Message('Anti-chevauchement desactivé') 
-InputQuery('Que faire?','Rien','Activer','Desactiver') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Activer') 
-Serveur[Test_Chevauchement]=1 
-Variable[13]=0 
-OnResultQuery('Desactiver') 
-Serveur[Test_Chevauchement]=0 
-Variable[13]=0 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b># Évènement a mettre dans l'arène #</b></u></center></htm 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Serveur[Test_Chevauchement]=1 
-%CaseX%>=5 
-%CaseX%<=24 
-%CaseY%>=13 
-%CaseY%<=28 
-%BloqueChevauchement%=0 
-Variable[64]=0 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-%BloqueChevauchement%=1 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Serveur[Test_Chevauchement]=1 
-%CaseX%>=5 
-%CaseX%<=24 
-%CaseY%>=13 
-%CaseY%<=28 
-%BloqueChevauchement%=1 
-Variable[64]=0 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-%BloqueChevauchement%=0 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 3</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
- 
- 
-===== Le Gicleur ===== 
- 
- 
-<html><center><u><b># Évènement Maître #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez vous faire ?','Gerer le gicleur','Rien') 
-OnResultQuery('Gerer le gicleur') 
-Variable[13]=1 
-OnResultQuery('Rien') 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b># Évènement a placer a coté de l'évènement maître #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Variable[13]=1 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Condition('Serveur[Test_Dehors]=0') 
-InputQuery('Que faire?','Rien','Gicler une personne','Gicler tout le monde','Stopper') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Gicler tout le monde') 
-Serveur[Test_Dehors]=1 
-Variable[13]=0 
-OnResultQuery('Gicler une personne') 
-Serveur[Test_Dehors]=InputString('Ecrivez le nom du joueur') 
-Variable[13]=0 
-OnResultQuery('Stopper') 
-Serveur[Test_Dehors]=0 
-Variable[13]=0 
-QueryEnd 
-Condition('Serveur[Test_Dehors]=1') 
-Message('Gicleur activé, Cible : Tout le monde') 
-InputQuery('Que faire?','Rien','Gicler une personne','Gicler tout le monde','Stopper') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Gicler tout le monde') 
-Serveur[Test_Dehors]=1 
-Variable[13]=0 
-OnResultQuery('Gicler une personne') 
-Serveur[Test_Dehors]=InputString('Ecrivez le nom du joueur') 
-Variable[13]=0 
-OnResultQuery('Stopper') 
-Serveur[Test_Dehors]=0 
-Variable[13]=0 
-QueryEnd 
-Condition('Serveur[Test_Dehors]>1') 
-Message('Gicleur activé, Cible : Serveur[Test_Dehors]') 
-InputQuery('Que faire?','Rien','Gicler une personne','Gicler tout le monde','Stopper') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Gicler tout le monde') 
-Serveur[Test_Dehors]=1 
-Variable[13]=0 
-OnResultQuery('Gicler une personne') 
-Serveur[Test_Dehors]=InputString('Ecrivez le nom du joueur') 
-Variable[13]=0 
-OnResultQuery('Stopper') 
-Serveur[Test_Dehors]=0 
-Variable[13]=0 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b># Évènement a mettre dans l'arène #</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Serveur[Test_Dehors]=1 
-%CaseX%>=5 
-%CaseX%<=24 
-%CaseY%>=13 
-%CaseY%<=28 
-Variable[64]=0 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Teleport(Maison Test Arène,XX,YY) 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Serveur[Test_Dehors]>1 
-%CaseX%>=5 
-%CaseX%<=24 
-%CaseY%>=13 
-%CaseY%<=28 
-%Name%=Serveur[Test_Dehors] 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Teleport(Maison Test Arène,XX,YY) 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 3</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table></center> 
-</html> 
- 
- 
- 
-===== Bloquer un accès activable/désactivable par un joueur/guilde ===== 
- 
-<html><u><center><b>~ Évènement Maître ~</b></center></u></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez vous faire ?','Bloquer l'accès à cette pièces','Débloquer l'accès à cette pièce','Rien') 
-OnResultQuery('Rien') 
-OnResultQuery('Bloquer l'accès à cette pièce') 
-Serveur[BloquagePièce]=1 
-OnResultQuery('Débloquer l'accès à cette pièce') 
-Serveur[BloquagePièce]=0 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b>~ Évènement à placer dans la pièce ~</b></u></center></html> 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Serveur[BloquagePièce]=1 
-En contact 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Message('L'accès à cette pièce est momentanément fermé') 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Serveur[BloquagePièce]=0 
-En contact 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Teleport('nom de la map,coordonée') 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
- 
- 
-===== Mettre des anticoins dans la pièce ===== 
- 
-<html><center><u><b>~ Évènement Maître ~</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-%Guilde%=Test 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez vous faire ?','Gerer les antis coins','Rien') 
-OnResultQuery('Rien') 
-OnResultQuery('Gerer les antis coins') 
-Variable[13]=1 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html><center><u><b>~ Évènement à placer à côté de l'évènement de maître ~</b></u></center></html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Automatique 
-Variable[13]=1 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que faire?','Rien','Activer','Desactiver') 
-OnResultQuery('Rien') 
-Variable[13]=0 
-OnResultQuery('Activer') 
-Serveur[Test_Coins]=1 
-Variable[13]=0 
-OnResultQuery('Desactiver') 
-Serveur[Test_Coins]=0 
-Variable[13]=0 
-QueryEnd 
-</TEXTAREA></td> 
-</tr> 
-</table> 
-</html> 
-<html><center><u><b>~ Évènement à placer dans l'arène ~</b></u></center></html> 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Serveur[Test_Coins]=1 
-En contact 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-%Vie%=%Vie%/2 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 2</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Rien 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
- 
- 
-===== Mettre un effet particulier sur une map ===== 
- 
-Avec cette méthode, vous pouvez modifier **l'effet** de la map grâce à un **Pnj**. 
- 
-<html> 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left>Page 1</th></tr> 
-<tr><td><b>Conditions d'événements</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=70> 
-Appuie sur bouton 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=70> 
-InputQuery('Que voulez-vous mettre comme effet sur la map ?','Nuit','Chaleur','Pluie','Neige','Rien') 
-OnResultQuery('Nuit') 
-%Effect%=2 
-OnResultQuery('Chaleur') 
-%Effect%=3 
-OnResultQuery('Pluie') 
-%Effect%=4 
-OnResultQuery('Neige') 
-%Effect%=5 
-OnResultQuery('Rien') 
-%Effect%=0 
-QueryEnd 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-</html> 
- 
- 
-=====Event des piques===== 
- 
- 
-====Event normal==== 
- 
- 
-<html> 
-Nous allons voir ici comment faire un event avec des piques qui rentrent et sortent du sol. Pour cela, nous allons utiliser un booléen et faire changer sa valeur toutes les x secondes (je le rappelle, un booléen peut avoir 0 ou 1 comme valeur, si vous avez du mal je vous conseille de lire ou de relire le tutorial de <a href=http://ediwiki.slayersonline.net/doku.php?id=tutoriaux:variables>Vanivan</a>). On va ensuite attribuer un état à chacune des valeurs possibles, à savoir, quand le booléen est à 0 alors les piques sont dans le sol et quand le booléen est à 1 les piques sortent du sol.  
-<br/> 
-Commençons donc par créer un event pour faire changer à un rythme régulier la valeur de notre booléen (dans cet exemple j'ai choisi le Bool[1] car il est public: vous pouvez l'utiliser à condition de le remettre à 0 lorsque le joueur quitte la map) 
-<br/> 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 1 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-Automatique 
-Bool[1]=0 
-%Timer%>=60 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-Bool[1]=1 
-%Timer%=0 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
- 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 2 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-Automatique 
-Bool[1]=1 
-%Timer%>=60 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-Bool[1]=0 
-%Timer%=0 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table>  
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 3 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-%Timer%<60 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-//vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table>    
- 
-<br/><br/> 
-La seule chose qui diffère entre la page 1 et la page 2 c'est la valeur que prend le booléen: dans la première on affecte la valeur du booléen à 1 et dans la deuxième on lui affecte la valeur 0. Comme je l'ai expliqué au début, on a maintenant un event qui change la valeur du booléen environ toutes les 2 secondes.Ceci fait, on peut faire les events pique proprement dit. Pour cela rien de plus simple: 
-<br/><br/> 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 1 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-En contact 
-Bool[1]=0 
-//il faut mettre pour cette page l'image des piques rentrées dans le sol (et accessoirement cocher la case "toujours en dessous" ;) ) 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-//vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 2 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-En contact 
-Bool[1]=1 
-//il faut mettre pour cette page l'image des piques sortant du sol (et toujours cocher la case "toujours en dessous") 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=6 COLS=100 SIZE=320 WRAP=soft readonly> 
-%Vie%=%Vie%-%VieMax%/5 
-//mettre ici les dégats que reçoit le joueur lorsqu'il marche sur les piques 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
-<br/><br/> 
- 
- 
-Remarque : vous pouvez aussi alterner sur certains events piques l'attribution de l'état du piège en fonction de la valeur du booléen. Par exemple Bool=1 => piques sorties, Bool=0 => piques rentrées sur certaines cases, Bool=1 => piques rentrées et Bool=0 => piques sorties sur d'autres. Il y aura ainsi un effet d'alternance sur le piège ;)  
-<br/><br/><br/> 
-</center></html> 
- 
- 
- 
-====Event avec un rythme irrégulier==== 
- 
- 
-<html> 
-<br/><br/> 
-Ici nous allons voir comment faire un event où les piques adoptent un rythme irrégulier. Pour cela il faudra utiliser la variable <a href=http://ediwiki.slayersonline.net/doku.php?id=var_char:rand>%rand(chiffre)%</a>. J'utilise ici la variable[13] qui est publique, si vous l'utilisez veillez bien à la remettre à 0 à la sortie de votre map. 
- 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page1 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-Automatique 
-Bool[1]=0 
-%Timer%>=Variable[13] 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-Bool[1]=1 
-Variable[13]=%rand(140)%+10 
-%Timer%=0 
-//le +10 sert à faire varier la valeur de la variable entre 10 et 149 
-//comme cela le joueur a quand même un minimum de temps pour voir l'évolution du piège sur lequel il marche 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 2 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-Automatique 
-Bool[1]=1 
-%Timer%>=Variable[13] 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-Bool[1]=0 
-Variable[13]=%rand(140)%+10 
-%Timer%=0 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
- 
-<style type=text/css> 
-TEXTAREA { 
-  background-color : white; 
-  font-family : MS Sans Serif; 
-  font-size : 8px; 
-} 
-</style> 
-<center> 
-<table cellspacing=2> 
-<tr height=25><th colspan=3 align=left> 
-Page 3 
-</th></tr> 
-<tr><td><b>Conditions de déclenchement</b></td><td></td><td><b>Commande événements</b></td></tr> 
-<tr><td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-%Timer%<Variable[13] 
-</TEXTAREA> 
-</td> 
-<td width=20> 
-</td> 
-<td> 
-<TEXTAREA ROWS=7 COLS=100 SIZE=320 WRAP=soft readonly> 
-//vide 
-</TEXTAREA> 
-</td> 
-</tr> 
-</table> 
- 
- 
-Il ne vous reste plus qu'à mettre les events piques sur votre map, comme je les ai détaillés ci-dessus. 
- 
-</center><br/><br/><br/></html> 
- 
- 
- 
- 
- 
- 
- 
- 
- 
  
tutoriaux/ystorsa.1276036874.txt.gz · Dernière modification : 2022/09/25 17:09 (modification externe)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki