Ground Guardians for specials

Creation, discussion, and balancing of game content such as techs, buildings, ship parts.

Moderators: Oberlus, Committer

Post Reply
Message
Author
User avatar
Sloth
Content Scripter
Posts: 685
Joined: Sat Mar 17, 2007 12:28 am

Ground Guardians for specials

#1 Post by Sloth »

This is an idea i had a long time ago, but never really followed (maybe this has already been suggested before?):

Instead of creating a Sentry or Maintenance Ship in the system, specials could create ground guardians protecting the planet. This results in fewer roadblocks early in the game, while still letting the specials come at a "cost". They could also be used when monsters are set to "None".

I managed to script this with a native species called "Ancient Guardians" that generates lots of shields (500) and ground troops (10 per pop) and self-destructs once conquered. They do leave behind an Outpost of the empire that conquered them, which is quite convenient.

What do you think of the general idea and/or the suggested implementation?
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.

dbenage-cx
Programmer
Posts: 389
Joined: Sun Feb 14, 2016 12:08 am

Re: Ground Guardians for specials

#2 Post by dbenage-cx »

Really like the general idea. Might be an issue with the AI seeing this as a higher value target (viewed as capturing a colony, instead of a costly outpost).

User avatar
Sloth
Content Scripter
Posts: 685
Joined: Sat Mar 17, 2007 12:28 am

Re: Ground Guardians for specials

#3 Post by Sloth »

dbenage-cx wrote:Really like the general idea. Might be an issue with the AI seeing this as a higher value target (viewed as capturing a colony, instead of a costly outpost).
They do get an outpost on a planet with a good special. That's better than conquering a Raagh planet.
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Ground Guardians for specials

#4 Post by Vezzra »

Very good idea, I like it :D

Morlic
AI Contributor
Posts: 296
Joined: Tue Feb 17, 2015 11:54 am

Re: Ground Guardians for specials

#5 Post by Morlic »

I like the idea but unless someone else is willing to do the AI work, I do not want to see it in the upcoming release yet.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

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

Re: Ground Guardians for specials

#6 Post by Geoff the Medio »

On can add ground troops to planets that don't have any population / species on them, so I wouldn't make it depend on population of the planet, but rather just be a large fixed increase to ground troops (+150 or so, depending on the value of what's being protected)

User avatar
Vezzra
Release Manager, Design
Posts: 6095
Joined: Wed Nov 16, 2011 12:56 pm
Location: Sol III

Re: Ground Guardians for specials

#7 Post by Vezzra »

Geoff the Medio wrote:On can add ground troops to planets that don't have any population / species on them
Does the invasion mechanic implementation support invading empty (non-colony/outpost) planets? If yes, and I can drop troops onto such a planet, what will that planet turn into on successful invasion? An outpost? I wonder if that case is really taken into account in the backend code, so that might produce unpredictable results...

User avatar
Sloth
Content Scripter
Posts: 685
Joined: Sat Mar 17, 2007 12:28 am

Re: Ground Guardians for specials

#8 Post by Sloth »

Vezzra wrote:
Geoff the Medio wrote:On can add ground troops to planets that don't have any population / species on them
Does the invasion mechanic implementation support invading empty (non-colony/outpost) planets? If yes, and I can drop troops onto such a planet, what will that planet turn into on successful invasion? An outpost? I wonder if that case is really taken into account in the backend code, so that might produce unpredictable results...
Sounds interesting. I will tinker around with that.

EDIT: First problem has already emerged: Unowned planets without species aren't attacked by combat ships. So i can't reduce the shields. :(
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.

User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: Ground Guardians for specials

#9 Post by MatGB »

Vezzra wrote:
Geoff the Medio wrote:On can add ground troops to planets that don't have any population / species on them
Does the invasion mechanic implementation support invading empty (non-colony/outpost) planets? If yes, and I can drop troops onto such a planet, what will that planet turn into on successful invasion? An outpost? I wonder if that case is really taken into account in the backend code, so that might produce unpredictable results...
It didn't when we were testing various ideas for the Fortress, AFAIK it hasn't changed since then.
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

User avatar
Sloth
Content Scripter
Posts: 685
Joined: Sat Mar 17, 2007 12:28 am

Re: Ground Guardians for specials

#10 Post by Sloth »

MatGB wrote:It didn't when we were testing various ideas for the Fortress, AFAIK it hasn't changed since then.
I remember that.

I went ahead and created a PR with the species version, which worked fine: https://github.com/freeorion/freeorion/pull/837

Now the chances are 42% Sentry, 28% Ground Guardians and 30% nothing.
Before it was 60% Sentry, 40% nothing.
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.

dbenage-cx
Programmer
Posts: 389
Joined: Sun Feb 14, 2016 12:08 am

Re: Ground Guardians for specials

#11 Post by dbenage-cx »

Should these be excluded from affecting Xenophobic species?

User avatar
MatGB
Creative Contributor
Posts: 3310
Joined: Fri Jun 28, 2013 11:45 pm

Re: Ground Guardians for specials

#12 Post by MatGB »

dbenage-cx wrote:Should these be excluded from affecting Xenophobic species?
Good question: to be honest, didn't even occur to me and it should have/

Eaxaw won't really be, their malus is entirely 'people in their empire', but there will be some weird display glitches on the conquest turn.

Trith, on the other hand, will get SO!MUCH!PAIN from all the guardian robots scuttling around near their homeworld. Given that self sustaining is quite a significant boost in the early game, so much so it makes them slightly unbalanced/powerful at the moment, I don't see it as a major problem, but it could be easily scripted the other way. Opinions?
Mat Bowles

Any code or patches in anything posted here is released under the CC and GPL licences in use for the FO project.

Post Reply