Crude
-
Posts
23 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Crude
-
-
thats great, glad i could help
-
check rpt logs for errors
or paste full chernarus11 here for me to look
-
edit - init.sqf
Find-
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";
Replace With - (Create the folder(s) if needed in the mission file
call compile preprocessFileLineNumbers "system\mission\server_traders\chernarus11.sqf";
Then copy over the file from the dayz_code .pbo (dayz_code\system\mission\server_traders\chernarus11.sqf)
Find the trader you need to edit
/***************Boat Vendor*********/
menu_RU_Villager3 = [
[[localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
[],
"neutral"
];Add your new category - Example the 37 would be the number of the new one you created ( Category_37 )
["MY NEW CATEGORY, 37],Should look like this
menu_RU_Villager3 = [
[["MY NEW CATEGORY, 37], [localize "STR_EPOCH_TRADER_CATEGORY_BOATSARMED",48],[localize "STR_EPOCH_TRADER_CATEGORY_BOATSUNARMED",49]],
[],
"neutral"
];Hope this helps
-
Not sure what ori location is but are npc's spawning before objects/buildings?
also do you reset thier location after creatation
_this = createVehicle .......
_this setDir .......
_this setPos .......
_this setVectorUp ...... -
Happy i could help mate.
-
Replace the localize "STR_EPOCH_TRADER_CATEGORY_AAAT" with "TEXT" or you need to add it to a custom stringtable
Regards
Graham -
thats great new, good job.
-
Admin tools not allowin those vehicles?
test with a know vehicle from normal trader, if that spawns it must be on the ban list so it removes. -
Hi,
are you calling the new file from the mission init?
From
call compile preprocessFileLineNumbers "\z\addons\dayz_code\system\mission\server_traders\chernarus11.sqf";To
call compile preprocessFileLineNumbers "dayz_code\system\mission\server_traders\chernarus11.sqf"; -
thats my server and my custom scripts :) nice to see peeps on here thats been on. And thank you for liking.
-
For mine to work was just case sensitive problem, nice that your works now but with different Vehicle. If you are still wanting the Su25 just give the debug below a try.
add to top of loop
if(typeOf vehicle _x == "Su25_Ins") then {
diag_log format["#%1 = %2", typeOf vehicle _x, DZE_safeVehicle];
diag_log format["#%1 = %2", typeOf vehicle _x, vehicle _x != _x];
diag_log format["#%1 = %2", typeOf vehicle _x, !(vehicle _x in dayz_serverObjectMonitor)];
diag_log format["#%1 = %2", typeOf vehicle _x, !((typeOf vehicle _x) in DZE_safeVehicle)];
};you should see something like
22:41:06 "#Su25_Ins = ["ParachuteWest","ParachuteC","Su25_Ins","BTR40_TK_INS_EP1","BTR40_TK_GUE_EP1"]"
22:41:06 "#Su25_Ins = true"
22:41:06 "#Su25_Ins = true"
22:41:06 "#Su25_Ins = false" -
Just make sure the building class name is inside one of the loot files > dayz_code\Configs\CfgLoot\Buildings to help eliminate main area for no spawn
-
I tested and it took some restarts and debugging but works on my test server.
dayz_serverObjectMonitor
This is only used if you can send it to server or spawn on serverRename Su25_INS to small case ns > Su25_Ins
DZE_safeVehicle = ["ParachuteWest","ParachuteC","Su25_Ins"];
Hope that helps mate
-
Hi Epoch peeps,
I would like to put forward afew addons that i think would be great or fun additions.
I would also like it if the Dev's could make afew variations of the largest backpack and not just Large Gunbag many peeps dont like the model
Addons
19 Backpack Variants
Playing Items - ARP Mod
Female US Soldier
Ghillie Suits
Hazmat Units
Post Apocalypse UnitsFun Event Addons
Alienz ModMisc Addons
Halo3 pack
Halo3 Cobra and NinjaKeep up the great work i cant wait to finaly get a later Dayz Version Epoch.
-
try quotes & backslash
"\Scripts\sirens\siren.ogg"
"\introSong.ogg"
-
I have one nearly ready for my server, Its a place were players save the vehicles to the database and remove them from the MAP. Less load on server/players
-
-
if its still saying 5 meters then you still calling the default player_build as your _reason stays 30 meters
check you init.sqf and check which compliles your calling
Default
call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf"; -
look in your complies.sqf and see which file its compiling for : player_build
Default
player_build = compile preprocessFileLineNumbers "\z\addons\dayz_code\actions\player_build.sqf";
if its set as default you need to change it to the one you want
player_build = compile preprocessFileLineNumbers "CUSTOMFOLDER\snap_pro\player_build.sqf";
-
post the code you changed in the mission that calls spawn_static
example.
[[[(_position select 0) - 10, (_position select 1) + 10, 0]],"M2StaticMG","Easy","Bandit","Bandit",0,2,"Random","Random",_mission] call spawn_static;
-
Great this is gonna save me alot of time creating this myself. Cant wait :)
-
Still getting kicked with Public Variable #3 when deposit thru ATM here is the BE filters any help would be great, FYI I added it to 1st and end of 4th line to see if it made a difference. The new infistar does have it built into the new filters BTW
//new
5 "" !="currentInvites" !="PVDZE_bank_Save" !"PVDZE_" !"norrn" !"usec" !="remExField" !="remExFP" !="currentInvites" !="drn_AskServerDynamicWeatherEventArgs" !="norrinRAlie" !="BIS_effects_gepv" !="dayzPlayerLogin" !="dayzPlayerLogin2" !"PVAHR_" !="PVAH_AdminReq" !="PVAH_WriteLogReq"
5 "norrn" !="norrnRACarUp" !="norrnRAPicUp" !="norrnRaDrag" !="norrnR180" !="norrnRalie" !="norrnRLact" !="norrnRALW" !="norrnRDead"
5 "usec" !="usecMorphine" !="usecBandage" !="usecBleed"
5 "PVDZE_" !"PVDZE_player" !="PVDZE_send" !="PVDZE_log_lockUnlock" !="PVDZE_Server_Simulation" !="PVDZE_veh_Update" !="PVDZE_plr_GutBody" !="PVDZE_plr_GutBodyZ" !="PVDZE_veh_Lock" !="PVDZE_plr_DeathB" !="PVDZE_maintainArea" !="PVDZE_obj_Publish" !="PVDZE_obj_Swap" !="PVDZE_plr_Save" !="PVDZE_obj_Delete" !="PVDZE_obj_Trade" !="PVDZE_veh_Publish2" !="PVDZE_zed_Spawn" !="PVDZE_plr_Died" !="PVDZE_plr_TradeMenu" !="PVDZE_veh_Upgrade" !="PVDZE_atp" !="PVDZE_plr_Login" !="PVDZE_plr_Login2" !="PVDZE_plr_LoginRecord" !="PVDZE_plr_DeathBResult" !="PVDZE_veh_SFix" !="PVDZE_plr_Hit" !="PVDZE_plr_HitV" !="PVDZE_veh_SFuel" !="PVDZE_plr_HideBody" !="PVDZE_plr_Morph" !="PVDZE_veh_Publish" !="PVDZE_plr_Characters" !="PVDZE_lockVault" !="PVDZE_obj_setlocalVars" !="PVDZE_obj_getlocalVars" !="PVDZE_bank_Save"
5 "PVAHR_" !"PVAHR_0_"
1 "PVAH"
5 "remExFP" !="\"remExFP\" = \[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]" !"\[,,\"per\",\"execVM\",\"ca\\Modules\\Functions\\init.sqf\"\]"
5="player"
5="server"
5 "fnc_plyrHit"
5 "AntiHack"
1 "Delete"
After " !="PVDZE_bank_Save" add this
!="PVDZE_account_Doublecheck"
Server trader NPCs
in Scripting
Posted
try
_trader setPosATL (_x select 1);
Did you remove the setPosATL from the other file if you added it.
["GUE_Woodlander2", setPosATL [23371.3,5283.87,25],50.2731],
Also your best friend when scripting is logs
diag_log format["# MY LOG / DEBUG # %1", _x select 1];
Add this to above or below _trader = createAgent
this will show you what the _x select 1 is and it should look something like [23371.3,5283.87,25]
# MY LOG / DEBUG # [23371.3,5283.87,25]