Results 1 to 2 of 2

Thread: How to add canister shot to a cannon ?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Goutlard's Avatar Janissary
    Join Date
    Dec 2010
    Location
    France / Turkey
    Posts
    818

    Default How to add canister shot to a cannon ?

    Hi guys, I am creating a mod for personnal use, I set up the cannister shot according to the pndage of the cannon. I am now working on the 64lbr Great Cannon and want it to have a canister shot.

    What I did :
    DB Editor => Created a new projectile tables entry with the Cannister shots copied. Edited the cannister's powah' and created a new row copying the 24lbr cannon canister only editing :
    -Name (cannon_64_pounder_canister)
    -Number of pellets
    -Reloading time

    Then in my new gun_type_to_projectiles_tables I set up :

    GUN ID REF ------------ PROJECTILE ID REF ------------ Muzzle_Flash
    Ottoman_great_cannon \ cannon_64_pounder_canister \ ottoman_great_cannon_muzzle_flash

    But it.. Doesn't work

    Can you help me ?
    Wind from the East's Awards :

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

    Join Date
    Feb 2005
    Location
    France
    Posts
    4,397

    Default Re: How to add canister shot to a cannon ?

    So,
    • you have create a new projectile, named cannon_64_pounder_canister (key), in projectiles_tables
    • you have create a row in gun_type_to_projectiles to add cannon_64_pounder_canister to ottoman_great_cannon


    projectiles_tables :
    Spoiler Alert, click show to read: 

    key : cannon_64_pounder_canister
    category : artillery
    preflight_rules : 0
    shot_type : canister
    missile_type : bullet
    missile_model : projectile_musketball
    high_air_resistance : 0
    spin_type : none
    projectile_number : new number (integer)
    trajectory_sight : low
    trail : alpha_bullet
    effective_range : 125
    minimum_range : 0
    max_elevation : 30
    muzzle_velocity : 75
    marksmanship_bonus : 0
    spread : 4
    damage : 1
    penetration : effective_range_based
    can_bounce : 0
    bounce_angle : 0
    collision_radius : 0.1
    base_reload_time : new number (0 ≤ integer ≤ 60)
    base_misfire_chance : 0
    sail_damage_modifier : 0.2
    below_waterline_damage_modifer : 0
    launch_audio : gun
    hit_audio : small
    launch_particle_effect : LandGunFire_canister
    impact : musket_ball



    gun_type_to_projectiles :
    Spoiler Alert, click show to read: 

    gun_type : ottoman_great_cannon
    shot_type : cannon_64_pounder_canister
    muzzle_flash : ottoman_great_cannon_muzzle_flash



    What kind of error do you have ?


    « 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

Posting Permissions

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