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
-24%
Le deal à ne pas rater :
PC Portable Gaming 15.6″ Medion Erazer Deputy P40 (FHD 144Hz, RTX ...
759.99 € 999.99 €
Voir le deal

 

 les elfes de rivendell du 1er opus

Aller en bas 
2 participants
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

les elfes de rivendell du 1er opus Empty
MessageSujet: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeMar 27 Jan - 21:11

bon je lance un topic car je n'en peux plus de chercher partout comme un dingue
j'ai mal au crane,ça fait une semaine que je fait différent test mais rien ne vas
je m'explique:
j'ai ajouté la faction rohan à l'addon,aucun probléme pour le faire,c'est simple ok.
j'ai par contre un gros pépin avec les archers du rohan et les elfes de rivendell.
les archers du rohan ont l'armure mais pas les fléches emflammées ni le porte étendard??
les elfes de rivendell eux ont les lames forgés mais pas les fléches de feu ni le porte étendard et
pour ce qui est de l'armure,dés qu'ont leurs mets ils ne tirent plus à l'arc mais attaquent à l'épée lol!
enfin je ne rigole plus tellement puique comme dis précédemment je cherche depuis une semaine mitraille
si l'un d'entre vous à réussi à faire tout ça,ce serai sympa,mais trés sympa,qu'il le colle dans la section tutorial du site.
parce que entre le weapon ,l'upgrade,le commandbutton,le commandset,les unités dés uns et des autres sans parlés des hordes..............je péte les plombs mitraille mitraille mitraille mitraille mitraille
merci à tous de chaque effort fourni afin que vive notre jeu favori
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeMer 28 Jan - 21:22

salut à tous
obligé de constater que mon sujet à l'air compliqué
je cherche seul donc et je trouve des soluces,
les blémes pour les elfes de rivendell sont résolus.
les autres je trouverai .
sinon une autre question:
la tour de guerre du rohan, quand on met des unités dedans, les fléches partent du bas de la tour,
y'as t-il un moyen d'améliorer ça ??
et autre chose dans le spellbook j'ai rien ,j'ai les points qui s'affiche dans le palantir normal jusqu'a 154 points et quand je veux choisir un pouvoir, j'ai 0 points en haut dans la grande fenétre de choix de pouvoirs mais tout les pouvoirs sont invisibles??(je pense que j'ai oublié un truc la scratch )
pouvez vous m'en dire plus
merci de m'aider à tous
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeMer 28 Jan - 23:20

pour les pouvoir tu as bien mis dans le player template les lignes comme les autres factions ?
IntrinsicSciences
IntrinsicSciencesMP
SpellBook
SpellBookMp
PurchaseScienceCommandSet
PurchaseScienceCommandSetMP
sinon essaye de les mettre avec des valeurs

pour la tour vérifie si tu as bien la ligne ExtraPublicBone dans le draw car c'est l'os ou sortent normalement les fleches
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeJeu 29 Jan - 9:43

salut cdd
regarde le code des ExtraPublicBone y'en as 16 lol

Object RohanBattleTower

SelectPortrait = BPRBattleTower

; *** ART Parameters ***
ButtonImage = BRBattleTower

; *** ART Parameters ***
Draw = W3DScriptedModelDraw ModuleTag_Draw

ExtraPublicBone = ARROWBONE01
ExtraPublicBone = ARROWBONE02
ExtraPublicBone = ARROWBONE03
ExtraPublicBone = ARROWBONE04
ExtraPublicBone = ARROWBONE05
ExtraPublicBone = ARROWBONE06
ExtraPublicBone = ARROWBONE07
ExtraPublicBone = ARROWBONE08
ExtraPublicBone = ARROWBONE09
ExtraPublicBone = ARROWBONE10
ExtraPublicBone = ARROWBONE11
ExtraPublicBone = ARROWBONE12
ExtraPublicBone = ARROWBONE13
ExtraPublicBone = ARROWBONE14
ExtraPublicBone = ARROWBONE15
ExtraPublicBone = ARROWBONE16

StaticModelLODMode = yes ; Will append M or L to the skin name depending on GameLOD
OkToChangeModelColor = Yes
UseStandardModelNames = Yes
DefaultModelConditionState
Model = RBWatchTow
End

;------------ build up states---------------
ModelConditionState = AWAITING_CONSTRUCTION
Model = RBWatchTow_A
; ParticleSysBone = NONE BuildingDoughnutCloud
End;
AnimationState = AWAITING_CONSTRUCTION
Animation = RBWatchTow_A
AnimationName = RBWatchTow_ASKL.RBWatchTow_ABLD
AnimationMode = MANUAL
AnimationBlendTime = 0
End
Flags = START_FRAME_FIRST
End

ModelConditionState = ACTIVELY_BEING_CONSTRUCTED PARTIALLY_CONSTRUCTED
Model = RBWatchTow_A
ParticleSysBone = CONSTDUSTBONE01 BuildingContructDust FollowBone:Yes
End;
AnimationState = ACTIVELY_BEING_CONSTRUCTED PARTIALLY_CONSTRUCTED
Animation = RBWatchTow_A
AnimationName = RBWatchTow_ASKL.RBWatchTow_ABLD
AnimationMode = MANUAL
AnimationBlendTime = 0
End
Flags = START_FRAME_FIRST
StateName = BeingConstructed
BeginScript
CurDrawablePlaySound("GondorBarracksBeginConstruction")
EndScript
End



;--damaged building
ModelConditionState = DESTROYED_FRONT
Model = RBWatchTow_D2
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingLarge
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 FireBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End
AnimationState = DESTROYED_FRONT
BeginScript
CurDrawableHideSubObject("RBWatchTowDP_1")
EndScript
End

ModelConditionState = DESTROYED_RIGHT
Model = RBWatchTow_D2
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingLarge
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 FireBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End

AnimationState = DESTROYED_RIGHT
BeginScript
CurDrawableHideSubObject("RBWatchTowDP_2")
EndScript
End


ModelConditionState = DESTROYED_BACK
Model = RBWatchTow_D2
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingLarge
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 FireBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End

AnimationState = DESTROYED_BACK
BeginScript
CurDrawableHideSubObject("RBWatchTowDP_3")
EndScript
End

