Results 1 to 8 of 8

Thread: Unable to set number of men per unit on higher level

  1. #1
    intel's Avatar Protector Domesticus
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    4,685

    Default Unable to set number of men per unit on higher level

    Hi
    Recently, I've been refreshing my memory and testing numerous changes in EDU in certain mod, based on vanilla Kingdoms mechanics. The idea behind the changes was to significantly slow down the pace of battle and to increase the scale of battle by increasing numbers of men in unit. I based my changes in numbers on vanilla TATW 1.4 EDU.

    type Hajducy
    dictionary Hajducy ; Arquebusiers
    category infantry
    class missile
    voice_type Light
    banner faction main_missile
    banner holy crusade
    soldier hajducy, 80, 0, 0.8
    attributes sea_faring, hide_forest, can_withdraw, gunpowder_unit, start_not_skirmishing, gunmen
    move_speed_mod 0.75
    formation 1.0, 1.0, 1.4, 1.4, 3, square
    stat_health 1, 0
    stat_pri 14, 4, arquebus_bullet, 100, 12, missile, missile_gunpowder, piercing, none, musket_shot_set, 1, 1
    stat_pri_attr prec
    stat_sec 8, 14, no, 0, 0, melee, melee_blade, piercing, sword, 18, 1
    stat_sec_attr no
    stat_pri_armour 2, 12, 0, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 2
    stat_ground 1, -2, 3, 2
    stat_mental 7, normal, trained
    stat_charge_dist 50
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 300, 125, 65, 50, 300, 4, 110
    armour_ug_levels 1
    armour_ug_models hajducy
    ownership poland
    era 2 poland
    Game refused to cooperate and CTDed when launched.

    17:31:56.305 [system.rpt] [always] CPU: SSE2
    17:31:56.308 [system.rpt] [always] ==== system log start, build date: Jun 25 2007 version bld-medieval2-update2.1-30 (43169) ===
    17:31:56.344 [system.io] [always] mounted pack packs/data_0.pack
    17:31:56.365 [system.io] [always] mounted pack packs/data_1.pack
    17:31:56.387 [system.io] [always] mounted pack packs/data_2.pack
    17:31:56.419 [system.io] [always] mounted pack packs/data_3.pack
    17:31:56.440 [system.io] [always] mounted pack packs/data_4.pack
    17:31:56.453 [system.io] [always] mounted pack packs/localized.pack
    17:32:16.741 [script.err] [error] Script Error in My_Mod/data/export_descr_unit.txt, at line 14771, column 27
    Invalid number of soldiers 80 for combatant unit type 'Hajducy'.
    17:32:16.741 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file My_Mod/data/export_descr_unit.txt.
    I guess it won't allow me to set numbers as high as in TATW, that is more than 60 on normal. I'd really appreciate a decent explaination how did TATW achieve such numbers in one unit and how I'd be able to do it.

    Thanks in advance

    ~intel
    Last edited by intel; June 15, 2010 at 04:55 AM.

  2. #2

    Default Re: Unable to set number of men per unit on higher level

    17:32:16.741 [script.err] [error] Script Error in My_Mod/data/export_descr_unit.txt, at line 14771, column 27
    Use notepad 2 and find out which line there in on 14771.

  3. #3
    irishron's Avatar Cura Palatii
    Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Cirith Ungol
    Posts
    47,023

    Default Re: Unable to set number of men per unit on higher level

    Notepad++ has line numbers, also

  4. #4
    intel's Avatar Protector Domesticus
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    4,685

    Default Re: Unable to set number of men per unit on higher level

    Quote Originally Posted by irishron View Post
    Notepad++ has line numbers, also
    Quote Originally Posted by Ishan View Post
    Use notepad 2 and find out which line there in on 14771.
    Line 14771 is exactly the highllighted part with soldier numbers. With all due respect, knowledge what line causes the problem is not the one I am looking for.

    I need to know why M2TW didn't allow me to change the numbers to 80.

  5. #5

    Default Re: Unable to set number of men per unit on higher level

    Line 14771 is exactly the highllighted part with soldier numbers. With all due respect, knowledge what line causes the problem is not the one I am looking for.
    No offense taken bro but u should have mentioned this in the first place.
    Anyways have tried this a different no like 90. or something else.
    And have you tried this with any other unit type.
    It should work fine don't know what the problem is though

  6. #6
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Unable to set number of men per unit on higher level

    Intel, I've no idea what you are doing to cause that problem. You're basing your work on a kingdoms mod, I assume you are using kingdoms. Kingdoms has no problem with unit sizes up to 250, so 100 on the soldier line is the max.

    Ishan, buddy, it says 'Invalid number of soldiers 80 for combatant unit type 'Hajducy'.', it is not possible to be more specific than that. Given that info, the line number becomes superfluous for matters of diagnosis.
    Last edited by Taiji; June 15, 2010 at 09:26 AM.

  7. #7
    intel's Avatar Protector Domesticus
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    4,685

    Default Re: Unable to set number of men per unit on higher level

    I'll try again, now on bare Kingdoms..


  8. #8

    Default Re: Unable to set number of men per unit on higher level

    Ishan, buddy, it says 'Invalid number of soldiers 80 for combatant unit type 'Hajducy'.', it is not possible to be more specific than that. Given that info, the line number becomes superfluous for matters of diagnosis.
    You are right bro sorry should've taken a closer look to log file.
    I'll try again, now on bare Kingdoms..
    You might wanna download bare geomod instead it's a better version.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •