New feature: Campaign History[message #329205]
|
Mon, 23 December 2013 01:27
|
|
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
one newspaper report,
and a small collection of notable data.
You can also see some general data about your consumption of goods.
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: New feature: Campaign History[message #342081 is a reply to message #342080]
|
Fri, 14 August 2015 13:33
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
Hi 88vs1984, welcome to the pit!
I originally planned to add more kinds of reports, but never got around to, so one of the links leads to a page under construction.
While there's certainly still room for improvement (the reports are rather dull, the pictures lacking etc.), I don't plan to code here in the medium-term future (and certainly not in stable 2014, whichis what you are using).
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.Report message to a moderator
|
|
|
|
|