[FilterScript] NPC Drivers - Citizen & Fully working Taxi script - (FS-Version)
#85

Quote:
Originally Posted by kaisersouse
View Post
Once I have a better understanding how to correctly (and cleanly) reset bots on death so that they go back to their routine...I would be more than happy to work on a pedestrian system with you if you'd like. I'll have plenty of time in the weekday evenings next week (wife on business trip, its either this or smoke pot all night and hang out with the dog).

I've started drawing this out a few days ago anyways, as I planned on making a ped system using the driverfs script anyways. In a nutshell, I would work on them exiting/re-entering vehicles cleanly, then work on them resetting correctly after death, and once the basic look+feel of the peds are polished...THEN work on their AI behavior based on player conditions. I'd like to use an efficient OnStreamIn/Out routine that unloads the pedestrians in areas where no players are around, to try and reduce any lag experienced on the client-side.

I planned on customizing it so that you can set a percentage of bots to be overtly dick-heads to players (attack on sight), some that only get angry when provoked, and some who simply run/drive away. The anger levels would be customizable from a couple "potshots" from bots, all the way up to "hunt you down until you die", and specific aggro levels from "break off after 30 seconds" to "follow the player to the ends of the earth", and bots in 'gang' areas of the map would be much more prone to attacking than ones in the countryside or suburbs.

For ambiance Im throwing in random animations and pedestrian sound clips for the on-foot bots, and a selection of "are you fucking wtih me" type quotes for the bots that players piss off.

Anyways that was my plan for the FS on my server, so if you think I can help you out in any way, definitely let me know
Sure we can work on a Ped script together, however I doubt the driverfs is good to use for peds.
Almost everything is based on vehicle stuff.
I'd put the vehicle driving functions into an include and then use the inc in the Ped FS.
So if a Ped enters a vehicle (or spawns in one), the driving would be handled by the include or basing on new callbacks for the FS to use. And once they exit they are in Ped mode, controlled by the FS again.
Furthermore I have code for working Ped movement (with ColAndreas and literally everywhere) in another FS, so combining those will be hard enough.

Proper respawning is not a problem, working on my current version, I'll update it later.
Reply


Messages In This Thread
NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 01.09.2015, 15:06
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Sellize - 01.09.2015, 15:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Logofero - 01.09.2015, 15:46
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 01.09.2015, 16:17
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 01.09.2015, 16:23
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by JustinAn - 01.09.2015, 16:28
Re: AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 01.09.2015, 16:29
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Zues - 01.09.2015, 18:06
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Michael B - 01.09.2015, 18:18
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by GustavoSouza - 01.09.2015, 19:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Admigo - 01.09.2015, 19:11
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 01.09.2015, 20:29
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Neutralneu - 02.09.2015, 03:48
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by n0minal - 02.09.2015, 04:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by JJohnson1 - 02.09.2015, 05:13
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AroseKhanNiazi - 02.09.2015, 06:55
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by X337 - 02.09.2015, 07:01
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 02.09.2015, 10:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by JustinAn - 02.09.2015, 20:18
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 02.09.2015, 20:20
Re: AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by JustinAn - 02.09.2015, 20:22
AW: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 03.09.2015, 01:29
Re : NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by nicolaskettler - 03.09.2015, 01:50
AW: Re : NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 03.09.2015, 02:13
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by trablon - 03.09.2015, 02:22
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Jastak - 04.09.2015, 18:24
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 04.09.2015, 18:27
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kristo - 04.09.2015, 19:05
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 04.09.2015, 20:39
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 04.09.2015, 22:43
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 05.09.2015, 10:07
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kristo - 05.09.2015, 11:39
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 05.09.2015, 12:00
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Ivan_Ino - 05.09.2015, 12:03
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by alibassam - 06.09.2015, 12:12
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 07.09.2015, 10:31
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by xXDuno2000ManXx - 08.10.2015, 15:08
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Strongerking - 12.10.2015, 17:34
AW: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 12.10.2015, 19:43
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by N0FeaR - 06.11.2015, 13:33
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Twine - 06.11.2015, 22:59
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Mijata - 07.11.2015, 10:10
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Maestruli - 22.12.2015, 21:57
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Sanderluc - 23.12.2015, 00:24
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by wolftech - 23.12.2015, 16:01
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Z0MBERTH - 24.12.2015, 00:09
Respuesta: Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Maestruli - 24.12.2015, 01:19
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Z0MBERTH - 27.12.2015, 21:01
Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 31.01.2016, 17:14
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by czj2441 - 17.02.2016, 06:14
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Hellman92 - 17.02.2016, 06:18
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 17.02.2016, 07:49
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by AIped - 17.02.2016, 07:52
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by supernerd2000 - 10.04.2016, 19:05
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 10.04.2016, 22:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Kar - 10.04.2016, 22:28
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 13.04.2016, 14:15
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 13.04.2016, 14:18
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 13.04.2016, 14:48
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Azhar - 13.04.2016, 15:09
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 14.04.2016, 17:49
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by OmegaKiller72 - 14.04.2016, 19:55
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 15.04.2016, 16:06
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 18.04.2016, 16:51
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 18.04.2016, 22:02
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Whyd - 18.04.2016, 22:14
Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 18.04.2016, 22:24
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by PT - 18.04.2016, 22:28
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 18.04.2016, 22:38
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 20.04.2016, 14:36
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by PT - 20.04.2016, 14:43
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 20.04.2016, 14:53
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Whyd - 20.04.2016, 15:19
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 20.04.2016, 15:20
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Admigo - 20.04.2016, 15:27
Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 20.04.2016, 15:45
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Whyd - 20.04.2016, 16:04
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 20.04.2016, 16:23
Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 20.04.2016, 16:42
Respuesta: Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Whyd - 20.04.2016, 16:53
Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 20.04.2016, 17:30
Re: Respuesta: Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 20.04.2016, 18:10
Respuesta: Re: Respuesta: Re: Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Whyd - 20.04.2016, 18:26
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by kaisersouse - 21.04.2016, 11:40
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 21.04.2016, 12:34
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by CoaPsyFactor - 21.04.2016, 20:11
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 26.04.2016, 22:29
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Sc0pion - 24.05.2017, 04:34
Respuesta: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by byalexv - 21.07.2017, 12:14
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by langit - 30.10.2017, 14:11
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Astralis - 30.10.2017, 14:35
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by langit - 30.10.2017, 14:53
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 02.11.2017, 20:53
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by langit - 03.11.2017, 16:35
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Lokii - 03.11.2017, 17:11
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by GabrielBas - 08.12.2017, 04:42
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 08.12.2017, 17:41
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by GabrielBas - 08.12.2017, 19:11
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 08.12.2017, 20:35
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by GabrielBas - 08.12.2017, 20:56
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 08.12.2017, 21:28
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by GabrielBas - 08.12.2017, 21:33
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 08.12.2017, 23:14
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by JesusChrysler - 09.12.2017, 19:13
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by duc21122002 - 12.12.2017, 10:33
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 12.12.2017, 12:24
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by solstice_ - 12.12.2017, 14:12
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by RogueDrifter - 12.12.2017, 16:38
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jasons711 - 08.02.2018, 07:07
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 10.02.2018, 12:27
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 07.03.2018, 17:53
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 07.03.2018, 18:08
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 07.03.2018, 18:15
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by m4karow - 07.03.2018, 18:40
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 08.03.2018, 10:19
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 08.03.2018, 16:29
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 09.03.2018, 12:45
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 09.03.2018, 14:57
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 09.03.2018, 16:50
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 10.03.2018, 10:29
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Inuro - 10.03.2018, 13:16
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 10.03.2018, 14:30
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Inuro - 10.03.2018, 14:38
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by jop9888 - 10.03.2018, 15:27
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Lokii - 10.03.2018, 15:38
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 10.03.2018, 16:44
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by RANGER44 - 16.04.2018, 21:22
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by prfsamp - 16.12.2018, 00:37
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by DIRTYBYT3 - 18.12.2018, 05:17
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by bookknp - 11.02.2019, 10:16
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 12.02.2019, 14:32
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by bookknp - 12.02.2019, 21:25
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Kob - 17.02.2019, 07:07
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by ThePez - 21.03.2019, 21:59
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 21.03.2019, 23:22
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by ThePez - 22.03.2019, 00:54
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 22.03.2019, 01:33
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by Chaprnks - 30.03.2019, 01:41
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by NaS - 30.03.2019, 11:16
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by parames3010 - 17.04.2019, 23:27
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by BsLOUAY - 18.04.2019, 12:41
Re: NPC Drivers - Citizen & Fully working Taxi script - (FS-Version) - by RenanMsV - 18.04.2019, 14:05

Forum Jump:


Users browsing this thread: 5 Guest(s)