Skip to content
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

[Change Request]: Use VN withstand/revive system prevalent in campaign missions #1925

Closed
yakamashii2 opened this issue May 13, 2021 · 3 comments · Fixed by #2890
Closed

[Change Request]: Use VN withstand/revive system prevalent in campaign missions #1925

yakamashii2 opened this issue May 13, 2021 · 3 comments · Fixed by #2890
Assignees
Labels
Change A change to existing functionality Enhancement New feature or request

Comments

@yakamashii2
Copy link

Is your feature request related to a problem? Please describe.
Antistasi revive sucks. The withstand/revive system is way easier to use, and would allow solo player squads to res themselves without the ai, or at least crawl to safety instead of being dragged into a small rock and joining the VC Space program.

Describe the solution you'd like
Use a modified withstand/revive system from the campaign

Describe alternatives you've considered
just use it ripped straight out of the campaign, or even just allowing players to crawl away from the open to be able to be revived.

@yakamashii2 yakamashii2 added Suggestion Something that needs discussing Change A change to existing functionality labels May 13, 2021
@CalebSerafin
Copy link
Member

The only addition needed is a delayed addAction button that consumes medial supplies and revives the player.
It will need to be compatible with template specified medical supplies. Be Vanilla, ACE, Halo, 40k ect.
Will not need to touch the AI reaction part to impliment this feature.

@CalebSerafin
Copy link
Member

More ideas:

  • A hold action and a button in the escape menu can be used. (The escape menu button is due to ACE blocking many actions)
  • At the start of withstanding, it will alert nearby AI and allow them to shoot at the body.
  • ACE medial will have players brought to minimum heart-rate and pressure to be stable, then ace_medical_fnc_setUnconscious.
  • ACE one would consume items from the template. A custom entry will be required to select appropriate items.

@CalebSerafin CalebSerafin self-assigned this Jul 28, 2021
@CalebSerafin CalebSerafin added this to the 2.4.3 milestone Jul 28, 2021
@CalebSerafin CalebSerafin added Enhancement New feature or request and removed Suggestion Something that needs discussing labels Jul 28, 2021
@Bob-Murphy Bob-Murphy modified the milestones: 2.5.1, 2.5.2 Aug 11, 2021
@Bob-Murphy Bob-Murphy modified the milestones: 2.5.2, 2.5.3, 2.5.X Aug 25, 2021
@CalebSerafin
Copy link
Member

We could load the vanilla revive system if no ACE is loaded.
The bellow nippit is an inspiration.

if (! (isClass (configfile >> "CfgPatches" >> "ace_medical"))) then {
	diag_log "[Vindicta] Ace medican system is disabled, initializing standard Arma revive system";
	[1] call BIS_fnc_paramReviveMode; // Enabled
	[10]  call BIS_fnc_paramReviveDuration;
	[0] call BIS_fnc_paramReviveRequiredTrait; // 0 - no trait required
	[1.5] call BIS_fnc_paramReviveMedicSpeedMultiplier;
	[2] call BIS_fnc_paramReviveRequiredItems; // 2 - medkit or FAK
	[0] call BIS_fnc_paramReviveUnconsciousStateMode;
	[200] call BIS_fnc_paramReviveBleedOutDuration;
	[3] call BIS_fnc_paramReviveForceRespawnDuration;

	// Initialize BIS revive
	call BIS_fnc_reviveInit;
};

@MeltedPixel MeltedPixel changed the title Use VN withstand/revive system prevalent in campaign missions [Change Request]: Use VN withstand/revive system prevalent in campaign missions Apr 12, 2023
@Bob-Murphy Bob-Murphy removed this from the 3.0 milestone Aug 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Change A change to existing functionality Enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants