not cannon, but
https://freeorion.fandom.com/wiki/Mini-Asteroid_Swarm
suggests there is no shield bonus for the Mini-Asteroid_Swarm hull
I cannot read the script file, but I have linked it here
https://github.com/freeorion/freeorion/ ... M.focs.txt
what is SHIP_SHIELD_FACTOR and does a Mini-Asteroid_Swarm Hull have a non zero value for it?
thank you
Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
Moderator: Oberlus
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
https://github.com/freeorion/freeorion/ ... macros#L31
It's defined by the ship weapon damage scaling rule, which defaults to 6.0.
The lowest allowed value for the rule is 0.1, so yes.does a Mini-Asteroid_Swarm Hull have a non zero value for it?
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
So what is the shield bonus of the Mini-Asteroid Swarm?
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
With current default values, it is 30 (base value of 5 multiplied by default value of SHIP_SHIELD_FACTOR that is 6).
https://github.com/freeorion/freeorion/ ... cs.txt#L43
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
When built it says 5 shields, and that seems to be right. so why is 30 wrong?Oberlus wrote: ↑Mon Oct 04, 2021 8:31 amWith current default values, it is 30 (base value of 5 multiplied by default value of SHIP_SHIELD_FACTOR that is 6).
https://github.com/freeorion/freeorion/ ... cs.txt#L43
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
I get +30 shields for a mini asteroid hull ship, as expected.
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
v0.4.10.2
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13603
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
The structure scaling rule defaults to 1.0 in v0.4.10.x and 6.0 in the latest dev builds.
Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?
Note that the weapon balance stayed the same between 0.4.10.x and the dev builds - also weapons, structure,... were scaled accordingly. Main change is that the damage now spreads in four combat instead of three as before.Geoff the Medio wrote: ↑Sun Oct 10, 2021 8:47 pm The structure scaling rule defaults to 1.0 in v0.4.10.x and 6.0 in the latest dev builds.
Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.
Look, ma... four combat bouts!
Look, ma... four combat bouts!