aliens

Author Topic: [Documentation] Custom mission and monthly ratings  (Read 14460 times)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
[Documentation] Custom mission and monthly ratings
« on: April 02, 2016, 05:33:48 pm »
For all your conversion needs:
(download will be available soon)

Code: [Select]
missionRatings:
  2000: STR_HOLYSHIT
  1000: STR_EXCELLENT
  500: STR_GOOD
  200: STR_OK
  0: STR_POOR
  -200: STR_BAD
  -500: STR_WORSE
  -1000: STR_TERRIBLE
  -2000: STR_HORRIBLE
  -1000000: STR_PATHETIC
monthlyRatings:
  10000: STR_MERIDIAN
  5000: STR_AWESOME
  2000: STR_BRILLIANT
  1000: STR_EXCELLENT
  500: STR_GOOD
  0: STR_OK
  -1000: STR_BAD
  -1000000: STR_JOKE

Offline eanmanley

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Custom mission and monthly ratings
« Reply #1 on: April 05, 2016, 07:34:40 pm »
Hi! I'm new, so sorry for the probably stupid question. I downloaded the modded executable, but I can't figure out how to enable this. Also, my goal was to try to get rid of the military strike for bad performance, basically removing the lose condition. Am I barking up the wrong tree?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Custom mission and monthly ratings
« Reply #2 on: April 05, 2016, 08:30:24 pm »
Under mods menu, change X-Com/TFTD game type to X-Piratez.
Also you don't get a strike for bad performance. You only get it for running out of $$$. And removing it is not an option.

Offline eanmanley

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Custom mission and monthly ratings
« Reply #3 on: April 05, 2016, 08:37:08 pm »
Ohhhhh. That is actually super helpful. I can work with that. Thanks!

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Custom mission and monthly ratings
« Reply #4 on: April 05, 2016, 11:15:42 pm »
Under mods menu, change X-Com/TFTD game type to X-Piratez.
Also you don't get a strike for bad performance. You only get it for running out of $$$. And removing it is not an option.

I am not aware of option to remove strike for bad performance.
You still lose the game if you perform badly for two consecutive months.

If you're interested I can make that optional...

Offline eanmanley

  • Squaddie
  • *
  • Posts: 3
    • View Profile
Re: Custom mission and monthly ratings
« Reply #5 on: April 05, 2016, 11:18:32 pm »
That would be cool, but probably put it near the bottom of the to-do list :P

Offline BetaSpectre

  • Colonel
  • ****
  • Posts: 128
    • View Profile
Re: Custom mission and monthly ratings
« Reply #6 on: April 06, 2016, 02:50:34 pm »
I would really like it if I could remove the strike, but now since I can edit the values...

Offline Intikhab

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Re: Custom mission and monthly ratings
« Reply #7 on: April 08, 2016, 12:59:20 am »
I am not aware of option to remove strike for bad performance.
You still lose the game if you perform badly for two consecutive months.

If you're interested I can make that optional...

I would certainly love the option to get rid of the strike, cause when gov think we are not dangerous than they should not come looking for us unless we attack government ships. And also the option to get funding back when we become more dangerous score wise that is. Thus if we can live on selling things we can make to meet expenses, we should be considered pirates who trade by day and fight by well any time we want :P . Thus the lose condition becomes that we run out of money for 2-3 months or  attack government ships and when they feel threatened by our attacking their ships they bombard strike us as usual but only with negative score because they think they can take us out if large positive score they are scared of us to attack us.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Custom mission and monthly ratings
« Reply #8 on: April 08, 2016, 01:12:45 am »
Sounds reasonable, score condition should be switchable. I'd also remove the money lose condition, but that'd need engine change: if you're above your maintenance by 23.55 of the last day of the month, the game should stop, take you to the basescape, and force you to sell stuff until you have enough $$$ to cover your maintenance cost. If you can't (highly unlikely), then the only option out is the 'resign' button.

Offline Boltgun

  • Colonel
  • ****
  • Posts: 252
  • [UTTERANCES]
    • View Profile
    • Piratez let's play
Re: Custom mission and monthly ratings
« Reply #9 on: April 08, 2016, 11:11:12 am »
Bad performance should generate a govt retaliation mission on a random base, preferably one that never shot down anything.

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Custom mission and monthly ratings
« Reply #10 on: April 08, 2016, 11:39:49 am »
Sounds reasonable, score condition should be switchable.

Next version.

I'd also remove the money lose condition, but that'd need engine change: if you're above your maintenance by 23.55 of the last day of the month, the game should stop, take you to the basescape, and force you to sell stuff until you have enough $$$ to cover your maintenance cost. If you can't (highly unlikely), then the only option out is the 'resign' button.

With a single base that would be quite easy (could work similar to storage limits).
However, the user should be able to sell from all their bases, which makes it more complicated (GUI/usability-wise).

The alert is a good idea though, I will add a user option (by default turned off since people don't like popups, right?) to warn you about going into minus next month... one day before end of the month.

In the meantime, we can think how the "forced sale" could work so that it is intuitive enough.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5412
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Custom mission and monthly ratings
« Reply #11 on: April 08, 2016, 04:47:23 pm »
Popup going up at nauseam until you manage to get your maint payable + instant game over if you somehow don't :)

Offline Intikhab

  • Squaddie
  • *
  • Posts: 8
    • View Profile
Re: Custom mission and monthly ratings
« Reply #12 on: April 09, 2016, 02:17:18 am »
Well could bases be made to jump on selling screen so we sell from our choice of base?

Offline Arthanor

  • Commander
  • *****
  • Posts: 2488
  • XCom Armoury Quartermaster
    • View Profile
Re: Custom mission and monthly ratings
« Reply #13 on: April 09, 2016, 10:51:06 pm »
In the meantime, we can think how the "forced sale" could work so that it is intuitive enough.

Can't you just get a popup at 23:59:55 that says: "Loan sharks be on da prowl for us, capt'n! We be owing them YY$$!! If we don't pay da bills, we'll be walkin' da plank and they'll take off with the ships and all the loot!"

Then 2 buttons: Go to base (then you can hopefully sell enough stuff) or resign. After going back to geoscape from basescape, or hitting resign, the 5 seconds increment, you get the report and it's game over (or not if you managed to sell enough stuff).

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8597
    • View Profile
Re: Custom mission and monthly ratings
« Reply #14 on: April 12, 2016, 09:45:43 pm »
So far, just a friendly warning on the last day of the month...

STR_ECONOMY_WARNING: "The funds ({0}) and income ({1}) are low and the maintenance ({2}) too high! Sell something to avoid penalty... recommended value of sales: {3}."
« Last Edit: April 12, 2016, 10:22:18 pm by Meridian »