Jump to content
Sign in to follow this  
HateDread

Setting Name Shown On Unit Mouse-Over?

Recommended Posts

Hey all,

As the title suggests, I'm wondering how to change the name of a unit shown when mousing over them in a mission from, say, "Rifleman", to "Bob", for an RPG mission - I obviously don't want my main characters to be called things like "Rifleman", "Machinegunner", etc.

Cheers!

- HateDread.

Share this post


Link to post
Share on other sites

i believe you need to use the setIdentity command inside your description.ext file. Creating classes inside here with their own unique identity and face/glasses/voice/pitch etc.

though im not sure how to link the configuration of the class identity to the unit or object. somebody else might have to help you out on that.

http://community.bistudio.com/wiki/setIdentity

hope this helps

Share this post


Link to post
Share on other sites

Still doesn't seem to work. I have:

class CfgIdentities

{

class John_Rayner

{

name = "John Rayner";

face = "Face48";

glasses = "None";

speaker = "Adam";

pitch = 0.9;

};

};

In Description.ext, and in init,sqf:

JohnRayner setIdentity "John_Rayner";

But it still has the old name :(

Any ideas?

(Also, where can I preview the different faces, for OA, and voices, etc?)

Share this post


Link to post
Share on other sites

Look for Claymans face viewer on Armaholic, it has also includes Taki faces. Personally I preview voices in the profile editor. And finally, I would like an answer to your main question too. Although I'm not sure if it can be done. Seems like the only time it works are on unit models with hard coded names like Drake. Hopefully I'm wrong.

Share this post


Link to post
Share on other sites

hmm, are you getting the face you want and whatever details with your guy? if it still looks like some random guy and not the one you created, then the syntax might be wrong.

if he does look remotely similar, then i believe it must be related to another command possibly. maybe the description in the unit box.

or possibly, you have to create whole new characters with models yourself as an addon in order to have this showing (as team razor is its own class of infantry)

so im not too sure about the nametag

edit***

maybe this might work, but its dependent on having a campaign folder and campaign itself.

http://community.bistudio.com/wiki/saveIdentity

Edited by Igneous01

Share this post


Link to post
Share on other sites

The best I can think of as a compromise is using the 3D credits; I've seen a script to make them follow an object. Maybe we could have them in-front of the character, and just tell the player, when giving them the actual mission file (such as in a BIS thread), to ignore the default naming.

Still, it's annoying, and my suggestion isn't that practical :/

Share this post


Link to post
Share on other sites
Look for Claymans face viewer

Ahem. :p

If the OP means the friendly tags, there's no way to change what they show. There are however scripts that show the actual names of units whom the player is pointing at in addition to the tag, but unfortunately I'm not intimate with how they work. I do know that they need a worldToScreen check and RscTitles.

Share this post


Link to post
Share on other sites

Thanks Celery, that's an awesome help with faces :)

@Igneous01 - Yeah the faces work just fine, unfortunately.

@AZ and others - It seems at present that the 3d credits might be the way to go. How can I remove the friendly tags? (That way, they don't interfere with any replacement/alternative methods of naming). I assume it's within difficult settings? Is there a variable/script option to remove them?

Cheers.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×