dharmab / a3tangohunt

ArmA 3 Tango Hunt
Other
2 stars 0 forks source link

Replace CfgRespawnInventory with custom system #17

Closed dharmab closed 9 years ago

dharmab commented 9 years ago

CfgRespawnInventory does not allow the use of third-party content in player loadouts. A custom solution should be explored.

Azrooh commented 9 years ago

I would also suggest a way to turn off respawning altogether in the parameter menu if possible.

dharmab commented 9 years ago

Hi Azrooh,

Currently, players effectively cannot respawn. While respawn is enabled in the mission, this is only a workaround to allow the use of Bohemia's loadout selection GUI. When a player dies, they are sent to the spectator script instead of respawning as normal. (See onPlayerRespawn.sqf). Effectively, each player only has one respawn in a gameplay sense.

The new system I have begun working on replaces the above workaround with a true no-respawn system and a custom GUI and scripts for loadout selection. Unfortunately, the respawn mode setting is a compile-time option in description.ext, so it cannot be changed at runtime as a parameter. A possible solution that would allow both no-respawn and respawn gameplay would be to use a ticket-based respawn system. Maybe respawning players could paradrop in over their group leader's position?

I think that the generated scenarios are short enough that most players shouldn't need to respawn, but if I get requests for multiple respawn systems I can look into it. For now, I'll leave it as "no-respawns, dead players spectate".

Thanks for commenting, by the way- you're the first person who's left feedback on GitHub!

dharmab commented 9 years ago

Closed by #18