Results 1 to 8 of 8

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

Threaded 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.

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