Home   Help Search Login Register  

Author Topic: How to name charicters, How to make air units attack ground.  (Read 599 times)

0 Members and 1 Guest are viewing this topic.

SilentSeal

  • Guest
Like the subject says.
How can give units names that will show up when you check the group.

Is it possible to make an air unit fire off some rockets or attack a specific area with a triger or waypoint or anythign and if so, does it require alot of scripting and such? Thanks for the help.

Dubieman

  • Guest
Re:How to name charicters, How to make air units attack ground.
« Reply #1 on: 01 Jan 2005, 05:17:23 »
1.) description.ext files  goto editor depot

2.) I had a script I put in the ed depot that does what you want.

Or you can use the fire command or the invisible targets addon.  AI choppers only use rockets and missiles on vehicles and cannon on ppl, well that's how its coded in the game.

Offline Hawkins

  • Former Staff
  • ****
  • Team 2-2
Re:How to name charicters, How to make air units attack ground.
« Reply #2 on: 01 Jan 2005, 13:40:47 »
Like GuiltyRoachKillar said, check the ED, it's an essential place for information for us mission editors. ;)

Here's a link to a description.ext tutorial:
http://www.ofpec.com/editors/resource_view.php?id=18

And here is a quick copy/paste from one of my missions:

Code: [Select]
class CfgIdentities
{

   class myers
   {
   name = "James Myers";
   face = "face41";
   glasses = "none";
   speaker = "John";
   pitch = 1.00;
   };
};

Put that in the descripion.ext file. Remember to have the filetype as all when you save it in notepad, or you'll get description.ext.txt ;)
Then either in the init.sqs or in a units activation field put:
unitName setidentity "myers"
That should do it. ;)

As for the second question, yes it can be done. Scripting is the best way to do it and I suggest you head over to the ED. I made a quick search for GuiltyRoachKillar's script and found it. Here's the link:
http://www.ofpec.com/editors/resource_view.php?id=688