Results 1 to 11 of 11

Thread: Siege Infantry?

  1. #1

    Default Siege Infantry?

    Quick question on unit editing...

    I've got a few things worked out, but am trying to create 'siege infantry'.. something like archers firing ballista bolts (just for fun)

    Now... I seem to have the basics worked out, have changed the projectiles to 'ballista' rather than 'arrow', and although that seems to correctly change the attributes over, they're still unable to target gates/walls, and they're not recognised as "siege units" on the campaign map for the sake of being able to launch direclty into an assault when attacking a city.

    I'd rather not have them tied to an actual engine (even a mounted_engine).. just their monster bows :)


    I remember that I did it in RTW, but it was a fair while back and I this is kinda different, anyway.

    Anyone?

  2. #2

    Default Re: Siege Infantry?

    I took a look at the export_descr_unit.txt file to see if I could work this out. Comparing the entry for NE ballista and peasant crossbowmen I noticed three things which might be what you're looking for.

    First, under the attributes section the ballista has artillery which might be what allows it to target walls.

    Second, under stat_sec (the actual ballista attack) the ballista has siege_missile which might be what you're looking for.

    Finally you might have to set the category of the unit to siege.

    Not sure if any of this will help, am going to test it now.

  3. #3

    Default Re: Siege Infantry?

    I can't get it to work. It seems to be linked to the unit having an engine, all siege capable units in the game seem to including elephant artillery. All I succeeded in creating was an extremely effective unit of pavise crossbowmen each of whom acted like a ballista. Being able to kill 20 men per volley was rather impressive.

  4. #4

    Default Re: Siege Infantry?

    Quote Originally Posted by Jerek Kruger
    First, under the attributes section the ballista has artillery which might be what allows it to target walls.
    Not sure if I tried that one or not... will give it another shot.

    Second, under stat_sec (the actual ballista attack) the ballista has siege_missile which might be what you're looking for.
    Already got that in there.. actually copied that whole line (to the primary though, which is the ranged weapon as opposed to the backup melee)

    Finally you might have to set the category of the unit to siege.

    This is true, but it then demands an engine for the siege weapon (ie a ballista, trebuchet, etc) - it ALSO doesn't account for the likes of the elephant artillery, which is in the 'cavalry' category - though it has a mounted_engine


    Not sure if any of this will help, am going to test it now.

  5. #5

    Default Re: Siege Infantry?

    (no, specifying 'artillery' doesn't seem to have any impact)

  6. #6

    Default Re: Siege Infantry?

    It seems that targeting and damaging buildings must be a function of the engine, not the projectile or unit. My moster bombusketeers could not damage the wall even when they hit it by accident. Impressive to watch, though.

    The cow carcass flinging Jinetes were the most disgusting thing I've seen lately.

  7. #7

    Default Re: Siege Infantry?

    This is not a function of a unit, projectile or even an engine. It seems to be hardcoded stuff. If u want test it, copy whole for a Elephant artillery and just change the type for something else. In fact this unit will use the same engine and mount as elephant artillery, but u will be not able to destroy walls. Thanks CA devs for that shit lol

  8. #8
    Could be your God Member Abokasee's Avatar
    Join Date
    Apr 2005
    Location
    N/A
    Posts
    1,487

    Default Re: Siege Infantry?

    I did it in my mod in RTW so it is possible, as long as there ranged I beleive.
    Now with transparent layers!

    Lost on the Internet? Go back to start.

  9. #9

    Default Re: Siege Infantry?

    lol Abokasee, do it for m2tw then if u think so. Nothing to believe.

  10. #10

    Default Re: Siege Infantry?

    If you can remember how you did it in RTW that would be useful as it's quite likely to be the same in M2TW.

  11. #11
    Could be your God Member Abokasee's Avatar
    Join Date
    Apr 2005
    Location
    N/A
    Posts
    1,487

    Default Re: Siege Infantry?

    Quote Originally Posted by gropro
    lol Abokasee, do it for m2tw then if u think so. Nothing to believe.
    Well it is because MTW2 Data files are almost Exactly the same layout as RTW, so It is something to beleive.

    They have to be ranged, other wise, the game will simply crash, so no suicide bombers.
    Now with transparent layers!

    Lost on the Internet? Go back to start.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO