Scripts / freebie / modification of old ai_wanderer script

Author
Message
PCS
8
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 21st Jan 2018 17:14
hi all .
i am always on the receiving end with freebies , so now i am trying to give something back to anyone who would be able to use it , or make it better.
All the credit goes to Lee. it is his old ai_wanderer script witch i have modified a little bit.
The part that i have modified is not perfect but it works for me, i am sure almost everyone will be able to do a better job than me. because half off the time i don't know what i am doing when i try to script and the other half of the time i am only lucky to get something to work.

So i have modified the script so that when the ai wanders off to far it will come back , and when it does comes back it comes back to the player position. in this script i have set it not to walk up to the player but to start wander again when it is about 600 units away from the player.

The whole idea behind the modification of this script is to have ai's that can wander around the player in his map or in his town, so that it looks like there are a lot of ai's all over the scene in your map.

The modification of the script works but is not perfect, and there is a lot off extra stuff in the script that i am sure do not have to be there. but if anyone can use it or make it better for them self. then i'm happy .


If anyone wants to make it better or perfect for the idea i have then i thank you.

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

Attachments

Login to view attachments
Solar
7
Years of Service
User Offline
Joined: 11th Apr 2017
Location: South Africa
Posted: 21st Jan 2018 18:12
Cool! Thank you PCSKILLER!
PM
JPH-GAMES
3D Media Maker
9
Years of Service
User Offline
Joined: 13th Feb 2015
Location: Belgique
Posted: 21st Jan 2018 23:56
Nice, thank you very much PCSKILLER
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 4th Feb 2018 02:48
Thank you.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Login to post a reply

Server time is: 2024-12-22 20:03:28
Your offset time is: 2024-12-22 20:03:28