CombinedArmsGaming / CAFE3

F3_CA but bouncier.
2 stars 3 forks source link

[Feature Request] ZEN module that assigns a player a loadout #163

Open BAXENdev opened 1 year ago

BAXENdev commented 1 year ago

In a mission I zeused, no one slotted for the platoon medic role. I then had to spawn a loadout locker to let the CLSs swap class. One of them accidently reselected CLS. I then had to spawn another locker in the middle of the OP for him. This occurred during a busy moment in the OP and he had to wait which is an issue, and then once I got to him, he had to wait for a locker to spawn and then reselect his loadout. Addressing this problem in the way I did took a lot of time.

My suggested fix is a ZEN module that lets the zeus assign a player a class. This would be a somewhat niche module but gives the zeus a better ability to swap players roles whenever that is needed.

One could just say to slot a CLS as platoon medic and have them rejoin the squad. But in the mission briefing, I decided it would be better to have both CLS be full medics to be more capable of handling a mass-cas given the player count. The re-slot and join squad solution doesn't address all possible scenarios.

I have already developed the module and am in the process of testing it on the game server now. I can submit a pull request once i have finished testing and have received any feedback here.

Here is a link to my code: https://github.com/BAXENdev/CAFE3-AfterEverything/blob/feature/new_loadout_zen/components/gearScript/zen/fn_zen_assignGear.sqf

Thoughts?

Bubbus commented 1 year ago

This fundamentally addresses the same issue that the loadout locker does, doesn't seem like it would change the game in this case. This genre of loadout/role confusion isn't really an issue with the locker - loadouts should be sorted before the mission begins, and the force should be designed in a way that fulfils the intent of the designer.

With all that said though, if you've already made the module then feel free to submit a PR - it's still a decent capability that would help in emergency/whoopsie cases.