Skip to content

Add civilian driver randomizing#60

Open
Dystopian wants to merge 6 commits into
CaptainPStar:masterfrom
Dystopian:random_civ_driver
Open

Add civilian driver randomizing#60
Dystopian wants to merge 6 commits into
CaptainPStar:masterfrom
Dystopian:random_civ_driver

Conversation

@Dystopian

@Dystopian Dystopian commented May 4, 2020

Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • title;
  • add civilian passenger with probability 20%;
  • small code optimizations.

@CaptainPStar

Copy link
Copy Markdown
Owner

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

@Dystopian

Copy link
Copy Markdown
Contributor Author
  1. At least random civilian is much better than that man wearing blue striped shirt in almost every car.
  2. 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.
  1. Looks like you would like to exclude racers, men in suits, workers in headphones etc. because of clothes not suiting to car/situation.
  2. 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.

@CaptainPStar CaptainPStar added this to the 1.11 milestone May 5, 2020
@ScruffyAT

Copy link
Copy Markdown
Collaborator

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?

@Dystopian

Copy link
Copy Markdown
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants