Scripts / AmenMoses Helicopter script.

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 8th Aug 2017 22:41 Edited at: 8th Aug 2017 22:47
I was wandering AmenMoses ,, now that we have Lee's ray casting commands , ( the commands that you used to make the cars follow the roads ) would it be possible for you helicopter script to now fly the helicopters inside a town and not flying thru the buildings, but to guide them self around the buildings. if possible would you be so kind and update your helicopter script for us.

Thanks for all your hard and generous work
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Aug 2017 20:15
There is a reason helicopters aren't generally allowed to fly around in towns (at least in sensible countries ), a simple object avoidance system could be added (they currently avoid each other after all) but it probably wouldn't look much like "guiding themselves around buildings"!

Let me think about it some more.
Been there, done that, got all the T-Shirts!
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 16th Aug 2017 18:14
Thank you AmenMoses.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 19th Aug 2017 17:37
Try this, bit simplistic but seems to avoid most buildings ok.
Been there, done that, got all the T-Shirts!

Attachments

Login to view attachments
PM
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 20th Aug 2017 00:42
AmenMoses ... FANTASTIC , it works perfect, it does go thru some buildings but most of them it avoids them, thank you so much. Dont know how you do this , but thanks again.
Windows 7 Professional 64-bit
Intel(R) Pentium(R) CPU G3260 @ 3.30GHz (2 CPUs), ~3.3GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11

Login to post a reply

Server time is: 2024-12-23 00:34:15
Your offset time is: 2024-12-23 00:34:15