Collumbus 16 Posted March 20, 2016 DOWNLOAD v0.1.1File Size ~ 1Mb This is a simple script that I made to simulate a surprise surrender, where if you approach an enemy behind less than 1.5 meters, you have a chance to surrender it and render it. Initially this coefficient is 60% but later I will implement others parameters like if the enemy is so injured or if all of your group are dead and others, and these parameters can increase the coefficient to surrender the enemy. If you distance more than 10 meters and the enemy is out of sight he will return to its initial state. Signed,The AEGIS Team RequirementsLatest version of CBA A3. Latest version of ACE3.Installation Download the above linked version of aegis_surrender script and all of its requirements. Extract its contents into your mission root directory Enable both CBA and ACE in your favorite launcher, or make a shortcut with the parameter -mod=@CBA_A3;@ace Done. Pictures: Videos: https://www.youtube.com/watch?v=zETOkt7ED_c Changelog: v0.1.1- fixed int.sqf (removed line line 15: "_this action ["useWeapon", player, player, 2])v0.1- first release Reporting issuesIf you encounter any issues during usage of the ACE3 project, please report them on our GitHub issue tracker. Follow us at http://aegisgroup.com.br/ 2 Share this post Link to post Share on other sites
Guest Posted March 20, 2016 Thanks for informing us about the this :) Release frontpaged on the Armaholic homepage. AEGIS - Surrender Script v0.1 Community Base addons A3 Advanced Combat Environment 3 (ACE 3) Share this post Link to post Share on other sites
realthing 14 Posted March 20, 2016 Hi, Collumbus! I have extracted its content into my sp mission root directory and started the game. But nothing happened. Enemy units are killing me every time when i standing close behind of their back... What i have to do? I have CBA and ACE3. Maybe i need to do something with init line also? Thanks Share this post Link to post Share on other sites
Collumbus 16 Posted March 20, 2016 Hi, Collumbus! I have extracted its content into my sp mission root directory and started the game. But nothing happened. Enemy units are killing me every time when i standing close behind of their back... What i have to do? I have CBA and ACE3. Maybe i need to do something with init line also? Thanks Hi, realthing! If you already had a init.sqf into your mission folder you will need to copy the content of init.sqf of aegis_surrender and paste into the init.sqf of your mission. If your mission doesn't have a init.sqf you will need to extract its contents into your mission root directory. But remember, you must approach to enemy in stealth mode. To test if the script is working properly you can enable the debug mode on START block of aegis_surrender.fsm file. 1 Share this post Link to post Share on other sites
realthing 14 Posted March 20, 2016 Hi, realthing! If you already had a init.sqf into your mission folder you will need to copy the content of init.sqf of aegis_surrender and paste into the init.sqf of your mission. If your mission doesn't have a init.sqf you will need to extract its contents into your mission root directory. But remember, you must approach to enemy in stealth mode. To test if the script is working properly you can enable the debug mode on START block of aegis_surrender.fsm file. Thank you, Collumbus! I think i understood. :) Best regards, Alex Share this post Link to post Share on other sites
bier aig tartar 11 Posted March 21, 2016 there is the following script error message ! 12:19:54 Surrender: current state same as new12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};>12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};>12:19:55 Error Nicht definierte Variable in Ausdruck: bis_fnc_ambientanim__terminate12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};>12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};>12:19:55 Error Nicht definierte Variable in Ausdruck: bis_fnc_ambientanim__terminate12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};>12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};> my Init.sqf = while { true } do { _units = allUnits - ( playableUnits + switchableUnits ); { if(((side _x) == east) || ((side _x) == resistance))then { if(isNil { _x getVariable "unitHasFSM" } && {!captive _x}) then { _x execFSM "aegis_surrender.fsm"; _x setVariable ["unitHasFSM", true]; sleep 1; }; }; } forEach _units;};sleep 1;_this action ["useWeapon", player, player, 2]; my Mods = @helo_hmds_kimi |@sab_C130 @Ares @Trawler config @BurnesLCAC @Burnes_MK10 @TEC_CSAT @3den Enhanced @ATLAS_LHD_Plus @][XENO][ Taru Pod Mod@RHSUSAF @RHSAFRF @CUP_Weapons-1.5.0 @CUP_Vehicles-1.2.0 @CUP_Units_1_2_2@CUP_Terrains @CUP_Ace_Compatibility @ace_Rhs_optional @ace Advanced Combat Environment 3.5.1 |@task_force_radioommunity Base Addons v2.3.1 | @CBA_A3 Share this post Link to post Share on other sites
Collumbus 16 Posted March 21, 2016 there is the following script error message ! 12:19:54 Surrender: current state same as new 12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};> 12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};> 12:19:55 Error Nicht definierte Variable in Ausdruck: bis_fnc_ambientanim__terminate 12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};> 12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};> 12:19:55 Error Nicht definierte Variable in Ausdruck: bis_fnc_ambientanim__terminate 12:19:55 Error in expression <mbientAnim} else {(_this select 1) call BIS_fnc_ambientAnim__terminate};};> 12:19:55 Error position: <BIS_fnc_ambientAnim__terminate};};> my Init.sqf = while { true } do { _units = allUnits - ( playableUnits + switchableUnits ); { if(((side _x) == east) || ((side _x) == resistance))then { if(isNil { _x getVariable "unitHasFSM" } && {!captive _x}) then { _x execFSM "aegis_surrender.fsm"; _x setVariable ["unitHasFSM", true]; sleep 1; }; }; } forEach _units; }; sleep 1; _this action ["useWeapon", player, player, 2]; my Mods = @helo_hmds_kimi | @sab_C130 @Ares @Trawler config @BurnesLCAC @Burnes_MK10 @TEC_CSAT @3den Enhanced @ATLAS_LHD_Plus @][XENO][ Taru Pod Mod @RHSUSAF @RHSAFRF @CUP_Weapons-1.5.0 @CUP_Vehicles-1.2.0 @CUP_Units_1_2_2 @CUP_Terrains @CUP_Ace_Compatibility @ace_Rhs_optional @ace Advanced Combat Environment 3.5.1 | @task_force_radio ommunity Base Addons v2.3.1 | @CBA_A3 Hi bier aig tartar, I tested the script with with your list of mods and it worked perfectly.This log doesn't seem to be relative to script aegis_surrender. Do you use any used some other script? Another thing, please delete the line 15: "_this action ["useWeapon", player, player, 2];" of init.sqf. This is a garbage that I forgot to remove. Share this post Link to post Share on other sites
corellian_storm 20 Posted March 21, 2016 Looks like a cool mod! Any possible chance of a version that doesn't require ACE? Share this post Link to post Share on other sites
Guest Posted March 22, 2016 Armaholic mirror updated with the fixed archive! AEGIS - Surrender Script v0.1.1 Community Base addons A3 Advanced Combat Environment 3 (ACE 3) Share this post Link to post Share on other sites
Raffal 12 Posted October 10, 2016 with ACE version 3.7.0.6 show this error: It seems no longer work 1 Share this post Link to post Share on other sites
realthing 14 Posted October 10, 2016 with ACE version 3.7.0.6 show this error: It seems no longer work I confirm that problem... Share this post Link to post Share on other sites