7. Mai 2024, 18:22 Hallo Gast.
Willkommen Gast. Bitte einloggen oder registrieren. Haben Sie Ihre Aktivierungs E-Mail übersehen?

Einloggen mit Benutzername, Passwort und Sitzungslänge. Hierbei werden gemäß Datenschutzerklärung Benutzername und Passwort verschlüsselt für die gewählte Dauer in einem Cookie abgelegt.


Select Boards:
 
Language:
 


Autor Thema: Ist das so richtig?  (Gelesen 3982 mal)

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Ist das so richtig?
« am: 23. Dez 2010, 21:34 »
Hallo,

ich habe mit meiner Mod angefangen und wollte mal fragen ob die Codes die ich gemacht habe richtig sind, die Imagebuttons werden noch verändert.

Amrbrüste für Isengart:

Reihe1:

science.ini

Science SCIENCE_IsengartArmbrüste
  PrerequisiteSciences = SCIENCE_ISENGART
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End




system.ini

Behavior = PlayerUpgradeSpecialPower SpellBookIsengartArmbrüste_ModuleTag
SpecialPowerTemplate = SpellBookIsengartArmbrüste
UpgradeName = Upgrade_IsengartArmbrüste
UpdateModuleStartsAttack = No
AffectAllies = No ; Should not try to affect ally units
AvailableAtStart = No
RequirementsFilterMPSkirmish = SPELL_BOOK_REQUIREMENTS_FILTER
RequirementsFilterStrategic = SPELL_BOOK_REQUIREMENTS_FILTER_STRATEGIC
End



upgrade.ini

Upgrade Upgrade_IsengartArmbrüste
  DisplayName       = CONTROLBAR:IsengartAmrbrüste
  Type              = PLAYER
End





specialpower.ini

SpecialPower SpellBookIsengartArmbrüste
Enum = SPECIAL_SPELL_BOOK_ELVEN_GIFTS
    RequiredSciences = SCIENCE_IsengartArmbrüste
    ReloadTime      = 0 ; in milliseconds
    Flags = RESPECT_RECHARGE_TIME_DISCOUNT
End





commandbutton.ini

CommandButton Command_SpellBookIsengartArmbrüste
Command = SPELL_BOOK
Options = NONPRESSABLE
TextLabel = CONTROLBAR:IsengartArmbrüste
DescriptLabel = CONTROLBAR:IsengartArmbrüste
SpecialPower = SpellBookIsengartArmbrüste
    ButtonImage = BGBarracks_Soldiers!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
End


CommandButton Command_PurchaseSpellIsengartArmbrüste
Command = PURCHASE_SCIENCE
ButtonBorderType = UPGRADE
    ButtonImage = BGBarracks_Soldiers!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Science = SCIENCE_IsengartArmbrüste
    TextLabel = CONTROLBAR:IsengartArmbrüste
DescriptLabel = CONTROLBAR:TooltipIsengartArmbrüste

;; Trigger this command button when the purchase science is activated
CommandTrigger = Command_SpellBookIsengartArmbrüste
End


Danke schonmal im voraus für Antworten,

MfG KingEldarion

Elrond99

  • Galadhrim
  • **
  • Beiträge: 738
Re:Ist das so richtig?
« Antwort #1 am: 23. Dez 2010, 21:50 »
Starte einmal die Mod

Kein Gamecrash wäre schon mal ein gutes Zeichen :P

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #2 am: 23. Dez 2010, 22:42 »
Also ich glaube ich habe was gefunden, Isengart muss ich dafür doch mit d am Ende schreiben :).

Wie schaffe ich das denn, dass die Mod spielbar ist, also wie muss ich das machen, habe mich bisher eigentlich nur mit den Armbrustini's beschäftigt und ein Konzept für Isengart und Angmar entwickelt.
« Letzte Änderung: 23. Dez 2010, 22:45 von Jingleeldi »

Elrond99

  • Galadhrim
  • **
  • Beiträge: 738
Re:Ist das so richtig?
« Antwort #3 am: 23. Dez 2010, 22:57 »
Hast du die originale ini geändert oder eine eigene gemacht?

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #4 am: 23. Dez 2010, 23:18 »
Ich habe mir die Extrahiert und verändert!