ModelConditionState = DESTROYED_LEFT
Model = RBWatchTow_D2
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingLarge
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 FireBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End

AnimationState = DESTROYED_LEFT
BeginScript
CurDrawableHideSubObject("RBWatchTowDP_4")
EndScript
End


ModelConditionState = DAMAGED
Model = RBWatchTow_D1
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingMedium
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 SmokeBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End
AnimationState = DAMAGED
EnteringStateFX = FX_BuildingDamaged
End

ModelConditionState = REALLYDAMAGED
Model = RBWatchTow_D2
ParticleSysBone FireSmall01 FireBuildingLarge
ParticleSysBone FireSmall02 FireBuildingLarge
ParticleSysBone FireSmall03 FireBuildingMedium
ParticleSysBone FireSmall04 FireBuildingLarge
ParticleSysBone FireSmall05 SmokeBuildingLarge
End
AnimationState = REALLYDAMAGED
EnteringStateFX = FX_BuildingReallyDamaged
End

ModelConditionState = RUBBLE
Model = RBWatchTow_D2
ParticleSysBone SmokeLarge01 SmokeBuildingLarge
End

AnimationState = RUBBLE
BeginScript
CurDrawableHideSubObject("RBWatchTowDP_1")
CurDrawableHideSubObject("RBWatchTowDP_2")
CurDrawableHideSubObject("RBWatchTowDP_3")
CurDrawableHideSubObject("RBWatchTowDP_4")
EndScript
End

ModelConditionState = POST_RUBBLE
Model = None
ParticleSysBone NONE SmokeBuildingMediumRubble
End

ModelConditionState = POST_COLLAPSE
Model = None
ParticleSysBone NONE SmokeBuildingMediumRubble
End

End

PlacementViewAngle = 270

; ***DESIGN parameters ***
DisplayName = OBJECT:RohanBattleTower
Description = OBJECT:RohanBattleTowerDescription
Side = Obsolete
EditorSorting = STRUCTURE
ThreatLevel = 1.0

BuildCost = 200
BuildTime = 10.0 ; in seconds
VisionRange = VISION_BASE_DEFENSE
ShroudClearingRange = SHROUD_CLEAR_BASE_DEFENSE

CommandSet = NeutralBattleTowerCommandSet
ArmorSet
Conditions = None
Armor = StructureArmor
;DamageFX = StructureDamageFXNoShake
End


; *** AUDIO Parameters ***

; #include "..\..\..\Includes\StandardBuildingEvaEvents.inc"

VoiceSelect = RohanBattleTowerSelect

SoundOnDamaged = BuildingLightDamageWood
SoundOnReallyDamaged = BuildingHeavyDamageWood

VoiceSelectUnderConstruction = BuildingGoodVoiceSelectUnderConstruction

UnitSpecificSounds
UnderConstruction = BuildingConstructionLoop ; Built first time
; UnderRepairFromDamage = NoSound ; Repaired No animation on the building, so don't bother playing sound
UnderRepairFromRubble = BuildingConstructionLoop ; Repaired from completely destroyed (not used???)
End
CampnessValue = CAMPNESS_DEFENSIVE_TOWER


; *** ENGINEERING Parameters ***

RadarPriority = STRUCTURE
KindOf = PRELOAD STRUCTURE SELECTABLE IMMOBILE SCORE NEED_BASE_FOUNDATION CAN_ATTACK MADE_OF_WOOD ATTACK_NEEDS_LINE_OF_SIGHT ; GARRISON GARRISONABLE_UNTIL_DESTROYED

Behavior = GettingBuiltBehavior ModuleTag_04
WorkerName = RohanWorkerNoSelect
End



Behavior = HordeGarrisonContain ModuleTag_HordeGarrison
ObjectStatusOfContained = UNSELECTABLE CAN_ATTACK ENCLOSED
ContainMax = 2
DamagePercentToUnits = 0%
PassengerFilter = GENERIC_FACTION_GARRISONABLE
AllowEnemiesInside = No
AllowAlliesInside = No
AllowNeutralInside = No
AllowOwnPlayerInsideOverride = Yes
NumberOfExitPaths = 1 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
PassengerBonePrefix = PassengerBone:ARROW_ KindOf:INFANTRY
EntryPosition = X:0.0 Y:0.0 Z:0.0
EntryOffset = X:50.0 Y:0.0 Z:0.0
ExitOffset = X:50.0 Y:0.0 Z:0.0
EnterSound = RuinedTowerEnterSound
ShowPips = No
End





Body = StructureBody ModuleTag_05
MaxHealth = 2000.0
MaxHealthDamaged = 1300.0
MaxHealthReallyDamaged = 700.0
DamageCreationList = OCL_BuildingDamageList01 CATAPULT_ROCK

DamageCreationList = OCL_GBBtlTwrSD2_Chunk1 CATAPULT_ROCK FRONT_DESTROYED
DamageCreationList = OCL_GBBtlTwrSD2_Chunk2 CATAPULT_ROCK RIGHT_DESTROYED
DamageCreationList = OCL_GBBtlTwrSD2_Chunk3 CATAPULT_ROCK BACK_DESTROYED
DamageCreationList = OCL_GBBtlTwrSD2_Chunk4 CATAPULT_ROCK LEFT_DESTROYED
End

; Behavior = BuildingBehavior BuildingModuleTag
; NightWindowName = WINDOW_N01
; FireWindowName = WINDOW_F01
; GlowWindowName = WINDOW_G01
; End

Behavior = SlowDeathBehavior ModuleTag_SlowDeathWithoutRubble
DestructionDelay = 5000
End

Behavior = StructureCollapseUpdate ModuleTag_StructureCollapseUpdate
MinCollapseDelay = 000
MaxCollapseDelay = 000
CollapseDamping = .5
MaxShudder = 0.6
MinBurstDelay = 250
MaxBurstDelay = 800
BigBurstFrequency = 4
FXList = INITIAL FX_StructureMediumCollapse
OCL = INITIAL OCL_StructureRubblePileSinkAway
End

Behavior = EvacuateDamage ModuleTag_evacuateDamage
WeaponThatCausesEvacuation = MordorCatapultHumanHeads
End

