Results 1 to 30 of 204

Thread: Tools: Unit and Building Editors: Caligula & Hadrian

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Altogether quite not there! Member GodsPetMonkey's Avatar
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    839

    Default Re: Unit and Building Editors for RTW

    Quote Originally Posted by Shiyuan
    OK- now what i did was jsut alter the cappadocian cav's stats and renamed it to Pontus Samurai Archers, then saved it as a CAS file to models_unti in data section...will it work ok?


    Ty for help :)
    Still not entirely sure how your going about it, but I'll take a stab.

    In the export_descr_unit.txt file you have just copied the Cappadocian Cavalry's stats, and renamed them, so you have something like this...
    type Samurai Archers
    dictionary east_cappodocian_cavalry ; Cappadocian Cavalry
    ....
    soldier east_cappodocian_cavalry, 27, 0, 1
    mount horse cataphract
    ....
    Important are the soldier and mount attributes. If its still mounted, then leave it as it is and it should be fine, but I think you mentioned you dismounted it, so make sure thats removed entirely.

    The soldier refers to an entry in the descr_model_battle.txt file, if your just using the same model as that for the original cavalry, you wont need to edit it, if you want to recycle the model and change it (again, for say dismounting it) then you will need to create a new entry in the descr_model_battle.txt file for your modified CAS as appropriate, and then the name you give the model (called 'type' in descr_model_battle.txt) is then used on the soldier line.

    I'm afraid I dont know much about the adding of new models, its not really the primary focus of my editor, but there are some good guides arround, perhaps they will proove more useful?
    Caligula and Hadrian - Unit and Building editors for Rome: Total War.
    Now editing -
    export_descr_unit.txt, export_descr_unit_enums.txt, export_units.txt, descr_model_battle.txt
    export_descr_buildings.txt, export_descr_buildings_enums.txt, export_buildings.txt

  2. #2

    Default Re: Unit and Building Editors for RTW

    OK its still bein gay- even when i did everything right:

    Since i dismounted the cappo cavalry, my descr_model_battle text thing for my Armenian Samurai (i changed its name) looks like:

    type east_armenia_samurai
    skeleton fs_hc_spearman, fs_hc_swordsman
    indiv_range 40
    texture pontus,

    data/models_unit/textures/unit_eastern_cappodocean_cavalry_pontus.tga
    model_flexi_m data/models_unit/east_armenia_samurai.cas, 15
    model_flexi_m data/models_unit/east_armenia_samurai.cas, 30
    model_flexi_m data/models_unit/east_armenia_samurai.cas, 40
    model_flexi data/models_unit/east_armenia_samurai.cas, max
    model_sprite pontus, 60.0,

    data/sprites/pontus_east_cappodocean_cavalry_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    and my caligula stats look like:

    Type: east armenia samurai
    Dictionary: east_cappodocian_cavalry ; Cappadocian Cavalry
    Category: infantry
    Class: heavy
    ------
    Soldiers-
    Name: east_armenia_samurai
    Number: 40
    Extras: 0
    Collison mass: 1

    also i have spear checkmarked in the secondary weapon (primary is a bow/arrow).
    Sorry to cause u hassle- this is very confusing....

    -Shi
    "A general's triumph meets ten thousand rotting bones"

  3. #3
    Altogether quite not there! Member GodsPetMonkey's Avatar
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    839

    Default Re: Unit and Building Editors for RTW

    The problem for me is its playing arround with things I know little about, models.

    Maybe just try to get it to work with a spear alone, and see how that goes, the 2 weapons may be causing the problem?
    Caligula and Hadrian - Unit and Building editors for Rome: Total War.
    Now editing -
    export_descr_unit.txt, export_descr_unit_enums.txt, export_units.txt, descr_model_battle.txt
    export_descr_buildings.txt, export_descr_buildings_enums.txt, export_buildings.txt

  4. #4
    Altogether quite not there! Member GodsPetMonkey's Avatar
    Join Date
    Aug 2004
    Location
    Australia
    Posts
    839

    Default Re: Unit and Building Editors for RTW

    New version of Hadrian, taking it to 0.4.3.

    This one implements a ease of use feature that I have been wanting for sometime now, and makes adding recruitment to buildings much easier.

    Firstly, you can now load a list of unit names from any export_descr_unit.txt file, I did this as most unit names are stupidly long, and you would just copy and paste it anyway.

    Secondly I put in a button that 'Cascades' the recruitment through the complex. Basically, this makes all buildings of a level higher then the current one recruit the currently selected unit, for example, if you add a new unit to be recruited by the base level baracks, you can just press this button and all the levels above it can recruit it to, so you dont have to manually add it to every level, ensureing the recruitment ability does not go away when the building is upgraded.
    Caligula and Hadrian - Unit and Building editors for Rome: Total War.
    Now editing -
    export_descr_unit.txt, export_descr_unit_enums.txt, export_units.txt, descr_model_battle.txt
    export_descr_buildings.txt, export_descr_buildings_enums.txt, export_buildings.txt

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