You are not logged in.

  • Login
Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Cameltoe

User / Kunde

  • "Cameltoe" started this thread

Posts: 57

Thanks: 39

  • Send private message

1

Sunday, September 30th 2012, 3:15pm

[Tutorial] Custom Skins aktivieren

Worum gehts?
Es geht darum alle Models aus ARMA 2 und ARMA 2 OA zu verwenden.
Momentan gibt es ja nur sehr wenige Models (in Chernarus nur 2 und auf Lingor ein paar mehr).


Was wird benötigt?

rMod (ohne geht nicht, da die Models alle gebannt sind)
PBO Manager
Notepad (Ich empfehle Notepad++ )
Classname des zu verwendenden Models (Die können hier gefunden werden)


Los gehts!
  • Server stoppen
  • folgende Datei runterladen: dayz_server.pbo aus dem Verzeichnis dayz/@BlissLingor/addons wenn ihr einen Lingor-, oder aus dayz/@Bliss/addons wenn ihr einen Chernarus Server betreibt.
  • BACKUP MACHEN!!!
  • Die dayz_server.pbo datei mit dem PBO Manager öffnen und die server_playerLogin.sqf Datei aus dem Unterordner compile extrahieren.
  • Ihr öffnet jetzt die Datei mit Notepad (oder Notepad++) und sucht folgende stelle (Startet bei Zeile 80):

    Spoiler Spoiler

    Source code

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    
    if (!_isNew) then {
            //RETURNING CHARACTER           
            _inventory =    _primary select 4;
            _backpack =     _primary select 5;
            _survival =             _primary select 6;
            _model =                _primary select 7;
            _hiveVer =              _primary select 8;
            
            if (!(_model in ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Bandit1_DZ","SurvivorW2_DZ"])) then {
                    _model = "Survivor2_DZ";
            };
            
    } else {
            _model =                _primary select 3;
            _hiveVer =              _primary select 4;
            if (isNil "_model") then {
                    _model = "Survivor2_DZ";
            } else {
                    if (_model == "") then {
                            _model = "Survivor2_DZ";
                    };
            };
  • Jetzt müsst ihr an folgender stelle die Models eintragen, welche ihr verwenden wollt:

    Spoiler Spoiler

    Source code

    1
    2
    
    if (!(_model in ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Bandit1_DZ","SurvivorW2_DZ"])) then {
                    _model = "Survivor2_DZ";
    so das es dann in etwa so aussieht (Hier sind die Modelle "FR_TL",FR_AC und FR_GL eingetragen):

    Spoiler Spoiler

    Source code

    1
    2
    
     if (!(_model in ["SurvivorW2_DZ","Survivor2_DZ","Sniper1_DZ","Soldier1_DZ","Camo1_DZ","Bandit1_DZ","SurvivorW2_DZ","FR_TL","FR_AC","FR_GL"])) then {
                    _model = "Survivor2_DZ";
  • Anschließend die Datei speichern und wieder in die .pbo einfügen
  • jetzt nurnoch die .pbo wieder auf euren server laden und neustarten.
  • Um jetzt die neuen Models zu verwenden, müsst ihr in die Datenbank gehen und unter der Tabelle survivor den Wert model in den classnamen euer Wahl verändern.
  • Viel Spass, ihr seid jetzt eine Ziege


Mit freundlicher genehmigung von caseymc, you rule!!! Thank you very much!


Das Originaltutorial ist von ihm und kann hier gefunden werden.

Ich habe es lediglich angepasst und übersetzt!

5 registered users thanked already.

Users who thanked for this post:

Shepart95 (30.09.2012), Montycora (30.09.2012), king_st3ffan (28.10.2012), Lazerlike (19.11.2012), Ranjif (23.11.2012)

LFresh96

User / Kunde

Posts: 3

  • Send private message

2

Tuesday, October 9th 2012, 11:00pm

eine Frage

muss der RMod die ganze Zeit aktiv sein? :D

Pommesfee

User / Kunde

Posts: 512

Thanks: 5

  • Send private message

3

Wednesday, October 10th 2012, 3:33am

rMod (ohne geht nicht, da die Models alle gebannt sind)
muss der RMod die ganze Zeit aktiv sein? :D
Also ja.

LFresh96

User / Kunde

Posts: 3

  • Send private message

4

Wednesday, October 10th 2012, 2:16pm

Wenn der RMOD aktiv ist kann ich aber nicht auf den server

Wenn der RMOD aktiv ist kann ich aber nicht auf den server :(

Montycora

User / Kunde

Posts: 19

  • Send private message

5

Wednesday, October 10th 2012, 8:00pm

Erstmal vielen Dank für die Anleitung, hat bei mir alles prima funktioniert. Bis auf eine Sache, irgendwie verlieren die Leute die Skins die ich ihnen in der Datenbank zugewiesen habe nach 1-2 mal Server joinen wieder?! Wo liegt da das Problem??

Pommesfee

User / Kunde

Posts: 512

Thanks: 5

  • Send private message

6

Wednesday, October 10th 2012, 9:42pm

Wenn der RMOD aktiv ist kann ich aber nicht auf den server :(
Was kommt denn bei dir für ne Meldung ?

Cameltoe

User / Kunde

  • "Cameltoe" started this thread

Posts: 57

Thanks: 39

  • Send private message

7

Sunday, October 14th 2012, 11:21pm

Erstmal vielen Dank für die Anleitung, hat bei mir alles prima funktioniert. Bis auf eine Sache, irgendwie verlieren die Leute die Skins die ich ihnen in der Datenbank zugewiesen habe nach 1-2 mal Server joinen wieder?! Wo liegt da das Problem??

Kann das jemand bestätigen? hatte das Problem nie, bin mittlerweile aber wieder ohne Custom Skins unterwegs.

xmoondockx

User / Kunde

  • "xmoondockx" is male

Posts: 321

Location: Recklinghausen

Thanks: 9

  • Send private message

8

Monday, October 15th 2012, 5:25pm

Erstmal vielen Dank für die Anleitung, hat bei mir alles prima funktioniert. Bis auf eine Sache, irgendwie verlieren die Leute die Skins die ich ihnen in der Datenbank zugewiesen habe nach 1-2 mal Server joinen wieder?! Wo liegt da das Problem??
you have to make variable of the same name for skin you use. add it to
mission init.sqf. for example you have a skin called Survivor125_DZ it
would look like this



Survivor125_DZ = "Survivor125_DZ";

Quelle* http://www.tunngle.net/community/topic/9…26/page__st__20

Habs jetzt noch nicht probiert, allerdings besteht halt das probleme mit gps,radio etc. bei login.
Für Spenden


Achtung Support bitte nur via Forum! Ich beantworte keine Pn`s
Das bezieht sich nur auf Nitrado User. Erster anlauf sollte der Support sein via Ticket. Nicht ich ;)

Starfish

User / Kunde

  • "Starfish" is male

Posts: 35

Thanks: 1

  • Send private message

9

Friday, October 19th 2012, 11:27am

Die Methode in der init.sqf der Mission die Models wieder mit "" zu versehen geht problemlos, muss aber entsprechend für alle Models die "gefixt" werden sollen da auch entsprechend eingetragen werden.

Wie Moon aber schon beschrieben hat, besteht weiterhin das Problem das die standard ArmA Models mit Equipment und teilweise Abilites spawnen. So gehört GPS, Compass, Radio etc. zum Equipment und man erhält dieses auch entsprechend nach jedem Respawn (speziell auch mit der Methode über die init.sqf bei dem dann nach jedem Login das Equip neu gegeben wird, insofern in dem Slot nichts vorhanden ist).
StarfishBT
  • Nitrado Minecraft Kunde
  • Admin auf Moondye7.de #raptor DayZ Server

Bashaldor

User / Kunde

Posts: 43

  • Send private message

10

Saturday, October 20th 2012, 4:55pm

Wo genau finde ich die Init.sqf datei ?

finde das ganze nicht

bzw. wie muss ich das machen ?

This post has been edited 1 times, last edit by "Bashaldor" (Oct 21st 2012, 1:30pm)


Starfish

User / Kunde

  • "Starfish" is male

Posts: 35

Thanks: 1

  • Send private message

11

Wednesday, October 24th 2012, 12:36pm

Wo genau finde ich die Init.sqf datei ?

finde das ganze nicht

bzw. wie muss ich das machen ?



Deine Missionsdatei entpacken (mit PBO Tool deiner Wahl), da liegt die init.sqf direkt im Hauptordner mit drin.
Alles insofern deine Missionsdatei denn überhaupt gepackt ist, gibt einige Hives die diese generell nur als Ordnerstruktur nutzen, die sollten
aber generell alle im Server-Hauptordner/MPMissions/ liegen.
StarfishBT
  • Nitrado Minecraft Kunde
  • Admin auf Moondye7.de #raptor DayZ Server

This post has been edited 1 times, last edit by "Starfish" (Oct 24th 2012, 12:41pm)


-Theran-

User / Kunde

  • "-Theran-" is male

Posts: 1,597

Location: Eisenberg/Thüringen

Occupation: Freiberufler

Thanks: 99

  • Send private message

12

Thursday, October 25th 2012, 5:25pm

Muss ich das bei jeder Init Datei Bearbeiten? Die gibt es ja in den Ordner öfters als einmal.

Starfish

User / Kunde

  • "Starfish" is male

Posts: 35

Thanks: 1

  • Send private message

13

Friday, October 26th 2012, 10:12am

Gib mal bitte deinen Ordnerverlauf genau an, weiss leider nicht wie der hier bei Nitrado verwaltet wird bzw. ob die gepackte oder Ordnervariante benutzt wird.

Bei mir siehts so aus:

DayzServer>MPMissions>rmod_1_chernarus.pbo>init.sqf

(Anm.: rmod_1_chernarus da ich rMod verwende und der Server entsprechend auf die .pbo zugreift
- die .pbo dann natürlich entpackt um an die Dateien zu kommen)

Dann befindet sich da bei mir auch nur eine init.sqf drin, eben jene welche beim Initialisieren der Mission aufgerufen wird.
Bin da jetzt aber auch nur zu 99% sicher und werd das nochmal überprüfen sobald ich heut daheim bin.

Gerade habe ich aber auch die Möglichkeit gesehen das über die dayz_server.pbo/init/serverfuntions.sqf zu machen.
Da einfach am Ende der serverfuntions.sqf den Text ausm Spoiler reinkopieren. Da sind so ziemlich alle Models enthalten die man je ausprobieren sollte:

Spoiler Spoiler


CDF_Commander = "CDF_Commander";
CDF_Soldier = "CDF_Soldier";
CDF_Soldier_AR = "CDF_Soldier_AR";
CDF_Soldier_Crew = "CDF_Soldier_Crew";
CDF_Soldier_Engineer = "CDF_Soldier_Engineer";
CDF_Soldier_GL = "CDF_Soldier_GL";
CDF_Soldier_Light = "CDF_Soldier_Light";
CDF_Soldier_MG = "CDF_Soldier_MG";
CDF_Soldier_Marksman = "CDF_Soldier_Marksman";
CDF_Soldier_Medic = "CDF_Soldier_Medic";
CDF_Soldier_Militia = "CDF_Soldier_Militia";
CDF_Soldier_Officer = "CDF_Soldier_Officer";
CDF_Soldier_Pilot = "CDF_Soldier_Pilot";
CDF_Soldier_RPG = "CDF_Soldier_RPG";
CDF_Soldier_Sniper = "CDF_Soldier_Sniper";
CDF_Soldier_Spotter = "CDF_Soldier_Spotter";
CDF_Soldier_Strela = "CDF_Soldier_Strela";
CDF_Soldier_TL = "CDF_Soldier_TL";
Ins_Bardak = "Ins_Bardak";
Ins_Commander = "Ins_Commander";
Ins_Lopotev = "Ins_Lopotev";
Ins_Soldier_1 = "Ins_Soldier_1";
Ins_Soldier_2 = "Ins_Soldier_2";
Ins_Soldier_AA = "Ins_Soldier_AA";
Ins_Soldier_AR = "Ins_Soldier_AR";
Ins_Soldier_AT = "Ins_Soldier_AT";
Ins_Soldier_CO = "Ins_Soldier_CO";
Ins_Soldier_Crew = "Ins_Soldier_Crew";
Ins_Soldier_GL = "Ins_Soldier_GL";
Ins_Soldier_MG = "Ins_Soldier_MG";
Ins_Soldier_Medic = "Ins_Soldier_Medic";
Ins_Soldier_Pilot = "Ins_Soldier_Pilot";
Ins_Soldier_Sab = "Ins_Soldier_Sab";
Ins_Soldier_Sapper = "Ins_Soldier_Sapper";
Ins_Soldier_Sniper = "Ins_Soldier_Sniper";
Ins_Villager3 = "Ins_Villager3";
Ins_Villager4 = "Ins_Villager4";
Ins_Woodlander1 = "Ins_Woodlander1";
Ins_Woodlander2 = "Ins_Woodlander2";
Ins_Woodlander3 = "Ins_Woodlander3";
Ins_Worker2 = "Ins_Worker2";
Assistant = "Assistant";
Citizen1 = "Citizen1";
Citizen2 = "Citizen2";
Citizen3 = "Citizen3";
Doctor = "Doctor";
Functionary1 = "Functionary1";
Functionary2 = "Functionary2";
Pilot = "Pilot";
Policeman = "Policeman";
Priest = "Priest";
Profiteer1 = "Profiteer1";
Profiteer2 = "Profiteer2";
Profiteer3 = "Profiteer3";
Profiteer4 = "Profiteer4";
RU_Assistant = "RU_Assistant";
RU_Citizen1 = "RU_Citizen1";
RU_Citizen2 = "RU_Citizen2";
RU_Citizen3 = "RU_Citizen3";
RU_Citizen4 = "RU_Citizen4";
RU_Doctor = "RU_Doctor";
RU_Functionary1 = "RU_Functionary1";
RU_Functionary2 = "RU_Functionary2";
RU_Pilot = "RU_Pilot";
RU_Policeman = "RU_Policeman";
RU_Priest = "RU_Priest";
Drake = "Drake";
Drake_Light = "Drake_Light";
Graves = "Graves";
Graves_Light = "Graves_Light";
Herrera = "Herrera";
Herrera_Light = "Herrera_Light";
Pierce = "Pierce";
Pierce_Light = "Pierce_Light";
US_Delta_Force_AR_EP1 = "US_Delta_Force_AR_EP1";
US_Delta_Force_Air_Controller_EP1 = "US_Delta_Force_Air_Controller_EP1";
US_Delta_Force_Assault_EP1 = "US_Delta_Force_Assault_EP1";
US_Delta_Force_EP1 = "US_Delta_Force_EP1";
US_Delta_Force_M14_EP1 = "US_Delta_Force_M14_EP1";
US_Delta_Force_MG_EP1 = "US_Delta_Force_MG_EP1";
US_Delta_Force_Marksman_EP1 = "US_Delta_Force_Marksman_EP1";
US_Delta_Force_Medic_EP1 = "US_Delta_Force_Medic_EP1";
US_Delta_Force_Night_EP1 = "US_Delta_Force_Night_EP1";
US_Delta_Force_SD_EP1 = "US_Delta_Force_SD_EP1";
US_Delta_Force_TL_EP1 = "US_Delta_Force_TL_EP1";
US_Delta_Force_Undercover_Takistani06_EP1 = "US_Delta_Force_Undercover_Takistani06_EP1";
US_Pilot_Light_EP1 = "US_Pilot_Light_EP1";
US_Soldier_AAR_EP1 = "US_Soldier_AAR_EP1";
US_Soldier_AAT_EP1 = "US_Soldier_AAT_EP1";
US_Soldier_AA_EP1 = "US_Soldier_AA_EP1";
US_Soldier_AHAT_EP1 = "US_Soldier_AHAT_EP1";
US_Soldier_AMG_EP1 = "US_Soldier_AMG_EP1";
US_Soldier_AR_EP1 = "US_Soldier_AR_EP1";
US_Soldier_AT_EP1 = "US_Soldier_AT_EP1";
US_Soldier_B_EP1 = "US_Soldier_B_EP1";
US_Soldier_Crew_EP1 = "US_Soldier_Crew_EP1";
US_Soldier_EP1 = "US_Soldier_EP1";
US_Soldier_Engineer_EP1 = "US_Soldier_Engineer_EP1";
US_Soldier_GL_EP1 = "US_Soldier_GL_EP1";
US_Soldier_HAT_EP1 = "US_Soldier_HAT_EP1";
US_Soldier_LAT_EP1 = "US_Soldier_LAT_EP1";
US_Soldier_Light_EP1 = "US_Soldier_Light_EP1";
US_Soldier_MG_EP1 = "US_Soldier_MG_EP1";
US_Soldier_Marksman_EP1 = "US_Soldier_Marksman_EP1";
US_Soldier_Medic_EP1 = "US_Soldier_Medic_EP1";
US_Soldier_Officer_EP1 = "US_Soldier_Officer_EP1";
US_Soldier_Pilot_EP1 = "US_Soldier_Pilot_EP1";
US_Soldier_SL_EP1 = "US_Soldier_SL_EP1";
US_Soldier_SniperH_EP1 = "US_Soldier_SniperH_EP1";
US_Soldier_Sniper_EP1 = "US_Soldier_Sniper_EP1";
US_Soldier_Sniper_NV_EP1 = "US_Soldier_Sniper_NV_EP1";
US_Soldier_Spotter_EP1 = "US_Soldier_Spotter_EP1";
US_Soldier_TL_EP1 = "US_Soldier_TL_EP1";
CIV_EuroMan01_EP1 = "CIV_EuroMan01_EP1";
CIV_EuroMan02_EP1 = "CIV_EuroMan02_EP1";
CIV_EuroWoman01_EP1 = "CIV_EuroWoman01_EP1";
CIV_EuroWoman02_EP1 = "CIV_EuroWoman02_EP1";
Citizen2_EP1 = "Citizen2_EP1";
Citizen3_EP1 = "Citizen3_EP1";
Dr_Annie_Baker_EP1 = "Dr_Annie_Baker_EP1";
Dr_Hladik_EP1 = "Dr_Hladik_EP1";
Functionary1_EP1 = "Functionary1_EP1";
Functionary2_EP1 = "Functionary2_EP1";
Haris_Press_EP1 = "Haris_Press_EP1";
Pilot_EP1 = "Pilot_EP1";
Profiteer2_EP1 = "Profiteer2_EP1";
Rita_Ensler_EP1 = "Rita_Ensler_EP1";
FR_Marksman = "FR_Marksman";
FR_Miles = "FR_Miles";
FR_OHara = "FR_OHara";
FR_R = "FR_R";
FR_Rodriguez = "FR_Rodriguez";
FR_Sapper = "FR_Sapper";
FR_Sykes = "FR_Sykes";
FR_TL = "FR_TL";
USMC_Soldier = "USMC_Soldier";
USMC_Soldier2 = "USMC_Soldier2";
USMC_SoldierM_Marksman = "USMC_SoldierM_Marksman";
USMC_SoldierS = "USMC_SoldierS";
USMC_SoldierS_Engineer ="USMC_SoldierS_Engineer";
USMC_SoldierS_Sniper = "USMC_SoldierS_Sniper";
MVD_Soldier = "MVD_Soldier";
MVD_Soldier_AT = "MVD_Soldier_AT";
MVD_Soldier_GL = "MVD_Soldier_GL";
MVD_Soldier_MG = "MVD_Soldier_MG";
MVD_Soldier_Marksman = "MVD_Soldier_Marksman";
MVD_Soldier_Sniper = "MVD_Soldier_Snipe";
MVD_Soldier_TL = "MVD_Soldier_TL";
RUS_Commander = "RUS_Commander";
RUS_Soldier1 = "RUS_Soldier1";
RUS_Soldier2 = "RUS_Soldier2";
RUS_Soldier3 = "RUS_Soldier3";
RUS_Soldier_GL = "RUS_Soldier_GL";
RUS_Soldier_Marksman = "RUS_Soldier_Marksman";
RUS_Soldier_Sab = "RUS_Soldier_Sab";
RUS_Soldier_TL = "RUS_Soldier_TL";
RU_Commander = "RU_Commander";
RU_Soldier = "RU_Soldier";
RU_Soldier2 = "RU_Soldier2";
RU_Soldier_AA = "RU_Soldier_AA";
RU_Soldier_AR = "RU_Soldier_AR";
RU_Soldier_AT = "RU_Soldier_AT";
RU_Soldier_Crew = "RU_Soldier_Crew";
RU_Soldier_GL = "RU_Soldier_GL";
RU_Soldier_HAT = "RU_Soldier_HAT";
RU_Soldier_LAT = "RU_Soldier_LAT";
RU_Soldier_Light = "RU_Soldier_Light";
RU_Soldier_MG = "RU_Soldier_MG";
RU_Soldier_Marksman = "RU_Soldier_Marksman";
RU_Soldier_Medic = "RU_Soldier_Medic";
RU_Soldier_Officer = "RU_Soldier_Officer";
GUE_Commander = "GUE_Commander";
GUE_Soldier_1 = "GUE_Soldier_1";
GUE_Soldier_2 = "GUE_Soldier_2";
GUE_Soldier_3 = "GUE_Soldier_3";
GUE_Soldier_AA = "GUE_Soldier_AA";
GUE_Soldier_AR = "GUE_Soldier_AR";
GUE_Soldier_AT = "GUE_Soldier_AT";
GUE_Soldier_CO = "GUE_Soldier_CO";
GUE_Soldier_Crew = "GUE_Soldier_Crew";
GUE_Soldier_GL = "GUE_Soldier_GL";
GUE_Soldier_MG = "GUE_Soldier_MG";
GUE_Soldier_Medic = "GUE_Soldier_Medic";
GUE_Soldier_Pilot = "GUE_Soldier_Pilot";
GUE_Soldier_Sab = "GUE_Soldier_Sab";
GUE_Soldier_Scout = "GUE_Soldier_Scout";
GUE_Soldier_Sniper = "GUE_Soldier_Sniper";
GUE_Villager3 = "GUE_Villager3";
GUE_Villager4 = "GUE_Villager4";
GUE_Woodlander1 = "GUE_Woodlander1";
GUE_Woodlander2 = "GUE_Woodlander2";
GUE_Woodlander3 = "GUE_Woodlander3";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
RU_Profiteer1 = "RU_Profiteer1";
RU_Profiteer2 = "RU_Profiteer2";
RU_Profiteer3 = "RU_Profiteer3";
RU_Profiteer4 = "RU_Profiteer4";
FR_AR = "FR_AR";
FR_Assault_R = "FR_Assault_R";
FR_Commander = "FR_Commander";
FR_Cooper = "FR_Cooper";
FR_Corpsman = "FR_Corpsman";
FR_GL = "FR_GL";
FR_Light = "FR_Light";
RU_Soldier_Pilot = "RU_Soldier_Pilot";
RU_Soldier_SL = "RU_Soldier_SL";
RU_Soldier_Sniper = "RU_Soldier_Sniper";
RU_Soldier_SniperH = "RU_Soldier_SniperH";
RU_Soldier_Spotter = "RU_Soldier_Spotter";
RU_Soldier_TL = "RU_Soldier_TL";
GER_Soldier_EP1 = "GER_Soldier_EP1";
GER_Soldier_MG_EP1 = "GER_Soldier_MG_EP1";
GER_Soldier_Medic_EP1 = "GER_Soldier_Medic_EP1";
GER_Soldier_Scout_EP1 = "GER_Soldier_Scout_EP1";
GER_Soldier_TL_EP1 = "GER_Soldier_TL_EP1";


Gern mal Feedback dazu obs funktioniert hat, ich schau dann später auch nochmal in die Methode über die Missions-Init rein.

Gruß
StarfishBT
  • Nitrado Minecraft Kunde
  • Admin auf Moondye7.de #raptor DayZ Server

-Theran-

User / Kunde

  • "-Theran-" is male

Posts: 1,597

Location: Eisenberg/Thüringen

Occupation: Freiberufler

Thanks: 99

  • Send private message

14

Friday, October 26th 2012, 10:37am

Oh bei Chernarus ist weniger drinne, hatte bis jetzt nur Lingor. Hab aber wieder Chernarus, das sieht so aus:

Benutzername/dayz/mpmissions

Dann muss ich die "dayz_private_rmod_1.chernarus.pbo" runterladen und mit den pbo Manager bearbeiten.
Da hab ich dann einen Ordner; fixes und 3 Datein. "descriptopn.txt" ; "init.sqf" und mission.sqm


Wenn ich die init.sqf öffne sieht das so aus:


Spoiler Spoiler

Spoiler Spoiler



startLoadingScreen ["","DayZ_loadingScreen"];
enableSaving [false, false];

dayZ_instance = 1; //The instance
hiveInUse = true;
initialized = false;
dayz_previousID = 0;
dayz_hiveVersionNo = 1;

call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf"; //Initilize the Variables (IMPORTANT: Must happen very early)
progressLoadingScreen 0.1;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\publicEH.sqf"; //Initilize the publicVariable event handlers
progressLoadingScreen 0.2;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\medical\setup_functions_med.sqf"; //Functions used by CLIENT for medical
progressLoadingScreen 0.4;
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; //Compile regular functions
progressLoadingScreen 1.0;

"filmic" setToneMappingParams [0.153, 0.357, 0.231, 0.1573, 0.011, 3.750, 6, 4]; setToneMapping "Filmic";

// Vehicle damage fix
vehicle_handleDamage = compile preprocessFileLineNumbers "fixes\vehicle_handleDamage.sqf";
vehicle_handleKilled = compile preprocessFileLineNumbers "fixes\vehicle_handleKilled.sqf";

// Right-click error fix
player_selectSlot = compile preprocessFileLineNumbers "fixes\ui_selectSlot.sqf";

// Player action hooks
player_build = compile preprocessFileLineNumbers "fixes\player_build.sqf";
player_cook = compile preprocessFileLineNumbers "fixes\player_cook.sqf";
player_drink = compile preprocessFileLineNumbers "fixes\player_drink.sqf";
player_eat = compile preprocessFileLineNumbers "fixes\player_eat.sqf";
player_useMeds = compile preprocessFileLineNumbers "fixes\player_useMeds.sqf";
player_wearClothes = compile preprocessFileLineNumbers "fixes\player_wearClothes.sqf";
player_tentPitch = compile preprocessFileLineNumbers "fixes\tent_pitch.sqf";
player_fillWater = compile preprocessFileLineNumbers "fixes\water_fill.sqf";
player_reloadMag = compile preprocessFileLineNumbers "fixes\player_reloadMags.sqf";
player_packTent = compile preprocessFileLineNumbers "fixes\player_packTent.sqf";

// Player sync hooks
player_countmagazines = compile preprocessFileLineNumbers "fixes\player_countmagazines.sqf";
player_humanityMorph = compile preprocessFileLineNumbers "fixes\player_humanityMorph.sqf";

// Original functions being overridden
player_build_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf";
player_cook_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\cook.sqf";
player_drink_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_drink.sqf";
player_eat_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_eat.sqf";
player_useMeds_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_useMeds.sqf";
player_wearClothes_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_wearClothes.sqf";
player_tentPitch_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\tent_pitch.sqf";
player_fillWater_orig = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\water_fill.sqf";

if (isServer) then {
hiveInUse = true;
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
};

if (!isDedicated) then {
0 fadeSound 0;
0 cutText [(localize "STR_AUTHENTICATING"), "BLACK FADED",60];
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = [] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

// Create burn effect for each helicopter wreck
{
nul = [_x, 2, time, false, false] spawn BIS_Effects_Burn;
} forEach allMissionObjects "UH1Wreck_DZ";

// Set event handler
{
_x addEventHandler ["HandleDamage", { _this call vehicle_handleDamage }];
_x addEventHandler ["Killed", { _this call vehicle_handleKilled }];
} forEach vehicles;
};


Starfish

User / Kunde

  • "Starfish" is male

Posts: 35

Thanks: 1

  • Send private message

15

Friday, October 26th 2012, 11:50am

Der erste Spoiler ist leer, aber die init.sqf ist genau die richtige und auch gemeinte.
Da einfach am Ende dann entsprechend die Models eintragen die du nutzen möchtest, oder meinen Spoiler oben einsehen.

Falls die Methode über die dayz_server.pbo läuft, würde ich die aber fast bevorzugen, da ich in der mission init.sqf noch relativ viel anderes abrufe und die spieler eigentlich nicht unbedingt den code in ihrer missionfile aufrufen müssen, sondern das ganze serverseitig vollkommen ausreicht.

Kommt im endeffekt aber beides auf das selbe ergebnis hinaus, also persönliche vorliebe auswählen und einfach mal probieren.
StarfishBT
  • Nitrado Minecraft Kunde
  • Admin auf Moondye7.de #raptor DayZ Server

-Theran-

User / Kunde

  • "-Theran-" is male

Posts: 1,597

Location: Eisenberg/Thüringen

Occupation: Freiberufler

Thanks: 99

  • Send private message

16

Friday, October 26th 2012, 12:00pm

also gleich nach: } forEach vehicles;
deinen Text rein Kopieren so das es mit }; abschließt?


Ja keine Ahnung wieso es 2 spoiler eingefügt hat, der erste dürfte gar nich da sein.
Ok mach ich dann mal wenn ich die Fahrzeuge fertig geaddet habe.

Starfish

User / Kunde

  • "Starfish" is male

Posts: 35

Thanks: 1

  • Send private message

17

Friday, October 26th 2012, 12:18pm

Ganz ganz am Ende:

// Set event handler
{
_x addEventHandler ["HandleDamage", { _this call vehicle_handleDamage }];
_x addEventHandler ["Killed", { _this call vehicle_handleKilled }];
} forEach vehicles;
};
FR_R = "FR_R";
FR_TL = "FR_TL";

und so weiter.

Und bitte immernoch bedenken, bis auf 3 Ausnahmen spawnen alle Models mit einem Grundequip das durch ArmA vorgegeben ist. Also wenn euer Waffenslot nicht belegt ist und ihr mit FR_R ins spiel kommt, haltet ihr mal direkt ne M4A1_CCO_SD in der Kralle. Also nicht unbedingt empfehlenswert für die allgemeine Spielerschaft.
Einige Models haben übrigens auch noch spezielle Fähigkeiten. Z.B. Andere heilen oder Fahrzeuge ohne Material zu reparieren. Da also besonders drauf achten.

Gruß
StarfishBT
  • Nitrado Minecraft Kunde
  • Admin auf Moondye7.de #raptor DayZ Server

-Theran-

User / Kunde

  • "-Theran-" is male

Posts: 1,597

Location: Eisenberg/Thüringen

Occupation: Freiberufler

Thanks: 99

  • Send private message

18

Friday, October 26th 2012, 12:34pm

ah gar nicht schlecht, gefällt mir. Ne, ich hab die Skins für mich und meine Leute Vorgesehen, da wir immer 2-4 Teams sind die eingeteilt sind in Spezielgebiete.
Dann heißt es wohl Skin Test (:

#€
Ich hab nu die Datei so bearbeitet das sie so aussieht:

Spoiler Spoiler



_x addEventHandler ["HandleDamage", { _this call vehicle_handleDamage }];
_x addEventHandler ["Killed", { _this call vehicle_handleKilled }];
} forEach vehicles;
};
CDF_Commander = "CDF_Commander";
CDF_Soldier = "CDF_Soldier";
CDF_Soldier_AR = "CDF_Soldier_AR";
CDF_Soldier_Crew = "CDF_Soldier_Crew";
CDF_Soldier_Engineer = "CDF_Soldier_Engineer";
CDF_Soldier_GL = "CDF_Soldier_GL";
CDF_Soldier_Light = "CDF_Soldier_Light";
CDF_Soldier_MG = "CDF_Soldier_MG";
CDF_Soldier_Marksman = "CDF_Soldier_Marksman";
CDF_Soldier_Medic = "CDF_Soldier_Medic";
CDF_Soldier_Militia = "CDF_Soldier_Militia";
CDF_Soldier_Officer = "CDF_Soldier_Officer";
CDF_Soldier_Pilot = "CDF_Soldier_Pilot";
CDF_Soldier_RPG = "CDF_Soldier_RPG";
CDF_Soldier_Sniper = "CDF_Soldier_Sniper";
CDF_Soldier_Spotter = "CDF_Soldier_Spotter";
CDF_Soldier_Strela = "CDF_Soldier_Strela";
CDF_Soldier_TL = "CDF_Soldier_TL";
Ins_Bardak = "Ins_Bardak";
Ins_Commander = "Ins_Commander";
Ins_Lopotev = "Ins_Lopotev";
Ins_Soldier_1 = "Ins_Soldier_1";
Ins_Soldier_2 = "Ins_Soldier_2";
Ins_Soldier_AA = "Ins_Soldier_AA";
Ins_Soldier_AR = "Ins_Soldier_AR";
Ins_Soldier_AT = "Ins_Soldier_AT";
Ins_Soldier_CO = "Ins_Soldier_CO";
Ins_Soldier_Crew = "Ins_Soldier_Crew";
Ins_Soldier_GL = "Ins_Soldier_GL";
Ins_Soldier_MG = "Ins_Soldier_MG";
Ins_Soldier_Medic = "Ins_Soldier_Medic";
Ins_Soldier_Pilot = "Ins_Soldier_Pilot";
Ins_Soldier_Sab = "Ins_Soldier_Sab";
Ins_Soldier_Sapper = "Ins_Soldier_Sapper";
Ins_Soldier_Sniper = "Ins_Soldier_Sniper";
Ins_Villager3 = "Ins_Villager3";
Ins_Villager4 = "Ins_Villager4";
Ins_Woodlander1 = "Ins_Woodlander1";
Ins_Woodlander2 = "Ins_Woodlander2";
Ins_Woodlander3 = "Ins_Woodlander3";
Ins_Worker2 = "Ins_Worker2";
Assistant = "Assistant";
Citizen1 = "Citizen1";
Citizen2 = "Citizen2";
Citizen3 = "Citizen3";
Doctor = "Doctor";
Functionary1 = "Functionary1";
Functionary2 = "Functionary2";
Pilot = "Pilot";
Policeman = "Policeman";
Priest = "Priest";
Profiteer1 = "Profiteer1";
Profiteer2 = "Profiteer2";
Profiteer3 = "Profiteer3";
Profiteer4 = "Profiteer4";
RU_Assistant = "RU_Assistant";
RU_Citizen1 = "RU_Citizen1";
RU_Citizen2 = "RU_Citizen2";
RU_Citizen3 = "RU_Citizen3";
RU_Citizen4 = "RU_Citizen4";
RU_Doctor = "RU_Doctor";
RU_Functionary1 = "RU_Functionary1";
RU_Functionary2 = "RU_Functionary2";
RU_Pilot = "RU_Pilot";
RU_Policeman = "RU_Policeman";
RU_Priest = "RU_Priest";
Drake = "Drake";
Drake_Light = "Drake_Light";
Graves = "Graves";
Graves_Light = "Graves_Light";
Herrera = "Herrera";
Herrera_Light = "Herrera_Light";
Pierce = "Pierce";
Pierce_Light = "Pierce_Light";
US_Delta_Force_AR_EP1 = "US_Delta_Force_AR_EP1";
US_Delta_Force_Air_Controller_EP1 = "US_Delta_Force_Air_Controller_EP1";
US_Delta_Force_Assault_EP1 = "US_Delta_Force_Assault_EP1";
US_Delta_Force_EP1 = "US_Delta_Force_EP1";
US_Delta_Force_M14_EP1 = "US_Delta_Force_M14_EP1";
US_Delta_Force_MG_EP1 = "US_Delta_Force_MG_EP1";
US_Delta_Force_Marksman_EP1 = "US_Delta_Force_Marksman_EP1";
US_Delta_Force_Medic_EP1 = "US_Delta_Force_Medic_EP1";
US_Delta_Force_Night_EP1 = "US_Delta_Force_Night_EP1";
US_Delta_Force_SD_EP1 = "US_Delta_Force_SD_EP1";
US_Delta_Force_TL_EP1 = "US_Delta_Force_TL_EP1";
US_Delta_Force_Undercover_Takistani06_EP1 = "US_Delta_Force_Undercover_Takistani06_EP1";
US_Pilot_Light_EP1 = "US_Pilot_Light_EP1";
US_Soldier_AAR_EP1 = "US_Soldier_AAR_EP1";
US_Soldier_AAT_EP1 = "US_Soldier_AAT_EP1";
US_Soldier_AA_EP1 = "US_Soldier_AA_EP1";
US_Soldier_AHAT_EP1 = "US_Soldier_AHAT_EP1";
US_Soldier_AMG_EP1 = "US_Soldier_AMG_EP1";
US_Soldier_AR_EP1 = "US_Soldier_AR_EP1";
US_Soldier_AT_EP1 = "US_Soldier_AT_EP1";
US_Soldier_B_EP1 = "US_Soldier_B_EP1";
US_Soldier_Crew_EP1 = "US_Soldier_Crew_EP1";
US_Soldier_EP1 = "US_Soldier_EP1";
US_Soldier_Engineer_EP1 = "US_Soldier_Engineer_EP1";
US_Soldier_GL_EP1 = "US_Soldier_GL_EP1";
US_Soldier_HAT_EP1 = "US_Soldier_HAT_EP1";
US_Soldier_LAT_EP1 = "US_Soldier_LAT_EP1";
US_Soldier_Light_EP1 = "US_Soldier_Light_EP1";
US_Soldier_MG_EP1 = "US_Soldier_MG_EP1";
US_Soldier_Marksman_EP1 = "US_Soldier_Marksman_EP1";
US_Soldier_Medic_EP1 = "US_Soldier_Medic_EP1";
US_Soldier_Officer_EP1 = "US_Soldier_Officer_EP1";
US_Soldier_Pilot_EP1 = "US_Soldier_Pilot_EP1";
US_Soldier_SL_EP1 = "US_Soldier_SL_EP1";
US_Soldier_SniperH_EP1 = "US_Soldier_SniperH_EP1";
US_Soldier_Sniper_EP1 = "US_Soldier_Sniper_EP1";
US_Soldier_Sniper_NV_EP1 = "US_Soldier_Sniper_NV_EP1";
US_Soldier_Spotter_EP1 = "US_Soldier_Spotter_EP1";
US_Soldier_TL_EP1 = "US_Soldier_TL_EP1";
CIV_EuroMan01_EP1 = "CIV_EuroMan01_EP1";
CIV_EuroMan02_EP1 = "CIV_EuroMan02_EP1";
CIV_EuroWoman01_EP1 = "CIV_EuroWoman01_EP1";
CIV_EuroWoman02_EP1 = "CIV_EuroWoman02_EP1";
Citizen2_EP1 = "Citizen2_EP1";
Citizen3_EP1 = "Citizen3_EP1";
Dr_Annie_Baker_EP1 = "Dr_Annie_Baker_EP1";
Dr_Hladik_EP1 = "Dr_Hladik_EP1";
Functionary1_EP1 = "Functionary1_EP1";
Functionary2_EP1 = "Functionary2_EP1";
Haris_Press_EP1 = "Haris_Press_EP1";
Pilot_EP1 = "Pilot_EP1";
Profiteer2_EP1 = "Profiteer2_EP1";
Rita_Ensler_EP1 = "Rita_Ensler_EP1";
FR_Marksman = "FR_Marksman";
FR_Miles = "FR_Miles";
FR_OHara = "FR_OHara";
FR_R = "FR_R";
FR_Rodriguez = "FR_Rodriguez";
FR_Sapper = "FR_Sapper";
FR_Sykes = "FR_Sykes";
FR_TL = "FR_TL";
USMC_Soldier = "USMC_Soldier";
USMC_Soldier2 = "USMC_Soldier2";
USMC_SoldierM_Marksman = "USMC_SoldierM_Marksman";
USMC_SoldierS = "USMC_SoldierS";
USMC_SoldierS_Engineer ="USMC_SoldierS_Engineer";
USMC_SoldierS_Sniper = "USMC_SoldierS_Sniper";
MVD_Soldier = "MVD_Soldier";
MVD_Soldier_AT = "MVD_Soldier_AT";
MVD_Soldier_GL = "MVD_Soldier_GL";
MVD_Soldier_MG = "MVD_Soldier_MG";
MVD_Soldier_Marksman = "MVD_Soldier_Marksman";
MVD_Soldier_Sniper = "MVD_Soldier_Snipe";
MVD_Soldier_TL = "MVD_Soldier_TL";
RUS_Commander = "RUS_Commander";
RUS_Soldier1 = "RUS_Soldier1";
RUS_Soldier2 = "RUS_Soldier2";
RUS_Soldier3 = "RUS_Soldier3";
RUS_Soldier_GL = "RUS_Soldier_GL";
RUS_Soldier_Marksman = "RUS_Soldier_Marksman";
RUS_Soldier_Sab = "RUS_Soldier_Sab";
RUS_Soldier_TL = "RUS_Soldier_TL";
RU_Commander = "RU_Commander";
RU_Soldier = "RU_Soldier";
RU_Soldier2 = "RU_Soldier2";
RU_Soldier_AA = "RU_Soldier_AA";
RU_Soldier_AR = "RU_Soldier_AR";
RU_Soldier_AT = "RU_Soldier_AT";
RU_Soldier_Crew = "RU_Soldier_Crew";
RU_Soldier_GL = "RU_Soldier_GL";
RU_Soldier_HAT = "RU_Soldier_HAT";
RU_Soldier_LAT = "RU_Soldier_LAT";
RU_Soldier_Light = "RU_Soldier_Light";
RU_Soldier_MG = "RU_Soldier_MG";
RU_Soldier_Marksman = "RU_Soldier_Marksman";
RU_Soldier_Medic = "RU_Soldier_Medic";
RU_Soldier_Officer = "RU_Soldier_Officer";
GUE_Commander = "GUE_Commander";
GUE_Soldier_1 = "GUE_Soldier_1";
GUE_Soldier_2 = "GUE_Soldier_2";
GUE_Soldier_3 = "GUE_Soldier_3";
GUE_Soldier_AA = "GUE_Soldier_AA";
GUE_Soldier_AR = "GUE_Soldier_AR";
GUE_Soldier_AT = "GUE_Soldier_AT";
GUE_Soldier_CO = "GUE_Soldier_CO";
GUE_Soldier_Crew = "GUE_Soldier_Crew";
GUE_Soldier_GL = "GUE_Soldier_GL";
GUE_Soldier_MG = "GUE_Soldier_MG";
GUE_Soldier_Medic = "GUE_Soldier_Medic";
GUE_Soldier_Pilot = "GUE_Soldier_Pilot";
GUE_Soldier_Sab = "GUE_Soldier_Sab";
GUE_Soldier_Scout = "GUE_Soldier_Scout";
GUE_Soldier_Sniper = "GUE_Soldier_Sniper";
GUE_Villager3 = "GUE_Villager3";
GUE_Villager4 = "GUE_Villager4";
GUE_Woodlander1 = "GUE_Woodlander1";
GUE_Woodlander2 = "GUE_Woodlander2";
GUE_Woodlander3 = "GUE_Woodlander3";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
GUE_Worker2 = "GUE_Worker2";
RU_Profiteer1 = "RU_Profiteer1";
RU_Profiteer2 = "RU_Profiteer2";
RU_Profiteer3 = "RU_Profiteer3";
RU_Profiteer4 = "RU_Profiteer4";
FR_AR = "FR_AR";
FR_Assault_R = "FR_Assault_R";
FR_Commander = "FR_Commander";
FR_Cooper = "FR_Cooper";
FR_Corpsman = "FR_Corpsman";
FR_GL = "FR_GL";
FR_Light = "FR_Light";
RU_Soldier_Pilot = "RU_Soldier_Pilot";
RU_Soldier_SL = "RU_Soldier_SL";
RU_Soldier_Sniper = "RU_Soldier_Sniper";
RU_Soldier_SniperH = "RU_Soldier_SniperH";
RU_Soldier_Spotter = "RU_Soldier_Spotter";
RU_Soldier_TL = "RU_Soldier_TL";
GER_Soldier_EP1 = "GER_Soldier_EP1";
GER_Soldier_MG_EP1 = "GER_Soldier_MG_EP1";
GER_Soldier_Medic_EP1 = "GER_Soldier_Medic_EP1";
GER_Soldier_Scout_EP1 = "GER_Soldier_Scout_EP1";
GER_Soldier_TL_EP1 = "GER_Soldier_TL_EP1";



Doch will es nicht die Skins ins Spiel Adden, ich hab sie schon so: "RUS_Commander" und so: RUS_Commander
eingetragen, auch andere Probiert, aber so recht will das nicht gehen.
Hab es auch über diese Methode gemacht: dayz_server.pbo/init/serverfuntions.sqf
Doch Joine ich selber noch mit den Normalen Survivor Sachen.

This post has been edited 2 times, last edit by "-Theran-" (Oct 26th 2012, 3:11pm)


-Theran-

User / Kunde

  • "-Theran-" is male

Posts: 1,597

Location: Eisenberg/Thüringen

Occupation: Freiberufler

Thanks: 99

  • Send private message

19

Saturday, November 3rd 2012, 3:35pm

Wie sieht es denn mit den kins für Panthera aus? Kann man diese dort Adden?
Und wenn ja wo? Hab schon in der Init Datei geguckt, aber da Fehlt die Zeile dafür, findet sich das nun wo anders?

/dayz/@bliss_1.panthera2/addons



Diese pbo hatte ich runtergeladen, doch Fehlt die oben beschriebene Zeile.

dodo_chrom

User / Kunde

Posts: 12

  • Send private message

20

Monday, November 5th 2012, 11:55am

hab alles genau so gemacht, nichts vergessen alles 10 mal kontrolliert, hänge trotzdem im loadingscreen

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net

Similar threads