; Behavior = HordeGarrisonContain ModuleTag_hordeGarrison
; ObjectStatusOfContained = UNSELECTABLE CAN_ATTACK
; ContainMax = 4
; DamagePercentToUnits = 0%
; PassengerFilter = ANY +INFANTRY +HORDE -CAVALRY -SUMMONED -WildSpiderling -WildSpiderlingHorde
; AllowEnemiesInside = Yes
; AllowNeutralInside = Yes
; NumberOfExitPaths = 1 ; Defaults to 1. Set 0 to not use ExitStart/ExitEnd, set higher than 1 to use ExitStart01-nn/ExitEnd01-nn
; PassengerBonePrefix = PassengerBone:ARROWBONE KindOf:INFANTRY
; EntryOffset = X:0.0 Y:45.0 Z:0.0
; ExitOffset = X:0.0 Y:45.0 Z:0.0
;
; ;PassengersTestCollisionHeight = 80
; ;Slots = 1
; ;EnterSound = GarrisonEnter
; ;ExitSound = GarrisonExit
; ;ExitDelay = 250
; ;GoAggressiveOnExit = Yes ; AI Will tell people to set their mood to Aggressive on exiting
; ;ForceOrientationContainer = No ; otherwise contained units can't orient themselves towards their targets...
; End

Geometry = BOX
GeometryMajorRadius = 18.4
GeometryMinorRadius = 18.4
GeometryHeight = 95.0

GeometryIsSmall = No
Shadow = SHADOW_VOLUME
BuildCompletion = PLACED_BY_PLAYER

GeometryContactPoint = X:-15.191 Y:14.07 Z:0 Repair
GeometryContactPoint = X:16.514 Y:-12.506 Z:0 Repair
GeometryContactPoint = X:12.361 Y:24.008 Z:0
GeometryContactPoint = X:-11.371 Y:-22.442 Z:0
GeometryContactPoint = X:0.081 Y:-4.234 Z:111.299 Swoop

End

peut etre que cest directement dans le model de la tour je sais pas.
pour arwen ça n'as rien changé toujours pareil.
quand au spellbook j'ai mis celui des hommes (j'ai bien tout )mais quand je reviens sur la fenétre de jeu les boutons à gauche sont gris.
merci de plancher la dessus
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeJeu 29 Jan - 16:44

pour arwen essaye de repartir du module que j'ai mis dans ton autre topic
Pour les pouvoirs tu peut me montrer ton playertemplate de ta faction ?
Pour la tour regarde ce que ca fait de laisser qu'un seul ExtraPublicBone en mettantles autres en comentaire
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeJeu 29 Jan - 20:20

PlayerTemplate FactionRohan
Side = Rohan
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 = RohanGoldenHall

;------------- NO STARTING UNITS FOR YOU -------
;StartingUnit0 = GondorFighterHorde
;StartingUnitOffset0 = X:-60 Y:185 Z:0

StartingUnit1 = RohanPorter
StartingUnitOffset1 = X:30 Y:200 Z:0
StartingUnit0 = RohanPorter
StartingUnitOffset0 = X:1 Y:130 Z:0

StartingUnitTacticalWOTR = GondorFighterHorde
StartingUnitTacticalWOTR = RohanPorter ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units.
StartingUnitTacticalWOTR = RohanPorter
IntrinsicSciences = SCIENCE_GOOD
IntrinsicSciencesMP = SCIENCE_ROHAN ;SCIENCE_MEN
SpellBook = GoodSpellBook
SpellBookMp = RohanSpellBook ;MenSpellBook
PurchaseScienceCommandSet = GoodSpellStoreCommandSet
PurchaseScienceCommandSetMP = MenSpellStoreCommandSet ;RohanSpellStoreCommandSet
DisplayName = INI:FactionRohan
DefaultPlayerAIType = MenSkirmishAI
BeaconName = MultiplayerBeacon
LightPointsUpSound = GondorLightPointsUp
ObjectiveAddedSound = Gui_MissionObjectiveNew
ObjectiveCompletedSound = Gui_MissionObjectiveCompleted
InitialUpgrades = Upgrade_RohanFaction ;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 = CreateAHero RohanEowyn RohanEomer RohanTheoden RohanMerry ;RohanGamling
BuildableRingHeroesMP = ElvenGaladriel_RingHero ElvenCeleborn
SpellStoreCurrentPowerLabel = APT:SpellStoreCurrentEvenstarPower
SpellStoreMaximumPowerLabel = APT:SpellStoreMaximumEvenstarPower
ResourceModifierObjectFilter = RESOURCE_MODIFIER_OBJECT_FILTER
ResourceModifierValues = 100 100 100 95 90 85 80 75 71 68 66
MultiSelectionPortrait = UPGondor_Army
LoadScreenMusic = Shell2MusicForLoadScreen
End

voila pour le playertemplate
pour arwen dis moi ou c'est exactement (tuto ou discution)
merci
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeJeu 29 Jan - 21:45

deja pour les pouvoir ca fonctionne pas parce que tu as mis
Code:
IntrinsicSciencesMP = SCIENCE_ROHAN ;SCIENCE_MEN

En mettant ça , ça fonctionnera :
Code:
IntrinsicSciencesMP = SCIENCE_MEN

Après tu veut surement faire tes propres pouvoirs donc tu a probablement mal utilisé ton SCIENCE_ROHAN dans science.ini pour définir l'arbre des pouvoirs
déja il te faut un :
Code:
Science SCIENCE_ROHAN
  PrerequisiteSciences = None
  SciencePurchasePointCost = 0
  IsGrantable = No
End
et il faudra mettre SCIENCE_ROHAN dans tout les pouvoirs que tu veut utiliser, donc par exemple si tu veut le soin tu devra le modifier comme ca :
Code:
Science SCIENCE_Heal
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES OR SCIENCE_DWARVES OR SCIENCE_ARNOR OR SCIENCE_ROHAN
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End
et ajouter ton SCIENCE_ROHAN a tout les pouvoirs que tu veut
Mais le probleme c'est que certains pouvoirs pouront peut etre mal fonctionner quand tu fera ton arbre car il y a deja les prérequis de pouvoirs pour les autres, en gros c'est possible que en fesant ton arbre il y aie des pouvoirs qui ne serai pas sencé se débloquer tout de suite qui se débloqueront

Donc je te propose si ca t'arrive c'est de refaire entierement un arbre exclusivement pour ta faction
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeVen 30 Jan - 13:21

