Results 1 to 5 of 5

Thread: Adding Grapeshot

Hybrid View

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

    Default Adding Grapeshot

    So I found the older grapeshot thread... but I'm doing something wrong because I'm getting EDU errors for the Culverin (and Basilisk I bet, but I am not getting that far in the bootup). If someone could point out where I went wrong I'd appreciate it.

    Code:
    13:22:40.875 [script.err] [error] Script Error in mods/retrofit/data/export_descr_unit.txt, at line 13502, column 1
    failed to read statistic for unit type 'NE Culverin'
    Code:
    type             NE Culverin
    dictionary       NE_Culverin      ; Culverin
    category         siege
    class            missile
    voice_type       Heavy
    banner faction   main_missile
    banner holy      crusade
    soldier          NE_Culverin_Crew, 16, 3, 1
    engine           culverin
    attributes       sea_faring, hardy, can_withdraw, gunpowder_unit, cannon, artillery, explode
    formation        1.5, 1.5, 3, 3, 3, square
    stat_health      1, 0
    stat_pri         7, 3, no, 0, 0, melee, artillery_gunpowder, piercing, knife, 25, 1.8
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         65, 3, culverin_shot, 425, 30, siege_missile, artillery_gunpowder, blunt, none, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    ap, bp, area, launching
    stat_ter         65, 3, grape_shot, 115, 10, siege_missile, artillery_gunpowder, blunt, none, 26, 1
    ;stat_ter_ex      0, 0, 0
    stat_pri_armour  2, 5, 0, leather
    ;stat_armour_ex   2, 0, 0, 0, 5, 0, 0, leather
    stat_sec_armour  0, 0, flesh
    stat_heat        1
    stat_ground      0, 0, 0, 0
    stat_mental      9, disciplined, highly_trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 800, 250, 60, 140, 800, 1, 240
    armour_ug_levels 1
    armour_ug_models NE_Culverin_Crew
    ownership        england, scotland, france, spain, portugal, venice, milan, papal_states
    era 2            england, scotland, france, spain, portugal, venice, milan, papal_states
    ;unit_info        7, 0, 7
    recruit_priority_offset    10
    In the other thread it was said: "You also have to look at the range of grapeshot in the descr_projectile.txt file because the projectile type has a maximum range that you might have to increase as well." But I don't see any thing to increase. And how do I find out what to increase it by?

    Code:
    projectile grape_shot
     
    ;effect    bombard_set
    end_effect                bullet_impact_ground_set
    end_man_effect            man_impact_tiny_set
    end_package_effect        bullet_impact_wall_set
    end_shatter_effect        bullet_impact_ground_set
    end_shatter_man_effect        man_impact_tiny_set
    end_shatter_package_effect        bullet_impact_wall_set
     
    
    damage   120
    damage_to_troops 10
    radius   0.3
    mass   1.0
    area   2.0
    accuracy_vs_units  0.0725
    accuracy_vs_buildings 0.0455
    accuracy_vs_towers      0.025 
    min_angle  -15
    max_angle  25
    velocity  20 50
    bounce   0.01 0.01 0.93 0.5
    grapeshot
    ; self_explode <prob> <min sec> <max sec> [<area effect>]
    self_explode 1.0 0.1 0.1 grape_shot
    display   aimed
    ;effect_only
    ; Stuck model not used at the mo, shatter effect is better, but adding some shatter debris for ground impact would be good?
    ;stuck
    effect_only
    Last edited by SSJPabs; February 18, 2009 at 01:36 PM.

  2. #2

    Default Re: Adding Grapeshot

    try add this:

    stat_ter_attr no

    after

    stat_ter 65, 3, grape_shot, 115, 10, siege_missile, artillery_gunpowder, blunt, none, 26, 1


    stat_ter 65, 3, grape_shot, 115, 10, siege_missile, artillery_gunpowder, blunt, none, 26, 1
    stat_ter_attr no


  3. #3

    Default Re: Adding Grapeshot

    stat_ter_attr ap, launching could help.
    Apart from that it looks fine, which line is line 13502 in your EDU?

  4. #4

    Default Re: Adding Grapeshot

    you dont need to give it launching attribute - simple no attribute would work fine.

  5. #5

    Default Re: Adding Grapeshot

    Quote Originally Posted by JaM View Post
    you dont need to give it launching attribute - simple no attribute would work fine.
    Ah, I added AP launching and it worked, you both might be right as I did not realize there were three lines instead of two to the entry. I tested it out in a custom battle and it works just fine. Thanks to you both.
    Last edited by SSJPabs; February 18, 2009 at 03:36 PM.

Posting Permissions

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