Flying NPC's

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
User avatar
atreiu
Grandmaster Poster
Posts: 144
Joined: Mon May 24, 2010 1:08 pm
Location: Russia, Moscow
Contact:

Flying NPC's

Post by atreiu » Mon Nov 06, 2017 8:36 am

Hello

i will try to create flying NPC. exist this viewtopic.php?f=7&t=3046 but i decide to create another thread because i have some questions.

Once i move NPC by MoveObjectToLocation() he play walking animation. but all creatures waving their wings only when run. i've tried to performaction() but MoveObjectToLocation() send walk animation per each movement so it's not looking good.

my first guess was to play around some packets for sending flying animation to player but i didn't try yet because of MoveObjectToLocation() and walk animation.

Maybe exist possibility to do some kind of PlayMovingEffect() but with dragon? =)

So i hope POL developers guide me what packet to use before i will dive in packet's bytes investigation.

Thanks in advance.
thanks a lot to all POL devs you've made my hobby!
my addon for comfortable eScript compilation will save your time
drugs&drop for compile new one
alt+q - compile last script

User avatar
atreiu
Grandmaster Poster
Posts: 144
Joined: Mon May 24, 2010 1:08 pm
Location: Russia, Moscow
Contact:

Re: Flying NPC's

Post by atreiu » Mon Nov 06, 2017 9:37 am

haha lol created tiles for NPC movement as result looks good :D
seems like this solution is satisfy me
thanks a lot to all POL devs you've made my hobby!
my addon for comfortable eScript compilation will save your time
drugs&drop for compile new one
alt+q - compile last script

Yukiko
Distro Developer
Posts: 2511
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Flying NPC's

Post by Yukiko » Mon Nov 06, 2017 9:42 am

Could you post a sample of what you did? It might help others who have the same problem.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

xeon
Forum Regular
Posts: 333
Joined: Fri Oct 31, 2008 3:18 am
Location: Italy
Contact:

Re: Flying NPC's

Post by xeon » Mon Nov 06, 2017 3:02 pm

Yup, I'm curios
Scripter Xeon | Zulu Hotel Italia 7th Age | www.zhi.it
Image

User avatar
atreiu
Grandmaster Poster
Posts: 144
Joined: Mon May 24, 2010 1:08 pm
Location: Russia, Moscow
Contact:

Re: Flying NPC's

Post by atreiu » Thu Nov 23, 2017 12:44 pm

i've told you how to do in second post, read it carefully.
sorry guys some years i wanna create cool stuffs just for my shard only, uniqueness is give my motivation.
so don't blame me please
Last edited by atreiu on Fri Nov 24, 2017 12:30 pm, edited 6 times in total.
thanks a lot to all POL devs you've made my hobby!
my addon for comfortable eScript compilation will save your time
drugs&drop for compile new one
alt+q - compile last script

Yukiko
Distro Developer
Posts: 2511
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Flying NPC's

Post by Yukiko » Fri Nov 24, 2017 11:02 am

There are times when I can understand not sharing "features" but when those "features" involve overcoming a limitation of POL I think it is bad form (in other words wrong) to post videos and brag about your abilities on a forum that is specifically devoted to the improvement of POL and helping others to improve their abilities and scripts. That is of course my opinion but I am certain I am not alone in this, especially because you posted first asking for help with the problem.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

DevGIB
Grandmaster Poster
Posts: 204
Joined: Mon Feb 06, 2006 6:12 am

Re: Flying NPC's

Post by DevGIB » Fri Nov 24, 2017 9:53 pm

By the sounds of it, he's maybe doing 1 of 2 things.
  1. The npc creates a hidden tile infront of it which it can move to which would be above the normal max z height of the world
  2. He's maybe modified the world files to include a hidden layer above the max z height which allows the dragon to fly around on that level without being obstructed by items.
My guess would be the first one which would allow the npc to dynamically look like its moving up and down above stuff.

Yukiko
Distro Developer
Posts: 2511
Joined: Thu Feb 02, 2006 1:41 pm
Location: San Antonio, Texas
Contact:

Re: Flying NPC's

Post by Yukiko » Sat Nov 25, 2017 10:38 am

I agree that the first one makes more sense. Having dynamically created and destroyed tiles is probably what he's doing lest players be able to walk on tiles that are permanent.
Sincerely,
Yukiko

I would tell you a UDP joke but you might not get it.

Titus 2:13

Post Reply