salut cdd
dans le science ini j'ai mis ça

Science SCIENCE_ROHAN
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

et j'ai ajouté pour la restauration de vie ça

Science SCIENCE_Heal
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES OR SCIENCE_DWARVES OR SCIENCE_ARNOR OR SCIENCE_ROHAN
SciencePurchasePointCost = GOOD_RANK_1_COST
SciencePurchasePointCostMP = 5
IsGrantable = Yes
End

donc dans mon playertemplate je mets

IntrinsicSciencesMP = SCIENCE_ROHAN

logique jusque là non ??

aprés dans le system ini j'ajoute ça

ChildObject RohanSpellBook GoodSpellBook
CommandSet = RohanSpellBookCommandSet
End
pour le commandset j'en ais créé un comme celui des hommes

CommandSet RohanSpellBookCommandSet
1 = Command_SpellBookHeal
2 = Command_SpellBookRallyingCall
3 = Command_SpellBookRebuild

4 = Command_SpellBookTomBombadil
5 = Command_SpellBookHobbitAllies
6 = Command_SpellBookLoneTower
7 = Command_SpellBookArrowVolleyGood

8 = Command_SpellBookCloudBreak
9 = Command_SpellBookRohanAllies
10 = Command_SpellBookDunedainAllies

11 = Command_SpellBookArmyoftheDead
12 = Command_SpellBookEarthquake
End

CommandSet RohanSpellStoreCommandSet
1 = Command_PurchaseSpellHeal
2 = Command_PurchaseSpellRallyingCallMP
3 = Command_PurchaseSpellRebuild

4 = Command_PurchaseSpellHobbitAllies
5 = Command_PurchaseSpellArrowVolleyGood
6 = Command_PurchaseSpellTomBombadil
7 = Command_PurchaseSpellLoneTowerMen

8 = Command_PurchaseSpellDunedainAllies
9 = Command_PurchaseSpellCloudBreak
10 = Command_PurchaseSpellRohanAllies

11 = Command_PurchaseSpellArmyoftheDead
12 = Command_PurchaseSpellEarthquake
End

voila et je retrouve toujours avec un arbre dans lequel je peux choisir des pouvoirs suivant le nombre de points que je posséde ça normal
mais qund je reviens sur la fenétre de jeu les boutons de pouvoirs à gauche reste gris??
je ne pige pas quoi là.
autre chose pour la tour de guerre du rohan aprés avoir retiré tous les ExtraPublicBone
j'en ais laisser un comme tu m'as dis ExtraPublicBone = ARROWBONE01
mais rien ne change les fléches partent toujours du bas???
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeVen 30 Jan - 17:03

Ok c'est quand meme bizarre pour la tour là

Sinon pour l'arbre des pouvoir je ne voit qu'une seule solution : refaire tout depuis le départ
donc en gros voila comment on fait et vérifie que tu n'as pas oublié de modifié quelque chose avant car la c'est tout le fonctionnement des pouvoirs donc si tes modifs ne fonctionnaient pas c'est qu'une des étapes a été zappé :


Donc dans science.ini :
tu met ton
Code:
Science SCIENCE_ROHAN
  PrerequisiteSciences = None
  SciencePurchasePointCost = 0
  IsGrantable = No
End

ensuite tu copie tu les paragraphe des pouvoirs que tu veut, par exemple soin,richesse de nains et barrage tu copie :
Spoiler:
et tout les autres pouvoirs que tu veut bien sur...
Tu leur met un nouveau nom et tu modifie leur PrerequisiteSciences pour mettre le tient donc par exemple les 3 d'avant deviennent :
Spoiler:
bien sur c'est un exemple pour 3 qui se suivent y'en aura forcément d'autres



Ensuite dans le system.ini tu crée ton spell book
et dedans tu fait un copier coller des modules de pouvoirs qui t'intéressent en modifiant le SpecialPowerTemplate
et pour les modules de l'ia tu met un autre nom de commandButton
donc pour les pouvoirs donnés avant ca ferait

Spoiler:



Pour le commandSet du spell book (les pouvoirs a gauche) dans commandset.ini tu mettrais :
Spoiler:
Pour le commandset du spell store (l'achat des pouvoirs) tu mettrais:
Spoiler:


maintenant il faut encore définir les commandbutton que t'as mis donc comme d'hab c'est du copier coller en changeant les noms et les parametres des boutons :
Spoiler:


Enfin il faut mettre les nouveaux specialPowers dans specialpower.ini
(toujours du copier coller en modifiant le RequiredSciences)
Spoiler:


enfin tu met tout ca dans le playerTemplate donc nos 6 fameuses ligne deviennent :
Spoiler:




Voila tout ce qu'il faut pour faire l'arbre des pouvoirs, dans cet exemple j'ai disocié les spellbook du rohan avec celui du bien donc il est totalement indépendant car on recopie tout les commandbutton,commandset,specialpower,science,etc...
Donc en gros on l'as refait de a à z (sauf qu'il manque des pouvoirs) donc si tu n'as pas fait une étape dans tout ce que j'ai mis plus haut c'est probablement la source du probleme

Apres en toute déduction si les pouvoirs apparaissent dans la fenetre d'achat mais pas sur la gauche c'est que le probleme vient probablement du coté du spell book (RohanSpellBook) et/ou du commandset

Mais bon rien ne t'empeche de créer tes propres pouvoirs au lieu d'utiliser ceux deja existant Very Happy
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeVen 30 Jan - 20:40

salut cdd
et merci de ta patience
bon j'ai repris ton tuto qui est trés bon
le probléme c'est moi qui comprend pas tout fou
donc je te mets tout ce que j'ai fait comme ça d'un coup d'oeil tu verra les erreures que j'ai pus faire.
je reprend dans le meme ordre que toi et j'ai fait deux post parce que trop long
dans science ini

Science SCIENCE_ROHAN
PrerequisiteSciences = None
SciencePurchasePointCost = 0 ; note that this means "not purchasable", NOT "free"!
IsGrantable = No
End

plus tout en bas

Science SCIENCE_Heal_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN
SciencePurchasePointCost = GOOD_RANK_1_COST
SciencePurchasePointCostMP = 5
IsGrantable = Yes
End

Science SCIENCE_Rebuild_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_Heal_rohan
SciencePurchasePointCost = GOOD_RANK_2_COST
SciencePurchasePointCostMP = 5
IsGrantable = Yes
End

Science SCIENCE_DwarvenRiches_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_Rebuild_rohan
SciencePurchasePointCost = GOOD_RANK_2_COST
SciencePurchasePointCostMP = 5
IsGrantable = Yes
End

Science SCIENCE_ArrowVolleyGood_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_DwarvenRiches_rohan
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 10
IsGrantable = Yes
End

Science SCIENCE_TomBombadil_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_ArrowVolleyGood_rohan
SciencePurchasePointCost = GOOD_RANK_2_COST
SciencePurchasePointCostMP = 10
IsGrantable = Yes
End

Science SCIENCE_ElvenWood_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_TomBombadil_rohan
SciencePurchasePointCost = GOOD_RANK_1_COST
SciencePurchasePointCostMP = 10
IsGrantable = Yes
End

Science SCIENCE_MenOfDaleAllies_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_ElvenWood_rohan
SciencePurchasePointCost = GOOD_RANK_2_COST
SciencePurchasePointCostMP = 10
IsGrantable = Yes
End

Science SCIENCE_RohanAllies_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_MenOfDaleAllies_rohan
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 15
IsGrantable = Yes
End

Science SCIENCE_Bombard_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_RohanAllies_rohan
SciencePurchasePointCost = GOOD_RANK_3_COST
SciencePurchasePointCostMP = 15
IsGrantable = Yes
End

Science SCIENCE_DunedainAllies_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_Bombard_rohan
SciencePurchasePointCost = 1
SciencePurchasePointCostMP = 15
IsGrantable = Yes
End

Science SCIENCE_Earthquake_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_DunedainAllies_rohan
SciencePurchasePointCost = GOOD_RANK_4_COST
SciencePurchasePointCostMP = 25
IsGrantable = Yes
End

Science SCIENCE_Sunflare_rohan
PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ROHAN SCIENCE_Earthquake_rohan
SciencePurchasePointCost = GOOD_RANK_4_COST
SciencePurchasePointCostMP = 25
IsGrantable = Yes
End

la déja j'ai du faire des erreures

ensuite dans system ini j'ai créé le spellbook tout en bas comme suit
tu remarquera le double End à la fin qui m'as été demandé de mettre aprés un crashgame
la j'ai pas trop compris mais bon il là pris
Object RohanSpellBook
EditorSorting = SYSTEM
; *** ART Parameters ***
Draw = W3DDefaultDraw ModuleTag_01
;nothing
End ; Never drawn
CommandSet = RohanSpellBookCommandSet
RadarPriority = NOT_ON_RADAR
KindOf = SPELL_BOOK IMMOBILE IGNORES_SELECT_ALL INERT

Behavior = PlayerHealSpecialPower ModuleTag_Heal
SpecialPowerTemplate = SpellBookHealROHAN
HealAffects = INFANTRY CAVALRY MONSTER MACHINE SHIP DOZER
HealAmount = 0.6 ;1.0 ; 0.5 = 50% of maximum health
HealRadius = SPELL_HEAL_RADIUS_UNIT_SCAN
HealFX = FX_SpellHealUnitHealBuff ;FX_DefaultUnitHealBuff
; To replenish hordes a bit
HealOCL = OCL_HealSpellHordeReplenishPing
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = PlayerHealSpecialPower ModuleTag_Rebuild
SpecialPowerTemplate = SpellBookRebuildROHAN
HealAffects = STRUCTURE
HealAsPercent = No
HealAmount = 4000
HealRadius = SPELL_REBUILD_RADIUS_STRUCTURE_SCAN
HealFX = FX_SpellRebuild
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = SpecialPowerModule ModuleTag_DwarvenRiches
SpecialPowerTemplate = SpellBookDwarvenRichesROHAN
AttributeModifier = SpellBookDwarvenRiches
AttributeModifierRange = DWARVENRICHES_EFFECT_RADIUS
AttributeModifierAffects = INDUSTRY_TYPE_SPELL_OBJECT_FILTER
TriggerFX = FX_DwarvenRiches
UpdateModuleStartsAttack = No
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_ArrowVolleyGood
SpecialPowerTemplate = SpellBookArrowVolleyGoodROHAN
OCL = OCL_SpellBookArrowVolley
CreateLocation = USE_SECONDARY_OBJECT_LOCATION
NearestSecondaryObjectFilter = NONE SAME_PLAYER +CASTLE_KEEP
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_TomBombadil
SpecialPowerTemplate = SpellBookTomBombadilROHAN
OCL = OCL_SpawnTomBombadilEgg
CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = ElvenWoodSpecialPower ModuleTag_ElvenWood
SpecialPowerTemplate = SpellBookElvenWoodROHAN
ElvenGroveObject = ElvenGrove
ElvenWoodRadius = SPELLBOOK_TAINT_RADIUS
ElvenWoodFX = FX_ElvenWoodSpellFX
ElvenWoodOCL = OCL_ElvenWoodSeed
; CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_MenOfDaleAllies
SpecialPowerTemplate = SpellBookMenOfDaleAlliesROHAN
OCL = OCL_SpawnMenOfDaleEgg
TriggerFX = FX_DunedainSummon
CreateLocation = CREATE_AT_LOCATION
UpgradeName = Upgrade_MenOfDaleAllies
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_SummonRohan
SpecialPowerTemplate = SpellBookRohanAlliesROHAN
OCL = OCL_SpawnRohanRohirrimEgg
TriggerFX = FX_RohirimSummon
CreateLocation = CREATE_AT_LOCATION
UpgradeName = Upgrade_RohanAllies
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_Bombard
SpecialPowerTemplate = SpellBookBombardROHAN
OCL = OCL_SpellBookBombardSeed
CreateLocation = USE_SECONDARY_OBJECT_LOCATION
NearestSecondaryObjectFilter = NONE SAME_PLAYER +CASTLE_KEEP
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_SummonDunedain
SpecialPowerTemplate = SpellBookDunedainAlliesROHAN
OCL = OCL_SpawnDunedainRangersEgg
TriggerFX = FX_DunedainSummon
CreateLocation = CREATE_AT_LOCATION
UpgradeName = Upgrade_DunedainAllies
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_Earthquake
SpecialPowerTemplate = SpellBookEarthquakeROHAN
OCL = OCL_SpellBookEarthquake
;TriggerFX = FX_ElvenAlliesSummon
CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

Behavior = OCLSpecialPower ModuleTag_Sunflare
SpecialPowerTemplate = SpellBookSunflareROHAN
OCL = OCL_SpecialPowerSunflare
CreateLocation = CREATE_AT_LOCATION
AvailableAtStart = No
AttributeModifierAffects = ANY +INFANTRY +CAVALRY +MONSTER -HERO ENEMIES
ReEnableAntiCategory = Yes
AttributeModifierWeatherBased = Yes
WeatherDuration = SPELL_SUNFLARE_DURATION
ChangeWeather = SUNNY
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End

End

je n'ais pas fait les modules pour l'IA pour l'instant

ensuite dans le commandset j'ai mis sous celui des nains

CommandSet RohanSpellBookCommandSet
1 = Command_SpellBookHeal_rohan
2 = Command_SpellBookRebuild_rohan
3 = Command_SpellBookDwarvenRiches_rohan

4 = Command_SpellBookArrowVolleyGood_rohan
5 = Command_SpellBookTomBombadil_rohan
6 = Command_SpellBookElvenWood_rohan
7 = Command_SpellBookMenOfDaleAllies_rohan

8 = Command_SpellBookRohanAllies_rohan
9 = Command_SpellBookBombard_rohan
10 = Command_SpellBookDunedainAllies_rohan

11 = Command_SpellBookEarthquake_rohan
12 = Command_SpellBookSunflare_rohan
End

CommandSet RohanSpellStoreCommandSet
1 = Command_PurchaseSpellHeal_rohan
2 = Command_PurchaseSpellRebuild_rohan
3 = Command_PurchaseSpellDwarvenRiches_rohan

4 = Command_PurchaseSpellArrowVolleyGood_rohan
5 = Command_PurchaseSpellTomBombadil_rohan
6 = Command_PurchaseSpellElvenWood_rohan
7 = Command_PurchaseSpellMenOfDaleAllies_rohan

8 = Command_PurchaseSpellRohanAllies_rohan
9 = Command_PurchaseSpellBombard_rohan
10 = Command_PurchaseSpellDunedainAllies_rohan

11 = Command_PurchaseSpellEarthquake_rohan
12 = Command_PurchaseSpellSunflare_rohan
End
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeVen 30 Jan - 20:40

ensuite dans le commandbutton ini tout en bas j'ai mis

CommandButton Command_SpellBookHeal_rohan
Command = SPELL_BOOK
TextLabel = CONTROLBAR:Heal
Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
DescriptLabel = CONTROLBAR:TooltipHeal
SpecialPower = SpellBookHealROHAN
ButtonImage = SBGood_Heal
ButtonBorderType = ACTION
RadiusCursorType = HealRadiusCursor
End

CommandButton Command_SpellBookTomBombadil_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookTomBombadilROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:SummonTomBombadil
ButtonImage = SBGood_TomBombadil
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonTomBombadil
RadiusCursorType = TomBombadilRadiusCursor
End

CommandButton Command_SpellBookRebuild_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookRebuildROHAN
ButtonImage = SBGood_Rebuild
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:Rebuild
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipRebuild
RadiusCursorType = RebuildRadiusCursor
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookArrowVolleyGood_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookArrowVolleyGoodROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:ArrowVolley
ButtonImage = SBGood_ArrowVolley
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipArrowVolley
RadiusCursorType = ArrowStormRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookElvenWood_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookElvenWoodROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:ElvenWood
ButtonImage = SBGood_ElvenWood
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipElvenWood
RadiusCursorType = ElvenWoodRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookDwarvenRiches_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookDwarvenRichesROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:DwarvenRiches
ButtonImage = SBGood_DwarvenRiches
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipDwarvenRiches
RadiusCursorType = DwarvenRichesRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookMenOfDaleAllies_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookMenOfDaleAlliesROHAN
ButtonImage = BDArcheryRange_MenofDale
Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:MenOfDaleAllies
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipMenOfDaleAllies
RadiusCursorType = ElvenAlliesRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookRohanAllies_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookRohanAlliesROHAN
ButtonImage = SBGood_RohanAllies
Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SummonRohanAllies
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonRohanAllies
RadiusCursorType = RohanAlliesRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookDunedainAllies_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookDunedainAlliesROHAN
ButtonImage = SBGood_SummonDunedain
Options = NEED_TARGET_POS ; Huh, you can't have this flag and a radius cursor: CONTEXTMODE_COMMAND
TextLabel = CONTROLBAR:SummonDunedainAllies
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSummonDunedainAllies
RadiusCursorType = DunedainAlliesRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookBombard_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookBombardROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:Bombard
ButtonImage = SBGood_Bombard
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipBombard
RadiusCursorType = RainOfFireRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookEarthquake_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookEarthquakeROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:Earthquake
ButtonImage = SBGood_Earthquake
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipEarthquake
RadiusCursorType = EarthquakeRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_SpellBookSunflare_rohan
Command = SPELL_BOOK
SpecialPower = SpellBookSunflareROHAN
Options = NEED_TARGET_POS
TextLabel = CONTROLBAR:Sunflare
ButtonImage = SBGood_Sunflare
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:TooltipSunflare
RadiusCursorType = SunflareRadiusCursor
CursorName = AttackObj
InvalidCursorName = GenericInvalid
End

CommandButton Command_PurchaseSpellHeal_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_Heal
Science = SCIENCE_Heal_rohan
TextLabel = CONTROLBAR:Heal
DescriptLabel = CONTROLBAR:TooltipHeal
End

CommandButton Command_PurchaseSpellTomBombadil_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_TomBombadil
Science = SCIENCE_TomBombadil_rohan
TextLabel = CONTROLBAR:SummonTomBombadil
DescriptLabel = CONTROLBAR:TooltipSummonTomBombadil
End

CommandButton Command_PurchaseSpellRebuild_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_Rebuild
Science = SCIENCE_Rebuild_rohan
TextLabel = CONTROLBAR:Rebuild
DescriptLabel = CONTROLBAR:TooltipRebuild
End

