OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Olphy on 24 Jan 2005, 00:25:24
-
Hi.
I want to make it so that the character I play has a specific name that shows up on radio messages insted of his normal Flashpoint name.
For example, on the gear screen, it displays the name John Smith insted of your screen name like "l337 sN1pre!11!"
How do I do this? I've inserted:
class Smith
{
name = "John Smith";
face = "Peter V.";
glasses = "none";
speaker = "Adam";
pitch = 0.85;
};
Into my description.ext but when I load the game up my charcter still displays my screen name. What else have I got to do?
Regards.
Bazzer.
-
Change l337 sN1pre!11!" in John Smith :)
-
You need a setIdentity command in the mission somewhere, so the game knows that the character is associated with the stuff in description.ext.
I can't remember the details but I put a working example of this in the Tutorial Mission. Grab it from the Ed Depot.
-
From your example... In the initline of the unit you write :
this setidentity "smith"
-
I want to make it so that the character I play ....
That means he is "player",so name player will return "l337 sN1pre!11!"
I think he simply has to edit his playerprofile.. ???
-
Nope, nominesine was correct. ::)
-
From your example... In the initline of the unit you write :
this setidentity "smith"
Exactly what I was after, thanks. :)
-
Another slight problem boys.
I've entered this but everytime I start the mission up on the briefing I get this message:
"No entry 'Config.bin/CFGWeapons/CFGMusic".
And I still have my original screen name...
Any ideas?
Is there anything out of place with the description that could be causing this?
-
Lemme see the complete description.ext.
:beat: *Gets Shot* :beat:
-
Looks to me like you've asked for a weapon and some music and Flashpoint doesn't have it. Check the names of the music, your weapons and your mags. I think that's what's wrong.
-
Lemme see the complete description.ext.
:beat: *Gets Shot* :beat:
-
Seems to me you are missing a few headers in the description.ext.
I think it's a
class CfgIdentities
that's missing. Don't trust this wizard programs. Unpbo a mission that works and copy the description from that one instead.