ka0s

Request: Floating player names/icons

61 posts in this topic

So I've been thinking about this. 

Since I have roaming AI and such on my server, and I want it to be PvE, I would like to know if it's possible to make a floating playername over other players, so they can see they're friendly. 

Should be viewable out to 400m, but smaller the further it is away.

Does anyone have a script like this? 

Share this post


Link to post
Share on other sites
Advertisement

You can modify the safezone ESP to do this for you. Where it will work outside a safezone

Thanks, any pointers where I should look? File structure is getting bigger by the day more or less o.O

Share this post


Link to post
Share on other sites

Well if you look into the safezone file

This is what happens when you enter the safezone:

ExileSafeZoneEspEH = addMissionEventHandler ["Draw3D",{20 call ExileClient_gui_safezone_safeESP}];

 

and this is what happens when you leave:

removeMissionEventHandler ["Draw3D",ExileSafeZoneEspEH];

 

Removing those 2 lines from the safezone files and adding it to init will make it so it will be enabled once the player is on the server.

Share this post


Link to post
Share on other sites

Well if you look into the safezone file

This is what happens when you enter the safezone:

ExileSafeZoneEspEH = addMissionEventHandler ["Draw3D",{20 call ExileClient_gui_safezone_safeESP}];

 

and this is what happens when you leave:

removeMissionEventHandler ["Draw3D",ExileSafeZoneEspEH];

 

Removing those 2 lines from the safezone files and adding it to init will make it so it will be enabled once the player is on the server.

Ok, this may sound noobish, but where do fuck do I find it, I've searched almost every file, and can't find what you're describing there... :S

Share this post


Link to post
Share on other sites

Ok, this may sound noobish, but where do fuck do I find it, I've searched almost every file, and can't find what you're describing there... :S

The Files you are looking for are:

ExileClient_object_player_event_onEnterSafezone.sqf

ExileClient_object_player_event_onLeaveSafezone.sqf

Edited by GR8
  • Like 1

Share this post


Link to post
Share on other sites

The Files you are looking for are:

ExileClient_object_player_event_onEnterSafezone.sqf

ExileClient_object_player_event_onLeaveSafezone.sqf

Ok I found them, and removed the lines and pasted into my init.sqf for the mission, should it be ordered in any specific order in the init.sqf or placed randomly? 

Share this post


Link to post
Share on other sites

Ok I found them, and removed the lines and pasted into my init.sqf for the mission, should it be ordered in any specific order in the init.sqf or placed randomly? 

Place it on the top

Share this post


Link to post
Share on other sites
Advertisement

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.