-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spawn searchlights in military/police roadblocks #39984
Spawn searchlights in military/police roadblocks #39984
Conversation
…ks map extra Also fixed small error at mapgen (it checked for east road twice instead of once for east and once for west).
Looks nice! |
That is just how sprite looks like. |
dang, does that mean engaging these roadblocks from far away is still viable choice? or more challenging? reminds me of my first time raiding a National Guard HQ. |
From the one side, at night now you see searchlight from far away and have an option to shoot it down. From the other side, if you don't have a weapon with range more than range of these searchlights, you'll have to come closer to them with the risk of being lit up. |
* Added searchlight and plutonium generator to military/police roadblocks map extra Also fixed small error at mapgen (it checked for east road twice instead of once for east and once for west). * Simplified code * Sorting * Corpses spawn last * Remove empty line
Summary
SUMMARY: Content "Spawn searchlights in military/police roadblocks"
Purpose of change
Add logical thing to spawn at roadblocks, inspired by discussion in #35500.
Describe the solution
Added searchlight (powered by plutonium generator) roughly in the center of roadblock. Both searchlight and generator are protected by sandbag wall.
Also fixed a small error in roadblock mapgen where it checked for east road twice instead of once for east and once for west.
Also made corpses of soldiers spawn on top of their loot, not the vice versa.
Describe alternatives you've considered
None.
Testing
Debug-spawned several roadblocks, checked if all is ok.
Additional context