Home   Help Search Login Register  

Author Topic: John Rambo SideChat  (Read 461 times)

0 Members and 1 Guest are viewing this topic.

Cooba

  • Guest
John Rambo SideChat
« on: 01 Apr 2003, 15:50:06 »
Hi :)
I need advice...
...i n my mission I want create radio message by SIDECHAT command.
and its look that:
Alpha Black 1 "Blalalala blalala"
i want change ALPHA BLACK 1  to  MySoldierName
John Rambo "Blablabla blala"

What i have to do

THX

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:John Rambo SideChat
« Reply #1 on: 02 Apr 2003, 08:51:56 »
I'm thinking that you can't do that.. Please correct me if I'm wrong but you can only use the build in names like Papa Bear and so on.

I've always just put in

unit sidechat "(John Rambo) I love me!"
Not all is lost.

MorMel

  • Guest
Re:John Rambo SideChat
« Reply #2 on: 02 Apr 2003, 11:17:26 »
There's a way of setting your units ID through Description.ext! Check it out!

Alpha Black (Jonny) : "BLA BLA"

Where "jonny" is the unit's name

knifer

  • Guest
Re:John Rambo SideChat
« Reply #3 on: 02 Apr 2003, 14:00:14 »
You could make a small addon included with the mission with a config.cpp something like this:


class CfgPatches
{
   class johnrambo
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {};
      requiredVersion = 1.10;
   };
};
class CfgWorlds
{
   class GroupNameList
   {
      letters[] =
      {
         Johnrambo
      };
   };
   class GroupNames
   {
      // note: this is array of classes
      // it must not contain any non-class members
      class Johnrambo
      {
         name = "John Rambo";
         image = "a.paa";
      };
   };
};

just put this in a .pbo and you are ready to go.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:John Rambo SideChat
« Reply #4 on: 02 Apr 2003, 19:37:25 »
What you have to do is read this tutorial by Toadlife.
Plenty of reviewed ArmA missions for you to play