différente posture de caméra sur les maps escarmouche Hitskin_logo Hitskin.com

Ceci est une prévisualisation d'un thème de Hitskin.com
Installer le thèmeRetourner sur la fiche du thème

Imladris production
Vous souhaitez réagir à ce message ? Créez un compte en quelques clics ou connectez-vous pour continuer.

Imladris production

Le forum français de création de cartes et de mods pour Bataille pour la Terre du Milieu
 
AccueilRechercherDernières imagesS'enregistrerConnexion
Le Deal du moment : -45%
PC Portable LG Gram 17″ Intel Evo Core i7 32 Go ...
Voir le deal
1099.99 €

 

 différente posture de caméra sur les maps escarmouche

Aller en bas 
AuteurMessage
wr1000
Moddeur
Moddeur
wr1000


Nombre de messages : 177
Age : 52
Location : la terre du milieu
Add-On : évidemment
Date d'inscription : 29/02/2008

différente posture de caméra sur les maps escarmouche Empty
MessageSujet: différente posture de caméra sur les maps escarmouche   différente posture de caméra sur les maps escarmouche Icon_minitime1Jeu 30 Juil - 15: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.ini

Tout 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!
différente posture de caméra sur les maps escarmouche 60195804.th
différente posture de caméra sur les maps escarmouche 49473860.th
différente posture de caméra sur les maps escarmouche 36948517.th



******************************************************************************************************************

Si vous avez des questions supplémentaires à poser à propos de ce tutoriel, veuillez les poser dans la section "Discussion" qui se trouve >ICI<

******************************************************************************************************************


Revenir en haut Aller en bas
 
différente posture de caméra sur les maps escarmouche
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» Différente équipe dans world builder.
» quand je jou la map en escarmouche sa ne marche pas
» Question sur SCRIPTS et IA en escarmouche....
» Aide WorldBuilder
» Rajouter des héros créés avant de lancer une partie escarmouche

Permission de ce forum:Vous ne pouvez pas répondre aux sujets dans ce forum
Imladris production :: Ini codes et .str :: Tutoriaux-
Sauter vers: