| aide pour créer des commandbutton | |
|
|
Auteur | Message |
---|
Tar-Elendil Habitué(e)
Nombre de messages : 80 Age : 27 Location : En train de devenir handballeur professionnel Add-On : que veut tu dire ? tu veux me le voler c'est ça !!!! Date d'inscription : 13/08/2010
| Sujet: aide pour créer des commandbutton Ven 15 Avr - 20:43 | |
| salut tout le monde, aujourd'hui je me suis dis qu'est ce que j'ai pas encore essayé en modding et l'idée de faire un nouvelle faction m'est venue directement. Les commandset sont terminés, les modèles sont finis mais je sais pas comment faire pour créé un commandbutton. Je vais poster les commandset pour que vous puissiez me répondre caserne - Spoiler:
CommandSet CelestariaBarracksCommandSet 1 = Command_ConstructMordorHaradrimArcherHorde 2 = Command_ConstructArnorArcherRange 3 = Command_ConstructAngmarDarkRangerHorde 4 = Command_PurchaseTechnologyAngmarBasicTraining 5 = Command_UpgradeAngmarBarracksLevel2 6 = Command_Sell 7 = Command_ConstructGondorBaracker 8 = Command_PurchaseTechnologyMordorBasicTraining 9 = Command_PurchaseTechnologyArnorBasicTraining 10 = Command_ConstructArnorFighterHorde 11 = Command_ConstructEasterlingHorde End
CommandSet CelestariaBarracksCommandSetLevel2 1 = Command_ConstructMordorHaradrimArcherHorde 2 = Command_ConstructArnorArcherRange 3 = Command_ConstructAngmarDarkRangerHorde 4 = Command_PurchaseTechnologyAngmarBasicTraining 5 = Command_UpgradeAngmarBarracksLevel3 6 = Command_Sell 7 = Command_ConstructGondorBaracker 8 = Command_PurchaseTechnologyMordorBasicTraining 9 = Command_PurchaseTechnologyArnorBasicTraining 10 = Command_ConstructArnorFighterHorde 11 = Command_ConstructEasterlingHorde End
CommandSet CelestariaBarracksCommandSetLevel3 1 = Command_ConstructMordorHaradrimArcherHorde 2 = Command_ConstructArnorArcherRange 3 = Command_ConstructAngmarDarkRangerHorde 4 = Command_PurchaseTechnologyAngmarBasicTraining 6 = Command_Sell 7 = Command_ConstructGondorBaracker 8 = Command_PurchaseTechnologyMordorBasicTraining 9 = Command_PurchaseTechnologyArnorBasicTraining 10 = Command_ConstructArnorFighterHorde 11 = Command_ConstructEasterlingHorde End
écurie - Spoiler:
CommandSet CelestariaStableCommandSet 1 = Command_ConstructArnorKnightHorde 2 = Command_ConstructMordorHaradrimRiderHorde 3 = Command_PurchaseUpgradeGondorBarracksLevel2 6 = Command_Sell End CommandSet CelestariaStableCommandSetLevel2 1 = Command_ConstructArnorKnightHorde 2 = Command_ConstructMordorHaradrimRiderHorde 3 = Command_ConstructMordorBlackRiderHorde 6 = Command_Sell End
la forge - Spoiler:
CommandSet CelestariaForgeCommandSet 1 = Command_PurchaseTechnologyMordorFireArrows 2 = Command_PurchaseTechnologyArnorForgedBlades 3 = Command_PurchaseTechnologyArnorHeavyArmor ;4 = Command_ConstructHobbitRocketer 4 = Command_PurchaseTechnologyArnorFireArrows 5 =Command_PurchaseTechnologyAngmarIceArrows 6 = Command_Sell 7 = Command_PurchaseUpgradeArnorForgeLevel2 8 = Command_PurchaseTechnologyArnorFireStones 9 = Command_PurchaseTechnologyArnorSilverthornArrows 10 = Command_PurchaseTechnologyMordorForgedBlades End
CommandSet CelestariaForgeCommandSetLevel2 1 = Command_PurchaseTechnologyMordorFireArrows 2 = Command_PurchaseTechnologyArnorForgedBlades 3 = Command_PurchaseTechnologyArnorHeavyArmor ;4 = Command_ConstructHobbitRocketer 4 = Command_PurchaseTechnologyArnorFireArrows 5 =Command_PurchaseTechnologyAngmarIceArrows 6 = Command_Sell 7 = Command_PurchaseUpgradeArnorForgeLevel3 8 = Command_PurchaseTechnologyArnorFireStones 9 = Command_PurchaseTechnologyArnorSilverthornArrows 10 = Command_PurchaseTechnologyMordorForgedBlades End CommandSet CelestariaForgeCommandSetLevel3 1 = Command_PurchaseTechnologyMordorFireArrows 2 = Command_PurchaseTechnologyArnorForgedBlades 3 = Command_PurchaseTechnologyArnorHeavyArmor ;4 = Command_ConstructHobbitRocketer 4 = Command_PurchaseTechnologyArnorFireArrows 5 =Command_PurchaseTechnologyAngmarIceArrows 6 = Command_Sell 8 = Command_PurchaseTechnologyArnorFireStones 9 = Command_PurchaseTechnologyArnorSilverthornArrows 10 = Command_PurchaseTechnologyMordorForgedBlades End
atelier de siège - Spoiler:
CommandSet CelestariaSiegeWorksCommandSetLevel1_ForMP ; DONT REMOVE THIS - FROM HERE - NEEDED FOR SKIRMISH AND MP - SSMITH 10.20.05 1 = Command_ConstructArnorTrebuchet 2 = Command_ConstructMordorCatapult 3 = Command_ConstructAngmarTrollSling 4 = Command_PurchaseTechnologyAngmarIceShot 6 = Command_Sell End
voila pour les codes des commandset mon seul problème c'est les augmentation de niveau je vais essayé de mon côté merci de vos réponses a+ edit: excusez moi de vous dire ça mais j'ai juste oublié un petit truc, c'est les commandbutton de construction de tous ces batiments dsl d'en rajouter aidez moi svp | |
|
| |
Wolf8888 Moddeur confirmé
Nombre de messages : 499 Add-On : Oui
Date d'inscription : 29/07/2010
| Sujet: Re: aide pour créer des commandbutton Ven 15 Avr - 21:36 | |
| Salut,
Pour créer un commandbutton, tu peux te baser sur ceux qui existent, et tu changes le nom (tu peux mettre ce que tu veux à partir du moment où tu reportes ce dernier dans le commandset).
Avec les upgrades, tu veux faire quoi exactement ? Les supprimer ?
| |
|
| |
Tar-Elendil Habitué(e)
Nombre de messages : 80 Age : 27 Location : En train de devenir handballeur professionnel Add-On : que veut tu dire ? tu veux me le voler c'est ça !!!! Date d'inscription : 13/08/2010
| Sujet: Re: aide pour créer des commandbutton Ven 15 Avr - 23:27 | |
| tout est bon je me suis débrouillé mais le seul problème c'est que quand je veux mettre par exemple les lames forgées à un bataillon de soldats d'arnor il me dit "this unit cannot receive this upgrade" (cette unité ne peut pas obtenir cette amélioration)
Merci de me répondre | |
|
| |
Wolf8888 Moddeur confirmé
Nombre de messages : 499 Add-On : Oui
Date d'inscription : 29/07/2010
| Sujet: Re: aide pour créer des commandbutton Sam 16 Avr - 0:16 | |
| C'est gentil de traduire... Tes unités ont les bonnes upgrades dans leurs codes ? - Si non: il faut les mettre. - Si oui: dans upgrade.ini, tu cherches l'upgrade des lames forgées et tu ajoutes le nom de l'object (=> ton bâtiment qui fournit la dite upgrade) à la ligne "RequiredObjectFilter". Exemple: RequiredObjectFilter = NONE +ArnorForge +CelestariaForge | |
|
| |
Tar-Elendil Habitué(e)
Nombre de messages : 80 Age : 27 Location : En train de devenir handballeur professionnel Add-On : que veut tu dire ? tu veux me le voler c'est ça !!!! Date d'inscription : 13/08/2010
| Sujet: Re: aide pour créer des commandbutton Sam 16 Avr - 12:24 | |
| ok merci grâce à toi ça marche MAIS la forteresse d'angmar quand je la construit elle devient invisible et intouchable
édit : j'ai oublié les héros ne sont donc pas recutable et les pouvoirs de la forteresse inexistants merci de m'aider | |
|
| |
Wolf8888 Moddeur confirmé
Nombre de messages : 499 Add-On : Oui
Date d'inscription : 29/07/2010
| Sujet: Re: aide pour créer des commandbutton Sam 16 Avr - 20:13 | |
| Tu peux poster: - le playertemplate de ta faction - le code et le commandset de ta forteresse. | |
|
| |
Tar-Elendil Habitué(e)
Nombre de messages : 80 Age : 27 Location : En train de devenir handballeur professionnel Add-On : que veut tu dire ? tu veux me le voler c'est ça !!!! Date d'inscription : 13/08/2010
| Sujet: Re: aide pour créer des commandbutton Sam 16 Avr - 20:54 | |
| playertemplate - Spoiler:
PlayerTemplate FactionCelestaria Side = Celestaria PlayableSide = Yes Evil = No StartMoney = 0 MaxLevelMP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_DEFAULT PLAYER_PURCHASE_POINTS_GRANTED ) MaxLevelSP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_GOOD PLAYER_PURCHASE_POINTS_GRANTED ) PreferredColor = R:43 G:150 B:179 StartingBuilding = AngmarFortress
;------------- STARTING UNITS ------- StartingUnit1 = CelestariaPorter StartingUnitOffset1 = X:30 Y:200 Z:0 StartingUnit0 = CelestariaPorter StartingUnitOffset0 = X:1 Y:130 Z:0
StartingUnitTacticalWOTR = MenPorter ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units. StartingUnitTacticalWOTR = MenPorter IntrinsicSciences = SCIENCE_GOOD IntrinsicSciencesMP = SCIENCE_MEN SpellBook = GoodSpellBook SpellBookMp = MenSpellBook PurchaseScienceCommandSet = GoodSpellStoreCommandSet PurchaseScienceCommandSetMP = MenSpellStoreCommandSet DisplayName = INI:FactionCelestaria DefaultPlayerAIType = MenSkirmishAI BeaconName = MultiplayerBeacon LightPointsUpSound = GondorLightPointsUp ObjectiveAddedSound = Gui_MissionObjectiveNew ObjectiveCompletedSound = Gui_MissionObjectiveCompleted InitialUpgrades = Upgrade_MenFaction ; Any upgrades this player template is born with.
// NOTE: It is very important that the create-a-hero be the first buildable hero, to ensure that the create-a-hero and the ring hero are always // attached to the first two buttons in the command set.
BuildableHeroesMP = MordorMorgoth GondorBaracker DwarvenFarten ArnorAerio ElvenEarendil MordorKratéus IsengardHalfiur BuildableRingHeroesMP = MordorSauron_RingHero ;DeadKing_RingHero ;ElvenGaladriel_RingHero SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower ResourceModifierObjectFilter = RESOURCE_MODIFIER_OBJECT_FILTER ResourceModifierValues = 100 100 100 100 90 85 80 75 71 68 66 MultiSelectionPortrait = UPGondor_Army LoadScreenMusic = Shell2MusicForLoadScreen End
la forteresse c'est celle d'angmar je n'y ai rien changé | |
|
| |
Wolf8888 Moddeur confirmé
Nombre de messages : 499 Add-On : Oui
Date d'inscription : 29/07/2010
| Sujet: Re: aide pour créer des commandbutton Sam 16 Avr - 21:08 | |
| Dans angmarfortress.ini, cherche le module "Behavior = CastleBehavior ModuleTag_castle" et ajoute la ligne: CastleToUnpackForFaction = Celestaria Fortress_Angmar | |
|
| |
Tar-Elendil Habitué(e)
Nombre de messages : 80 Age : 27 Location : En train de devenir handballeur professionnel Add-On : que veut tu dire ? tu veux me le voler c'est ça !!!! Date d'inscription : 13/08/2010
| Sujet: Re: aide pour créer des commandbutton Dim 17 Avr - 17:44 | |
| | |
|
| |
Wolf8888 Moddeur confirmé
Nombre de messages : 499 Add-On : Oui
Date d'inscription : 29/07/2010
| Sujet: Re: aide pour créer des commandbutton Dim 17 Avr - 22:16 | |
| | |
|
| |
Contenu sponsorisé
| Sujet: Re: aide pour créer des commandbutton | |
| |
|
| |
| aide pour créer des commandbutton | |
|