Author Topic: [WIP] [Suggestion] Solar's wishlist  (Read 52393 times)

Offline Arthanor

  • Commander
  • *****
  • Posts: 2560
  • XCom Armoury Quartermaster
    • View Profile
Re: Solar's wishlist
« Reply #15 on: August 12, 2016, 06:57:53 pm »
I'm not sure you're looking for input from "randoms", so if that pollutes the thread, feel free to remove.

Re: sick bay
The interface allowing to select wounded soldiers is best and a neat goal. Otherwise the same one tile space that can only support ~40 people living suddenly becomes able to heal 200. Although I guess maybe they go back to sleep on their own bunks after treatment.. The simple way works too with that argument, but it removes any need to have more than one of the best facility (unless they stack but that'd be insane).

The easiest implementation would be to make the facility heal 0-X sick days per day and allowing non-integer number of sick days. Pick the best sick bay on site to determine X, as stacking there can be a justification for them stacking.

Is there a way to make facilities require items to be built? Would be neat to have surgery rooms that require surgery tools, cloning bays that require cloning tech, etc. And eventually cloning allows you to bring back dead soldiers, which is not all that unbalancing anymore given how good trained rookies can become with the gym.

Re: Power plant
I hope not, I thought the electricity bill was included in maintenance!

Re: Forbid
Can you set "maxFacility" to zero, for mutually exclusive facilities? Like Altar of Hell preventing Shrine of Heaven, otherwise there would be a civil war on the base. That property would have to count as soon as the building is under construction of course.

Offline Yankes

  • Moderator
  • Commander
  • ***
  • Posts: 2142
    • View Profile
Re: Solar's wishlist
« Reply #16 on: August 12, 2016, 07:21:59 pm »
The "forbids" function is fundamentally flawed and simply doesn't work for anything else than making singletons from certain facilities. All other (potential) use cases can be workedaround by the player. I have illustrated this on examples in other thread.

The limit I want to do is a much simpler concept and already allows more... for example allowing max 3 buildings per base (e.g. max three sick bays). And by setting it to one, it encompasses all functionality the "forbids" function can realistically give you.
Right now `forbidenBaseFunc` prevent building other buildings that give you listed functionalities. If you have already this functionality in base you cant build that building in first place. How could be this workaround? Only way to have some forbidden functionality is that building that prevent it, itself provide it. This mean it could be only one.

If you could break this I would like to know how you did that.


Offline Surrealistik

  • Colonel
  • ****
  • Posts: 456
    • View Profile
Re: Solar's wishlist
« Reply #17 on: August 12, 2016, 08:12:12 pm »
I would add customizable smoke to the list, allowing you to set the damage, damage type, decay rate and 'density' of generated smoke, in addition to the amount, allowing for poison gas grenades to actually create poison gas and the like.

Also I would expand the vision type request to include customizable invisibility (you can set which vision types, if any, a unit can be seen by), as well as vision type being modifiable via items/armour the latest model of the Ayephone might include Psi-o-vision for example in order to detect those annoying Ethereals.

Online robin

  • Commander
  • *****
  • Posts: 1002
  • ULTIMATE ROOKIE
    • View Profile
Re: Solar's wishlist
« Reply #18 on: August 12, 2016, 09:00:17 pm »
i confess i lost track of things a bit, so forgive me for the stupid question: are these features going to be integrated into OXC extended?

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #19 on: August 12, 2016, 09:07:57 pm »
i confess i lost track of things a bit, so forgive me for the stupid question: are these features going to be integrated into OXC extended?

Some (mostly not GUI related) changes will be backported to OXCE... the rest will stay in OXCE+.

Is there any specific reason why you would prefer OXCE over OXCE+ ? If something is bothering you, I can make it optional :)

Online robin

  • Commander
  • *****
  • Posts: 1002
  • ULTIMATE ROOKIE
    • View Profile
Re: Solar's wishlist
« Reply #20 on: August 12, 2016, 09:29:35 pm »
Some (mostly not GUI related) changes will be backported to OXCE... the rest will stay in OXCE+.

Is there any specific reason why you would prefer OXCE over OXCE+ ? If something is bothering you, I can make it optional :)
I see, thanks.
I'm on vanilla OXC, I'm largely ignorant about OXCE--OXCE+. I just wanted to understand a little the situation, because I've been "lost in pixelation" for months and I was wondering if it made sense to make a comment (on the wishlist) or not.

Offline Solarius Scorch

  • Global Moderator
  • Commander
  • *****
  • Posts: 8842
  • WE MUST DISSENT
    • View Profile
    • Nocturmal Productions modding studio website
