-
Posts
37 -
Joined
-
Last visited
Content Type
Profiles
Forums
Articles
Posts posted by Pringlez
-
-
Works because the script now, because I see the first post no word which it runs.
Im sorry but this does not make sense, So i do not know what you are saying.
The code I posted does NOT work, that's why I posted it hoping someone can tell me why
-
#bump
Check original post, I updated it!
-
That if you see the group/squad interface, because sometimes I don't see it at all
This is because although you are the "Group Leader" as in you made the group, as you know (or not) Epoch uses the build in "squad"/"group" icon/rank system, The first person in your group to join the server, fills the "leader" position by default. So if you are not the first person in your group to join the server, you will not see the bar in the bottom left showing the group members.
-
It works ?
Ill test it tomorrow with the line that Sparrow gave me, If it works, ill post a tutorial on it :)
-
Will test this tomorrow, post when i get it working
-
-
This is continuation to a thread I seen, but there was no real support.
Original Thread: http://epochmod.com/forum/index.php?/topic/30948-suggestion-group-players-on-map/?hl=%2Bgroup+%2Bmarkers#entry199634
**
I do not own this code, I did not create it, I simply adapted it for this idea.
Original code: Tonic (Altis Life)
**
Here is what i have after i changed a few things.
File name:
GroupMarkers.sqf
Code Inside ^
/* Original Code: Tonic (Altis Life) Edited by [TOS] Pringlez for A3 Epoch */ if (getPlayerUID player == Epoch_my_GroupUID) then { private["_markers","_civ"]; _markers = []; _civ = []; sleep 0.5; if(visibleMap) then { {if(side _x == civ) then {_civ pushBack _x;}} foreach playableUnits; { _marker = createMarkerLocal [format["%1_marker",_x],visiblePosition _x]; _marker setMarkerColorLocal "ColorBlue"; _marker setMarkerTypeLocal "Mil_dot"; _marker setMarkerTextLocal format["%1", _x getVariable["realname",name _x]]; _markers pushBack [_marker,_x]; } foreach _civ; while {visibleMap} do { { private["_marker","_unit"]; _marker = _x select 0; _unit = _x select 1; if(!isNil "_unit") then { if(!isNull _unit) then { _marker setMarkerPosLocal (visiblePosition _unit); }; }; } foreach _markers; if(!visibleMap) exitWith {}; sleep 0.02; }; {deleteMarkerLocal (_x select 0);} foreach _markers; _markers = []; _civ = []; }};
In the init.sqf I put
[] execVM "scripts\GroupMarkers.sqf";
Once we got past the BE restrictions and got in game. The markers do not show on the map, I am unsure why...
Hopefully someone here can help with this!
-
you don't NEED to do server wipe, but it is recommended to do a wipe if you have an active player base, this weeds out the players on your server that have been doing naughty things like duping.
As far as I know, since it's a "server wipe" this means the WHOLE database will be fresh.
But like Gr8 said
Its up to you to wipe it or not really. I would recommend it.
-
The sling loading is done in a realistic way... As in, a little bird cant lift an suv for example.
From what I know;
Little Bird can lift - Go-Kart, Quad-bike and most weapon crates from missions.
Mohawk, Hellcat, Huron, Taru, Orca - SUV, Hatchback, Offroad.
All choppers can lift building parts (when they are in build mode)
When you hover over something the chopper CAN lift, you will get the hook option in scroll wheel menu.
-
@ vbawol: Will it be possible to add mod items like MAS weapon and set different prices. It would be awesome!
Metal
I would imagine that it will just be a list you will copy classnames into so adding your @MAS weapons etc... should be doable pretty easily.
-
I want to see this added to the base game. Would be great to replace stupid tipis.
That would be great! I feel like this sort of thing (loading boxes in choppers and vehicles) should be in the base game anyway...
----
After some talking and investigating... I can say that what @nedfox said seems to be the cause of the box not working after restart... Currently I cannot think of a way around this... Hopefully someone is much wiser and able to get this working!
Just brainsorming : could Epoch consider it a vehicle and "lock" it ? And since it's not a vehicle you don't get an unlock option.. Maybe some things popup in my mind coming time, I'll keep dropping ideas what could be causing it.
-
Just brainsorming : could Epoch consider it a vehicle and "lock" it ? And since it's not a vehicle you don't get an unlock option.. Maybe some things popup in my mind coming time, I'll keep dropping ideas what could be causing it.
This does make sense... Since they are "vehicles" it makes sense that they would lock after restart... Not too sure about a way round this.
-
That's the one, cheers man!
Player addheadgear "H_11_EPOCH";
-
Hello,
can anyone tell me the code for adding a helmet/hat etc... to a player?
This is what I have
if (!isServer) then { waitUntil {!isNull player}; waitUntil {player == player}; while {true} do { _player = player; player addEventHandler ["Respawn", { if (getPlayerUID player in ["0"]) then { player addWeapon "EpochRadio5"; player addWeapon "ItemGPS"; player addWeapon "ItemWatch"; player addWeapon "ItemCompass"; player forceAddUniform "U_OG_Guerilla3_2"; } }]; waitUntil {_player != player}; }; };
I also need to add a Beret to this.
You see here that
player forceAddUniform "U_OG_Guerilla3_2";
is used to add the clothing to the player as they respawn, I need to know what to put here to force the
"H_11_EPOCH"
to spawn on the player too.
-
After the restart, I can now see that you cannot manipulate the cargo of the box... We will look into this, If we get it all working no issues, I will make a tutorial with the appropriate credits.
-
We broke our box, forgot that moving it with a Hemmit fucks it up -_-! Hopefully it will drop to ground after restart, then we can test the inventory side of things,
But after last restart we could store things and take them out after restart... Mind telling me what you dont while adding the box to your server? And what the class name of the box you used is? Might be able to assist you
-
Our server just restarted so ill take a look and see. Ty for heads up!
*Edit
Okay so, Our crate is still there... and we can access the gear of it, However, we took everything out of it before restart, so will put some crappy stuff in it and report back in few hours after next restart
-
I agree with Tricks, I like the physics, Yes, it is a pain in the ass sometimes, but it is alpha, all we can do is hope for the best with the improved building system coming in 0.3...
-
#bump anyone got any ideas?
Added the files to the server and 30 seconds after joining I get kicked. Removed it and no more kicks... If anyone knows a work around as I would like to have this on my server!
-
Ultimatly I would like to have it so you can Lift the box(s) then once you arrive at base, you drop it off, get in a truck and take it inside. That's what I want. But yes... Will take a look into this when I can at weekend
-
I spent £19.99 for the game, I spent £12.99 for the DLC = £32.98
I've spent 727 hours playing the game, I think it's value for money :D
The DLC helicopters shouldn't be removed because people are too tight to buy it, you see a DLC vehicle just ignore it or buy the DLC, it's that simple.
Coming up for 700hours... Like Fog Horn said, "Couldn't have said it better"
-
Maybe, but then again, It's IgiLoad and since thats not in Epoch by default, im not too sure how that would effect anything. Won't be able to take a proper look untill weekend. Will post updates if we get it working (if you haven't already)
-
briefing.sqf
waitUntil {!isNull player && player == player}; if (player diarySubjectExists "rules") exitwith{}; player createDiarySubject ["teamoldskool", "Team Old Skool"]; player createDiarySubject ["serverrules", "Server Rules"]; player createDiarySubject ["controls", "Controls"]; // TOS player createDiaryRecord ["teamoldskool", [ "Teamspeak", " <br/> Team Old Skool Teamspeak can be found at:<br/><br/> ts3.teamoldskool.com " ] ]; player createDiaryRecord ["teamoldskool", [ "Website", " <br/> teamoldskool.com " ] ]; player createDiaryRecord ["teamoldskool", [ "Donations", " <br/> Your generous donation will help keep the server running.<br/> Donations can be paid straight into our server fund on our website. " ] ]; // Server Rules player createDiaryRecord ["serverrules", [ "Serverrules", " <br/> :: Please read the server rules on our website:<br/> <br/> teamoldskool.com<br/> " ] ];
-
Trying to add my briefing.sqf to my server...
In my init.sqf i added
[] execVM "briefing.sqf";
then put the briefing.sqf file into the mission file... But when I join the server nothing is in the briefing tab.
Any ideas?
Thanks in advance
[HELP] Group map markers *original post edited*
in Scripting
Posted
#bump