Results 1 to 15 of 15

Thread: how can i create a unit of 1 soldier only?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member attila_of_nazareth's Avatar
    Join Date
    Jan 2005
    Location
    near oxford
    Posts
    15

    Default Re: how can i create a unit of 1 soldier only?

    a bit like if you’ve ever got units stuck in one place
    ah yes i know what you mean.
    if all the units occupied the same space then perhaps it wouldn’t look like you are fighting invisible enemies.

    With the invisible units it would look odd because you would have units fighting who were invisible. You could set their defense to 0 and then they would all get killed really early in battle
    .

    i thought of this too, but the general would be 0 by default [has the same data as the soldiers]?

    Myrddraal’s solution is proberably best but mounts only have one attack value unless you can get the invisible mouts to fire projectiles. That is if you want a second ranged attack.
    i don’t need secondary attacks for most monsters/giants e.g. talos. so units with mounts can be 1? hmm i’ll re-read what he said, to see what he meant, but i didn’t really understand what he meant.

    thank you


  2. #2
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: how can i create a unit of 1 soldier only?

    Oh I wasn't thinking on the last post - if you can get invisible troops with 0 attack 0 defense etc and then put 0 on the unit spacing it will work but it may give you a huge error if the unit spacing has a hardcoded limit. If not you could get a really good effect. I didn't link the two ideas.

    The mount one has to be done well as it has some unwanted effects (so I've heard).

    Building for the Future of METW

  3. #3
    Member Member attila_of_nazareth's Avatar
    Join Date
    Jan 2005
    Location
    near oxford
    Posts
    15

    Default Re: how can i create a unit of 1 soldier only?

    thanks thor, you have been most helpfull.
    i’ll try a few of those ideas out and get back to you in a few days, just so you know if they work or not ~ for future reference.

    p.s. know any mappers

  4. #4
    Bassist, God and Modder Member Thor the Bassist's Avatar
    Join Date
    Jan 2008
    Location
    Yorkshire, England
    Posts
    213

    Default Re: how can i create a unit of 1 soldier only?

    I am a battlemapper/settlement designer but am much too busy at the moment sorry. I can't think of anyone who isn't on another project. You could advertise at mod discussion or ad a new post in your thread at the forge - if you have one (remember forge is one mod, one thread).

    Building for the Future of METW

  5. #5
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: how can i create a unit of 1 soldier only?

    the number of soldiers is based on the number of riders.

    If you put 12 invisible riders per mount, and make the unit size 6, then even on large unit sizes the 1 mount will be 1 unit I believe.

  6. #6
    Member Member attila_of_nazareth's Avatar
    Join Date
    Jan 2005
    Location
    near oxford
    Posts
    15

    Default Re: how can i create a unit of 1 soldier only?

    thanks mate!

    i just tried that and got 48 talos’s [giant men] strangely i got no elephants at all! [and i didnt make them invisible]

    i used cathage war elephants:

    dictionary carthaginian_elephant_african ; War Elephants
    category cavalry
    class heavy
    voice_type Medium_1
    soldier carthaginian_elephant_crew, 12, 6, 1
    mount elephant indian

    should i be using the model as the crew? here i used it to replace the 'indian elephant' model and skin.

    here’s the dmb entry [test]
    type elephant_indian
    skeleton fs_s1_barbswordsman
    scale 9.0
    indiv_range 40
    texture carthage, SPARTA/data/models_unit/textures/01m_talos_CARTHAGE_GENERAL.TGA
    model_flexi_m data/models_unit/officer_carthage_general_high.cas, 15
    model_flexi_m data/models_unit/officer_carthage_general_med.cas, 30
    model_flexi_m data/models_unit/officer_carthage_general_low.cas, 40
    model_flexi_m data/models_unit/officer_carthage_general_lowest.cas, max
    model_sprite 60.0, data/sprites/carthaginian_general_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5

  7. #7
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: how can i create a unit of 1 soldier only?

    did you also try changing the number of riders for it in descr_mount.txt?

    Myrddraal was suggesting using twelve riders - the default is only three. If it uses more riders - you'll get less 'elephants' (your carthage general)

    Also you can use 6 instead of 12 in the EDU entry.

    You've replaced the elephant element with your general model so although he's human shaped he'll be acting like an elephant! He has become the mount. That is the right way around to do it if you want fewer units.

    If you haven't made the crew invisible yet, you won't see them in most conditions anyway because your general doesn't have a proper place on his skeleton to attach them to. They will appear at odd moments though especially when they die, so you need to give the crew an invisible skin by excluding everything from the alpha channel in its tga.dds
    Not used mods before? Looking for something small and fun?!
    Download the:

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