1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Flying NPC and Mounts 2015-01-24

For everything Flying

  1. ATruGod
    Offline

    ATruGod Member

    Joined:
    Dec 26, 2014
    Messages:
    87
    Likes Received:
    31
    ATruGod submitted a new resource:

    Flying NPC and Mounts - For everything Flying

    Read more about this resource...
     
    • Two Thumbs Up Two Thumbs Up x 2
    • Like Like x 1
  2. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    4,093
    Likes Received:
    451
    Nice idea! UO needs a flying unicorn with wings :) question which I'm sure you waiting for, is there a height limit so players can't fly to the top of the mountains or would this need to be set up in the script? :) We had the flying griffon which you used a gump to fly
     
  3. ATruGod
    Offline

    ATruGod Member

    Joined:
    Dec 26, 2014
    Messages:
    87
    Likes Received:
    31
    It has a max height. Unicorns fly without wings (so do Nightmares...although I don't have either set up to).
     
  4. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    4,093
    Likes Received:
    451
    Excellent thanks for the information :)
     
  5. ATruGod
    Offline

    ATruGod Member

    Joined:
    Dec 26, 2014
    Messages:
    87
    Likes Received:
    31
    • Two Thumbs Up Two Thumbs Up x 1
  6. Safera
    Offline

    Safera Member

    Joined:
    Jun 26, 2013
    Messages:
    92
    Likes Received:
    20
    Drool!

    I may HAVE to make a Pegasus animation now!
     
    • Like Like x 1
  7. m309
    Offline

    Admin Moderator ServUO Developer

    Joined:
    Mar 3, 2013
    Messages:
    1,250
    Likes Received:
    129
    @Safera. Early X-mas. Enjoy!

    Pegasus - H anim slot.
    PegasusMount - P anim slot.

    Credit to someone over on RunUO, might have been Thagoras, but it's been a while and I forget.
     

    Attached Files:

    • Two Thumbs Up Two Thumbs Up x 2
  8. Safera
    Offline

    Safera Member

    Joined:
    Jun 26, 2013
    Messages:
    92
    Likes Received:
    20
    No way!!!!!!!!
     
  9. Milva
    Offline

    Admin Moderator

    Joined:
    Mar 3, 2013
    Messages:
    4,093
    Likes Received:
    451
  10. dragon slayer2
    Offline

    dragon slayer2 Active Member

    Joined:
    Aug 29, 2014
    Messages:
    314
    Likes Received:
    38
    Hey ATruGod there is a bug been in the flying package a long time I been trying to fix,,,, when you flying on a mount go to land and dismount the mount will set its z to 0 and go underground and you cant get to it,.
     
  11. ATruGod
    Offline

    ATruGod Member

    Joined:
    Dec 26, 2014
    Messages:
    87
    Likes Received:
    31
    Hmm I've never experienced this...are You saying before You touch down You dismount?
     
  12. dragon slayer2
    Offline

    dragon slayer2 Active Member

    Joined:
    Aug 29, 2014
    Messages:
    314
    Likes Received:
    38
    no I dismount after I land and for some odd reason the mount will drop below ground I tried walking off screen and back on thinking it was a refresh problem ill see if I can get screen shots for you :) and try to make a list how I do it
     
  13. ETsCat
    Offline

    ETsCat Member

    Joined:
    Jun 18, 2013
    Messages:
    178
    Likes Received:
    7
    Yes Please?
     
  14. m309
    Offline

    Admin Moderator ServUO Developer

    Joined:
    Mar 3, 2013
    Messages:
    1,250
    Likes Received:
    129
    Ehhh. I posted it directly beneath Safera's comment that you quoted? :confused:
     
    • Agree Agree x 2
  15. Kilra Yan
    Offline

    Kilra Yan Member

    Joined:
    Aug 26, 2015
    Messages:
    283
    Likes Received:
    19
    Npcs who flyes are always passive and do not attack if not attacked

    dont know if it matter also the AI isnt correct

    Right AI for air elemental is AI_FlyingMage, in game shown is alway AI_FlyingAnimal

    code is correct like following
    Code (C#):
    1.  
    2.     [CorpseName("an air elemental corpse")]
    3.     public class AirElemental : FlyingCreature
    4.     {
    5.         [Constructable]
    6.         public AirElemental () : base( AIType.AI_FlyingMage, FightMode.Closest, 10, 1, 0.2, 0.4 )
    7.         {
    8.  

    I tryed to ingame change the AI and they keeping passive until attacked.

    Every creature which has the new flying ai is acting such this way.
     

    Attached Files:

    #15 Kilra Yan, Oct 26, 2015
    Last edited: Oct 26, 2015
  16. Kilra Yan
    Offline

    Kilra Yan Member

    Joined:
    Aug 26, 2015
    Messages:
    283
    Likes Received:
    19
    I discovered in FlyingCreature.cs there should be something wrong about
    Code (C#):
    1.  
    2. public FlyingCreature(AIType ai,FightMode mode,int iRangePerception,int iRangeFight, double dActiveSpeed,double dPassiveSpeed)
    3.             : base( AIType.AI_FlyingAnimal, FightMode.Aggressor, iRangePerception, iRangeFight, dActiveSpeed, dPassiveSpeed )
    4.         {
    5.             MF_Displacer = true;
    6.         }
    7.  
    so any flying creature is getting the FlyingAnimal + Aggressor fightmode from default ignoring what is declared in the main class....

    so that's why my airelemental has FlyingAnimal + Aggressor fightmode and refuses to attack on sight...
     
  17. Kilra Yan
    Offline

    Kilra Yan Member

    Joined:
    Aug 26, 2015
    Messages:
    283
    Likes Received:
    19
    Ok definitely a bug:
    Please update the file with the one attached if possible.

    I fixed the issue.
     

    Attached Files:

  18. ATruGod
    Offline

    ATruGod Member

    Joined:
    Dec 26, 2014
    Messages:
    87
    Likes Received:
    31
    • Like Like x 1
  19. Kilra Yan
    Offline

    Kilra Yan Member

    Joined:
    Aug 26, 2015
    Messages:
    283
    Likes Received:
    19
    AirElem was just an example of a custom creature I took, the issue was shared by any other flying too.

    Thank you btw for updating this resource.
     
    • Agree Agree x 1
  20. byaccident
    Offline

    byaccident New Member

    Joined:
    Jul 22, 2013
    Messages:
    25
    Likes Received:
    1
    For those who would like to use it on a fresh install (current release) take files below and replace them.
    Got it running with these edits yesterday.
     

    Attached Files:

    #20 byaccident, Apr 12, 2016
    Last edited: Apr 12, 2016
    • Winner Winner x 1
Similar Threads: Flying NPC
Forum Title Date
Script Support Flying System Jan 29, 2019
Script Support The flying Gryphons Dec 30, 2018
Script Support Flying Mounts Dec 20, 2018
Script Support Flying creatures Jan 31, 2018
Archived Bug Reports Gargoyle Flying and Yellow Health Bar Poison Nov 5, 2016
Script Support Gargoyle Flying Cool Down and Limit Jul 21, 2016
Archived Bug Reports No flying icon for gargoyle Mar 6, 2016