Elrond99

  • Galadhrim
  • **
  • Beiträge: 738
Re:Ist das so richtig?
« Antwort #5 am: 23. Dez 2010, 23:26 »
Also du hast lauter einzelne blabla.ini Dateienin einem Ordner?

Ok also geh zum Arbeitsplatz, auf deine C: Festplatte und dort machst du einen Ordner der EldarionsMod heißt (oder auch sonst wie, wie du willst)

Dann kopierst du deine Verknüpfung und klickst rechts darauf und dann auf Eigenschaften
Dort findest du dann Ziel:

"C:\Programme\Electronic Arts\Aufstieg des Hexenkönigs\lotrbfme2ep1.exe"

das änderst du in

"C:\Programme\Electronic Arts\Aufstieg des Hexenkönigs\lotrbfme2ep1.exe" -mod "C:\EldarionsMod" (oder wie die Mod eben sonst heißt)

In den Ordner EldarionsMod schiebst du dann alle veränderten .inis (die nicht veränderten brauchst du nicht), der Pfad muss gleich sein (also data\ini\commandbutton.ini hätte dann EldarionsMod\data\ini\commandbutton.ini)

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #6 am: 24. Dez 2010, 11:46 »
OK,

danke.

Werde es mal ausprobieren.

PS:
Die Mod heißt Eregionmod.

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #7 am: 24. Dez 2010, 21:03 »
So hier ist der Gamecrash: :D


Ealendril der Dunkle

  • Gast
Re:Ist das so richtig?
« Antwort #8 am: 24. Dez 2010, 22:22 »
Steht doch dort:
Zeile 26
Eintrag: SCIENCE_ISENGART
Damit kann das System nichts anfangen, weil SCIENCE_ISENGART nicht definiert ist. Ich nehme an, du möchtest es auf Isengard beziehen, was in diesem Fall als Eintrag hieße:
SCIENCE_ISENGARD

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #9 am: 25. Dez 2010, 10:10 »
OK

Aber nur das wird dochnicht auslöser für den Crash sein, oder???

Souls of Black

  • Seher der Elben
  • **
  • Beiträge: 825
  • Teil der Crew Teil des Schiffs
Re:Ist das so richtig?
« Antwort #10 am: 25. Dez 2010, 10:15 »
Doch so ein kleiner Fehler löst einen Crash aus :D. Guck einfach ob nach der Verbesserung ein anderer Fehler angezeigt wird und überprüf den. Häufige Fehler sind fehlende End Groß/Kleinschreibung und sonstige Rechtschreibfehler. Einfach die Ini mit dem Fehler gehen und dann bei der gesagten Zeile gucken was los ist. Viel Spaß noch.
CRP-Thread
Carpe Jugulum
Ihr seid mit Abstand das schlechteste Mod-Team von dem ich je' gehört hab.
- Aber ihr habt von uns gehört

Elrond99

  • Galadhrim
  • **
  • Beiträge: 738
Re:Ist das so richtig?
« Antwort #11 am: 25. Dez 2010, 11:20 »
Doch, das löst den Crash aus, es muss Buchstabe für Buchstabe genau gleich sein

Die Einträge im Spiel sind alle Englisch, das solltest du beachten ;)

Du wirst jetzt wahrscheinlich noch mehr Fehler mit SCIENCE_ISENGART bekommen, schau einfach welches file der gamecrash anzeigt, öffne es und durchsuch es nach SCIENCE_ISENGART und änder das zu SCIENCE_ISENGARD

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #12 am: 25. Dez 2010, 12:51 »
F:\Spiele\Verzeichnis\SuM\AdH\lotrbfme2ep1.exe -mod F:\Spiele\Verzeichnis\SuM\Eregionmod

Das habe ich übrigens bei Ziel reingeschrieben, aber darunter steht auch noch Ausführen in!

Da habe ich das alte stehenn lassen

Ich habe es jetzt geändert, steht jetzt dieser Gamecrash:

