hast du die class Life_RscText noch in der common
Beiträge von Deathman
-
-
Mann kann es auch so machen wie moeck es schongesagt hat
-
Für mich ist es übersichtlicher aber jeder ist verschieden
-
-
wenn du das mit dem Equal meinst das ist zwar auch da drin aber weiter oben Code Schnipselif (_vehicleData isEqualTo 0) exitWith {deleteVehicle _vehicle}; //Bad vehicle.<--- Hier in dem TUT Verändern wir an dem Code nichts
-
bei mir steht nicht von isEqual hier ein Auschnitt(So Steht es bei mir drinn)
Spoiler anzeigen
Code: fn_impoundAction.sqf
Alles anzeigenif (playerSide in [west,independent]) then { _impoundMultiplier = LIFE_SETTINGS(getNumber,"vehicle_cop_impound_multiplier"); _value = _price * _impoundMultiplier; [0,"STR_NOTF_HasImpounded",true,[profileName,((_vehicleData select 0) select 1),_vehicleName]] remoteExecCall ["life_fnc_broadcast",RCLIENT]; if (_vehicle in life_vehicles) then { hint format [localize "STR_NOTF_OwnImpounded",[_value] call life_fnc_numberText,_type]; BANK = BANK - _value; } else { hint format [localize "STR_NOTF_Impounded",_type,[_value] call life_fnc_numberText]; BANK = BANK + _value; }; if (BANK < 0) then {BANK = 0;}; [1] call SOCK_fnc_updatePartial; }; } else { hint localize "STR_NOTF_ImpoundingCancelled"; };
-
De ganzen buttons haben Tooltips also keine Angst
-
So hier hast du ein Bild
-
ja klar warte kurz muss den Server dazu wieder Anschmeißen
-
Hey liebe NN Community ich habe mich mal mit meinen Kollegen an einen Übrsichtliches Fahrzeug Interactions Menü gesetzt
Dann Fangen wir mal an
Schritt 1. Geht in die core\vehicle\fn_vInteractionMenu.sqf und ersetzt alles durch folgende Datei(Falls ihr keine Original Datei habt dann bearbeitet diese Datei nach euren Wünschen).
Spoiler anzeigen
Code: fn_vInteractionMenu.sqf
Alles anzeigen/* Author: Deathman & Maxos Description: Vehicle Interaction Menu */ private["_curTarget","_isVehicle","_display","_btn1","_btn2","_btn3","_btn4","_btn5","_btn6","_btn7","_btn8","_btn9","_btn10"]; disableSerialization; _curTarget = param [0,ObjNull,[ObjNull]]; _damage = 0; { if(_x > 0.34) then { _damage = _damage + _x; }; } forEach ((getAllHitPointsDamage _curTarget) # 2); if(isNull _curTarget) exitWith {closeDialog 0;}; _isVehicle = if((_curTarget isKindOf "landVehicle") OR (_curTarget isKindOf "Ship") OR (_curTarget isKindOf "Air")) then {true} else {false}; if(!_isVehicle) exitWith {closeDialog 0;}; if(!dialog) then { switch (playerside) do { case west: {createDialog "interaction_menu_7";}; case independent: {createDialog "interaction_menu_6";}; case civilian: {createDialog "interaction_menu_6";}; }; }; _display = findDisplay 7000; _background = _display displayCtrl 7001; _background ctrlSetFade 0; _background ctrlCommit 5; _btn1 = _display displayCtrl 7002; _btn2 = _display displayCtrl 7003; _btn3 = _display displayCtrl 7004; _btn4 = _display displayCtrl 7005; _btn5 = _display displayCtrl 7006; _btn6 = _display displayCtrl 7007; _btn7 = _display displayCtrl 7008; life_vInact_curTarget = _curTarget; switch (playerside) do { case west: { _Btn1 ctrlShow false; _Btn2 ctrlShow false; _Btn3 ctrlShow false; _Btn4 ctrlShow false; _Btn5 ctrlShow false; _Btn6 ctrlShow false; _Btn7 ctrlShow false; _btn1 ctrlSetText "textures\interaction\Vehicle\icon_close.paa"; _btn1 ctrlSetTooltip "Menü Schließen"; _btn1 buttonSetAction "closeDialog 0;"; if(_damage > 0) then { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_repairTruck;"; _btn2 ctrlEnable false; if ((life_inv_toolkit >= 1) && {alive life_vInact_curTarget} && {([life_vInact_curTarget] call life_fnc_isDamaged)}) then {_Btn2 ctrlEnable true;} else {_Btn2 ctrlEnable false;}; } else { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 ctrlEnable false; }; _btn3 ctrlSetText "textures\interaction\Vehicle\icon_unflip.paa"; _btn3 ctrlSetTooltip "Unflip"; _btn3 buttonSetAction "closeDialog 0; life_vInact_curTarget setPos [getPos life_vInact_curTarget select 0, getPos life_vInact_curTarget select 1, (getPos life_vInact_curTarget select 2)+0.5];"; _btn4 ctrlSetText "textures\interaction\Vehicle\icon_register.paa"; _btn4 ctrlSetTooltip "Besitzer Abfrage"; _btn4 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_searchVehAction;"; _btn5 ctrlSetText "textures\interaction\Vehicle\icon_search.paa"; _btn5 ctrlSetTooltip "Durchsuchen"; _btn5 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_vehInvSearch;"; _btn6 ctrlSetText "textures\interaction\Vehicle\icon_pullout.paa"; _btn6 ctrlSetTooltip "Herausziehen"; _btn6 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_pulloutAction;"; if(count crew _curTarget == 0) then {_Btn6 ctrlEnable false;}; _btn7 ctrlSetText "textures\interaction\Vehicle\icon_impound.paa"; _btn7 ctrlSetTooltip "Beschlagnahmen"; _btn7 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_impoundAction;"; { _x ctrlSetFade 0; _x ctrlCommit 3; _x ctrlShow true; } forEach [_Btn1,_Btn2,_Btn3,_Btn4,_Btn5,_Btn6,_Btn7]; }; case independent: { _Btn1 ctrlShow false; _Btn2 ctrlShow false; _Btn3 ctrlShow false; _Btn4 ctrlShow false; _Btn5 ctrlShow false; _Btn6 ctrlShow false; _btn1 ctrlSetText "textures\interaction\Vehicle\icon_close.paa"; _btn1 ctrlSetTooltip "Menü Schließen"; _btn1 buttonSetAction "closeDialog 0;"; if(_damage > 0) then { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_repairTruck;"; _btn2 ctrlEnable false; if ((life_inv_toolkit >= 1) && {alive life_vInact_curTarget} && {([life_vInact_curTarget] call life_fnc_isDamaged)}) then {_Btn2 ctrlEnable true;} else {_Btn2 ctrlEnable false;}; } else { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 ctrlEnable false; }; _btn3 ctrlSetText "textures\interaction\Vehicle\icon_push.paa"; _btn3 ctrlSetTooltip "Schieben"; _btn3 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_pushObject;"; _btn4 ctrlSetText "textures\interaction\Vehicle\icon_unflip.paa"; _btn4 ctrlSetTooltip "Unflip"; _btn4 buttonSetAction "closeDialog 0; life_vInact_curTarget setPos [getPos life_vInact_curTarget select 0, getPos life_vInact_curTarget select 1, (getPos life_vInact_curTarget select 2)+0.5];"; _btn5 ctrlSetText "textures\interaction\Vehicle\icon_impound.paa"; _btn5 ctrlSetTooltip "Beschlagnahmen"; _btn5 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_impoundAction;"; _btn6 ctrlSetText "textures\interaction\Vehicle\icon_pullout.paa"; _btn6 ctrlSetTooltip "Herausziehen"; _btn6 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_pulloutAction;"; if(count crew _curTarget == 0) then {_Btn6 ctrlEnable false;}; { _x ctrlSetFade 0; _x ctrlCommit 3; _x ctrlShow true; } forEach [_Btn1,_Btn2,_Btn3,_Btn4,_Btn5,_Btn6]; }; case civilian: { _Btn1 ctrlShow false; _Btn2 ctrlShow false; _Btn3 ctrlShow false; _Btn4 ctrlShow false; _Btn5 ctrlShow false; _Btn6 ctrlShow false; _btn1 ctrlSetText "textures\interaction\Vehicle\icon_close.paa"; _btn1 ctrlSetTooltip "Menü Schließen"; _btn1 buttonSetAction "closeDialog 0;"; if(_damage > 0) then { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_repairTruck;"; _btn2 ctrlEnable false; if ((life_inv_toolkit >= 1) && {alive life_vInact_curTarget} && {([life_vInact_curTarget] call life_fnc_isDamaged)}) then {_Btn2 ctrlEnable true;} else {_Btn2 ctrlEnable false;}; } else { _btn2 ctrlSetText "textures\interaction\Vehicle\icon_repair.paa"; _btn2 ctrlSetTooltip "Reparieren"; _btn2 ctrlEnable false; }; _btn3 ctrlSetText "textures\interaction\Vehicle\icon_push.paa"; _btn3 ctrlSetTooltip "Schieben"; _btn3 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_pushObject;"; _btn4 ctrlSetText "textures\interaction\Vehicle\icon_unflip.paa"; _btn4 ctrlSetTooltip "Unflip"; _btn4 buttonSetAction "closeDialog 0; life_vInact_curTarget setPos [getPos life_vInact_curTarget select 0, getPos life_vInact_curTarget select 1, (getPos life_vInact_curTarget select 2)+0.5];"; if(_curTarget isKindOf "O_Truck_03_device_F") then { _btn5 ctrlSetText "textures\interaction\Vehicle\icon_mining.paa"; _btn5 ctrlSetTooltip "Abbau Starten"; _btn5 buttonSetAction "closedialog 0; [life_vInact_curTarget] spawn life_fnc_deviceMine;"; if(!isNil {(_curTarget getVariable "mining")} OR !local _curTarget && {_curTarget in life_vehicles}) then { _Btn5 ctrlEnable false; } else { _Btn5 ctrlEnable true; }; } else { _btn5 ctrlSetText "textures\interaction\Vehicle\icon_mining.paa"; _btn5 ctrlSetTooltip "Abbau Starten"; _btn5 ctrlEnable false; }; if(license_civ_rebel) then { _Btn6 ctrlSetText "textures\interaction\Vehicle\icon_pullout.paa"; _Btn6 ctrlSetTooltip "Herausziehen"; _Btn6 buttonSetAction "closeDialog 0; [life_vInact_curTarget] spawn life_fnc_pulloutAction;"; } else{ _Btn6 ctrlSetText "textures\interaction\Vehicle\icon_pullout.paa"; _Btn6 ctrlSetTooltip "Herausziehen"; _Btn6 ctrlShow false; }; { _x ctrlSetFade 0; _x ctrlCommit 3; _x ctrlShow true; } forEach [_Btn1,_Btn2,_Btn3,_Btn4,_Btn5,_Btn6]; }; };
Schritt 2. Geht ihr in die dialog Ordner und erstellt folgende Datei ----> vInteraction.hpp dort fügst du folgendes ein
Spoiler anzeigen
Code: vInteraction.hpp
Alles anzeigenclass interaction_menu_7 { idd = 7000; name = "interaction_menu_7"; movingenable = false; enablesimulation = true; class controlsBackground { class Life_RscTitleBackground : Life_RscText { colorbackground[] = {0, 0, 0, 0.7}; idc = 7001; x = 0.365104166666667 * safezoneW + safezoneX; y = 0.803999026290166 * safezoneH + safezoneY; w = 0.126041666666667 * safezoneW; h = 0.148289191820837 * safezoneH; }; }; class controls { class close_pic : Life_RscPictureButton { idc = 7002; x = 0.490034666666667 * safezoneW + safezoneX; y = 0.773524829600779 * safezoneH + safezoneY; w = 0.0206316 * safezoneW; h = 0.033 * safezoneH; }; class pic_1 : Life_RscPictureButton { idc = 7003; x = 0.370850666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_2 : Life_RscPictureButton { idc = 7004; x = 0.411475666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_3 : Life_RscPictureButton { idc = 7005; x = 0.452100666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_4 : Life_RscPictureButton { idc = 7006; x = 0.370850666666667 * safezoneW + safezoneX; y = 0.885106134371957 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_5 : Life_RscPictureButton { idc = 7007; x = 0.411475666666667 * safezoneW + safezoneX; y = 0.885106134371957 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_6 : Life_RscPictureButton { idc = 7008; x = 0.452100666666667 * safezoneW + safezoneX; y = 0.885106134371957 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; }; }; class interaction_menu_6 { idd = 7000; name = "interaction_menu_6"; movingenable = false; enablesimulation = true; class controlsBackground { class Life_RscTitleBackground : Life_RscText { colorbackground[] = {0, 0, 0, 0.7}; idc = 7001; x = 0.365104166666667 * safezoneW + safezoneX; y = 0.803999026290166 * safezoneH + safezoneY; w = 0.126041666666667 * safezoneW; h = 0.148289191820837 * safezoneH; }; }; class controls { class close_pic : Life_RscPictureButton { idc = 7002; x = 0.490034666666667 * safezoneW + safezoneX; y = 0.773524829600779 * safezoneH + safezoneY; w = 0.0206316 * safezoneW; h = 0.033 * safezoneH; }; class pic_1 : Life_RscPictureButton { idc = 7003; x = 0.370850666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_2 : Life_RscPictureButton { idc = 7004; x = 0.411475666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_3 : Life_RscPictureButton { idc = 7005; x = 0.452100666666667 * safezoneW + safezoneX; y = 0.812077896786758 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_4 : Life_RscPictureButton { idc = 7006; x = 0.370850666666667 * safezoneW + safezoneX; y = 0.885106134371957 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; class pic_5 : Life_RscPictureButton { idc = 7007; x = 0.411475666666667 * safezoneW + safezoneX; y = 0.885106134371957 * safezoneH + safezoneY; w = 0.0332135 * safezoneW; h = 0.0574449853943525 * safezoneH; }; }; };
Schritt 3. Geht in die dialog\pInteraction.hpp und entfernt dort die komplete Class vInteraction_Menu wer nicht weiß was gemeint ist schreibt mir eine Nachricht oder schreibt es unten in die Kommentare
Schritt 4. Geht in die dialog\common.hpp und fügt folgende Code ein
Spoiler anzeigen
Code: common.hpp
Alles anzeigenclass Life_RscPictureButton { idc = -1; type = 11; style = 48; animTextureNormal = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDisabled = "#(argb,8,8,3)color(1,1,1,1)"; animTextureOver = "#(argb,8,8,3)color(1,1,1,1)"; animTextureFocused = "#(argb,8,8,3)color(1,1,1,1)"; animTexturePressed = "#(argb,8,8,3)color(1,1,1,1)"; animTextureDefault = "#(argb,8,8,3)color(1,1,1,1)"; colorBackground[] = {1,1,1,0.8}; colorBackgroundFocused[] = {1,1,1,1}; colorBackground2[] = {0.75,0.75,0.75,1}; color[] = {1,1,1,0.7}; colorActive[] = {1,1,1,1}; colorFocused[] = {0,0,0,1}; color2[] = {0,0,0,1}; colorText[] = {1,1,1,1}; colorDisabled[] = {1,1,1,0.25}; period = 1.2; periodFocus = 1.2; periodOver = 1.2; borderSize = 0.0; sizeEx = "(((((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; font = "PuristaMedium"; soundEnter[] = {"\A3\ui_f\data\sound\RscButton\soundEnter",0.09,1}; soundPush[] = {"\A3\ui_f\data\sound\RscButton\soundPush",0.09,1}; soundClick[] = {"\A3\ui_f\data\sound\RscButton\soundClick",0.09,1}; soundEscape[] ={"\A3\ui_f\data\sound\RscButton\soundEscape",0.09,1}; x = 0; y = 0; w = 0.095589; h = 0.039216; text = ""; };
Schritt 5. Ist kein muss, es geht nur darum das die Medics die Fahrezuge abschleppen können. Ihr geht in die core\action\fn_impoundAction.sqf und sucht folgenden code if (playerSide in [west]) then {und ersetzt es durch das if (playerSide in [west,independent]) then {.
Schritt 6. Nun nur noch die Icons einfügen unter textures\interaction\Vehicle <--- dieser Pfad ist keine Pflicht die Icons findest du unten im Anhang
So jetzt sind wir Fertig vielspaß
Gruß Deathman
UPDATE ZEIT DEM 11.12.2018
-
Guck ob die Texteur noch einer dieser Formate hat 16x16, 32x32, 64x64, 128x128, 256x256, 512x512, 1024x1024, 2048x2048, 4096x4096.
-
hast du Textur verändert oder falsch eingefügt
-
Leute ich will nochmal das hier ansprechen also das ganze Thema ich wollte euch für die bisherigen Vorschläge Danken aber irgend wann sind bei mir auch grenzen gesetzt also würde ich Vorschlagen machen wir alle diese neue Altis Life Version zusammen als Community Igal ob Profi Scripter ,kleiner Scripter ob Mapper Egal jeder kann Helfen.
#LastunsAltisLifeNeuERwachen
Also Was sagt ihr.
Es ist nicht schlimm wenn ihr nicht mit machen wollt.
-
hmm auch ne möglichkeit aber ich würde es erstmal so mit den Fraktionen beibehalten, aber guter Vorschlag
-
Ja ich dann ist nur die überlegung ob TEXT oder INIT
-
-
Hallo Liebe NN Community,
Ich Arbeite mit ein paar Kollegen ein der neuen Altis Life Version wenn ihr Vorschläge habt was wir noch an der derzeitigen Altis Life 5.0 besser machen können dann schreibt es einfach.(Wir haben erst heute damit angefangen also haben wir noch nicht so viel drin)
-
aber ich kann so halt besser Arbeiten ich sage jeder seins und wenn halt noch einer so dabei gut Arbeiten kann dann find ich das ja gut(Dieses TuT ist kein muss).
Und ja ich glaub ich ändere den namen mal
-
Hey Leute ich bins wieder Deathman mit einem kleinen TUT.
Alles was in diesen TUT erklärt wird ist nicht zwingend notwendig aber für mich ist es übersichtlicher ob es euch auch so geht könnt ihr ja dann unten in die Komments schreiben.
Dann Fangen wir mal an.
Im Schritt 1 geht es um die Functions.hpp diese werden wir ferlegen so, nun geht ihr die description.ext in der Datei Löscht ihr nun die CfgFunctions das Ganze sollte dann so aussehen
Spoiler anzeigen
Schritt 2 Erstellt ihr in dem Ordner Config eine Datei namens Config_Functions.hpp dort Kopiert ihr alles von der Functions.hpp rein wenn ihr dies getan habt dann müsst ihr über class Socket_Recieverfolgendes schreiben class CfgFunctions {und am ende der Datei dann noch ein };zu setzten und so sollte alles aussehen. Nun könnt ihr die Functions.hpp Löschen.
Spoiler anzeigen
Im Schritt 3 geht es uns um die CfgSounds dazu gehen wir wieder in die Description.ext und Kopieren uns die Komplette CfgSounds wenn ihr das getahn habt geht ihr wieder in den Config Ordner und Erstellt dort eine Datei namens Config_Sounds.hpp in die kommt das Kopierte von der Description.ext rein so wenn ihr das getan habt dann könnt ihr in der Description.ext die CfgSounds Löschen. In Beiden Datein sollte es dann wie folgt aussehen.
Spoiler anzeigen
Code: Description.ext
Alles anzeigen//////Löschen//////// 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[] = {}; }; }; /////////////////////////////////
Spoiler anzeigen
Code: Config_Sounds.hpp
Alles anzeigenclass 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[] = {}; }; };
Im Schritt 4 Kümmern wir uns um die CfgDebriefing es ist das gleiche prinzip wie bei der CfgSounds alles wieder Kopieren in den Ordner Configs gehen und eine Datei namens Config_Debriefing.hpp Erstellen dort kopiert ihr alles von der CfgDebriefing rein nun könnt ihr die CfgDebriefing aus der Description.ext Löschen das ganze sollte nun in den beiden datein wie folgt aussehen.
Spoiler anzeigen
Code: Description.ext
Alles anzeigen/////Löschen///////////// 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}; }; }; ////////////////////////////////////
Spoiler anzeigen
Code: Config_Debriefing.hpp
Alles anzeigenclass 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}; }; };
Im Schritt 5 Kümmern wir uns um die CfgNotifications es ist das gleiche prinzip wie bei der CfgDebriefing alles wieder Kopieren in den Ordner Configs gehen und eine Datei namens Config_Notifications.hpp Erstellen dort kopiert ihr alles von der CfgNotifications rein nun könnt ihr die CfgNotifications aus der Description.ext Löschen das ganze sollte nun in den beiden datein wie folgt aussehen.
Spoiler anzeigen
Code: Description.ext
Alles anzeigen////////Löschen/////// 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; }; }; ////////////////////////////////
Spoiler anzeigen
Code: Config_Notifactions.hpp
Alles anzeigenclass 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; }; };
Im Schritt 6 Kümmern wir uns um die CfgServer es ist das gleiche prinzip wie bei der CfgNotifications alles wieder Kopieren in den Ordner Configs gehen und eine Datei namens Config_Server.hpp Erstellen dort kopiert ihr alles von der CfgServer rein nun könnt ihr die CfgServer aus der Description.ext Löschen das ganze sollte nun in den beiden datein wie folgt aussehen.
Spoiler anzeigen
Code: Description.ext
Alles anzeigen///////Löschen/////////// class CfgServer { DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife] DebugMode = 0; //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. */ }; //////////////////
Code: Config_Server.hppclass CfgServer { DatabaseName = "altislife"; //Config name that'll be grep in the extdb-conf.ini. Default: [altislife] DebugMode = 0; //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. */ };
Nun sollte die Descrption.ext fast leer sein und so aussehen
Spoiler anzeigen
C: Description.ext
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" class RscTitles { #include "dialog\progress.hpp" #include "dialog\hud_nameTags.hpp" #include "dialog\hud_stats.hpp" };
Im Schritt 7 Müsst ihr natürlich die ganze Configs noch in der Config_Master.hpp Includen das sieht dann so aus.
Spoiler anzeigen
Das wars auch schon mit dem ganze TUT ich hoffe ich habe euch weiter geholfen.
Euer Deathman
.
-
Guck dir das Tutorial an und dann bitte nochmal dran denken wir brauchen nicht alles 500 mal wiederholen
. Genau so wie du es sagst steht es im TUT
Ja aber er hat es darunter bestimmt eingefügt das sehe ich weil ich gerade auf dem Server drauf wahr und mir die Mission Angeuckt habe