Add boat spawner entries for downstream mission editing - #194
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.
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.
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.
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.
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.
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.
naming convention
| class small_transport { | |
| class pbr_m60 { |
| WRECK_LONG; | ||
|
|
||
| class categories { | ||
| class large_boat_40mm { |
There was a problem hiding this comment.
naming convention
| class large_boat_40mm { | |
| class nasty_40mm { |
| RESPAWN_MEDIUM; | ||
|
|
||
| class categories { | ||
| class light_transport_m2 { |
There was a problem hiding this comment.
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.
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.
naming convention
| class light_transport_mk18 { | |
| class stab_mk18 { |
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Removal of empty space
Just added boats to the vehicle_respawn_info.hpp so mission makers can place them in spawner in the future.