Re: Dean Hall playing Kronskys SP?!
Posted by
Niceonegunit on
Jan 01, 2013; 11:24am
URL: http://kodabar-dayz-daizy-single-player-forum.163.s1.nabble.com/Dean-Hall-playing-Kronskys-SP-tp1893p1938.html
Wow!
I just noticed something too!
UnPBO the dayz_code.pbo in DayZ. Go into compile and open up player_switchModel.sqf.
You'll see some coding for Single player already there!
It basically detects if you are in single player or not, and if you are, sets your player UID to 42. Looks like Rocket has started work, eh?
For those of you who do not want/cannot open the pbo, here is the raw code.
private ["_playerUID"];
_playerUID = "";
if (count playableUnits == 0 and isServer) then {
//In Single Player
isSinglePlayer = true;
player sidechat "Single player Mode detected!";
//_id = [42,"SinglePlayer"] spawn server_onPlayerConnect;
_playerUID = "42";
} else {
_playerUID = getPlayerUID player;
};
DaiZy Single-player Developer (AI Units)