Results 1 to 11 of 11

Thread: Wery Strange unit problem

  1. #1
    Skull's Avatar Kei kihei
    Join Date
    Oct 2010
    Location
    Serbia
    Posts
    1,867

    Default Wery Strange unit problem




    Here is the EDU entery:
    Code:
    type             shield infantry
    dictionary       shield_infantry      ; Shield Infantry
    category         infantry
    class            light
    voice_type       Light_1
    soldier          lonhian_shield_infantry, 40, 0, 1
    attributes       sea_faring, hide_forest, can_sap
    formation        1, 1, 2, 2, 4, square
    stat_health      1, 0
    stat_pri         8, 2, javelin, 60, 6, thrown, archery, piercing, spear, 25 ,1
    stat_pri_attr    thrown ap
    stat_pri         9, 6, no, 0, 0, melee, simple, piercing, sword, 25 ,1
    stat_pri_attr    no
    stat_pri_armour  10, 6, 5, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        -1
    stat_ground      2, 1, 0, -1
    stat_mental      8, impetuous, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 740, 170, 30, 40, 740
    ownership        carthage
    As you can see,pri armour is there
    Attached Thumbnails Attached Thumbnails Click image for larger version. 

Name:	Problem.png 
Views:	65 
Size:	21.4 KB 
ID:	237384  
    Strongholder 4 life!

    Click here!



    My men are eager for battle and so am I.Prepare to fight!



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! WARNING,THE PICS YOU MAY SEE BELOW ARE AWSOME !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    BYZANTINES VS TURKS

    ♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖






    Spoiler Alert, click show to read: 
    Horses are for cowards! Real men fight on foot!





    Spoiler Alert, click show to read: 
    Before the beginning of the final siege of Constantinople, Mehmed II made an offer to Constantine XI Palaiologos,the last Byzantine Emperor.
    In exchange for the surrender of Constantinople, the emperor's life would be spared to which,he replied:
    To surrender the city to you is beyond my authority or anyone else's who lives in it, for all of us, after taking the mutual decision, shall die out of free will without sparing our lives.
    He died on the day the city fell.
    His last recorded words were: "The city is fallen and I am still alive", and then he tore off his imperial clothes so as to let nothing to distinguish him from any other soldier and led his remaining soldiers into a last charge where he was killed.



    A interesting little site...

  2. #2
    Athenogoras's Avatar Boycott Israel
    Join Date
    Apr 2007
    Location
    Sweden
    Posts
    1,770

    Default Re: Wery Strange unit problem

    You have 2 "stat_pri". That might be a problem
    Team Member of Chivalry - Total War

    EU Delenda Est

  3. #3
    parthian shot's Avatar NoLittleRedRidingHood
    Join Date
    Apr 2009
    Posts
    1,114

    Default Re: Wery Strange unit problem

    You also need to place a comma "," between two attributes

    so instead of

    stat_pri_attr thrown ap

    should be

    stat_pri_attr thrown, ap
    Amazon:Total War's Mod Leader and Forum Admin[click pic], Daughter of SOP, Imperial House of Hader

  4. #4
    Skull's Avatar Kei kihei
    Join Date
    Oct 2010
    Location
    Serbia
    Posts
    1,867

    Default Re: Wery Strange unit problem

    Thank you both,It worked. ^_^
    Strongholder 4 life!

    Click here!



    My men are eager for battle and so am I.Prepare to fight!



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! WARNING,THE PICS YOU MAY SEE BELOW ARE AWSOME !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    BYZANTINES VS TURKS

    ♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖






    Spoiler Alert, click show to read: 
    Horses are for cowards! Real men fight on foot!





    Spoiler Alert, click show to read: 
    Before the beginning of the final siege of Constantinople, Mehmed II made an offer to Constantine XI Palaiologos,the last Byzantine Emperor.
    In exchange for the surrender of Constantinople, the emperor's life would be spared to which,he replied:
    To surrender the city to you is beyond my authority or anyone else's who lives in it, for all of us, after taking the mutual decision, shall die out of free will without sparing our lives.
    He died on the day the city fell.
    His last recorded words were: "The city is fallen and I am still alive", and then he tore off his imperial clothes so as to let nothing to distinguish him from any other soldier and led his remaining soldiers into a last charge where he was killed.



    A interesting little site...

  5. #5
    Skull's Avatar Kei kihei
    Join Date
    Oct 2010
    Location
    Serbia
    Posts
    1,867

    Default Re: Wery Strange unit problem

    Quote Originally Posted by parthian shot View Post
    You also need to place a comma "," between two attributes

    so instead of

    stat_pri_attr thrown ap

    should be

    stat_pri_attr thrown, ap
    Acualy,it seems that most heavy infantry units that throw javelins have that ability,weird,in EDU there ain't instrucions what it really is and why to use it...
    Strongholder 4 life!

    Click here!



    My men are eager for battle and so am I.Prepare to fight!



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! WARNING,THE PICS YOU MAY SEE BELOW ARE AWSOME !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    BYZANTINES VS TURKS

    ♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖






    Spoiler Alert, click show to read: 
    Horses are for cowards! Real men fight on foot!





    Spoiler Alert, click show to read: 
    Before the beginning of the final siege of Constantinople, Mehmed II made an offer to Constantine XI Palaiologos,the last Byzantine Emperor.
    In exchange for the surrender of Constantinople, the emperor's life would be spared to which,he replied:
    To surrender the city to you is beyond my authority or anyone else's who lives in it, for all of us, after taking the mutual decision, shall die out of free will without sparing our lives.
    He died on the day the city fell.
    His last recorded words were: "The city is fallen and I am still alive", and then he tore off his imperial clothes so as to let nothing to distinguish him from any other soldier and led his remaining soldiers into a last charge where he was killed.



    A interesting little site...

  6. #6
    parthian shot's Avatar NoLittleRedRidingHood
    Join Date
    Apr 2009
    Posts
    1,114

    Default Re: Wery Strange unit problem

    Quote Originally Posted by Skull View Post
    Acualy,it seems that most heavy infantry units that throw javelins have that ability,weird,in EDU there ain't instrucions what it really is and why to use it...
    If you test out these attributes below

    Code:
    stat_pri         8, 2, javelin, 60, 6, thrown, archery, piercing, spear, 25 ,1
    stat_pri_attr    thrown ap
    you probably realize that the second thrown is not the same as the first one.

    in the first line, "thrown" means the weapon will be thrown as axe or javelin. So your battlefield cursor will not show a bow and arrow, but it will show a javelin instead.

    in the second line, it means the target will be thrown when hit, ie it activates the people flying animation sequence.

    While the second "thrown" shows how forceful the missile weapon is, and can be rather dramatic, it is a major drain on your computer resources. If you are playing with huge unit setting, it might be a good idea to delete the second "thrown" when you have multiple large field armies in the battlefield.
    Amazon:Total War's Mod Leader and Forum Admin[click pic], Daughter of SOP, Imperial House of Hader

  7. #7
    Aradan's Avatar Flame Imperishable
    Join Date
    Jun 2007
    Posts
    22,423

    Default Re: Wery Strange unit problem

    Is the second 'thrown' related to people getting knocked back by the missile? I doubt it. I believe it makes the weapon have a bonus vs elephants and chariots...

  8. #8
    Skull's Avatar Kei kihei
    Join Date
    Oct 2010
    Location
    Serbia
    Posts
    1,867

    Default Re: Wery Strange unit problem

    Quote Originally Posted by parthian shot View Post
    If you test out these attributes below

    Code:
    stat_pri         8, 2, javelin, 60, 6, thrown, archery, piercing, spear, 25 ,1
    stat_pri_attr    thrown ap
    you probably realize that the second thrown is not the same as the first one.

    in the first line, "thrown" means the weapon will be thrown as axe or javelin. So your battlefield cursor will not show a bow and arrow, but it will show a javelin instead.

    in the second line, it means the target will be thrown when hit, ie it activates the people flying animation sequence.

    While the second "thrown" shows how forceful the missile weapon is, and can be rather dramatic, it is a major drain on your computer resources. If you are playing with huge unit setting, it might be a good idea to delete the second "thrown" when you have multiple large field armies in the battlefield.
    Umm...I don't think that units fly back when hit by javelins in the game,I think it is the same animation as getting hit by a arrow,and I don't really think that flying back into the air is very realistic,you are more likely to just fall on your knees and fall to the ground and die,unless you are like,hard as a feather or the javelin thrower is a giant...
    Strongholder 4 life!

    Click here!



    My men are eager for battle and so am I.Prepare to fight!



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! WARNING,THE PICS YOU MAY SEE BELOW ARE AWSOME !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    BYZANTINES VS TURKS

    ♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖






    Spoiler Alert, click show to read: 
    Horses are for cowards! Real men fight on foot!





    Spoiler Alert, click show to read: 
    Before the beginning of the final siege of Constantinople, Mehmed II made an offer to Constantine XI Palaiologos,the last Byzantine Emperor.
    In exchange for the surrender of Constantinople, the emperor's life would be spared to which,he replied:
    To surrender the city to you is beyond my authority or anyone else's who lives in it, for all of us, after taking the mutual decision, shall die out of free will without sparing our lives.
    He died on the day the city fell.
    His last recorded words were: "The city is fallen and I am still alive", and then he tore off his imperial clothes so as to let nothing to distinguish him from any other soldier and led his remaining soldiers into a last charge where he was killed.



    A interesting little site...

  9. #9
    parthian shot's Avatar NoLittleRedRidingHood
    Join Date
    Apr 2009
    Posts
    1,114

    Default Re: Wery Strange unit problem

    Quote Originally Posted by Aradan View Post
    Is the second 'thrown' related to people getting knocked back by the missile? I doubt it. I believe it makes the weapon have a bonus vs elephants and chariots...
    Sorry, I meant to say launching, not thrown, two separated sentences got mingled into one.
    Amazon:Total War's Mod Leader and Forum Admin[click pic], Daughter of SOP, Imperial House of Hader

  10. #10
    Skull's Avatar Kei kihei
    Join Date
    Oct 2010
    Location
    Serbia
    Posts
    1,867

    Default Re: Wery Strange unit problem

    OK.
    Also,how do I make that unit behave as a Scutarii type of unit instead of a skirmisher unit?
    Strongholder 4 life!

    Click here!



    My men are eager for battle and so am I.Prepare to fight!



    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    ! WARNING,THE PICS YOU MAY SEE BELOW ARE AWSOME !
    !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    BYZANTINES VS TURKS

    ♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖♖






    Spoiler Alert, click show to read: 
    Horses are for cowards! Real men fight on foot!





    Spoiler Alert, click show to read: 
    Before the beginning of the final siege of Constantinople, Mehmed II made an offer to Constantine XI Palaiologos,the last Byzantine Emperor.
    In exchange for the surrender of Constantinople, the emperor's life would be spared to which,he replied:
    To surrender the city to you is beyond my authority or anyone else's who lives in it, for all of us, after taking the mutual decision, shall die out of free will without sparing our lives.
    He died on the day the city fell.
    His last recorded words were: "The city is fallen and I am still alive", and then he tore off his imperial clothes so as to let nothing to distinguish him from any other soldier and led his remaining soldiers into a last charge where he was killed.



    A interesting little site...

  11. #11
    Aradan's Avatar Flame Imperishable
    Join Date
    Jun 2007
    Posts
    22,423

    Default Re: Wery Strange unit problem

    Do you mean throw their javelin and then charge? Just add "prec" to the list of primary weapon attributes.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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