OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Mad Pup on 27 Jan 2010, 23:31:11

Title: Changing PAPA BEAR's name [SOLVED]
Post by: Mad Pup on 27 Jan 2010, 23:31:11
Hi all, I have a queston about making PAPA BEAR say something on the radio.
Is there a possible way to change his name?
Like instead of "PAPA BEAR" could it be, "The Godfather" or something like that?

Thanks Again!
Mad Pup
Title: Re: Changing PAPA BEAR's name
Post by: Krieg on 28 Jan 2010, 13:29:50
I am not sure if that is actually possible.

Try setGroupId (http://www.ofpec.com/COMREF/index.php?action=details&id=304&game=All) command.

Edit: Once again, proven wrong ;).
Title: Re: Changing PAPA BEAR's name
Post by: h- on 28 Jan 2010, 15:33:15
It is possible.
You find coverage on this matter by using search btw. ;)

It should be pretty simple, you create a file stringtable.csv in your mission folder and add the following in it:
Code: [Select]
STR_CFG_PAPABEAR,"The Godfather"
EDIT:
Btw, that should work but sometimes for some reason it might take some time to get it working..

EDIT2:
Ok, found some old mission of mine using it and this is what I had in the stringtable.csv (and it works):
Code: [Select]
LANGUAGE,English,comment

STR_CFG_PAPABEAR,"The Godfather",
STR_CFG_HQ,"The Godfather",
Title: Re: Changing PAPA BEAR's name
Post by: Mad Pup on 29 Jan 2010, 05:14:59
Thanks h-..... but what program do I use to create the stringtable.csv?
Title: Re: Changing PAPA BEAR's name
Post by: h- on 29 Jan 2010, 07:22:47
Notepad, it's a normal text file.
Title: Re: Changing PAPA BEAR's name
Post by: Mad Pup on 29 Jan 2010, 23:53:21
Thanks SO Much h-! It Worked!!  :D