sentan
-
Posts
12 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by sentan
-
-
„
[HowTo]”
How to use a forum would be better!
Connect to via php to the db, select character_data and give out the values.
How to enough? -
Use DZAI instead of wai (new).
Wai is a mission system, DZAI not! -
Hey Fully :) I'd love your code for the 2nd bridge, looks so much better than the straight repeating bridge.
Or you mean gunnars code?
The guy who created the skalisty town!
-
Does anyone have an answer for this?
I would also like the code for that 2nd bridge.
Its easy, the bridge spawns AboveSeaLayer (ASL), waves will have an impact on the spawning hight. Only way to fix this, is to spawn the bridge ATL!. Good luck with that!
-
_difficulty = round(random 4)+1; switch (_difficulty) do { case 1 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 2 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 3 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; case 4 : { for "_i" from 0 to _difficulty do { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; }; default { [[(_position select 0) + ((random 200) - 100), (_position select 1) + ((random 200) - 100), 0],(round(random 4) + 1),"hard","Random",3,"none","GUE_Soldier_Sab","Random","Bandit"] call spawn_group; }; };
My settings for group spawning.
Random Position, random number of groups and group size.
-
I would be very very carefull with installing custom bases, connected to a server where nearly all bases from here installed. Horrible FPS (around 13). Also made my own towns with several thousand objects, and the fps drops dramaticly.
Now i only use around 250kb of custom bases (created by my own) for chernarus and have above 75fps. -
Zupa is an fcking awesome guy))
-
Thanx for the help 0verHeaT!
Made a little mistake by overwriting the variables :D
Problem solved! -
Hello,
i have a problem with global variables, works so far, but after reconnect the variables are empty. Someone know what the problem is?
init.sqf
if(isServer) then { [] execVM "myServerScript.sqf"; }; [] execVM "myClientScript.sqf";
myServerScript.sqf
my_var1 = true; publicVariable "my_var1"; my_var2 = floor(time); publicVariable "my_var2"; my_var3 = [ [8096.875, 7824.2896,0], [8241.0039, 7612.2881,0], [8935.9805, 7398.7944,0] ] call BIS_fnc_selectRandom; publicVariable "my_var3";
myClientScript.sqf
while {true} do { sleep 10; systemchat format["%1 || %2 || %3", my_var1, my_var3, my_var3]; };
Output looks like: true || 145256352 || 8096.875, 7824.2896,0
but after a player die and he reconnect, then it looks so: any || any || any
Can someone help?
I need these variables after reconnect.
thanks -
Installed Build Vectors and Snap Pro after Plot Management, now i get this error, someone have an idea?
No Objects counted, maintain didnt work.
Error in expression < _allowed = [_owner] + _fuid; if ( _playerUID in _allowed && _ownerID in _a> Error position: <_playerUID in _allowed && _ownerID in _a> Error Undefined variable in expression: _playeruid File mpmissions\__CUR_MP.Chernarus\dayz_code\fn_selfActions.sqf, line 303 Error in expression < _allowed = [_owner] + _fuid; if ( _playerUID in _allowed && _ownerID in _a> Error position: <_playerUID in _allowed && _ownerID in _a> Error Undefined variable in expression: _playeruid File mpmissions\__CUR_MP.Chernarus\dayz_code\fn_selfActions.sqf, line 303
fn_selfactions.sqf (codeblock)
///Allow owners to delete modulars if(_isModular && (dayz_characterID == _ownerID)) then { if(_hasToolbox && "ItemCrowbar" in _itemsPlayer) then { _findNearestPoles = nearestObjects[player, ["Plastic_Pole_EP1_DZ"], DZE_PlotPole select 0]; _IsNearPlot = count (_findNearestPoles); _fuid = []; _allowed = []; if(_IsNearPlot > 0)then{ _thePlot = _findNearestPoles select 0; _owner = _thePlot getVariable ["ownerPUID","010"]; _friends = _thePlot getVariable ["plotfriends", []]; { _friendUID = _x select 0; _fuid = _fuid + [_friendUID]; } forEach _friends; _allowed = [_owner]; _allowed = [_owner] + _fuid; if ( _playerUID in _allowed && _ownerID in _allowed ) then { // // If u want that the object also belongs to someone on the plotpole. _player_deleteBuild = true; }; }else{ if(_ownerID == _playerUID)then{ _player_deleteBuild = true; }; }; }; };
-
Something is wrong after Door Management installation, someone know whats the problem is?
client.rptError in expression <CharacterID","0"]; if(dayz_characterID == _ownerID) then { _canBuildOnPlot = > Error position: <== _ownerID) then { _canBuildOnPlot = > Error Generic error in expression File mpmissions\__CUR_MP.Chernarus\addons\buildables\custom_builds.sqf, line 168
[help]Taviana bridge being blown up. can i indestructablize it:?
in Scripting
Posted
But these debug Monitors are ugly as hell!