Results 1 to 3 of 3

Thread: [M2 Americas Modding]What's wrong with this EDU entry?

  1. #1
    AntonisTheGreek's Avatar Senator
    Join Date
    Dec 2013
    Location
    Athens, Greece
    Posts
    1,394

    Default [M2 Americas Modding]What's wrong with this EDU entry?

    Well,I tried to make a vessel unit for mesoamerican factions + apachean tribes.I enabled a port for these factions,and I made this unit:
    Code:
    type             canoe
    dictionary       canoe      
    category         ship
    class            light
    voice_type       Light
    soldier          Peasants, 50, 0, 1
    ship             light warship
    attributes       sea_faring, can_withdraw
    formation        3, 3, 5, 5, 1, square
    stat_health      1, 0
    stat_pri         2, 0, javelin, 40, 10, thrown, missile_mechanical, piercing, spear, 10, 0
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    ap, thrown, bp
    stat_sec         0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex     0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  0, 10, 0, flesh
    ;stat_armour_ex  0, 0, 0, 0, 22, 0, 0, flesh
    stat_sec_armour  0, 0, flesh
    stat_heat        0
    stat_ground      0, 0, 0, 0
    stat_mental      8, normal, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 100, 50, 25, 25, 100, 10, 50
    armour_ug_levels 0
    armour_ug_models Peasants
    ownership        mesoamerican, nativeindian
    ;unit_info        18, 0, 22
    recruit_priority_offset    2
    My problem is that when I put this unit in the recruitment queue,I get a CTD when I click the "End Turn" button.
    What's wrong?

  2. #2
    Withwnar's Avatar Script To The Waist
    Join Date
    Oct 2008
    Location
    Earth
    Posts
    6,329

    Default Re: [M2 Americas Modding]What's wrong with this EDU entry?

    Do they both have an entry in descr_off_map_models.txt and admirals in descr_character.txt & descr_model_strat.txt?

    Log errors?

  3. #3
    AntonisTheGreek's Avatar Senator
    Join Date
    Dec 2013
    Location
    Athens, Greece
    Posts
    1,394

    Default Re: [M2 Americas Modding]What's wrong with this EDU entry?

    I didn't even check these files.
    The log said some about missing unit cards,but nothing which can help me with my problem(Medieval 2 encountered an unspecified error and will now exit)

    EDIT:It's working now.Thanks!
    Last edited by AntonisTheGreek; October 12, 2014 at 06:18 AM.

Posting Permissions

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