-
Notifications
You must be signed in to change notification settings - Fork 39
Add boat spawner entries for downstream mission editing #194
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
base: development
Are you sure you want to change the base?
Conversation
Added the boats to the subconfig vehicle_respawn_info.hpp. This allows for them to be added to spawners placed by mission makers on the map.
Ignore changes to .gitignore.
dijksterhuis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have tested, all works beautifully.
A few minor naming convention things, happy to merge it, but would be good to get these suggestions added to clean it up.
|
|
||
| class boat_small { | ||
| name = "Small Boats"; | ||
| RESPAWN_SHORT; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PBRs have more firepower than the STAB rigs, so might make more sense to default them to a longer respawn time?
| RESPAWN_SHORT; | |
| RESPAWN_LONG; |
| class boat_small { | ||
| name = "Small Boats"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are all PBRs, so might make a bit more sense to have it like this
| class boat_small { | |
| name = "Small Boats"; | |
| class boat_pbr { | |
| name = "Boats - PBR"; |
| class boat_large { | ||
| name = "Large Boats"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are all nasty boats, so might make a bit more sense to have it like this
| class boat_large { | |
| name = "Large Boats"; | |
| class boat_nasty { | |
| name = "Boats - Nasty"; |
| class boat_light { | ||
| name = "Light Boats"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are all STAB boats, so might make a bit more sense to have it like this
| class boat_light { | |
| name = "Light Boats"; | |
| class boat_stab { | |
| name = "Boats - STAB"; |
| RESPAWN_SHORT; | ||
|
|
||
| class categories { | ||
| class small_transport { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming convention
| class small_transport { | |
| class pbr_m60 { |
| WRECK_LONG; | ||
|
|
||
| class categories { | ||
| class large_boat_40mm { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming convention
| class large_boat_40mm { | |
| class nasty_40mm { |
| RESPAWN_MEDIUM; | ||
|
|
||
| class categories { | ||
| class light_transport_m2 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming convention
| class light_transport_m2 { | |
| class stab_m2 { |
| icon = VEHICLE_ICON_BOAT; | ||
| include[] = { { "light", "boat", "m2" } }; | ||
| }; | ||
| class light_transport_m60 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming convention
| class light_transport_m60 { | |
| class stab_m60 { |
| icon = VEHICLE_ICON_BOAT; | ||
| include[] = { { "light", "boat", "m60" } }; | ||
| }; | ||
| class light_transport_mk18 { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
naming convention
| class light_transport_mk18 { | |
| class stab_mk18 { |
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removal of empty space
Just added boats to the vehicle_respawn_info.hpp so mission makers can place them in spawner in the future.