« Letzte Änderung: 25. Dez 2010, 12:54 von Jingleeldi »

Elrond99

  • Galadhrim
  • **
  • Beiträge: 738
Re:Ist das so richtig?
« Antwort #13 am: 25. Dez 2010, 13:45 »
Poste mal deine science.ini, ich hab ne Vermutung ;)

KingEldarion

  • Elbischer Pilger
  • **
  • Beiträge: 155
  • The New Hope
Re:Ist das so richtig?
« Antwort #14 am: 26. Dez 2010, 13:48 »
Hier:


;//////////////////////////////////////////////////////////////////////////////
;FILE: Science.ini (SYSTEM) ////////////////////////////////////////////////////
;//////////////////////////////////////////////////////////////////////////////

#define GOOD_RANK_1_COST 5
#define GOOD_RANK_2_COST 10
#define GOOD_RANK_3_COST 15
#define GOOD_RANK_4_COST 25

#define EVIL_RANK_1_COST 5
#define EVIL_RANK_2_COST 10
#define EVIL_RANK_3_COST 15
#define EVIL_RANK_4_COST 25

;; -------------------------------------
;; INTRINSIC (Base-Level) Sciences for multiplayer
;; -------------------------------------

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

Science SCIENCE_IsengartArmbrüste
  PrerequisiteSciences = SCIENCE_ISENGARD
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

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

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

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

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

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

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

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

;; -------------------------------------
;; INTRINSIC (Base-Level) Sciences for single player
;; -------------------------------------

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

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

;; -------------------------------------
;; Good Sciences
;; -------------------------------------

Science SCIENCE_ElvenGifts
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN OR SCIENCE_ELVES
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

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

Science SCIENCE_Farsight
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ELVES
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_EnshroudingMistSP
  PrerequisiteSciences = SCIENCE_GOOD
  SciencePurchasePointCost = 5
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_RallyingCall
  PrerequisiteSciences = SCIENCE_EnshroudingMistSP
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

;; The MP version of the RallyingCall is available at Level 1.
Science SCIENCE_RallyingCallMP
  PrerequisiteSciences = SCIENCE_DWARVES OR SCIENCE_ELVES OR SCIENCE_MEN OR SCIENCE_ARNOR
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End
Science SCIENCE_EnshroudingMistMP
  PrerequisiteSciences = SCIENCE_RallyingCallMP
  SciencePurchasePointCost = 5
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End


Science SCIENCE_ElvenWood
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ELVES SCIENCE_Heal OR SCIENCE_ELVES SCIENCE_Farsight OR SCIENCE_ARNOR SCIENCE_Heal OR SCIENCE_ARNOR SCIENCE_RallyingCallMP
  SciencePurchasePointCost = GOOD_RANK_1_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Rebuild
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_Heal OR SCIENCE_ElvenWood OR SCIENCE_MEN OR SCIENCE_DWARVES OR SCIENCE_ARNOR
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_TomBombadil
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_EnshroudingMistSP OR SCIENCE_GOOD SCIENCE_ElvenGifts OR SCIENCE_ELVES SCIENCE_Farsight OR SCIENCE_MEN SCIENCE_RallyingCallMP OR SCIENCE_MEN SCIENCE_Rebuild
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_HobbitAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ELVES SCIENCE_Heal OR SCIENCE_MEN SCIENCE_Heal OR SCIENCE_ARNOR SCIENCE_Heal OR SCIENCE_DWARVES SCIENCE_RallyingCallMP OR SCIENCE_DWARVES SCIENCE_Rebuild
  SciencePurchasePointCost = 3
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_SpawnLoneTower
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_GOOD SCIENCE_ElvenWood OR SCIENCE_MEN SCIENCE_Rebuild OR SCIENCE_DWARVES SCIENCE_Heal OR SCIENCE_DWARVES SCIENCE_Rebuild OR SCIENCE_ARNOR SCIENCE_Rebuild
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_ArrowVolleyGood
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_Heal OR SCIENCE_MEN SCIENCE_RallyingCallMP OR SCIENCE_ELVES SCIENCE_Heal OR SCIENCE_ELVES SCIENCE_RallyingCallMP OR SCIENCE_ARNOR SCIENCE_Rebuild OR SCIENCE_ARNOR SCIENCE_RallyingCallMP
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_DwarvenRiches
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_ElvenGifts OR SCIENCE_GOOD SCIENCE_Heal OR SCIENCE_DWARVES SCIENCE_Heal
  SciencePurchasePointCost = GOOD_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_MenOfDaleAllies
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_RallyingCall OR SCIENCE_GOOD SCIENCE_TomBombadil OR SCIENCE_DWARVES SCIENCE_RallyingCallMP
  SciencePurchasePointCost = GOOD_RANK_3_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_CloudBreak
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_TomBombadil OR SCIENCE_GOOD SCIENCE_DwarvenRiches OR SCIENCE_MEN SCIENCE_TomBombadil OR SCIENCE_MEN SCIENCE_ArrowVolleyGood OR SCIENCE_ELVES SCIENCE_ArrowVolleyGood OR SCIENCE_ELVES SCIENCE_ElvenWood OR SCIENCE_DWARVES SCIENCE_DwarvenRiches OR SCIENCE_DWARVES SCIENCE_SpawnLoneTower OR SCIENCE_ARNOR SCIENCE_ArrowVolleyGood OR SCIENCE_ARNOR SCIENCE_ElvenWood
  SciencePurchasePointCost = GOOD_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_RohanAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_TomBombadil OR SCIENCE_MEN SCIENCE_SpawnLoneTower
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_DunedainAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_HobbitAllies OR SCIENCE_MEN SCIENCE_ArrowVolleyGood OR SCIENCE_ARNOR SCIENCE_HobbitAllies OR SCIENCE_ARNOR SCIENCE_ElvenWood
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_EntAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ELVES SCIENCE_ElvenWood OR SCIENCE_ELVES SCIENCE_TomBombadil
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_EagleAllies
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_ELVES SCIENCE_ArrowVolleyGood OR SCIENCE_ELVES SCIENCE_EnshroudingMistMP
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_Undermine
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_DwarvenRiches OR SCIENCE_GOOD SCIENCE_Rebuild OR SCIENCE_DWARVES SCIENCE_HobbitAllies OR SCIENCE_DWARVES SCIENCE_SpawnLoneTower
  SciencePurchasePointCost = GOOD_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_Bombard
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_SpawnLoneTower OR SCIENCE_GOOD SCIENCE_Rebuild OR SCIENCE_DWARVES SCIENCE_HobbitAllies OR SCIENCE_DWARVES SCIENCE_MenOfDaleAllies OR SCIENCE_ARNOR SCIENCE_ArrowVolleyGood OR SCIENCE_ARNOR SCIENCE_SpawnLoneTower
  SciencePurchasePointCost = GOOD_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_ArmyoftheDead
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_MEN SCIENCE_CloudBreak OR SCIENCE_MEN SCIENCE_DunedainAllies
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_Earthquake
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_CloudBreak OR SCIENCE_GOOD SCIENCE_Undermine OR SCIENCE_MEN SCIENCE_RohanAllies OR SCIENCE_MEN SCIENCE_CloudBreak OR SCIENCE_DWARVES SCIENCE_Undermine OR SCIENCE_DWARVES SCIENCE_Bombard OR SCIENCE_ARNOR SCIENCE_CloudBreak OR SCIENCE_ARNOR SCIENCE_Bombard
  SciencePurchasePointCost = GOOD_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_Flood
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_MenOfDaleAllies OR SCIENCE_GOOD SCIENCE_CloudBreak OR SCIENCE_ELVES SCIENCE_EntAllies OR SCIENCE_ELVES SCIENCE_CloudBreak
  SciencePurchasePointCost = GOOD_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_Sunflare
  PrerequisiteSciences = SCIENCE_GOOD SCIENCE_Undermine OR SCIENCE_GOOD SCIENCE_Bombard OR SCIENCE_ELVES SCIENCE_CloudBreak OR SCIENCE_ELVES SCIENCE_EagleAllies OR SCIENCE_ARNOR SCIENCE_CloudBreak OR SCIENCE_ARNOR SCIENCE_DunedainAllies
  SciencePurchasePointCost = GOOD_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_Citadel
  PrerequisiteSciences = SCIENCE_GOOD OR SCIENCE_DWARVES SCIENCE_Undermine OR SCIENCE_DWARVES SCIENCE_CloudBreak
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