Re: Solar's wishlist
« Reply #21 on: August 13, 2016, 10:59:44 am »
I see, thanks.
I'm on vanilla OXC, I'm largely ignorant about OXCE--OXCE+. I just wanted to understand a little the situation, because I've been "lost in pixelation" for months and I was wondering if it made sense to make a comment (on the wishlist) or not.

The OXCE+ is to OXCE like OXCE is to the vanilla OXC. the difference is that Meridian and Yankes are cooperating and sharing work.
Yankes is keeping OXCE slimmer on purpose, since many features in OXCE+ are, among other things, dependant on strings or additional resources, and OXCE is supposed to be code only.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5222
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Solar's wishlist
« Reply #22 on: August 13, 2016, 11:24:57 am »
the difference is that Meridian and Yankes are cooperating and sharing work.

Cooperation yay!

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #23 on: August 13, 2016, 12:00:37 pm »
Sick Bay is almost ready.

There are two places, where it will not work 100%.

1. in the Commendations... since statistics and medals are calculated and awarded immediately after the mission, the recovery time used for those calculations will be as if there were no sick bays... since it is impossible to predict the future (i.e. how many days the recovery will really take... soldiers can be transferred, player can build more sick bays, etc.)

2. in the soldier Sorting by Wound recovery (combobox on 3 GUIs)... unlike previous case, this COULD be fixed... but it is rather ugly (codewise)... so I decided to sort by the recovery time without considering sick bays
- the sorting will be correct! with or without sick bays, more wounded soldier is still more wounded... unless I implement recovery by percentage of HP :) which I might...
- the dynamic stat column will show e.g. 100 (days resp. HP missing).... but WOUNDED>44 will be displayed as (correct) recovery time... this might be useful for the player to compare how big bonus are the sick bays providing.... and also for the modder to balance the sick bays to his/her pleasure

EDIT: maybe just "WOUND RECOVERY" in the combobox can be renamed to "HP MISSING" and it will be 100% correct
« Last Edit: August 13, 2016, 12:11:31 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #24 on: August 13, 2016, 01:17:50 pm »
Code: [Select]
facilities:
  - type: STR_FIELD_HOSPITAL
    sickBayAbsoluteBonus: 0.75
    sickBayRelativeBonus: 0.0
  - type: STR_SURGERY_ROOM
    sickBayAbsoluteBonus: 0.25
    sickBayRelativeBonus: 1.0
  - type: STR_REGENERATION_ROOM
    sickBayAbsoluteBonus: 0.0
    sickBayRelativeBonus: 10.0
  - type: STR_GOAULD_SARCOPHAGUS
    sickBayAbsoluteBonus: 90.0
    sickBayRelativeBonus: 0.0

With no facilities: 1 hp healed per day

With one field hospital: 1.75 hp per day

With one surgery room: 1.25 hp per day + 1% of soldier's max hp

With 2 field hospitals and 2 surgery rooms: 3 hp per day + 2% of soldier's max hp

With regeneration room: 10% of soldier's max hp... i.e. fully recovered in 10 days or less

With Goa'uld sarcophagus: 90 hp per day... i.e. fully healed overnight

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #25 on: August 13, 2016, 02:32:05 pm »
I like it, but good luck explaining such limits to the player... Well I mean, that's my job, and I dread it :)

Code: [Select]
  - type: STR_ALIEN_CONTAINMENT
    maxAllowedPerBase: 3

Translation:

Code: [Select]
      STR_CANNOT_BUILD_MORE_OF_THIS_FACILITY_TYPE_AT_BASE: "The maximum allowed number of facilities of this type in this base has been reached!"

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #26 on: August 13, 2016, 02:39:37 pm »
Great!

Wounded soldiers in Training facility are now also indicated by a dash in the last column... instead of Yes or No.

Code: [Select]
      STR_NO_WOUNDED: "-"

Offline Dioxine

  • Commander
  • *****
  • Posts: 5222
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Solar's wishlist
« Reply #27 on: August 14, 2016, 05:48:42 am »
In explaining, I meant on this forum, about WHY ONLY THREE??? ;)

Offline Meridian

  • Global Moderator
  • Commander
  • ***
  • Posts: 5479
  • Aaand we're back!
    • View Profile
    • My Wiki
Re: Solar's wishlist
« Reply #28 on: August 14, 2016, 09:10:12 am »
In explaining, I meant on this forum, about WHY ONLY THREE??? ;)

Sorry, what?

Offline Dioxine

  • Commander
  • *****
  • Posts: 5222
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: Solar's wishlist
« Reply #29 on: August 14, 2016, 09:40:15 am »
People are going to ask, why only a limited number of a given structure is allowed per base. Nvmd, I was just joking.