Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
class ace_medical_medicSetting_basicEpi {
value = 0;
typeName = "SCALAR";
force = 1;
};
Of course to this to work, you need to move the "ace_server.pbo" in the ace\optionals folder to the ace\addons and modify the "serverconfig.hpp" file.
You can find more instructions to do this here: http://ace3mod.com/wiki/framework/settings-framework.html in the "3.How do I use them?" chapter.
But we still haven't figured out, how to so set the actual "ACE Medic class" to a player
The easiest way would be to assign all players automatically as medics via the Ace medic module. But that does not work because of the way the players are being initialised (first civilians, then units of selected faction).
I tried to add
"player setVariable ["Ace_medical_medicClass", 1]; "
in the initplayerLocal.sqf, but that did not work. Any ideas?
for those who wants to run this mission with ACE medic support: since the players pick a civilian role at the beginning but are actually spawned in a later stage of the mission the initialisation of the ACE medic and engineer modules doesn't run properly. You need to assign the ACE roles after the players and everything else is spawned.
1. Switch off the missions' revive option in the start settings
2. edit \sunday_system\setupPlayersFaction.sqf and add at the bottom:
//ACE ROLES
sleep 30;
{_x setVariable ["Ace_medical_medicClass", 2]} forEach units group player; //every player has ACE doctor role
{_x setVariable ["ACE_isEngineer", 2]} forEach units group player; //every player has ACE engineer role
{_x setVariable ["ACE_medical_preventInstaDeath",true]} forEach units group player;
Works for me, please tell if it doesn't for you
Edit: this script can be bound to a radio trigger so you can run it anytime you want. To switch it off it should work in the same way, just change the 2s to 0s ( not tested yet)
Can you tell where the path "\sunday_system\setupPlayersFaction.sqf " is? Do I need to unpack the .pbo or something?
Yes, for this you need to unpack the pbo with an external tool, edit the file and then repack it again (tool or eden editor -> export to single or multiplayer) . Try this tool http://www.armaholic.com/page.php?id=16369