Home   Help Search Login Register  

Author Topic: flags on vehicles  (Read 612 times)

0 Members and 1 Guest are viewing this topic.

BBE_GRUNT

  • Guest
flags on vehicles
« on: 27 Jun 2003, 11:12:16 »
Hey there,

I've seen many screenshots, mostly screens of mods but that doesn't matter, where for example a jeep has a custom flag on it like you would see in CTF missions. now my question is; is it possible to assign a flag to a vehicle in the mission editor so that a unit can have a flag on it while in a co-op mission?

Thank you in advance.

Mr.BoDean

  • Guest
Re:flags on vehicles
« Reply #1 on: 27 Jun 2003, 11:38:14 »
Hey there,

I've seen many screenshots, mostly screens of mods but that doesn't matter, where for example a jeep has a custom flag on it like you would see in CTF missions. now my question is; is it possible to assign a flag to a vehicle in the mission editor so that a unit can have a flag on it while in a co-op mission?

Thank you in advance.

Well, here's what I know from tutes and OFPEC folks regarding flags on vehicles.  Basically, you can assign the flag to a flagpole or a unit, but not the vehicle. So if the flagcarrier is in the vehicle, it shows up; as soon as he leaves it, so does the flag.
   My workaround to have a (mostly) empty truck with a flag was to load a squad into the truck ...one of the later troops being the flagcarrier. Then have the driver go thru a trigger which kills the flagboy,  then TransportUnload the troops and have driver get out. this leaves a flag on the front and one dead guy in the back along for the ride. Not the cleanest way, but it works for me , and somebody' gotta die anyways!  ;D

Mr.BoDean

  • Guest
Re:flags on vehicles
« Reply #2 on: 27 Jun 2003, 11:43:19 »
Oh, here's the syntax for it:

Create your flag pole: Flag1

In Flag1 Init. field:
this setFlagTexture "rus_vlajka.pac"; Flag1 SetFlagOwner UnitName

Or whatever Flag you wanta make it. AT start of mission, you will see flag sliding down pole and onto soldier' s back.  

8)  8)   8)