;; -------------------------------------
;; Evil Sciences
;; -------------------------------------

Science SCIENCE_Blight
  PrerequisiteSciences = SCIENCE_ANGMAR
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_ChillWind
  PrerequisiteSciences = SCIENCE_ANGMAR
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

; This is the shared Mordor and Wild Taint. Isengard has its own.
Science SCIENCE_Taint
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_MORDOR OR SCIENCE_WILD
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_Crebain
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_CaveBats
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_WILD
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_EyeofSauron
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_MORDOR
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_PalantirVision
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_WarChant
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD OR SCIENCE_WILD OR SCIENCE_MORDOR OR SCIENCE_ANGMAR
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 5
  IsGrantable = Yes
End

Science SCIENCE_WildMenAllies
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_PalantirVision OR SCIENCE_WILD SCIENCE_CaveBats
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_FrozenLand
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_Blight OR SCIENCE_ANGMAR SCIENCE_ChillWind
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Barricade
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_CaveBats OR SCIENCE_EVIL SCIENCE_WarChant OR SCIENCE_MORDOR SCIENCE_EyeofSauron OR SCIENCE_MORDOR SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

; Mordor's Taint and Isengard's Taint are available at different levels, thus
; their prices are different and so they need separate entries
Science SCIENCE_IsengardTaint
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_WarChant OR SCIENCE_ISENGARD SCIENCE_PalantirVision
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Scavenger
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_WILD SCIENCE_Taint OR SCIENCE_WILD SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_1_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Devastation
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_WildMenAllies OR SCIENCE_EVIL SCIENCE_Taint OR SCIENCE_ISENGARD SCIENCE_Crebain OR SCIENCE_ISENGARD SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_SummonOrcs
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_WarChant OR SCIENCE_ANGMAR SCIENCE_ChillWind
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Snowbind
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_UntamedAllegiance
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Taint OR SCIENCE_EVIL SCIENCE_Scavenger OR SCIENCE_MORDOR SCIENCE_EyeofSauron OR SCIENCE_MORDOR SCIENCE_Taint OR SCIENCE_WILD SCIENCE_Taint OR SCIENCE_WILD SCIENCE_CaveBats OR SCIENCE_ANGMAR SCIENCE_Blight
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_SpiderlingAllies
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Scavenger OR SCIENCE_WILD SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_EvilEyeofSauron
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_UntamedAllegiance OR SCIENCE_EVIL SCIENCE_SpiderlingAllies
  SciencePurchasePointCost = 15
  SciencePurchasePointCostMP = 1
  IsGrantable = Yes
End

; Mordor's CallTheHorde and Wild's CallTheHorde are available at different levels, thus
; their prices are different and so they need separate entries
Science SCIENCE_CalltheHorde
  PrerequisiteSciences = SCIENCE_WILD SCIENCE_WarChant
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End
Science SCIENCE_EvilCalltheHorde
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_UntamedAllegiance OR SCIENCE_EVIL SCIENCE_SpiderlingAllies
  SciencePurchasePointCost = EVIL_RANK_3_COST
  IsGrantable = Yes
End

