Jump to content

Mission Logfiles and 'MCU_CMD_Behaviour' changing nation


Recommended Posts

Posted

Hi there

 

I think I found an issue interesting for all hosters who are

parsing the mission logs for statistic or further purposes...

 

The 'nation' for logfile entries is strictly bound to the nation set inside the mission itself.

Any 'MCU_CMD_Behaviour' changing the nation of an object will

nor change any output for these objects to the logfiles

neither will it generate a log entry of having changed any objects...

 

T:153 AType:12 ID:29696 TYPE:fake_block[9,1] COUNTRY:101 NAME:Red Block 00-00 PID:-1 POS(24841.9980,77.2881,19216.0254)
T:153 AType:3 AID:-1 TID:29696 POS(24841.9980,77.2881,19216.0254)
T:153 AType:12 ID:34816 TYPE:fake_block[32,1] COUNTRY:201 NAME:Blue Block 00-00 PID:-1 POS(24232.5645,73.8305,19227.3105)
T:153 AType:3 AID:-1 TID:34816 POS(24232.5645,73.8305,19227.3105)

Nations were changed inside mission by 'MCU_CMD_Behaviour' here

 

T:903 AType:12 ID:29696 TYPE:fake_block[9,1] COUNTRY:101 NAME:Red Block 00-00 PID:-1 POS(24841.9980,77.2881,19216.0254)
T:903 AType:3 AID:-1 TID:29696 POS(24841.9980,77.2881,19216.0254)
T:903 AType:12 ID:34816 TYPE:fake_block[32,1] COUNTRY:201 NAME:Blue Block 00-00 PID:-1 POS(24232.5645,73.8305,19227.3105)
T:903 AType:3 AID:-1 TID:34816 POS(24232.5645,73.8305,19227.3105)

 

 

If the 'initial' nation of an object is 'neutral'

- NO entry will be generated into the mission logs after damage or kill

 

If the 'initial' nation is set to any other country than 'neutral' logfile entries will be generated

 - BUT even after the nation was changed from inside the mission (by MCU_CMD_Behaviour)

- the nation showed inside the logfiles will NOT be changed....

 

So as example:

- Blue owns an airfield on mission start

- All objects are created as 'Blue'

- Red captures this airfield

- Inside mission all objects change nation to 'Red'

- 'Blue' player attacks that captures airfield and kills objects

 

Mission: He killed enemy objects

Logfile: He killed own objects

 

Deci

 

  • Upvote 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...