all the levels have coresponding names in the exportVnVs.txt file:
Code:
¬------------------------------------------
{arc}Archer Tactics
{arc_desc}Relying on archers, this general can spot his enemies and inflict them heavy casulties even before main battle lines engage.
{arc_gain_desc}Bows and ranged warfare always facinated this general. Now he has set on a path on becoming Archer Commander.
{arc_effects_desc} 5% increase in Movement Points, increased Line of Sight due to archer-scouts
¬------------------------------------------
{roa}Relies on Archers
{roa_desc}Archers are involved in all battle plans of this general. Victory is never achived without them.
{roa_gain_desc}Furthering his knowledge in archer tactics, this main gained new understanding of how things work on a battlefield.
{roa_effects_desc}15% increase in Movement Points, increased Line of Sight due to scouting-parties
¬------------------------------------------
{msta}Master of Archers
{msta_desc}A true master of archery. His archers always deliver fatal blow to his enemies.
{msta_gain_desc}Inventing new archer tactica and improving old ones made this general a true master.
{msta_effects_desc}30% increase in Movement Points, increased Line of Sight.
¬------------------------------------------
so why the hell it crashes always? i'm using the Notepad++, Dos/Windws and ANSI coding for export_character_traits.txrt and Dos/Windows and UCS-2 Little Endian for expor_tVnVs.txt
the unit category problem i don't get also the code is following:
Code:
;------------------------------------------
Trigger MasterArcherMM1
WhenToTest GovernorUnitTrained
Condition TrainedUnitCategory missile
and Attribute Command >= 3
and not Trait Drillmaster = 1
and not Trait Stablemaster = 1
and IsGeneral
Affects MasterArcher 1 chance 6
;------------------------------------------
and docudemons states that missile is one of the unit categories...
any help would be appreciated...
Last edited by Minas Moth; February 16, 2012 at 11:53 AM.
---------------------------------------------------
Identifier: TrainedUnitCategory
Trigger requirements: unit
Parameters: category description (infantry, cavalry, siege, non_combatant, ship, handler)
Sample use: TrainedUnitCategory cavalry
Description: Test to see if the unit is of a particular category
Battle or Strat: Strat
Class: GOVERNOR_TRAINED_UNIT_TYPE_TEST
Implemented: Yes
Author: Lee
---------------------------------------------------
Identifier: TrainedUnitClass
Trigger requirements: unit
Parameters: unit class (light, heavy, spearmen, skirmish, missile)
Sample use: TrainedUnitClass heavy
Description: Test to see if the unit is of a particular class
Battle or Strat: Strat
Class: TRAINED_UNIT_CLASS_TEST
Implemented: Yes
Author: Grig
As for the rest, no idea what the problem is. Your work looks fine.
Originally Posted by Minas Moth
so why the hell it crashes always? i'm using the Notepad++, Dos/Windws and ANSI coding for export_character_traits.txrt and Dos/Windows and UCS-2 Little Endian for expor_tVnVs.txt
What? Why? .. Might have nothing to do with anything but I don't need to pay attention to stuff like that, and so neither should you.
Is there some advantage gained?
Last edited by Taiji; February 16, 2012 at 08:45 AM.
not an advantage... but if the language isn't what it should be then, you will get crash with report that some of the very first lines in the file are wrong... but this isn't a problem, i think everything is ok in that department...
so you have no idea what that Trait not recognised line means? that's a bummer...
now, it's giving me this message when i try to start a new campaign...
Code:
17:35:58.605 [system.io] [trace] exists: 8714: caching file: mods/third_age_3/data/ui/custom_portraits/denethor/portrait_old.tga (1238143766)
17:35:58.605 [system.io] [trace] exists: 8715: caching file: mods/third_age_3/data/ui/custom_portraits/denethor/portrait_young.tga (1238143734)
17:35:58.605 [system.io] [info] exists: found mods/Third_Age_3/data/ui/custom_portraits/Denethor/portrait_old.tga (from: D:\Igre\Medieval II)
17:35:58.605 [system.io] [info] exists: found mods/Third_Age_3/data/ui/custom_portraits/Denethor/portrait_old.tga (from: D:\Igre\Medieval II)
17:35:58.606 [system.io] [info] exists: found mods/Third_Age_3/data/ui/custom_portraits/Denethor/portrait_old.tga (from: D:\Igre\Medieval II)
17:35:58.606 [system.io] [info] exists: found mods/Third_Age_3/data/ui/custom_portraits/Denethor/portrait_old.tga (from: D:\Igre\Medieval II)
17:35:58.606 [game.script.trigger] [trace] Trigger <factionleader> fired
17:35:58.608 [bink] [debug] [mods/Third_Age_3/data/fmv/menu/DUMP0000.BIK]Pause on
17:35:58.837 [system.rpt] [error] Medieval 2: Total War encountered an unspecified error and will now exit.
i looked at that trigger and everything is finw there... so i'm really at lost here... should i maybe delete export_VnVs.strings file or something like that?
Last edited by Minas Moth; February 16, 2012 at 10:56 AM.
Oh I see, so that code difference stuff is just a guide and makes no real difference? (If it makes a difference then it's possibly breaking it, since the difference is not required.)
BTW you didn't respond to the docudemons bit - You need to use class not category to specify missile.
And yeah I know what 'trait not recognised' means, it's plain english, it means it isn't in the list of traits that the program is using to recognise traits - So something is wrong with your coding (like editor automatically breaking it for you).
Also, when is it crashing? I have no idea what's going on except CTD and roughly what you did. When it crashes might give some clue as to what is crashing it.
Last edited by Taiji; February 16, 2012 at 11:48 AM.