Science SCIENCE_SummonGiants
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_UntamedAllegiance OR SCIENCE_ANGMAR SCIENCE_FrozenLand
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_SummonWights
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_SummonOrcs OR SCIENCE_ANGMAR SCIENCE_Snowbind
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_Industry
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_UntamedAllegiance OR SCIENCE_EVIL SCIENCE_Devastation OR SCIENCE_ISENGARD SCIENCE_Crebain OR SCIENCE_MORDOR SCIENCE_Taint
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_Darkness
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_WarChant OR SCIENCE_EVIL SCIENCE_WildMenAllies OR SCIENCE_MORDOR SCIENCE_Barricade OR SCIENCE_MORDOR SCIENCE_UntamedAllegiance OR SCIENCE_WILD SCIENCE_UntamedAllegiance OR SCIENCE_WILD SCIENCE_Scavenger
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_WatcherAlly
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_CaveBats OR SCIENCE_ISENGARD SCIENCE_Devastation OR SCIENCE_WILD SCIENCE_UntamedAllegiance OR SCIENCE_WILD SCIENCE_WildMenAllies OR SCIENCE_ISENGARD SCIENCE_Industry
  SciencePurchasePointCost = EVIL_RANK_2_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_ArrowVolleyEvil
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Barricade OR SCIENCE_EVIL SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_WarChant
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 10
  IsGrantable = Yes
End

Science SCIENCE_MordorCalltheHorde
  PrerequisiteSciences = SCIENCE_MORDOR SCIENCE_Industry OR SCIENCE_MORDOR SCIENCE_ArrowVolleyEvil
  SciencePurchasePointCost = 1
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_EvilBombard
  PrerequisiteSciences = SCIENCE_MORDOR SCIENCE_Industry OR SCIENCE_MORDOR SCIENCE_UntamedAllegiance
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_AwakenWyrm
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_WatcherAlly OR SCIENCE_EVIL SCIENCE_Barricade OR SCIENCE_MORDOR SCIENCE_Barricade OR SCIENCE_MORDOR SCIENCE_ArrowVolleyEvil OR SCIENCE_WILD SCIENCE_Scavenger OR SCIENCE_WILD SCIENCE_SpiderlingAllies
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_FueltheFires
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_Darkness OR SCIENCE_EVIL SCIENCE_Devastation OR SCIENCE_ISENGARD SCIENCE_WildMenAllies OR SCIENCE_ISENGARD SCIENCE_IsengardTaint
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_FreezingRain
  PrerequisiteSciences = SCIENCE_EVIL OR SCIENCE_ISENGARD SCIENCE_WildMenAllies OR SCIENCE_ISENGARD SCIENCE_IsengardTaint OR SCIENCE_ANGMAR SCIENCE_SummonOrcs OR SCIENCE_ANGMAR SCIENCE_FrozenLand
  SciencePurchasePointCost = EVIL_RANK_3_COST
  SciencePurchasePointCostMP = 15
  IsGrantable = Yes
End

Science SCIENCE_BalrogAlly
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_ArrowVolleyEvil OR SCIENCE_EVIL SCIENCE_FueltheFires OR SCIENCE_MORDOR SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_EvilBombard OR SCIENCE_WILD SCIENCE_Darkness OR SCIENCE_WILD SCIENCE_WatcherAlly
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_RainOfFire
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_FueltheFires OR SCIENCE_EVIL SCIENCE_Industry OR SCIENCE_MORDOR SCIENCE_Darkness OR SCIENCE_MORDOR SCIENCE_AwakenWyrm
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_DragonAlly
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_AwakenWyrm OR SCIENCE_EVIL SCIENCE_ArrowVolleyEvil OR SCIENCE_ISENGARD SCIENCE_FreezingRain OR SCIENCE_WILD SCIENCE_AwakenWyrm OR SCIENCE_WILD SCIENCE_Darkness OR SCIENCE_ISENGARD SCIENCE_FueltheFires
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_DragonStrike
  PrerequisiteSciences = SCIENCE_EVIL SCIENCE_EvilEyeofSauron OR SCIENCE_EVIL SCIENCE_Industry OR SCIENCE_ISENGARD SCIENCE_FreezingRain OR SCIENCE_ISENGARD SCIENCE_WatcherAlly
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_Avalanche
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_SummonGiants OR SCIENCE_ANGMAR SCIENCE_FreezingRain
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End

Science SCIENCE_SummonShadeOfWolf
  PrerequisiteSciences = SCIENCE_ANGMAR SCIENCE_SummonWights OR SCIENCE_ANGMAR SCIENCE_FreezingRain
  SciencePurchasePointCost = EVIL_RANK_4_COST
  SciencePurchasePointCostMP = 25
  IsGrantable = Yes
End