FreeOrion

Forums for the FreeOrion project
It is currently Wed Dec 13, 2017 5:16 am

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Wed Aug 03, 2016 1:55 pm 
Offline
Content Scripter
User avatar

Joined: Sat Mar 17, 2007 12:28 am
Posts: 685
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.


Top
 Profile  
 
PostPosted: Wed Aug 03, 2016 3:07 pm 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 359
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).


Top
 Profile  
 
PostPosted: Wed Aug 03, 2016 5:26 pm 
Offline
Content Scripter
User avatar

Joined: Sat Mar 17, 2007 12:28 am
Posts: 685
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.


Top
 Profile  
 
PostPosted: Wed Aug 03, 2016 5:46 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4288
Location: Sol III
Very good idea, I like it :D


Top
 Profile  
 
PostPosted: Wed Aug 03, 2016 6:19 pm 
Offline
AI Contributor

Joined: Tue Feb 17, 2015 11:54 am
Posts: 224
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


Top
 Profile  
 
PostPosted: Thu Aug 04, 2016 8:22 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12041
Location: Munich
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)


Top
 Profile  
 
PostPosted: Thu Aug 04, 2016 8:28 am 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4288
Location: Sol III
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...


Top
 Profile  
 
PostPosted: Thu Aug 04, 2016 9:05 am 
Offline
Content Scripter
User avatar

Joined: Sat Mar 17, 2007 12:28 am
Posts: 685
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.


Top
 Profile  
 
PostPosted: Thu Aug 04, 2016 3:05 pm 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3291
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.


Top
 Profile  
 
PostPosted: Fri Aug 05, 2016 9:23 am 
Offline
Content Scripter
User avatar

Joined: Sat Mar 17, 2007 12:28 am
Posts: 685
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.


Top
 Profile  
 
PostPosted: Sat Oct 29, 2016 4:43 am 
Offline
Programmer

Joined: Sun Feb 14, 2016 12:08 am
Posts: 359
Should these be excluded from affecting Xenophobic species?


Top
 Profile  
 
PostPosted: Sun Oct 30, 2016 12:17 am 
Offline
Creative Contributor
User avatar

Joined: Fri Jun 28, 2013 11:45 pm
Posts: 3291
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group