Results 1 to 3 of 3

Thread: Changing projectile ranges?

Hybrid View

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

    Default Changing projectile ranges?

    Hello,

    I want to modify the range of greek fire. It will become the new projectile for a mage unit, and the range is much to small. Can someone tell me, how to modify it? I'm sure that it is somewhere in descr_projectile or descr_flaming_projectiles, but I don't know where.

    Thanks in advance

  2. #2

    Default Re: Changing projectile ranges?

    It ought to be in the descr_projectile.
    The range of it is nearly 80 meters as it is now, if you want more you should increase it's velocity (calculation basis should be found at the beginning of the file).
    In all cases this projectile range will be limited by the range in the edu, so if it is below 80 meters at the moment, you should increase this value first.

    Spoiler Alert, click show to read: 
    projectile greek_fire

    effect greek_fire_set
    end_effect greek_fire_ground_impact_set
    end_man_effect greek_fire_man_impact_set
    end_package_effect greek_fire_ground_impact_set
    end_shatter_effect greek_fire_ground_impact_set
    end_shatter_man_effect greek_fire_man_impact_set
    end_shatter_package_effect greek_fire_ground_impact_set

    area_effect aeset_greek_fire
    damage 2
    radius 1.0
    mass 0.0
    area 2
    affected_by_rain
    fiery
    min_angle -60
    max_angle 30
    velocity 30 ; d = v^2 * sin(2*a) / g ;;;;;;;;;;;; d=range, a=max_angle, v=velocity, g=9.81
    ground_shatter
    body_piercing
    display aimed
    effect_only
    Last edited by Bungo Baggins; October 30, 2011 at 10:11 AM.

  3. #3

    Default Re: Changing projectile ranges?

    I think 80 metres would be enough. I just forgot to change the range in the EDU

    Thanks

Posting Permissions

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