Results 1 to 8 of 8

Thread: coding for non-siege units that can attack buildings

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default coding for non-siege units that can attack buildings

    Hi there.

    Further question:

    Is it possible to change the default general unit to something else other than the regular general unit with sword and etc? I.E. those default generals you get when you have a single unit of elephants as your army... In fact, can I change the default unit type of generals for all units?



    Additional question:

    Is it possible to put elephants in another faction i.e. Numidia? I copy-pasted the carthaginian armoured elephant unit entry and changed its ownership to numidia, but it only defaulted to the regular mercenary elephants in-game... what gives?

    SOLVED: I just removed numidia's faction in the faction list for merc elephants.



    I'm wondering exactly how the non-siege units have been coded to attack buildings.

    Have the game been hard-coded such that all "mounts" with a "mount attack" i.e. tusks for elephants and scythes for chariots and scorpions are able to attack buildings?

    Or is the non-siege unit building attack just limited to elephants, hard-coded?

    If it is hard-coded, if I duplicate an elephant entry and just change the model, will it be able to attack a building as well?

    This computer does not allow me to run the game, but does allow me to edit the text files, and I would love to edit text files before I go home.

    SOLVED: It looks like only the elephants are hard-coded into the game to attack gateways (not even walls! :( )


    Thanks.
    Last edited by orgo.love; 03-07-2008 at 23:25.

  2. #2

    Default Re: coding for non-siege units that can attack buildings

    After some testing, I've come to the conclusion that elephants are pretty useless when it comes to sieging... burning oil seems to kill units at one shot no matter the hp or armor... I gave an elephant 65535 hp, but zip! one shot death :(


    So. It seems like I'm doomed to just use infantry as my method of attack instead.

  3. #3

    Default Re: coding for non-siege units that can attack buildings

    You can alternatively disable boiling oil...

    How to get rid of boiling oil

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  4. #4

    Default Re: coding for non-siege units that can attack buildings

    :O Wow! That could work.

    THough... I'm a little hesitant towards removing something... Were the flaming oils realistic at all?


    and Another question:

    Elephants are characterized as cavalry. On the strategic map, do cavalry move faster than infantry? Does the unit speed depend on the type of cavalry-i.e. if I have horses rather than elephants, or cataphracts rather than horse archers, will there be a difference?

  5. #5

    Default Re: coding for non-siege units that can attack buildings

    Yes, cavalry move faster/further than infantry on strat-map. No, the type of mount doesn't matter, that's only for battle-map speed.

    Norman Invasion - The fate of England lies in your hands...

    Viking Invasion II - Unite Britain in the best TW campaign ever!

    Gods and Fighting Men: Total War - Enter the Mists of Myth in Ancient Ireland

  6. #6

    Default Re: coding for non-siege units that can attack buildings

    Ah! THank you so much. You are very very very very very very VERY helpful.

    I'm guessing the ultimate unit, then, is an elephant unit with the fireball hurlers as crew. This way they can move the fastest on the strat map, can siege settlements immediately, and thanks to the hurler's long range of attack, can eliminate the soldiers inside without being in range of the wall-towers and burning oil.


    I will tweak this some more :) I wonder just how big I can make the elephants into :D

    2~3 times as large as Yubtseb elephants, perhaps? XD

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