Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

Problems and solutions for installing or running FreeOrion, including discussion of bugs if needed before posting a bug report on GitHub. For problems building from source, post in Compile.

Moderator: Oberlus

Post Reply
Message
Author
n00b
Krill Swarm
Posts: 13
Joined: Thu Sep 23, 2021 2:57 pm

Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#1 Post by n00b »

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

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#2 Post by Geoff the Medio »

n00b wrote: Sun Oct 03, 2021 7:47 pmwhat is SHIP_SHIELD_FACTOR
https://github.com/freeorion/freeorion/ ... macros#L31

It's defined by the ship weapon damage scaling rule, which defaults to 6.0.
does a Mini-Asteroid_Swarm Hull have a non zero value for it?
The lowest allowed value for the rule is 0.1, so yes.

n00b
Krill Swarm
Posts: 13
Joined: Thu Sep 23, 2021 2:57 pm

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#3 Post by n00b »

So what is the shield bonus of the Mini-Asteroid Swarm?

User avatar
Oberlus
Cosmic Dragon
Posts: 5715
Joined: Mon Apr 10, 2017 4:25 pm

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#4 Post by Oberlus »

n00b wrote: Mon Oct 04, 2021 1:03 am So what is the shield bonus of the Mini-Asteroid Swarm?
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

n00b
Krill Swarm
Posts: 13
Joined: Thu Sep 23, 2021 2:57 pm

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#5 Post by n00b »

Oberlus wrote: Mon Oct 04, 2021 8:31 am
n00b wrote: Mon Oct 04, 2021 1:03 am So what is the shield bonus of the Mini-Asteroid Swarm?
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
When built it says 5 shields, and that seems to be right. so why is 30 wrong?

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#6 Post by Geoff the Medio »

I get +30 shields for a mini asteroid hull ship, as expected.
ship design in pedia and ship in fleets window with shields tooltip
ship design in pedia and ship in fleets window with shields tooltip
mini asteroid shields design and tooltip.png (308.25 KiB) Viewed 3865 times

n00b
Krill Swarm
Posts: 13
Joined: Thu Sep 23, 2021 2:57 pm

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#7 Post by n00b »

Screenshot from 2021-10-10 16-08-33.png
Screenshot from 2021-10-10 16-08-33.png (161.15 KiB) Viewed 3857 times
I don't
v0.4.10.2

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#8 Post by Geoff the Medio »

The structure scaling rule defaults to 1.0 in v0.4.10.x and 6.0 in the latest dev builds.

Ophiuchus
Programmer
Posts: 3433
Joined: Tue Sep 30, 2014 10:01 am
Location: Wall IV

Re: Pedia text: Does Mini-Asteroid Swarm have shield? But it doesn't?

#9 Post by Ophiuchus »

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.
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.
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!

Post Reply