wr1000 Moddeur en herbe

Nombre de messages: 147 Age: 37 Date d'inscription: 29/02/2008
 | Sujet: différente posture de caméra sur les maps escarmouche Jeu 30 Juil - 13:49 | |
| Je lance un tutorial pour vous permettre d'avoir 4 boutons en plus sur la gauche de l'écran en plus des pouvoirs de l'étoile du soir. Ces 4 boutons vous permettent 4 positions de caméra différente durant le jeu. 1) Ouvrez votre fichier science.iniTout en bas coller ceci: | Code: | Science SCIENCE_GeneralView PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL SciencePurchasePointCost = 1 SciencePurchasePointCostMP = 1 IsGrantable = Yes End
Science SCIENCE_CommanderView PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL SciencePurchasePointCost = 1 SciencePurchasePointCostMP = 1 IsGrantable = Yes End
Science SCIENCE_UnitView PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL SciencePurchasePointCost = 1 SciencePurchasePointCostMP = 1 IsGrantable = Yes End
Science SCIENCE_GroundView PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_EVIL SciencePurchasePointCost = 1 SciencePurchasePointCostMP = 1 IsGrantable = Yes End |
(Sauvegardez bien sûr et ce pour chaque fichier)
2) Ouvrez votre fichier specialpower.ini
Tout en bas collez ceci:
| Code: | SpecialPower SpellBookGeneralView Enum = SPECIAL_GENERAL_TARGETLESS RequiredSciences = SCIENCE_GeneralView ReloadTime = 1000 ; in milliseconds ;InitiateAtLocationSound = SpellDarkness End
SpecialPower SpellBookCommanderView Enum = SPECIAL_GENERAL_TARGETLESS RequiredSciences = SCIENCE_CommanderView ReloadTime = 1000 ; in milliseconds ;InitiateAtLocationSound = SpellDarkness End
SpecialPower SpellBookUnitView Enum = SPECIAL_GENERAL_TARGETLESS RequiredSciences = SCIENCE_UnitView ReloadTime = 1000 ; in milliseconds ;InitiateAtLocationSound = SpellDarkness End
SpecialPower SpellBookGroundView Enum = SPECIAL_GENERAL_TARGETLESS RequiredSciences = SCIENCE_GroundView ReloadTime = 1000 ; in milliseconds ;InitiateAtLocationSound = SpellDarkness End |
3) Ouvrez votre fichier system.ini qui lui se trouve dans object\system
Collez dans le good spells après les Behavior = OCLSpecialPower et avant ;// AI Heuristics for SkirmishAI coller ceci | Code: | Behavior = SpecialPowerModule ModuleTag_SpellBookGeneralView SpecialPowerTemplate = SpellBookGeneralView AvailableAtStart = No End
Behavior = SpecialPowerModule ModuleTag_SpellBookCommanderView SpecialPowerTemplate = SpellBookCommanderView AvailableAtStart = No End
Behavior = SpecialPowerModule ModuleTag_SpellBookUnitView SpecialPowerTemplate = SpellBookUnitView AvailableAtStart = No End
Behavior = SpecialPowerModule ModuleTag_SpellBookGroundView SpecialPowerTemplate = SpellBookGroundView AvailableAtStart = No End |
4) Ouvrez votre fichier commandbutton.ini
Tout en bas collez ceci:
| Code: | CommandButton Command_SpellBookGeneralView Command = SPELL_BOOK SpecialPower = SpellBookGeneralView TextLabel = SB:GeneralViewTextLabel ButtonBorderType = UPGRADE ButtonImage = UCCommon_UpgradeStructureNew;BIZoomOut DescriptLabel = SB:GeneralViewDescriptLabel End
CommandButton Command_SpellBookCommanderView Command = SPELL_BOOK SpecialPower = SpellBookCommanderView TextLabel = SB:CommanderViewTextLabel ButtonBorderType = UPGRADE ButtonImage = UCCommon_UpgradeStructureNew;BIZoomOut DescriptLabel = SB:CommanderViewDescriptLabel End
CommandButton Command_SpellBookUnitView Command = SPELL_BOOK SpecialPower = SpellBookUnitView TextLabel = SB:UnitViewTextLabel ButtonBorderType = UPGRADE ButtonImage = UCCommon_UpgradeStructureNew;BIZoomOut DescriptLabel = SB:UnitViewDescriptLabel End
CommandButton Command_SpellBookGroundView Command = SPELL_BOOK SpecialPower = SpellBookGroundView TextLabel = ground;SB:UnitViewTextLabel ButtonBorderType = UPGRADE ButtonImage = UCCommon_UpgradeStructureNew;BIZoomOut DescriptLabel = ground;SB:UnitViewDescriptLabel End |
5) Ouvrez votre fichier commandset.ini
Collez ce commandset pour les elfes par exemple mais vous pouvez le mettre pour toutes les factions! (c'est vous qui voyez sans faire de jeu de mots)
| Code: | CommandSet ElvesSpellBookCommandSet 1 = Command_SpellBookRebuild 2 = Command_SpellBookHeal 3 = Command_SpellBookFarsight 4 = Command_SpellBookTomBombadil 5 = Command_SpellBookMenOfDaleAllies 6 = Command_SpellBookArrowVolleyGood 7 = Command_SpellBookElvenWood 8 = Command_SpellBookDunedainAllies 9 = Command_SpellBookEntAllies 10 = Command_SpellBookEagleAllies 11 = Command_SpellBookFlood 12 = Command_SpellBookEarthquake 13 = Command_SpellBookGeneralView 14 = Command_SpellBookCommanderView 15 = Command_SpellBookUnitView 16 = Command_SpellBookGroundView End |
Vous voyez on rajoute les lignes 13 à 16. Voila pour le codage ini!
Ensuite vous vous rendez à cette adresse: The3rdage.net (Merci au passage pour tous les gars qui travaillent sur ce site(superbe boulot,chapeau)) et téléchargez le fichier camera scripts, que vous enregistrez dans vos documents par exemple et ensuite vous faite extraire le fichier de l'archive rar toujours dans vos documents ce fichier vous évitera de vous embéter à faire les scripts dans worldbuilder pour chaque commande de vue différente après ça se passe dans worldbuilder choissez une carte et ouvrez la ensuite vous cliquez sur edit et scripts et ensuite sur import script(s) une fenétre s'ouvre,allez chercher dans vos documents le fichier camara scripts que vous venez de télécharger faite ouvrir,une fenétre s'ouvre vous disant que le script n'est pas bon,ne vous en occupez pas ,faite ok et fermé. toujours dans la fenétre du script faite apply et ok ensuite sauvegarder votre carte vous devriez avoir quatre bouton supplémentaire à gauche de votre fenêtre de jeu pour moi ça fonctionne à merveille,si vous avez un problème ou une question faite m'en part.
Bon jeu à tous!


 |
|