CommandButton Command_PurchaseSpellArrowVolleyGood_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_ArrowVolley
Science = SCIENCE_ArrowVolleyGood_rohan
TextLabel = CONTROLBAR:ArrowVolley
DescriptLabel = CONTROLBAR:TooltipArrowVolley
End

CommandButton Command_PurchaseSpellElvenWood_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_ElvenWood
Science = SCIENCE_ElvenWood_rohan
TextLabel = CONTROLBAR:ElvenWood
DescriptLabel = CONTROLBAR:TooltipElvenWood
End

CommandButton Command_PurchaseSpellDwarvenRiches_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_DwarvenRiches
Science = SCIENCE_DwarvenRiches_rohan
TextLabel = CONTROLBAR:DwarvenRiches
DescriptLabel = CONTROLBAR:TooltipDwarvenRiches
End

CommandButton Command_PurchaseSpellMenOfDaleAllies_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = BDArcheryRange_MenofDale
Science = SCIENCE_MenOfDaleAllies_rohan
TextLabel = CONTROLBAR:MenOfDaleAllies
DescriptLabel = CONTROLBAR:TooltipMenOfDaleAllies
End

CommandButton Command_PurchaseSpellRohanAllies_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_RohanAllies
Science = SCIENCE_RohanAllies_rohan
TextLabel = CONTROLBAR:SummonRohanAllies
DescriptLabel = CONTROLBAR:TooltipSummonRohanAllies
End

CommandButton Command_PurchaseSpellDunedainAllies_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_SummonDunedain
Science = SCIENCE_DunedainAllies_rohan
TextLabel = CONTROLBAR:SummonDunedainAllies
DescriptLabel = CONTROLBAR:TooltipSummonDunedainAllies
End

CommandButton Command_PurchaseSpellBombard_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_Bombard
Science = SCIENCE_Bombard_rohan
TextLabel = CONTROLBAR:Bombard
DescriptLabel = CONTROLBAR:TooltipBombard
End

CommandButton Command_PurchaseSpellEarthquake_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_Earthquake
Science = SCIENCE_Earthquake_rohan
TextLabel = CONTROLBAR:Earthquake
DescriptLabel = CONTROLBAR:TooltipEarthquake
End

CommandButton Command_PurchaseSpellSunflare_rohan
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
ButtonImage = SBGood_Sunflare
Science = SCIENCE_Sunflare_rohan
TextLabel = CONTROLBAR:Sunflare
DescriptLabel = CONTROLBAR:TooltipSunflare
End

puis dans le specialpowers ini j'ai mis tout en bas

SpecialPower SpellBookHealROHAN
InitiateAtLocationSound = SpellHeal
Enum = SPECIAL_SPELL_BOOK_HEAL
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = SPELL_RECHARGE_TIME_TIER_1
RequiredSciences = SCIENCE_Heal_rohan
RadiusCursorRadius = SPELL_HEAL_RADIUS_CURSOR
End

SpecialPower SpellBookRebuildROHAN
Enum = SPECIAL_SPELL_BOOK_REBUILD
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = SPELL_REBUILD_RADIUS_CURSOR
RequiredSciences = SCIENCE_Rebuild_rohan
InitiateAtLocationSound = SpellRebuild
End

SpecialPower SpellBookDwarvenRichesROHAN
Enum = SPECIAL_SPELL_BOOK_DWARVEN_RICHES
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = DWARVENRICHES_EFFECT_RADIUS
RequiredSciences = SCIENCE_DwarvenRiches_rohan
InitiateAtLocationSound = SpellDwarvenRiches1
Flags = NEEDS_OBJECT_FILTER RESPECT_RECHARGE_TIME_DISCOUNT
ObjectFilter = INDUSTRY_TYPE_SPELL_OBJECT_FILTER
End

SpecialPower SpellBookArrowVolleyGoodROHAN
Enum = SPECIAL_SPELL_BOOK_ARROW_VOLLEY_GOOD
RadiusCursorRadius = 95
RequiredSciences = SCIENCE_ArrowVolleyGood_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellArrowVolleyMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End

SpecialPower SpellBookTomBombadilROHAN
Enum = SPECIAL_SPELL_BOOK_TOM_BOMBADIL
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
RadiusCursorRadius = 15.0
RequiredSciences = SCIENCE_TomBombadil_rohan
InitiateAtLocationSound = SpellSummonTomBombadilMS ;SpellPalantirVision
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 15.0
End

SpecialPower SpellBookElvenWoodROHAN
Enum = SPECIAL_SPELL_BOOK_ELVEN_WOOD
RadiusCursorRadius = SPELLBOOK_TAINT_RADIUS ; Match the radius in FXList ElvenWood
RequiredSciences = SCIENCE_ElvenWood_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_2
InitiateAtLocationSound = SpellElvenWood
ViewObjectDuration = 5000
ViewObjectRange = 175
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NONE +WatcherHead +WatcherHittingArm +WatcherCaldera
ForbiddenObjectRange = SPELLBOOK_TAINT_RADIUS
End

SpecialPower SpellBookMenOfDaleAlliesROHAN
Enum = SPECIAL_SPELL_BOOK_MEN_OF_DALE_ALLIES
RequiredSciences = SCIENCE_MenOfDaleAllies_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_2 ; in milliseconds
InitiateAtLocationSound = SpellSummonDunedainAllies
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End

SpecialPower SpellBookRohanAlliesROHAN
Enum = SPECIAL_SPELL_BOOK_ROHAN_ALLIES
RequiredSciences = SCIENCE_RohanAllies_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellRohirrimSummonMS
RadiusCursorRadius = 110.0 ;150.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 110.0
End

SpecialPower SpellBookBombardROHAN
Enum = SPECIAL_SPELL_BOOK_BOMBARD
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = 200
RequiredSciences = SCIENCE_Bombard_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_3
InitiateAtLocationSound = SpellBarrageStartMS
End

