Könnte im gleichen zug bitte jemand erklären wie ich das medic HQ sinnvoll verschieben kann (ohne Marker mit Koordinaten)
Beiträge von Deomann
-
-
Joar titel ist eigentlich selbst erklärend oder?
ich habe es jetzt so ausprobiert und es will nicht funktionieren.
Code
Alles anzeigenclass Civilian { class Georgetown { displayName = "Georgetown"; spawnMarker = "civ_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = ""; }; class GeorgetownHQ { displayName = "Georgetown"; spawnMarker = "cop_spawn_1"; icon = "\a3\ui_f\data\map\MapControl\watertower_ca.paa"; conditions = "call life_coplevel >= 3"; };
-
-
Vielen Vielen dank ich frage mich nur warum das mit dem Switches nicht geklappt hat komisch
-
es geht keiner ...
hauptsächlich gehts aber um die cop skins -
Hallo ich habe seit 2 stunden ein Problem das auf Teufel komm raus nicht die Skins laden wollen wenn mir jemanden helfen kann bitte meldet euch!!!
ich würde gerne log hinzufügen wann kann aber nicht daraus ablesen wo eine fehler sein sollte PLS HELP!!!
hier meine fn_playerSkins.sqfCode
Alles anzeigen#include "..\..\script_macros.hpp" /* File: fn_playerSkins.sqf Author: Daniel Stuart Description: Sets skins for players by their side and uniform. */ private ["_skinName"]; private["_path","_unit","_type"]; _unit = [_this,0] call BIS_fnc_param; _type = [_this,1,"",[""]] call BIS_fnc_param; switch (playerSide) do { case civilian: { if (LIFE_SETTINGS(getNumber,"civ_skins") isEqualTo 1) then { if (uniform player isEqualTo "U_C_Poloshirt_blue") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_1.jpg"]; }; if (uniform player isEqualTo "U_C_Poloshirt_burgundy") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_2.jpg"]; }; if (uniform player isEqualTo "U_C_Poloshirt_stripped") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_3.jpg"]; }; if (uniform player isEqualTo "U_C_Poloshirt_tricolour") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_4.jpg"]; }; if (uniform player isEqualTo "U_C_Poloshirt_salmon") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_5.jpg"]; }; if (uniform player isEqualTo "U_C_Poloshirt_redwhite") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_6.jpg"]; }; if (uniform player isEqualTo "U_C_Commoner1_1") then { player setObjectTextureGlobal [0, "textures\civilian_uniform_7.jpg"]; }; }; }; case west: { switch(_type) do { case "U_Rangemaster" : { switch (call life_coplevel) do { case 1: { _path = "textures\Polizei\uniform\coptraini.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 2: { _path = "textures\Polizei\uniform\cop_uniform.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 3: { _path = "textures\Polizei\uniform\cop_uniform.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 4: { _path = "textures\Polizei\uniform\cop_uniform.jpg"; _unit setObjectTextureGlobal [0,_path]; }; default { _path = "textures\Polizei\uniform\cop_uniform.jpg"; _unit setObjectTextureGlobal [0,_path]; }; }; }; case "U_B_CombatUniform_mcam" : { switch (call life_coplevel) do { case 5: { _path = "textures\Polizei\uniform\Cop_Uniform_L.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 6: { _path = "textures\Polizei\uniform\Cop_Uniform_L.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 7: { _path = "textures\Polizei\uniform\Cop_Uniform_L.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 12: { _path = "textures\Polizei\uniform\uniform_r_leitung.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 13: { _path = "textures\Polizei\uniform\uniform_leitung.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 14: { _path = "textures\Polizei\uniform\uniform_leitung.jpg"; _unit setObjectTextureGlobal [0,_path]; }; case 15: { _path = "textures\Polizei\uniform\uniform_leitung.jpg"; _unit setObjectTextureGlobal [0,_path]; }; default { _path = "textures\Polizei\uniform\cop_uniform.jpg"; _unit setObjectTextureGlobal [0,_path]; }; }; }; case "U_I_CombatUniform" : { _path = "textures\Polizei\uniform\SEK_Uniform.paa"; _unit setObjectTextureGlobal [0,_path]; }; case "U_B_CombatUniform_mcam_worn" : { _path = "textures\Polizei\uniform\bfe_schwarz.jpg"; _unit setObjectTextureGlobal [0,_path]; }; }; }; case independent: { if (uniform player isEqualTo "U_Rangemaster") then { player setObjectTextureGlobal [0, "textures\medic_uniform.jpg"]; }; }; };
-
-
Versuch mal das:
Code
Alles anzeigencase 46: { if (playerSide in civilian && vehicle player != player && !life_siren_active && driver vehicle player == player) then { if (license_civ_clanPeterson) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanPeterson"}) then {_veh setVariable ["clanPeterson",false,true];}; if ((_veh getVariable "clanPeterson")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanPeterson",RCLIENT]; }; }; }; }; if (playerSide in civilian && vehicle player != player && !life_siren_active && driver vehicle player == player) then { if (license_civ_clanNabat) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanNabat"}) then {_veh setVariable ["clanNabat",false,true];}; if ((_veh getVariable "clanNabat")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanNabat",RCLIENT]; }; }; }; }; };
Und lade bitte mal deine Description.ext hier hoch bitte.
Mfg
Damit ging es leider auch nicht
Code
Alles anzeigenMit der Version case 46: { if (playerSide in [Civilian] && {vehicle player != player} && {!life_siren_active} && {((driver vehicle player) == player)}) then { if (license_civ_clanPeterson) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanPeterson"}) then {_veh setVariable ["clanPeterson",false,true];}; if ((_veh getVariable "clanPeterson")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanPeterson",RCLIENT]; }; }; }; }; if (playerSide in [Civilian] && {vehicle player != player} && {!life_siren_active} && {((driver vehicle player) == player)}) then { if (license_civ_clanNabat) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanNabat"}) then {_veh setVariable ["clanNabat",false,true];}; if ((_veh getVariable "clanNabat")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanNabat",RCLIENT]; }; }; }; }; };
hat es wenigstens angezeit das er die Sierne starten will aber wie kann ich nachschauen ob er die life_fnc_clanNabat/clanPeterson ausführt weil den ton den es abspielen sollte hats nicht gemacht
-
-
C
Alles anzeigendisableChannels[] = {{0,true,true},{1,true,true},{2,true,true}}; // Disabled text and voice for global, side, and command channels. Syntax: disableChannels[] = {{channelID<number>, disableChat<bool>, disableVoice<bool>}}; overviewText = "$STR_MISC_overviewText"; // Text to be displayed below the overviewPicture on the mission selection screen when the mission is available to play. #include "config\Config_SpyGlass.hpp" #include "CfgRemoteExec.hpp" #include "dialog\MasterHandler.hpp" #include "config\Config_Master.hpp" #include "The-Programmer\theprogrammer_dialog_master.cpp" class CfgServer { DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife] DebugMode = 1; //Enable many server/hc debugging logs. Default: 0 (1 = Enabled / 0 = Disabled) HeadlessSupport = 0; //Enable/Disable Headless client support. Default: 1 (1 = Enabled / 0 = Disabled) /* Enabled: When HeadlessSupport is set to 1 (enabled), the server will run without fault when no Headless Client is connected. However, it will support the Headless Client if you choose to connect one. Disabled: If HeadlessSupport is set to 0 (disabled), the connection of a Headless Client will make no difference. This option will increase server performance a TINY but negligible amount. */ }; class RscTitles { #include "dialog\progress.hpp" #include "dialog\hud_nameTags.hpp" #include "dialog\hud_stats.hpp" #include "The-Programmer\GPS\RscTitles.hpp" }; class CfgFunctions { #include "Functions.hpp" #include "The-Programmer\theprogrammer_functions_master.cpp" }; class CfgSounds { sounds[] = {}; class sirenLong { name = "sirenLong"; sound[] = {"\sounds\sirenLong.ogg", 1.0, 1}; titles[] = {}; }; class medicSiren { name = "medicSiren"; sound[] = {"\sounds\medicSiren.ogg", 1.0, 1}; titles[] = {}; }; class tazerSound { name = "tazerSound"; sound[] = {"\sounds\tazer.ogg", 0.25, 1}; titles[] = {}; }; class flashbang { name = "flashbang"; sound[] = {"\sounds\flashbang.ogg", 1.0, 1}; titles[] = {}; }; class mining { name = "mining"; sound[] = {"\sounds\mining.ogg", 1.0, 1}; titles[] = {}; }; class harvest { name = "harvest"; sound[] = {"\sounds\harvest.ogg", 1.0, 1}; titles[] = {}; }; class lockCarSound { name = "lockCarSound"; sound[] = {"\sounds\carLock.ogg", 0.25, 1}; titles[] = {}; }; class unlockCarSound { name = "unlockCarSound"; sound[] = {"\sounds\carUnlock.ogg", 0.25, 1}; titles[] = {}; }; class clanpeterson { name = "clanpeterson"; sound[] = {"\sounds\clan_peterson.ogg", 1.0, 1}; titles[] = {}; class clanNabat { name = "clanNabat"; sound[] = {"\sounds\clan_nabat.ogg", 1.0, 1}; titles[] = {}; }; }; class CfgDebriefing { class NotWhitelisted { title = "$STR_NotWhitelisted_Title"; subtitle = "$STR_NotWhitelisted_SubTitle"; description = "$STR_NotWhitelisted_Descript"; pictureBackground = ""; picture = ""; pictureColor[] = {0,0.3,0.6,1}; }; class Blacklisted { title = "$STR_Blacklisted_Title"; subtitle = "$STR_Blacklisted_SubTitle"; description = "$STR_Blacklisted_Descript"; pictureBackground = ""; picture = ""; pictureColor[] = {0,0.3,0.6,1}; }; class SpyGlass { title = "$STR_SpyDetect_Title"; subTitle = "$STR_SpyDetect_SubTitle"; description = "$STR_SpyDetect_Descript"; pictureBackground = ""; picture = ""; pictureColor[] = {0,0.3,0.6,1}; }; }; class CfgNotifications { class MedicalRequestEmerg { title = "$STR_MedicalRequestEmerg_Title"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; description = "%1"; duration = 5; priority = 7; }; class DeliveryAssigned { title = "$STR_DeliveryAssigned_Title"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcon_ca.paa"; description = "%1"; duration = 10; priority = 7; }; class DeliveryFailed { title = "$STR_DeliveryFailed_Title"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskiconfailed_ca.paa"; description = "%1"; duration = 7; priority = 7; }; class DeliverySucceeded { title = "$STR_DeliverySucceeded_Title"; iconPicture = "\A3\ui_f\data\map\mapcontrol\taskIcondone_ca.paa"; description = "%1"; duration = 6; priority = 6; }; class TextMessage { title = "$STR_TextMessage_Title"; iconPicture = "icons\ico_messageNew.paa"; description = "%1"; duration = 10; priority = 6; }; class PoliceDispatch { title = "$STR_PoliceDispatch_Title"; iconPicture = "icons\ico_messagePolice.paa"; description = "%1"; duration = 10; priority = 6; }; class AdminDispatch { title = "$STR_AdminDispatch_Title"; iconPicture = "icons\ico_messageAdmin.paa"; description = "%1"; duration = 10; priority = 6; }; class AdminMessage { title = "$STR_AdminMessage_Title"; iconPicture = "icons\ico_messageAdmin.paa"; description = "%1"; duration = 10; priority = 5; }; };
Hier wäre die ganze
-
-
Ich habe es jetzt versucht mit einer zweiten if abfrage aber jetzt geht garnichts mehr ...
Code
Alles anzeigencase 46: { if (playerSide in [Civilian] && {vehicle player != player} && {!life_siren_active} && {((driver vehicle player) == player)}) then { if (license_civ_clanPeterson) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanPeterson"}) then {_veh setVariable ["clanPeterson",false,true];}; if ((_veh getVariable "clanPeterson")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanPeterson",RCLIENT]; }; }; }; }; if (playerSide in [Civilian] && {vehicle player != player} && {!life_siren_active} && {((driver vehicle player) == player)}) then { if (license_civ_clanNabat) then { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanNabat"}) then {_veh setVariable ["clanNabat",false,true];}; if ((_veh getVariable "clanNabat")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanNabat",RCLIENT]; }; }; }; }; };
nun startet die mission nicht mal mehr ...
ich habe jetzt sogar zwei verschiedene fn_clanXXX.sqf gemacht geht trotzdem nicht...
-
Ne ich brauche ja die abfrage wenn er license_civ_clanPeterson hat soll er die clanPeterson Sirene abspielen und wenn er die license_civ_clanNabat hat soll er die clanNabat ausführen.
Normalerweiße sollte das ja mit der case abfrage gehen aber iwie will das bei mir nicht gehen
-
Code
Alles anzeigencase 46: { switch true do { case license_civ_clanPeterson: { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanPeterson"}) then {_veh setVariable ["clanPeterson",false,true];}; if ((_veh getVariable "clanPeterson")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanPeterson",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanPeterson",RCLIENT]; }; }; }; case license_civ_clanNabat: { [] spawn { life_siren_active = true; sleep 24; life_siren_active = false; }; _veh = vehicle player; if (isNil {_veh getVariable "clanNabat"}) then {_veh setVariable ["clanNabat",false,true];}; if ((_veh getVariable "clanNabat")) then { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",false,true]; } else { titleText ["Clan-Sierne","PLAIN"]; _veh setVariable ["clanNabat",true,true]; if (playerSide isEqualTo civilian) then { [_veh] remoteExec ["life_fnc_clanNabat",RCLIENT]; }; }; }; }; };
Es kommt kein Fehler nur das die Sirene angemacht wurde... ich verstehe das nicht so richtig wie das mit der case abfrage funktioniert
Mit
ging es aber da kann ich ja schlecht 2 machen das wäre ja extrem inpervormant
-
und wie würde ich die abfrage nach der Lizenz machen
-
Code
Code //Ö Key case 39: { if (playerSide in [west,independent] && {vehicle player != player} && {!life_siren_active} && {((driver vehicle player) == player)}) then { [] spawn {
Das heißt ich würde einfach bei west Civilian eintragen?
-
Ja eigentlich ganz einfach ich will ne Clan Sirene machen wo der jenige halt auf Ö drücken kann und eine sirene abgespielt werden (Clan Lizenes ist vorhanden. license_civ_SOS Name der Lizenes
-
Hallo,
Ich wollte einmal fragen ob es möglich ist ACE auf den Server zu bekommen.
Das kommt zwar jetzt dumm rüber aber ich habe die mods auf denn Server die Keys auch in denn Ordnern ich habe ace im Client und jetzt ist meine frage wie ich es in die Mission bekomme. Welches Objekt ich von ACE einfügen muss ich hoffe mir kann jemand helfen.Server:
- Linux Debian 8
- extDB2
- life 4.4
- ACE
- TFR
- CBA
Konntakt: deocraft.ml (TS)
-
Hallo liebe Comunty,
ich brauche wirklich Hilfe ich bin am verzweifeln
Also ich habe mir jetzt extra um alles aus den weg zu gehen meinen Vserver neuinstalliert und Debian 7 Drauf gemacht Arma3Server neu installiert von gameservermanagers. Altis life habe ich nach Tutorial auf YouTube installiert. bitte schaut mal über das log und vielleicht könnt ihr mir ja meinen Fehler sagen.
Bitte Helft mir -
jetzt habe ich denn gleichen Fehler nur in Zeile 11
Code
Alles anzeigen8:28:13 Unsupported language English in stringtable 8:28:13 mpmissions/Altis_Life.Altis: string @STR_MISC_overviewText cannot be localized client-side - move to global stringtable Attempt to override final function - life_sql_id 8:28:14 "extDB2: Still Connected to Database" 8:28:14 "----------------------------------------------------------------------------------------------------" 8:28:14 "---------------------------------- Starting Altis Life Server Init ---------------------------------" 8:28:14 "------------------------------------------ Version 4.4R3 -------------------------------------------" 8:28:14 "----------------------------------------------------------------------------------------------------" Ref to nonnetwork object 5bd06400# 1780856: hospital_side1_f.p3d Ref to nonnetwork object 5bd07000# 1780857: hospital_side2_f.p3d Ref to nonnetwork object 5bd0a000# 1780859: hospital_side1_f.p3d Ref to nonnetwork object 5bd0ac00# 1780860: hospital_side2_f.p3d 8:28:14 "----------------------------------------------------------------------------------------------------" 8:28:14 " End of Altis Life Server Init :: Total Execution Time 0.00799561 seconds " 8:28:14 "----------------------------------------------------------------------------------------------------" 8:28:14 Error in expression <call compile format["%1",_key]; _key = (_key select 1); _queryResult = "extDB2" > 8:28:14 Error position: <_key select 1); _queryResult = "extDB2" > 8:28:14 Error Undefined variable in expression: _key 8:28:14 File life_server\Functions\MySQL\fn_asyncCall.sqf, line 24 8:28:14 Error in expression <_asyncCall) select 0; for [{_x=0},{_x<=_count},{_x=_x+10}] do { _query = format> 8:28:14 Error position: <_count},{_x=_x+10}] do { _query = format> 8:28:14 Error Undefined variable in expression: _count 8:28:14 File life_server\Functions\Housing\fn_initHouses.sqf, line 11
MySQL
- Server: Localhost via UNIX socket
- Server Version: 5.5.50-0+deb7u2
- Protokoll-Version: 10
- Benutzer: root@localhost
- MySQL-Zeichensatz: UTF-8 Unicode (utf8)
Webserver
- Apache/2.2.22 (Debian)
- MySQL-Client-Version: 5.5.50
- PHP Erweiterung: mysqli
habe auch extra alles neu gemacht