Skip to content

Conversation

@dijksterhuis
Copy link
Contributor

@dijksterhuis dijksterhuis commented Apr 14, 2025

Was writing up the wiki and felt very weird having a dance between having N arsenal_cleanup_n trash cans, where N must match the index of the arsenal (what if someone wants to put down two trash cans for one arsenal?!).

This adds some server side initialisation logic to make life simpler

  • Finds the white listed arsenal module logics
  • Any object synchronised to the logic is considered an 'arsenal'
  • Add pink map markers for all arsenals
  • Save arsenals missionNamespace setVariable ["vn_mf_arsenals", _arsenals]

When a player joins, we can just load trash cans by finding relevant objects within 10m of the init'd arsenals instead of having to find different map markers and resolve the trashcans based on indexes of map markers.

--

TODO

  • Remove arsenal markers from each map (will be automatically created on server init)

@dijksterhuis dijksterhuis force-pushed the arsenals-automatic-mission-setup branch 2 times, most recently from 6a75a5b to a375d34 Compare April 14, 2025 03:04
@dijksterhuis dijksterhuis force-pushed the arsenals-automatic-mission-setup branch from a375d34 to 2848cfe Compare April 14, 2025 03:05
@dijksterhuis dijksterhuis self-assigned this Apr 14, 2025
@dijksterhuis

This comment was marked as outdated.

@dijksterhuis dijksterhuis marked this pull request as draft April 15, 2025 00:50
@dijksterhuis dijksterhuis marked this pull request as ready for review April 15, 2025 01:51
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.

1 participant