Results 1 to 16 of 16

Thread: Playing Achillies

  1. #1

    Default Playing Achillies

    Hello;
    I've been trying to play Achillies (unit designed by Zhu ge Liang)by it shelf (I mean alone 1 unit with 1 soldier) but I can't found how to have only 1 man in 1 unit...I explain

    In order to play achillies I have made a new export_desc_unit and a new

    descr_model_battle type

    type achillies_h
    skeleton fs_dagger, fs_slow_spearman, fs_slow_swordsman
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    indiv_range 40
    texture greek_cities, data/models_unit/textures/achillies_h.tga
    texture seleucid, data/models_unit/textures/achillies_h.tga
    texture macedon, data/models_unit/textures/achillies_h.tga
    texture thrace, data/models_unit/textures/achillies_h.tga
    model_flexi data/models_unit/achillies_h.cas, 15
    model_flexi data/models_unit/achillies_h.cas, 30
    model_flexi data/models_unit/achillies_h.cas, 40
    model_flexi data/models_unit/achillies_h.cas, max
    model_tri 400, 0.5f, 0.5f, 0.5

    and a new export_desc_unit

    type Achillies_h
    dictionary achillies_h ; Armoured Myrmidons
    category infantry
    class heavy
    voice_type general_1
    soldier greek_myrmidons_elite, 10, 0, 1.3
    officer greek_myrmidons_elite_officer
    attributes sea_faring, very_hardy, can_sap
    formation 1, 1, 2, 2, 4, square, testudo
    stat_health 1, 0
    stat_pri 20, 4, pilum, 50, 6, melee, blade, piercing, spear 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 12, 4, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 20, 40, 16, metal
    stat_sec_armour 1, 1, flesh
    stat_heat 4
    stat_ground 2, 2, 2, 2
    stat_mental 19, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 3, 3550, 460, 130, 190, 2020
    ownership greek_cities


    The game doesn't allow to reduce this number so when I play Personnal Battle and select Achillies I have 10 of them (too bad) How is it possible to change to 1
    Please explain

  2. #2
    Cyrus the Virus's Avatar Vicarius Provinciae
    Join Date
    Mar 2006
    Location
    Crackfordshire
    Posts
    10,884

    Default Re: Playing Achillies

    Don't think it's possible? With just only 1 man in unit. Correct me if wrong.

    "And the Heavens Shall Tremble"
    Resistance is futile™


    "ehn sewr traih-sluyrds-lairareh"

  3. #3

    Default Re: Playing Achillies

    Try to destroy one unit to 1 person, then go to the export_descr_unit and raise the hitpoints of the unit. That's what i did. Put the hit points up to 24.

  4. #4

    Default Re: Playing Achillies

    I don't get it !? how to destroy one unit before the battle ; I wanna have Achillies fighting alone

  5. #5

    Default Re: Playing Achillies

    Well, I see a fault in your code.

    The soldier line in EDU has to match the type line in DMB. Try that, and see how it works.
    RIP Calvin, you won't be forgotten.

  6. #6

    Default Re: Playing Achillies

    So that is
    type Achillies_h
    dictionary Achillies_h ; Achillies
    category infantry
    class heavy
    voice_type light_1
    soldier Achillies_h, 10, 0, 1
    officer greek_myrmidons_elite_officer
    attributes sea_faring, hide_anywhere, very_hardy, can_sap
    formation 1, 1, 2, 2, 4, square, testudo
    stat_health 1, 0
    stat_pri 20, 8, pilum, 35, 20, melee, blade, piercing, spear, 25 ,1
    stat_pri_attr prec, thrown ap
    stat_sec 18, 6, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_sec_attr no
    stat_pri_armour 10, 10, 5, metal
    stat_sec_armour 0, 1, flesh
    stat_heat 1
    stat_ground 2, 2, 2, 2
    stat_mental 14, disciplined, highly_trained
    stat_charge_dist 40
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 3, 3550, 460, 130, 190, 2020
    ownership greek_cities, macedon


    type Achillies_h

    skeleton fs_fast_javelinman, fs_fast_swordsman
    skeleton_horse fs_hc_swordsman
    skeleton_elephant fs_forest_elephant_rider
    skeleton_chariot fs_chariot_sword
    skeleton_camel fs_hc_swordsman
    indiv_range 50
    texture greek_cities, data/models_unit/textures/achillies_h.tga
    texture seleucid, data/models_unit/textures/achillies_h.tga
    texture macedon, data/models_unit/textures/achillies_h.tga
    texture thrace, data/models_unit/textures/achillies_h.tga
    model_flexi data/models_unit/achillies_h.cas, 15
    model_flexi data/models_unit/achillies_h.cas, 30
    model_flexi data/models_unit/achillies_h.cas, 40
    model_flexi data/models_unit/achillies_h.cas, max
    model_tri 400, 0.5f, 0.5f, 0.5

    But that doesn't make me have Achillies alone....my purpose is to orginize a big fight one to one with Hector .........How can I ???

  7. #7

    Default Re: Playing Achillies

    Code:
     soldier          Achillies_h, 10, 0, 1
    That line should read this:

    Code:
     soldier          Achillies_h, 1, 0, 1
    RIP Calvin, you won't be forgotten.

  8. #8

    Default Re: Playing Achillies

    If you write this it turns to 10 or 15 on the field (this is the minimum allowed) unfortunately there is no way to have One man

  9. #9

    Default Re: Playing Achillies

    You can't. The game is hardcoded to have a minimum of 12, I think. But 1 is impossible. I wish it weren't, for the same reason as you're trying.
    I thought about writing something clever, but then I remembered I'm not clever enough.

  10. #10
    kelvintyk's Avatar Primicerius
    Join Date
    Mar 2007
    Location
    Singapore
    Posts
    3,140

    Default Re: Playing Achillies

    Because CA never thought that anyone would even wanna try a unit with only 1 man.

  11. #11

    Default Re: Playing Achillies

    One thing that might work is make Achilles the officer of a unit. Then, make the new unit for him to be the officer for, but alpha out their textures so they don't appear. You still have the necessary amount of men in the troop, but you only see the officer.

    Good luck,
    RM3
    RIP Calvin, you won't be forgotten.

  12. #12

    Default Re: Playing Achillies

    how come we cant have 1 unit alone i saw 1 guy made achilles alone and hektor alone and made them fight????

  13. #13

    Default Re: Playing Achillies

    He Probably used a custom map or scripted it.

  14. #14

    Default Re: Playing Achillies

    There is only one way I know how to do this. That is:

    1. Make Achilles the officer
    2. Make the soldiers for that unit invisible (make the skin transparent using alpha channels)
    3. Write a script which kills off the soldiers in the unit at the start of the battle.
    4. You are left with one unit.

    I think Troy Total War did this. You might want to ask them.



  15. #15

    Default Re: Playing Achillies

    Quote Originally Posted by Publius View Post
    There is only one way I know how to do this. That is:

    1. Make Achilles the officer
    2. Make the soldiers for that unit invisible (make the skin transparent using alpha channels)
    3. Write a script which kills off the soldiers in the unit at the start of the battle.
    4. You are left with one unit.

    I think Troy Total War did this. You might want to ask them.
    Do you think that sort of thing could work for a non-officer unit? Making a unit with more than one model and skin in it (like some of the units already in the game do- one banner carrier and the rest normal, for example), make a new invisible unit, then the hero unit not invisible. Although, I don't know if it's possible to make a script that kills only certain model types in a unit to leave just the one hero But it's a thought. I'm sure someone will come up with a way one day.

  16. #16

    Default Re: Playing Achillies

    Quote Originally Posted by Publius View Post
    There is only one way I know how to do this. That is:

    1. Make Achilles the officer
    2. Make the soldiers for that unit invisible (make the skin transparent using alpha channels)
    3. Write a script which kills off the soldiers in the unit at the start of the battle.
    4. You are left with one unit.

    I think Troy Total War did this. You might want to ask them.

    can u give me s impler way of how to do this???????

Posting Permissions

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