Ich habe da ein Problem, das ganze zum laufen zu bekommen - kann mir da jemand helfen?
Ich baue eine Mission mit CO und BAF in Takistan mit dem 1.54er Patch.
In meinem Missionsordner ist die revive_init.sqf, der Ordner revive_sqf und der Ordner respawnSpecial.
In meiner description.ext steht folgendes:
Code:
class Header
{
gameType = Coop;
minPlayers = 1;
maxPlayers = 12;
};
onLoadMission = "[co12] Road to Mulladost";
OnLoadMissionTime = FALSE;
///////////////////////////////////////////////////////////////////////////////////////////
// description.ext settings for revive
///////////////////////////////////////////////////////////////////////////////////////////
respawn = "BASE";
respawndelay = 6;
disabledAI = 0;
#include "revive_sqf\dialogs\config.cpp"
#include "revive_sqf\dialogs\define.hpp"
#include "revive_sqf\dialogs\rev_cam_dialog.hpp"
#include "revive_sqf\dialogs\respawn_button_1.hpp"
#include "revive_sqf\dialogs\respawn_button_2.hpp"
#include "revive_sqf\dialogs\respawn_button_3.hpp"
#include "revive_sqf\dialogs\respawn_button_4.hpp"
#include "revive_sqf\dialogs\respawn_button_1b.hpp"
#include "revive_sqf\dialogs\respawn_button_1c.hpp"
#include "revive_sqf\dialogs\respawn_button_2b.hpp"
#include "revive_sqf\dialogs\respawn_button_3b.hpp"
#include "revive_sqf\dialogs\respawn_button_4b.hpp"
#include "revive_sqf\dialogs\respawn_button_1map.hpp"
#include "revive_sqf\dialogs\respawn_button_2map.hpp"
#include "revive_sqf\dialogs\respawn_button_3map.hpp"
#include "revive_sqf\dialogs\respawn_button_4map.hpp"
#include "revive_sqf\dialogs\OK_map.hpp"
#include "revive_sqf\dialogs\dead_cam_dialog.hpp"
///////////////////////////////////////////////////////////////////////////////////////////
class Params
{
class DayTime
{
//paramsArray[0]
title = "Time Of Day";
values[] = {-8, -6, 0, 8, 13};
texts[] = {"Early Morning", "Morning", "Clear day", "Sundown", "Night"};
default = 0;
};
class Revive
{
// paramsArray[1]
title = "Number of Revives:";
values[] = {2000,1000,20,10,7,5};
texts[] = {"No Revive","Infinite - Cadet","20 - Easy ","10 - Normal","7 - Hard","5 - Extreme"};
default = 10;
};
};
///////////////////////////////////////////////////////////////////////////////////////////
In der init.sqf steht das (geklaut von moerderhoschi ^^)
Code:
setviewdistance 2500;
skiptime (paramsArray select 0);
X_INIT = false;
X_Server = false; X_Client = false; X_JIP = false;X_SPE = false;
X_MP = isMultiplayer;
if (isServer) then {
X_Server = true;
if (!isDedicated) then {
X_Client = true;
X_SPE = true;
};
X_INIT = true;
} else {
X_Client = true;
if (isNull player) then {
X_JIP = true;
[] spawn {waitUntil {!(isNull player)};X_INIT = true};
} else {
X_INIT = true;
};
};
execVM "briefing.sqf";
server execVM "revive_init.sqf";
//--- East
{
_x setvariable ["bis_nocoreconversations",true];
if (side _x == east) then {
_x allowfleeing 0;
_x setskill (random 0.9);
};
} foreach allunits;
waitUntil {!(isNull player)};
execVM "intro.sqf";
Auf der Karte habe ich eine leere Spiellogik mit Namen "Server", 4 Respawnpunkte, Marker "Server", "center" und "Boot_Hill", sowie ein Funktionsmodul erstellt.
Ich habe 12 Soldaten S1-S12 in zwei Gruppen (KSK und BAF) und beim testen mit der AI spawne ich nach dem Tod lediglich an den Markern, ein Revive wie ich es kenne startet irgendwie nicht...
Wo liegt mein Fehler? Muß ich noch unbedingt Anpassungen an der revive_init.sqf vornehmen und wenn ja, welche?