Results 1 to 12 of 12

Thread: Question about projectiles

Hybrid View

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

    Default Question about projectiles

    i've made some new projectiles for my mod. Unfortunately i found that archers using new projectiles cannot use flamed arrows. What should i do to give archers using new projectiles a possibility of using flamed arrows?

  2. #2
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default Re: Question about projectiles

    Hi mate, maybe it's your lucky day, I've just wrote a tutorial on projectiles, take a look Here.
    Regards.

  3. #3

    Default Re: Question about projectiles

    I know your tutorial. Unfortunately it doesn't answer fr my question. I konow how to make new projectile but i don't know how to connect "standard" projectiles with fiery projectiles.
    In other words I'm looking for a way to activate the button, integrating the flaming arrows.

  4. #4
    Polycarpe's Avatar Back into action!
    Join Date
    Feb 2010
    Location
    Quebec, Canada
    Posts
    3,338

    Default Re: Question about projectiles

    fiery

    Add this line under "Accuracy" to make the projectile fiery.

  5. #5

    Default Re: Question about projectiles

    precisely the point is that I have this line in every of my new projectiles.

  6. #6

    Default Re: Question about projectiles

    Quote Originally Posted by attyla View Post
    i've made some new projectiles for my mod. Unfortunately i found that archers using new projectiles cannot use flamed arrows. What should i do to give archers using new projectiles a possibility of using flamed arrows?
    Hi,

    I'm dealing with the same problem..I'll let you know in the next few days if I have some sort of solution..

    >>>ANIMATION PACKS MINI MODS >>> CLICK TO CONTINUE >>>

  7. #7

    Default Re: Question about projectiles

    there is nothing else to do than to look forward

  8. #8

    Default Re: Question about projectiles

    Quote Originally Posted by attyla View Post
    there is nothing else to do than to look forward
    So here is the thing.. I needed a new arrow projectile for an archer unit who supposed to be better, more accurate, has higher damage etc...I called my new projectile firbolg_arrow

    so I made a copy of the original arrow projectile in descr_projectile.txt
    and I also added its fiery version..(also based on original fiery arrow). Take a look at this code..I highlighted the solution for you..modify your first line in the fiery version, add your original(non flaming) projectile's name after the line "flaming" in the fiery version. I hope this helps.

    Code:
    projectile firbolg_arrow
    
    effect            arrows_new_set
    end_effect                arrow_impact_ground_set
    end_man_effect            man_impact_tiny_set
    end_package_effect        arrow_impact_wall_set
    end_shatter_effect        arrow_impact_ground_set
    end_shatter_man_effect        man_impact_tiny_set
    end_shatter_package_effect    arrow_broken_impact_wall_set
    
    effect_offset    -1.5
    damage        0
    radius        0.1
    mass        0.05
    accuracy_vs_units        0.005
    affected_by_rain
    min_angle    -75
    max_angle    65
    velocity    25 48
    display        aimed
    effect_only
    
    projectile firbolg_arrow_fiery
    
    flaming        firbolg_arrow
    effect             arrows_fire_new_set
    end_effect                arrow_flaming_impact_ground_set
    end_man_effect            man_impact_tiny_set
    end_package_effect        arrow_flaming_impact_wall_set
    end_shatter_effect        arrow_flaming_impact_ground_set
    end_shatter_man_effect        man_impact_tiny_set
    end_shatter_package_effect    arrow_flaming_broken_impact_wall_set
    
    effect_offset -0.85
    damage        0
    radius        0.1
    mass        0.05
    accuracy_vs_units        0.05
    affected_by_rain
    fiery
    min_angle    -60
    max_angle    65
    velocity    25    48
    display        aimed
    (Actually I found this a nice trick to not having the option for an archer to shot flaming arrow..The firbolg Archers in my mod aren't suppose to shot fiery arrows anyway..)

    >>>ANIMATION PACKS MINI MODS >>> CLICK TO CONTINUE >>>

  9. #9

    Default Re: Question about projectiles

    I did not think of it
    Many thanks for help!

  10. #10

    Default Re: Question about projectiles

    Glad to help!

    >>>ANIMATION PACKS MINI MODS >>> CLICK TO CONTINUE >>>

Posting Permissions

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