[en] - Modding Corner > General Modding Questions
Spell Books (coding)
KingThranduil:
How to replace in Edain Mod (3.8.1) spell books?
KingThranduil:
In Imladris I added Gil-Galad. He is in SpellBook(Last Alliance).
I want to remove he from the SpellBook, but I don't know how to do it.
Lostir:
In FinalBig you mau find the obhectcreationlist.inc
In this file search for Gil-Galad and if you find his code-lines then just comment it out with ";" like this:
--- Code: ---; Object = Gil-Galad
--- Ende Code ---
KingThranduil:
In obhectcreationlist.inc about Gil-Galad I found the following lines:
1)
--- Code: ---ObjectCreationList OCL_GilGaladAeglos
CreateObject
ObjectNames = GilGaladAeglosSchockwelle
Count = 1
Disposition = LIKE_EXISTING
End
--- Ende Code ---
2)
--- Code: ---CreateObject
ObjectNames = LothlorienGilGalad_Summoned
Count = 1
FadeIn = Yes
FadeTime = 2000
UseJustBuiltFlag = Yes
StartingBusyTime = 2000
IgnoreCommandPointLimit = Yes
End
End
--- Ende Code ---
3)
--- Code: ---ObjectCreationList GilgaladBombardSeed
CreateObject
ObjectNames = GilgaladRainBombardSeed
Count = CREATE_A_HERO_BOMBARD_COUNT_L3
SpreadFormation = Yes
MinDistanceAFormation = 10.0
MinDistanceBFormation = CREATE_A_HERO_BOMBARD_RADIUS_L3
MaxDistanceFormation = CREATE_A_HERO_BOMBARD_RADIUS_L3
End
End
; ---------------------------------------------------------------------------------------
ObjectCreationList OCL_GilgaladBombardProjectile
CreateObject
ObjectNames = GilgaladBombardProjectile
Disposition = RELATIVE_ANGLE USE_WATER_SURFACE ; same angle as parent.
DispositionAngle = 0
IssueMoveAfterCreation = No
IgnoreAllObjects = Yes ; Don't try and adjust position according to existing objects.
End
End
--- Ende Code ---
4)
--- Code: ---CreateObject
ObjectNames = LothlorienGilGalad_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = SPAWN_AROUND
DispositionAngle = 90 ;SpawnAround uses this as the arc between guys
DispositionIntensity = 50 ; and this for distance from center
End
End
--- Ende Code ---
5)
--- Code: ---ObjectCreationList OCL_SpawnGilGalad
CreateObject
ObjectNames = LothlorienGilGalad
Count = 1
FadeIn = Yes
FadeTime = 4000
;IgnoreCommandPointLimit = No
Disposition = LIKE_EXISTING
DispositionAngle = 120 ;SpawnAround uses this as the arc between guys
DispositionIntensity = 200 ; and this for distance from center
End
End
--- Ende Code ---
6)
--- Code: ---CreateObject
ObjectNames = ArnorGilGalad_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 270
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-30 Y:-60 Z:0
ForbiddenUpgrades = Upgrade_ImladrisFaction
RequiredUpgrades = Upgrade_ArnorFaction
End
CreateObject
ObjectNames = BruchtalGilGalad_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 270
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-30 Y:-60 Z:0
ForbiddenUpgrades = Upgrade_ArnorFaction
RequiredUpgrades = Upgrade_ImladrisFaction
End
--- Ende Code ---
Lostir:
Number 1 and 3 are abillities of Gil-Galad.
Number 2,4,5 and 6 are all posible.
But because the spell is nearly the same for Imladris and Arnor, I believe it is 6 and the other ones are older versions.
So just change Nr. 6 to this. Just set the count of the Gil-Galads for Bruchtal to 0:
--- Zitat ---CreateObject
ObjectNames = ArnorGilGalad_Summoned
Count = 1
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 270
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-30 Y:-60 Z:0
ForbiddenUpgrades = Upgrade_ImladrisFaction
RequiredUpgrades = Upgrade_ArnorFaction
End
CreateObject
ObjectNames = BruchtalGilGalad_Summone d
Count = 0
FadeIn = Yes
FadeTime = 8000
IgnoreCommandPointLimit = Yes
Disposition = ABSOLUTE_ANGLE
DispositionAngle = 270
UseJustBuiltFlag = Yes
StartingBusyTime = 5000
Offset = X:-30 Y:-60 Z:0
ForbiddenUpgrades = Upgrade_ArnorFaction
RequiredUpgrades = Upgrade_ImladrisFaction
End
--- Ende Zitat ---
It would be also possible to delete the whole part for Imladris, but if you want to rechange it, it is better have the old codes still there.
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln