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 next message
Flugente

 
Messages:3052
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.


Re: New feature: Campaign History[message #329210] Mon, 23 December 2013 03:23 Go to previous messageGo to next message
Slax

 
Messages:1438
Registered:July 2006
Location: People riding polar bears...
(So THAT'S what the pen+globe was for.)
What's that smell? It's... it's... possible development! Very Happy

Had some thoughts regarding media exposure a few months ago but it all sorta dwindled away. Guess I'll put some ideas out there.

- Arms dealers, auctions and e-mails you can respond to!
People wanna do business, right? War's good business! How about we tie in some of the ol' Deadly Games gear swindling via e-mails and media exposure? Someone with a stockpile is bound to find out about your campaign, and they probably know how to contact you. Everything from cold war surplus commie trash to stolen future tech... auctioned and lacking in detail! Bobby Ray's can't have all of the fun.
Not everyone's into auctions though. Maybe you'll receive a limited time offer one day. Pay up and you'll get a crate full of... who knows what? (Hey, it's Christmas after all.)

- Positive and negative media exposure!
Too many civilian deaths? Fighting going on for too long? Oops, the news just went global. You know someone's gonna step in to help one side or the other. Or maybe a third party just wants some of the guts and glory!(Probably not something for the vanilla campaign but modders would likely find something to do with this.)

Re: New feature: Campaign History[message #329213] Mon, 23 December 2013 11:23 Go to previous messageGo to next message
Maalstroom

 
Messages:343
Registered:December 2008
Location: en route to San Hermanos
Awesome Flu, as always!
Re: New feature: Campaign History[message #329214] Mon, 23 December 2013 13:15 Go to previous messageGo to next message
Elvis_A

 
Messages:250
Registered:December 2012
Location: exUSSR
great as usual!

I hope it will not affect game fps.
few questions:
will it cover:
1) boxing matches?
2) player mercs/ enemy soldiers surrendered surrendered?
Re: New feature: Campaign History[message #329218] Mon, 23 December 2013 16:48 Go to previous messageGo to next message
Off_Topic

 
Messages:1054
Registered:January 2009
That is cool, It'd be brilliant to see headlines for individual Mercs who went crazy, got sloshed, did something heroic/retarded.



Re: New feature: Campaign History[message #329220] Mon, 23 December 2013 18:50 Go to previous messageGo to next message
onkelfrosti

 
Messages:19
Registered:October 2012
Location: DE
Awesome!!!
It could be, perhaps later ingame, that Deidranna herself uses the Press for her opportunity. I mean, if there are too high causalities in that war, recruiting propaganda could be implemented.

[Updated on: Mon, 23 December 2013 18:50] by Moderator

Re: New feature: Campaign History[message #329251] Wed, 25 December 2013 00:32 Go to previous messageGo to next message
Flugente

 
Messages:3052
Registered:April 2009
Location: Germany
Sigh. As usual, I make stupid mistakes. r6709 contains a very necessary fix for this feature. The error in question causes battle reports to be cloned upon loading a savegame. This works a while... until the game accumulates thousands of them, and then decides to stop loading the savegame. Argh. The above fix corrects that. Sorry for the inconvenience Sad


Re: New feature: Campaign History[message #329271] Thu, 26 December 2013 05:05 Go to previous messageGo to next message
vota dc

 
Messages:52
Registered:August 2006
Seems funny. There is a delay after the event (Elliot reporting the queen has few seconds for example) or the news are instant?
Re: New feature: Campaign History[message #329284] Thu, 26 December 2013 13:42 Go to previous messageGo to next message
Flugente

 
Messages:3052
Registered:April 2009
Location: Germany
News appear instantly after a battle. I could internally delay them, but saw no need so far.


Re: New feature: Campaign History[message #329299] Fri, 27 December 2013 02:51 Go to previous messageGo to next message
UniversalWolf

 
Messages:142
Registered:June 2009
Location: United States
E1vS
boxing matches?

That's the first thing I thought of, too.
Re: New feature: Campaign History[message #329376] Mon, 30 December 2013 11:17 Go to previous messageGo to next message
Jenilee

 
Messages:15
Registered:May 2011
Good work! I love it.
Re: New feature: Campaign History[message #329378] Mon, 30 December 2013 14:57 Go to previous messageGo to next message
Taro_M

 
Messages:298
Registered:November 2008
I just saw an end of they year news report. A bit about Syria made me thinking: how the whole Arulco revolution would go with the rest of the world? Till now the whole JA2 was pretty much completely isolated setting.

I would be great if the reports impacted player's reputation: using mustard gas would have a great repercussions, accepting aid from US agents would mean butting heads with russians, Iran or Libya etc.

In short I would like to see the rest of the world react to player's actions.
Re: New feature: Campaign History[message #329443] Wed, 01 January 2014 16:42 Go to previous messageGo to next message
Flugente

 
Messages:3052
Registered:April 2009
Location: Germany
A few of the special newsbits indicate that Deidranna is somewhat aligned to the US (Ira has dialogue about that) and thus has a ... somewhat negative view of your rebels (I mean terrorists). Of course the UN cannot intervene on behalf of Deidranna because those pesky russians (^^) see this as an internal conflict.

More and deeper involvement is possible (for example, continious use of mustard gas could lead to sanctions, lowering the amount of money one could make from mining), but that quickly moves into the quest-section of the game, which I don't want to alter at this point.


Re: New feature: Campaign History[message #329508] Fri, 03 January 2014 19:02 Go to previous messageGo to next message
Taro_M

 
Messages:298
Registered:November 2008
I understand, it just came to my head. However reports about chemical warfare, civilian casualties, PoW and such would be a nice addition.
Re: New feature: Campaign History[message #329638] Wed, 08 January 2014 13:32 Go to previous messageGo to next message
fallschirmjager

 
Messages:42
Registered:June 2005
Location: Darwin, Australia

If you for example so an increase in terror tactics by the Queen or hell, even by Mercenary/Insurgent/Terrorists depending on who was doing the reporting, embargoes could occur.

And with the country as it is, I reckon the local News Networks would be heavily censored and surveyed by the Queen.

For shits and gigs it would be cool to see the battle reports spoken in a light positive to the Army and Imperial Guard initially with the Mercenaries bastardized.

Hell, maybe even be able to capture News outlets leading to increased support from towns already liberated and start raising support in other towns. Have a major network within Meduna with smaller pro-Government centres within Alma with smaller, somewhat independent but still monitored networks within other towns capable of being liberated.

Then battles could have two completely reports. The pro-Government spin and the pro-Insurgency spin.

Apologies if the names are incorrect, I've been playing so much Urban Chaos I can't recall the original map too well.


Sorry, part of my job is to read a lot of news reporting and I always love seeing two different sides to the same conflict.
Re: New feature: Campaign History[message #329773] Tue, 14 January 2014 23:59 Go to previous messageGo to next message
Jakub

 
Messages:35
Registered:January 2014
Hello ! You should ad truce & Chase fire options in game . Also add siege mode for Diedrana squads esspecially in Drassen ... So you adds also reporters NPC too ??
Re: New feature: Campaign History[message #332171] Sun, 04 May 2014 12:37 Go to previous messageGo to next message
vota dc

 
Messages:52
Registered:August 2006
While battle report works very well, news section says "under costruction". There are still some news when you capture city but are labeled as battle report.
Re: New feature: Campaign History[message #335364] Mon, 01 September 2014 23:38 Go to previous messageGo to next message
Flugente

 
Messages:3052
Registered:April 2009
Location: Germany
Nowadays we have everything. Check it out! International arms dealers delivering under a day. Mercenaries of every flavour. We got tanks, helicopters, RPGs, we got thermal sighting! We got mortars, we got knives, sharp sticks...

Hmm. What don't we have?

Style! A military outfit needs badass names, dammit!

Here we go:

http://www.ja-galaxy-forum.com/gallery/80/full/447.png

As of r7464, campaign stats battle reports now have (somewhat) inspiring operation names. Nothing is as badass as Operation Its best To avoid our Newborn was!
And remmeber Operation Sexually Ambigious Grandma? That was a close one!


Re: New feature: Campaign History[message #335365] Tue, 02 September 2014 00:19 Go to previous messageGo to next message
Nasenbaer

 
Messages:36
Registered:July 2013
Location: Germany
hehe, cool.
Re: New feature: Campaign History[message #342079 is a reply to message #335365] Thu, 13 August 2015 22:50 Go to previous messageGo to next message
88vs1984

 
Messages:7
Registered:August 2015
Location: Belarus
Flugente, have you finished the news page? In my game rev.7609 I can see only the text -- PAGE UNDER CONSTRUCTION ---. Should it be so?
Re: New feature: Campaign History[message #342080 is a reply to message #335365] Thu, 13 August 2015 22:52 Go to previous messageGo to next message
88vs1984

 
Messages:7
Registered:August 2015
Location: Belarus
Is this feature finished?

[Updated on: Fri, 14 August 2015 12:48]

Re: New feature: Campaign History[message #342081 is a reply to message #342080] Fri, 14 August 2015 13:33 Go to previous messageGo to next message
Flugente

 
Messages:3052
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).



Saren threw his head back and screamed in impotent fury, before falling to his throne, head in his claws, trembling in horrified disbelief.

Then he heard a faint chime as Sovereign subscribed to her ECHO channel.

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.


Re: New feature: Campaign History[message #342083 is a reply to message #342081] Fri, 14 August 2015 17:38 Go to previous message
88vs1984

 
Messages:7
Registered:August 2015
Location: Belarus
ok! thank you! )
Previous Topic: New Feature: Tactical recruitment
Next Topic: New feature: Externalised Merchants
Goto Forum:
  


Current Time: Sun Jul 23 13:33:41 EEST 2017

Total time taken to generate the page: 0.00878 seconds