Placing Vehicle Flags

Placing Vehicle Flags

« posted: Jul 05, 2019, 11:21 PM »
Does anyone have a script that would put the driver's team flag "Blue, Red or Green" on the vehicle once they enter the vehicle and are driving?

I tried this but this does not work at all. I may not even be in the ball park.

switch(playerSide) do {
    case west: {
      #include "carFlag setFlagTexture "\A3\Data_F\Flags\Flag_blue_CO.paa"; carFlag setFlagOwner driver this;"
    }
    case east: {
        #include "carFlag setFlagTexture "\A3\Data_F\Flags\Flag_red_CO.paa"; carFlag setFlagOwner driver this;"
    }
}

Any ideas suggestions highly appreciated



[MSOF Rule The Wasteland Server
Direct connect to the server is 68.203.6.236:2302

Re: Placing Vehicle Flags

« Reply #1 posted: Jul 06, 2019, 09:57 AM »
Setflagtexture is only for actual flag objects. I assume you're talking about where player unit insignia shows up if they have that set up?

Re: Placing Vehicle Flags

« Reply #2 posted: Jul 06, 2019, 04:56 PM »
Monkey, thank you for the response man. But no I actually meant the team side color flag: Blufor- "Blue", Opfor - "Red", and Independent "Green"..... It might be super cool to let their clan symbol show on the flag but not necessary.  If I could get help to get the baseline flag set that would be great.

We tend to get a lot of first timers that have been showing up to the server, who get excited and try to kill anything that moves.....I am  trying to cut down on the team killing from lock on Rockets, from a distance, for same side folks driving down the road.

The side color flag would be an additional visual reference point so they don't team kill somebody who has been working so hard to gather resources and a vehicle. So in stating that I am just looking for help or for a script that when a player enters a vehicle it attaches the team side color flag.

Once again thank you for the response. Its the first one i have ever gotten on the forums... :)

Server Name: MSOF RULE THE WASTELAND 20000 Dollar Starts
more info can be found here https://www.twitch.tv/videos/261775146



[MSOF Rule The Wasteland Server
Direct connect to the server is 68.203.6.236:2302

http://marinesof.com/

Re: Placing Vehicle Flags

« Reply #3 posted: Aug 14, 2019, 02:04 AM »
Did you ever get this sorted?

The best thing I can think to change is the is to modify the distances in client\functions\drawPlayerIcons.sqf

It controls how far the friendly markers show up (the blue, red, or green squares)

Re: Placing Vehicle Flags

« Reply #4 posted: Aug 16, 2019, 06:40 PM »
I got it sorted Monkey thanks for checking back in... I created an SQF that I call from the init.

Server Name: MSOF RULE THE WASTELAND 20000 Dollar Starts
more info can be found here https://www.twitch.tv/videos/261775146



[MSOF Rule The Wasteland Server
Direct connect to the server is 68.203.6.236:2302
http://marinesof.com/