OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: HALO_TheWolf on 27 Oct 2002, 09:38:36

Title: Adding a flag to a vehicle
Post by: HALO_TheWolf on 27 Oct 2002, 09:38:36
Does anyone know how to attach a flagpole to a vehicle?

I would like to have a flag attached to a boat, I have tried several things, but to no avail.

Anyone have input on this?

Thanks in advance.
Title: Re:Adding a flag to a vehicle
Post by: HALO_TheWolf on 27 Oct 2002, 10:05:06
I tried mod'ing the MG-on-Vehic script a bit to make it so the flag was on the boat, which worked somewhat....but..

The boat slows down greatly, and even goes a little bit in to the water.  And if I lower to flag too far, the boat flips out of contorl in the air(since OFP doesn't really HAVE an underwater for the flag pole to go in to).
Title: Re:Adding a flag to a vehicle
Post by: Black_Feather on 27 Oct 2002, 12:51:53
create your flagpole and put this in the init

this setFlagTexture "USA_vlajka.pac"; this setFlagOwner Player

I don't think you can attach flags to vehicles so add it to the crew member and it will be right.
Title: Re:Adding a flag to a vehicle
Post by: HALO_TheWolf on 27 Oct 2002, 20:02:02
Didn't work  :-\

It just puts the flag in the water.

Well.  Thanks for trying, it was really THAT important.
Title: Re:Adding a flag to a vehicle
Post by: Black_Feather on 27 Oct 2002, 20:37:56
like this
Title: Re:Adding a flag to a vehicle
Post by: Harnu on 27 Oct 2002, 23:01:59
I would like to know how to attach one to  vehicle like how on CTF maps it is.  Like if you have the flag then get into a car it will fly on the car somewhere.  I wanna put an american flag on a motorcycle, how would I do that?
Title: Re:Adding a flag to a vehicle
Post by: Tomb on 30 Oct 2002, 03:18:44
How could I resist answering this Q  ??? ;D  ...hence my sig down below, *cough*  ::) 8) ;D


Grab this attached sample, matey!  :-*

just click on the flag
and guess the rest  ;) VRRRRRRRROOOOOOOOOOOOOMMMMMMMMM

Title: Re:Adding a flag to a vehicle
Post by: HALO_TheWolf on 05 Nov 2002, 03:48:57
Thanks, Black, that worked.  The "D" at the end is what did it.