co10_Escape
co10_Escape copied to clipboard
Add civilian driver randomizing
When merged this pull request will:
- title;
- add civilian passenger with probability 20%;
- ~~small code optimizations~~.
If I read this correct, this will also remove matching drivers from cars like ambulance, police and repair and will randomly spawn them in other cars aswell.
Not a huge fan of medics driving bikes, the postman using a pickup for delivering letters and a random civ driving a repair truck.
Could you limit this function to specific cars. Make it optional so we can turn the randomisation on for generic cars and leave it off for special cars. Best idea would be two blacklist: cars with no randomisation and civilians that are not used in random driver selection (albeit this could be used by adding your, now a function, array to the unitclasses
- At least random civilian is much better than that man wearing blue striped shirt in almost every car.
- Civilian type doesn't affect game process at all but does affect fun and mission replay value. So any exclude/include lists will only bring:
- maintenance troubles;
- less interest/replay value.
- Looks like you would like to exclude racers, men in suits, workers in headphones etc. because of clothes not suiting to car/situation.
- There are winter missions and men wearing summer clothes would be very strange there. The same is for CUP men wearing autumn/winter clothes in summer/jungle missions.
Due to said above I can only suggest mission setting to enable/disable randomization, default as you wish.
I like the chance for passengers, so you can't just look if it's more than one person in the cabin and know it's a civ or surprise enemies.
A new array would be nice, so you could choose fitting civilians for desert/winter versions, or with GM unitclasses.
Maybe an optional second entry with crew, would that be possible?
I can only suggest mission setting to enable/disable randomization
@CaptainPStar What about global/profile variable instead of setting? Those who want random civilians will set variable with addon or console and no setting required.