Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New feature: Campaign History  () 1 Vote
New feature: Campaign History[message #329205] Mon, 23 December 2013 01:27 Go to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Campaign Statistics & Battle Reports

After a long campaign, I sometimes look at the laptop page of each merc, remembering all the battles I forced them into. Although one does a lot in Arulco, nothing of those deeds ever stays behind. Some sort of... report... of what one did there, perhaps with some sort of commentary, would be nice. As I like details of what I did, I'd also like to know some stuff - how many tons of ammunition did I use up?

Well, now I can (and you too). The Arulco Press Council has started work, and offers all that on its website. The basic idea is that this organisation collects data about the battles fought in Arulco. That can be their reporters from international newspapers, analysts from R.I.S., or even press releases from the official Ministry for Arulcan Information Distribution or the Arulco Revolutionary Movement.

Data about every battle you fight is collected. This always results in
http://i40.tinypic.com/k187b5.png
one newspaper report,
http://i40.tinypic.com/2v2f4lw.png
and a small collection of notable data.

http://i40.tinypic.com/mtpe9z.png
You can also see some general data about your consumption of goods.

http://i41.tinypic.com/2h7fcpv.png
Some battles are so important that they get their own special report. These can be set in TableData/CampaignStatsEvent.xml, the corresponding Pictures are in Data/Laptop/CampaignStats/events.sti. They refer to special events (like the initial invasion Omerta, the first liberation of a city, losing a city an some important quest). The idea is that these can be edited by a modder.

Normal combat reports get their text depending on the data collected (e.g. a line mentioning tanks will only show up if there were tanks in that battle) and the picture depending on the type of battle, and the type of sector it was fought in. Data/Laptop/CampaignStats has several subfolders (Desert, Urban, Forest etc.) for for sector types, each has several .sti files with fitting pictures. I added some pictures, but the collection is somewhat lacking - if you ave any worthwhile addition, please contribute. As a result, if you fought a battle in a woodland sector, only pictures with a 'wood' theme will show up. If you lost a battle, the picture (and the report) will be different from when you win it.

It is possible to expand this much, much more, but I'd rather first see how this is received before adding more stuff.

Ini settings (note that the data will always be collected, but can only be viewed if the website exists):
; if true, campaign history site (Arulco Press Council) is accessible
CAMPAIGN_HISTORY = TRUE

; Only read the last ... battle reports, forget older ones. With -1 (default), read all of them. Reports lost this way cannot be recreated!
CAMPAIGN_HISTORY_MAX_REPORTS = -1


This feature does not break savegame compatibility. However, a GameDir >= r1901 is required if you want to access the new website.

This has been added to the trunk in r6705 and GameDir r1901.

Report message to a moderator

Captain

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: enemy profiles
Next Topic: New ammo type: cryo ammo
Goto Forum:
  


Current Time: Sat Nov 30 09:41:08 GMT+2 2024

Total time taken to generate the page: 0.01014 seconds