SpecialPower SpellBookDunedainAlliesROHAN
Enum = SPECIAL_SPELL_BOOK_DUNEDAIN_ALLIES
RequiredSciences = SCIENCE_DunedainAllies_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_3 ; in milliseconds
InitiateAtLocationSound = SpellSummonDunedainAllies
RadiusCursorRadius = 100.0
Flags = NO_FORBIDDEN_OBJECTS RESPECT_RECHARGE_TIME_DISCOUNT
ForbiddenObjectFilter = NO_SUMMON_NEAR_OBJECT_FILTER
ForbiddenObjectRange = 100.0
End

SpecialPower SpellBookEarthquakeROHAN
Enum = SPECIAL_SPELL_BOOK_EARTHQUAKE
RadiusCursorRadius = 300
RequiredSciences = SCIENCE_Earthquake_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ; in milliseconds
InitiateAtLocationSound = SpellEarthquakeMS
ViewObjectDuration = 10000
ViewObjectRange = 200
Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End

SpecialPower SpellBookSunflareROHAN
Enum = SPECIAL_SPELL_BOOK_SUNFLARE
Flags = WATER_OK RESPECT_RECHARGE_TIME_DISCOUNT
RadiusCursorRadius = SPELL_SUNFLARE_EFFECT_RADIUS
RequiredSciences = SCIENCE_Sunflare_rohan
ReloadTime = SPELL_RECHARGE_TIME_TIER_4 ;// in milliseconds
ViewObjectDuration = SPELL_SUNFLARE_VIEW_OBJECT_DURATION
ViewObjectRange = SPELL_SUNFLARE_VIEW_OBJECT_RANGE
InitiateAtLocationSound = SpellSunflareMS
End

et enfin dans le playertemplate ini les fameuses 6 lignes (je te mets juste les 6 lignes ok)

IntrinsicSciences = SCIENCE_GOOD
IntrinsicSciencesMP = SCIENCE_ROHAN
SpellBook = GoodSpellBook
SpellBookMp = RohanSpellBook
PurchaseScienceCommandSet = GoodSpellStoreCommandSet
PurchaseScienceCommandSetMP = RohanSpellStoreCommandSet

voila peut tu me dire ou es que je me suis trompé
merci pour tout
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeSam 31 Jan - 0:21

tout m'as l'air bon sauf les sciences
Spoiler:

Je sais pas si tu a l'intention que le joueur soit obliger de choisir ses pouvoirs dans l'ordre que t'as mis mais il n'aura pas de choix que de débloquer les pouvoirs les 1 apres les autres
Je sais pas c'est quoi ton bug mais bon les lignes en rouge tu devrait les modifier donc tu doit mettre pour les 3 premiers pouvoirs la ligne
Code:
PrerequisiteSciences = SCIENCE_ROHAN
Pour la deuxieme ligne tu met
- pour le 1er : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_Heal_rohan
- pour le 2eme : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_Heal_rohan OR SCIENCE_ROHAN SCIENCE_Rebuild_rohan
- pour le 3eme : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_Rebuild_rohan OR SCIENCE_ROHAN SCIENCE_DwarvenRiches_rohan
- pour le 4eme : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_DwarvenRiches_rohan
Tu fait en fait SCIENCE_ROHAN ScienceDuDessus OR SCIENCE_ROHAN AutreScienceDuDessusSiIlYEnAUne

En gros pour faire un truc général tu as les pouvoir comme ca dans ton arbre :

. 1 . 2 . 3
./ \ / \ / \

4 . 5 . 6 . 7
.\ / \ / \ /
. 8 . 9 . 10
.. \ / \ / ..
... 11. 12 ...

(je l'ai bien réussit je trouve Smile )

si SCIENCE_1 correspond au pouvoir 1, SCIENCE_2 correspond au pouvoir 2, etc...

alors pour SCIENCE_1 , SCIENCE_2 et SCIENCE_3 tu as PrerequisiteSciences = SCIENCE_ROHAN
car on a besoin de rien pour les acheter
pour SCIENCE_4 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_1
pour SCIENCE_5 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_1 OR SCIENCE_ROHAN SCIENCE_2
pour SCIENCE_6 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_2 OR SCIENCE_ROHAN SCIENCE_3
pour SCIENCE_7 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_3
pour SCIENCE_8 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_4 OR SCIENCE_ROHAN SCIENCE_5
pour SCIENCE_9 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_5 OR SCIENCE_ROHAN SCIENCE_6
pour SCIENCE_10 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_6 OR SCIENCE_ROHAN SCIENCE_7
pour SCIENCE_11 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_8 OR SCIENCE_ROHAN SCIENCE_9
pour SCIENCE_12 : PrerequisiteSciences = SCIENCE_ROHAN SCIENCE_9 OR SCIENCE_ROHAN SCIENCE_10

voilà j'ai j'ai tout ce que j'ai pu lol
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeSam 31 Jan - 12:13

salut cdd
bon j'ai tout refait le science ini correctement
mais le probléme persiste
une fois que j'ai acheté les pouvoirs quand je reviens sur la fenétre de jeu
les boutons à gauche sont gris
le meme probléme qu'au début scratch
Revenir en haut Aller en bas
cdd59554
Admin
cdd59554


Nombre de messages : 7235
Age : 31
Location : J'aime les abricots
Add-On : Oui
Date d'inscription : 16/01/2008

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeSam 31 Jan - 13:36

Bin je sais pas quoi dire... t'as du faire une erreur,non ?
Bon je vais voir si j'arrive a ajouter une nouvelle faction chez moi comme ca avec un nouvel arbre
Revenir en haut Aller en bas
wr1000
Moddeur
Moddeur
wr1000


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

les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitimeSam 31 Jan - 14:58

j'ai fait tout ce que tu m'as dis
je t'ais mis tout les codes aussi
peut etre qu'une erreure c'est glissé quelque part
et oui si tu peut le faire chez toi peut etre que tu vas trouvé ou es que ça merdouille
merci
Revenir en haut Aller en bas
Contenu sponsorisé





les elfes de rivendell du 1er opus Empty
MessageSujet: Re: les elfes de rivendell du 1er opus   les elfes de rivendell du 1er opus Icon_minitime

Revenir en haut Aller en bas
 
les elfes de rivendell du 1er opus
Revenir en haut 
Page 1 sur 1
 Sujets similaires
-
» images des archers elfes noldor
» Vos plus belles captures d'écrans de bfme2, bfme, rotwk
» Elfes Bfme1
» Mod elfes noir
» probléme avec appel des elfes dans bfme1

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