[en] - Modding Corner > Coding

Coding in Edain 4.00

<< < (7/23) > >>

Glorfindel23:

--- Zitat von: Prinz von Dol Amroth am 10. Feb 2016, 10:36 ---Because RemoveModule only needs one argument, so you only need:
RemoveModule ModuleTag_LifetimeUpdate .

For your next question, please try solving the problem yourself, before you ask someone. There are a lot of files and map.inis in the edain_data.big, which are examples for nearly every code/syntax.

--- Ende Zitat ---


I had already test to write juste :


--- Zitat ---ChildObject RohanEomer_mod_Summoned RohanEomer_mod
RemoveModule ModuleTag_LifetimeUpdate
End
 End
 End
--- Ende Zitat ---

I have test again and it doesn't work

Prinz von Dol Amroth:
This error is a little tricky. In map.ini you only write ChildObject to create a new Object. If you want to modify an existing ChildObject, you have to write "Object RohanEomer_mod_Summoned".

Glorfindel23:
Ok thank you  :) !
________________________ ______________



I sought and I don't find how use the command "ReplaceModule" here :


--- Zitat ---ReplaceModule ModuleTag_SummonRohanGon dor
    Behavior = OCLSpecialPower ModuleTag_SummonRohanGon dorMT
        SpecialPowerTemplate = SpellBookSummonRohanGond or
        OCL                  = OCL_SpawnRohanGondorEggM T
        TriggerFX             = FX_RohirimSummon
        CreateLocation       = CREATE_AT_LOCATION
        AvailableAtStart     = No
        RequirementsFilterMPSkir mish = SPELL_BOOK_REQUIREMENTS_ FILTER
        RequirementsFilterStrate gic = SPELL_BOOK_REQUIREMENTS_ FILTER_STRATEGIC
    End
End
--- Ende Zitat ---

I do not know what to write in the first line (I think I've forgotten a line at the top of the code).

CragLord:
One simple question, is data\ini\object file for Beorn in edain_data.big and what is full name of that .ini file?

Melkor Bauglir:
Do you mean the summoned Beorn of the Dwarves? The object's name should be "GasthausGrimbeorn_Summon ed" and his ini's name is "data\ini\object\goodfaction\units\dwarven\dwarvengrimbeorn.ini" (the recruitable Grimbeorn of Lothlorien is the first object, btw).
I'm not completely sure though because it seems that this object has no different name than the Lothlorien Grimbeorn. Not sure about that^^

Greetings
Melkor Bauglir

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln