Results 1 to 3 of 3

Thread: Using Specific Muskets?

Hybrid View

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

    Icon3 Using Specific Muskets?

    I know each items in the equipment mech has its own name. So I wanted to know is there a way to edit the warscape DB so that you can assign a specific musket model to a unit, instead of just using euro_musket and getting a random meddle of all types in one unit? If so, does anyone know the names of each musket model in the equipment mesh? I thought it was euro_musket1 ,2 ,3 and so on... but I can't get that to work so I guess not!

    I ask because I got tired of the ridiculous vanilla muskets and so have re-textured a lot of them, and want to be able to assign a specific musket type to a specific nation.

  2. #2
    wangrin's Avatar Unguibus et Rostro
    Patrician Artifex

    Join Date
    Feb 2005
    Location
    France
    Posts
    4,397

    Default Re: Using Specific Muskets?

    To assign specific equipment models (such as muskets) to units you will have :

    1. to create or duplicate models in euro_equipment file
    2. to add entries in warscape_equipment_items tables
    3. to create "equipment theme" in warscape_equipment_themes tables
    4. to modify "equipment theme" in unit_stats_land tables for your unit


    Example : you want to create a Brown Bess musket and add it to euro_line_infantry_britain unit

    You will have to create the model and add it to euro_equipment file :
    • you will need Ultimate Unwrap 3D as variant_vertex_weights (equipments) to m3sd converter
    • name the brown bess model (vertex group) rigid_equip_brown_bess (prefix / suffix)
    • affect it to a new material, for example equip_new_diffuse
    • convert back the ms3d to variant_weighted_mesh (equiment)
    • correct group names that had been truncated (MilkShape cannot handle longest names)

    Then, you will have to create texture using the UVmap from UU3D
    Finally, you will have to mod db tables
    • warscape_equipment_tems tables :
      • Create a new entry :
        • equipment_name : brown_bess
        • equipment_key : brown_bess

    • warscape_equipment_theme tables :
      • Create a new entry (example) :
        • theme : british_infantry
        • primary_weapon : brown_bess
        • secondary weapon : brown_bess (it will use bayonet if allowed)
        • defensive : (none)
        • ambient : euro_infantry_equipment (if you want to see bags) or (none)
        • personal : (none) (only use for officers, musicians and flagbearers)

    • unit_stats_land :
      • Modify euro_line_infantry_britain
        • In Equipment_Theme column (10th one), replace x_euro_musket_theme with british_infantry


    You can refer to this tutorial from T.C. :
    Getting your custom weapons in game


    « Le courage, c’est de ne pas subir la loi du mensonge triomphant qui passe, et de ne pas faire écho de notre âme, de notre bouche et de nos mains aux applaudissements imbéciles et aux huées fanatiques.. » Jean JAURES

  3. #3
    Condottiere SOG's Avatar Domesticus
    Join Date
    Dec 2006
    Location
    Oregon, USA
    Posts
    2,274

    Default Re: Using Specific Muskets?

    It really isn't necessary to make a new model and you can duplicate the existing one and simply re-skin it.
    Erasmo
    Operating System: Windows 7 Home Premium 64-bit (6.1, Build 7601)
    System Manufacturer: ASUSTeK Computer Inc.
    System Model: G73Sw
    Processor: Intel(R) Core(TM) i7-2630QM CPU @ 2.00GHz (8 CPUs), ~2.0GHz
    Memory: 12288MB RAM
    Available OS Memory: 12266MB RAM
    Page File: 2634MB used, 21881MB available
    Windows Dir: C:\Windows
    DirectX Version: DirectX 11
    DX Setup Parameters: Not found
    User DPI Setting: Using System DPI
    System DPI Setting: 96 DPI (100 percent)
    DWM DPI Scaling: Disabled
    DxDiag Version: 6.01.7601.17514 32bit Unicode

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •