Home   Help Search Login Register  

Author Topic: [SOLVED]Names...  (Read 1506 times)

0 Members and 1 Guest are viewing this topic.

Offline Mad Pup

  • One Who Asks A Lot.
  • Members
  • *
  • OFPEC Is Awesome
[SOLVED]Names...
« on: 16 Feb 2012, 00:52:56 »
So I'm making this mission, where 4 civilians talk to each other (not using actual sound) through global chat. Now how do I make it so that each civilian has his own name, and that name shows up instead of "Civilian", when he talks? THANK YOU

- Mad Pup
« Last Edit: 11 Mar 2012, 04:32:10 by Mad Pup »
"The object of war is not to die for your country, but to make the other poor bastard die for his" - General Patton
[SH]MadPup
[SH]Squad

Offline Aldo15

  • OFP-addict
  • Former Staff
  • ****
    • My OFP missions
Re: Names...
« Reply #1 on: 16 Feb 2012, 02:36:17 »
Hey, .

1. Add a strigntable file and change group names. Let's say: Papa Bear for 'Name of civilian'.
Explame:

no stringtable

civil sideRadio (or sidechat) "Radiomsm1",
Message:

PAPA_BEAR "Radiomsm1"

Now with strintable edit.

Edit the strigntablew file:
"English","Spanish","German",etc

STR_PAPA_BEAR, "Civilian_one","Civilian_one,"Civilian_one"

Change papa bear name, let's say 'Civilian_one", so the command:
[west, "hq"] sideChat "Radiomsm1"

Now the message:

Civilian_one: "Radiomsg1"

Were you able to understand me?
I hope it helps
« Last Edit: 16 Feb 2012, 02:40:34 by Aldo15 »
My OFP stuff
FMF Project by Aldo15. Coming soon.
If in the high school or university, Teachers add a new subject about how to make scripts, missions, for ofp. I'd be number one of my classroom

Offline Mad Pup

  • One Who Asks A Lot.
  • Members
  • *
  • OFPEC Is Awesome
Re: Names...
« Reply #2 on: 16 Feb 2012, 06:02:25 »
Aldo15 thanks so much, you're a great help. I understand you completely. Thanks for the quick relply!  :good:  :P
"The object of war is not to die for your country, but to make the other poor bastard die for his" - General Patton
[SH]MadPup
[SH]Squad