doc/install_fr.rdoc in UG_RRobots-2.0 vs doc/install_fr.rdoc in UG_RRobots-2.1
- old
+ new
@@ -11,15 +11,15 @@
== création
*Remarque* : Cette étape n'est necessaire que si on choisit de télécharger les sources
-Exemple version 2.0 :
+Exemple version 2.1 :
- $ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.0.tgz
- $ tar xvzf G_RRobots-2.0.tgz
- $ cd UG_RRobots-2.0/
+ $ wget http://www.ultragreen.net/attachments/download/51/UG_RRobots-2.1.tgz
+ $ tar xvzf G_RRobots-2.1.tgz
+ $ cd UG_RRobots-2.1/
$ rake clean
$ rake clobber
$ rake gem
$ rake package # pour refaire le tgz
@@ -28,18 +28,18 @@
$ cd pkg
sinon pour récupéré le gem
- $ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.0.gem
+ $ wget http://www.ultragreen.net/attachments/download/52/UG_RRobots-2.1.gem
== Installation gem
On doit être root pour installer :
$ sudo bash
- # gem install UG_RRobots-2.0.gem
+ # gem install UG_RRobots-2.1.gem
Pour désinstaller :
$ sudo bash
# gem uninstall UG_RRobots
@@ -50,29 +50,29 @@
=== Format du fichier
fichier YAML : rrobots.yaml
battlefield:
- :width: 800
- :height: 800
+ width: 800
+ height: 800
bullets:
- :speed: 30
+ speed: 30
filename: rrobots.yml
game:
- :timeout: 50000
+ timeout: 50000
mines:
- :with_mines: false
- :bullet_energy_resistance: 2
- :energy_hit_points: 20
+ with_mines: false
+ bullet_energy_resistance: 2
+ energy_hit_points: 20
robots:
- :nb_mines: 3
- :radar_mine_scanning_performance: 500
- :energy_max: 100
+ nb_mines: 3
+ radar_mine_scanning_performance: 500
+ energy_max: 100
toolboxes:
- :energy_heal_points: 20
- :life_time: 200
- :with_toolboxes: false
- :spawning_chances: 100
+ energy_heal_points: 20
+ life_time: 200
+ with_toolboxes: false
+ spawning_chances: 100
=== priorité de lecture des fichiers
UG_RRobots possède toutes ses valeurs par défaut en dur dans le code , la configuration par défaut écrite dans :
\ No newline at end of file