Jump to content

Need help with vehicle name values in log files


Recommended Posts

PatrickAWlson
Posted

Goal: map the log name of every vehicle to the vehicle definition.

Problem: The only way that I know of to get the log name is to actually get the logs to generate an AType:12 event.  I do not see any other place where this name is specified.

Problem 2: putting a vehicle in the mission and getting it to spawn does not generate a spawn event.  Seems that the vehicle actually has to do something.

 

What i did was put most of the vehicles into a mission right next to each other.  I specify sides so they don't particularly like each other.  Then I circle in a plane while they blast each other, merrily creating AType:12 events as they go.  Thing is, this is not a great way to truly capture all of them.

Posted

If you just want the logfile names of all vehicles for testing
use Command_Damage (complete) and let it trigger all vehicles with some delay after mission starts.

 

Not useable for 'running' missions but it will log all names you wanted...

 

Deci

Posted

There is a folder named logs in the data folder but it is empty. How do you get those logfiles you are mentioning. Where can I find them. Thanks

Posted

Hi there

 

First:

For all logfiles I talk about 'hosting' a game from a dedicated server account!

So NOT hosting from inside my 'playing' account!

Maybe creating logfiles when hosting a game from inside the playing account

(hosting should work when you have an internet connection providing an ipV4 address)

will be done

or maybe not... (the devs may answer that)

 

Taken from the 'startup.cfg' file of my dServer account

 

[KEY = system]
      bin_log_folder = "_BinLogs\"
      text_log_folder = "_MissionLogs\"
      chatlog = 0
      debug_info = 0
      debug_render = 0
      dlgbox_sky = 0
      gamelog = 0
      keep_binary_log = 0
      mgenlog = 0
      mission_text_log = 1
      modes = 0
      playoffline = 0
      reset_configs = 0
      show_net_skins = 1
      skin_dir = "graphics\Skins\"
[END]

 

The 'xxx_log_folder' represent the folders 'WHERE' logfiles are saved (directory base is the 'data' folder')

 mission_text_log = 1 -> SAVE logfiles (text files)

 

Next thing to know is:

Logfiles are ONLY save by the host, never by the clients

 

Unknown:

Logfiles are  saved by hosting a game from inside the client ???
 

Deci

  • Thanks 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...