way420 Posted January 2, 2015 Report Share Posted January 2, 2015 Everyone just says add this to your init file I did first thing I added was treasure hunting it works but the rest I don't know it feels wrong thank you for any help my init.txt Link to comment Share on other sites More sharing options...
machine6fd Posted January 2, 2015 Report Share Posted January 2, 2015 Any errors reported in the .rpt? or something not running? What's the problem? Link to comment Share on other sites More sharing options...
way420 Posted January 2, 2015 Author Report Share Posted January 2, 2015 no none but nothing seems to work missions do treasure as well but as for loot spawns and zoombies nothing shows on server I just think im putting it together wrong I just couldn't find a good example of hoe to keep adding to the init file and or if I am doing it right Link to comment Share on other sites More sharing options...
machine6fd Posted January 2, 2015 Report Share Posted January 2, 2015 maybe try this, if (isDedicated) then { [] execVM "\q\addons\zombiemission\init.sqf"; fn_createMissionMarker = { private["_create","_markerPos","_markerName","_marker"]; _create = _this select 0; if(!_create)then[{ //delete marker if (getMarkerColor "MissionMarker" != "")then{ //Only delete existing Marker deleteMarkerLocal "MissionMarker"; }; },{ //else create marker _markerPos = _this select 1; _markerName = _this select 2; _marker = createMarkerLocal ["MissionMarker", _markerPos]; _marker setMarkerPosLocal _markerPos; _marker setMarkerTypeLocal "mil_destroy"; _marker setMarkerTextLocal format["%1",_markerName]; _marker setMarkerColorLocal "ColorRed"; _marker setMarkerDirLocal -37; _marker setMarkerSizeLocal [1.2,1.2]; }]; }; [] execVM "zombie\compiles.sqf"; "playZSoundHurt" addPublicVariableEventHandler {(_this select 1) call fncNextSound}; "playZSound" addPublicVariableEventHandler {(_this select 1) call fncNextSound}; if(!isNil "GlobalMissionMarker")then{GlobalMissionMarker call fn_createMissionMarker}; "GlobalMissionMarker" addPublicVariableEventHandler {_this select 1 call fn_createMissionMarker}; "GlobalHint" addPublicVariableEventHandler {hint parseText format["%1", _this select 1]}; if(toLower worldName in ["chernarus","chernarus_summer"])then{ ([4654.62,9593.63,0] nearestObject 145259) setDamage 1; ([4654.62,9593.63,0] nearestObject 145260) setDamage 1; }; //Fix for something, find out ;) if (isServer) then { fn_getBuildingstospawnLoot = compile preProcessFileLineNumbers "custom\LSpawner\fn_LSgetBuildingstospawnLoot.sqf"; LSdeleter = compile preProcessFileLineNumbers "custom\LSpawner\LSdeleter.sqf"; execVM "custom\LSpawner\Lootspawner.sqf"; }; Link to comment Share on other sites More sharing options...
way420 Posted January 2, 2015 Author Report Share Posted January 2, 2015 ill try and let you know ty and that part where you droped the if is dedicated from zombie line that's what feels wrong cause it states that at top so I was thinkin y twice but im trying it now update I tried it with your init but it wouldn't load missions so I changed it alil leaving out the if dedicated so everthing loads now when joining server I get script q\addons\zombiemissions\init.sqf not found and yes the zombie pbo is in the addons folder im so noob at this stuff update afterplaying around with it for a few hours unpacking redoing then repacking everything trying a few more ways of editing it it still wont work I just got a sinking feeling its wrong sumhow thank you for your help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now