This may seem an unrelated tangent, but bear with me.
In another thread, I've been toying with the happiness mechanic. It's also abundantl y clear I'm not a... "talented" lua programmer. I had to ask about how to reset the core .lua files because apparently I changed something in the core coin ...
Search found 147 matches
- Sat Aug 10, 2019 3:04 pm
- Forum: General Forum
- Topic: Human start with Ashdar Heavy Cruiser
- Replies: 16
- Views: 30643
- Fri Aug 09, 2019 11:55 pm
- Forum: General Forum
- Topic: Terraforming
- Replies: 48
- Views: 112320
Re: Terraforming
You can never make a waterless desert planet into a ocean or glacier world because it is lacking of the most important thing you need: Water!
Actually, there is evidence that several of the larger asteroids are more than 25% water ice.
Drag an asteroid close to the planet. Shot it to break it ...
Actually, there is evidence that several of the larger asteroids are more than 25% water ice.
Drag an asteroid close to the planet. Shot it to break it ...
- Fri Aug 09, 2019 2:14 am
- Forum: Modding
- Topic: Create [Artificial Planet] on Tiny & Small planets
- Replies: 11
- Views: 71977
Re: Create [Artificial Planet] on Tiny & Small planets
I'm sorry, but I'm having a bit of trouble with this. Where in the file should this be added?
- Mon Aug 05, 2019 11:45 pm
- Forum: Testing
- Topic: Report - Current Bugs and Issues
- Replies: 1845
- Views: 3970605
Re: Report - Current Bugs and Issues
That... makes a weird sort of sense. They are happy they are setting fire to the streets.sven wrote:akkamaddi wrote: "Unruly" races never become unhappy.

Thanks.
- Mon Aug 05, 2019 11:43 pm
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Re: Experimenting with happiness
You'll end up losing the first "phidi=" section. But you're building a nested set of tables here, so the following should work:
{
phidi={farms=5,markets=5}
}
So, I did figure it out, but I did not know about that notation.
My solution was:
phidi={market=5},
phidiFarms={farms=5},
phidiMines ...
{
phidi={farms=5,markets=5}
}
So, I did figure it out, but I did not know about that notation.
My solution was:
phidi={market=5},
phidiFarms={farms=5},
phidiMines ...
- Mon Aug 05, 2019 4:12 am
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Now with a post!
This has not been heavily play tested, but everything should work. Sorry it's a MediaFire link.
LINK REMOVED (It now has it's own mod post, with a few updates)
There are only two lua files here, and not graphics.
To install this, while the game is closed, copy the two folders in the ZIP file ...
LINK REMOVED (It now has it's own mod post, with a few updates)
There are only two lua files here, and not graphics.
To install this, while the game is closed, copy the two folders in the ZIP file ...
- Sun Aug 04, 2019 4:23 pm
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Re: Experimenting with happiness
Haha, yes, I really wish Lua had some good old C-style curly braces because all those "end" drive me mad.
I use Notepad++ for my editing, and the nesting only goes so many layers. I've also found that having certain characters immediately after a function/end (specifically following the "end") is ...
I use Notepad++ for my editing, and the nesting only goes so many layers. I've also found that having certain characters immediately after a function/end (specifically following the "end") is ...
- Sun Aug 04, 2019 4:16 pm
- Forum: Testing
- Topic: Report - Current Bugs and Issues
- Replies: 1845
- Views: 3970605
Re: Report - Current Bugs and Issues
Unless i am missing something, it looks like in the current release, there is no folder:
\Stars in Shadow\Lua state\Drawers\PopIcons\normal\scavenger_unhappy
Based on my modding experience, this would make the game crash if you go to their home world while they are rebelling.
I know the quick fix ...
\Stars in Shadow\Lua state\Drawers\PopIcons\normal\scavenger_unhappy
Based on my modding experience, this would make the game crash if you go to their home world while they are rebelling.
I know the quick fix ...
- Sun Aug 04, 2019 1:57 pm
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Re: Experimenting with happiness
Hello,
I actually had the same idea with the Gremak. Unfortunately, I have a little background in Java but am figuring out Lua as I clumsily stop through it. But, yes, I completely agree that Gremak should get a happiness bonus with from having slaves on the planet. There is a little more I want to ...
I actually had the same idea with the Gremak. Unfortunately, I have a little background in Java but am figuring out Lua as I clumsily stop through it. But, yes, I completely agree that Gremak should get a happiness bonus with from having slaves on the planet. There is a little more I want to ...
- Sun Aug 04, 2019 1:55 am
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Re: Experimenting with happiness
So, today has involved learning. :ugeek:
The happiness changes I've made has been this:
City planning gives refugees +20 happiness, but regular human colonists only +10 happiness (with the note "We will build a new homeworld for our children...".)
Spice Mongers get +2 morale modifier from ...
The happiness changes I've made has been this:
City planning gives refugees +20 happiness, but regular human colonists only +10 happiness (with the note "We will build a new homeworld for our children...".)
Spice Mongers get +2 morale modifier from ...
- Sun Aug 04, 2019 12:38 am
- Forum: General Forum
- Topic: Beam, Mass and Missiles
- Replies: 13
- Views: 37592
Re: Beam, Mass and Missiles
*Maybe i repeat me, but why the hell there is no manual?!
At the main game screen, on the right in the "News Updates" section, you will see a link to the manual. (It may better to make it in larger text.)
The link goes to the PDF manual online, but I think there is also a copy of the PDF in the ...
At the main game screen, on the right in the "News Updates" section, you will see a link to the manual. (It may better to make it in larger text.)
The link goes to the PDF manual online, but I think there is also a copy of the PDF in the ...
- Sat Aug 03, 2019 10:52 pm
- Forum: Testing
- Topic: Testing Economic Balance Changes
- Replies: 268
- Views: 1633145
Re: Testing Economic Balance Changes
Was a huge difference between starting in the middle of the map during my prior game versus on the edge of the map. Perhaps starting in the middle of the map should be its own checkbox option?
I was playing a 4X game yesterday that lets you do just that, and I *think* it is an option in two other ...
I was playing a 4X game yesterday that lets you do just that, and I *think* it is an option in two other ...
- Sat Aug 03, 2019 10:46 pm
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Re: Experimenting with happiness
EDIT: I think I got it, go to the end.
OK, I could use a bit of help, if possible.
I've expanded the planet issues for labs, so that it accounts for both Orthin liking labs, and Scavengers being afraid of them. That works fine.
I've added an event, using copy and paste, so that both Lummox and ...
OK, I could use a bit of help, if possible.
I've expanded the planet issues for labs, so that it accounts for both Orthin liking labs, and Scavengers being afraid of them. That works fine.
I've added an event, using copy and paste, so that both Lummox and ...
- Sat Aug 03, 2019 6:56 pm
- Forum: Modding
- Topic: Experimenting with happiness
- Replies: 9
- Views: 18579
Experimenting with happiness
I'm experimenting with making some minor changes to happiness modifiers, and I was wondering if there would be any interest in this. I've actually started to make some changes.
Currently, Phidi get +5 additional happiness per Market, and Orthin get +5 happiness per
Markets: (And if there is a way ...
Currently, Phidi get +5 additional happiness per Market, and Orthin get +5 happiness per
Markets: (And if there is a way ...
- Sat Aug 03, 2019 5:33 pm
- Forum: General Forum
- Topic: Planet liberation
- Replies: 5
- Views: 12257
Re: Planet liberation
Shastar, I'm going through the RaceIssues lua file now. Ignoring the obvious things like riots on the planet, dropping bombs, etc.:
Planet Activity - City Planning:
Humans and Refugees (and I think only humans are refugees at this point) get +20 happiness if the planet activity is city planning ...
Planet Activity - City Planning:
Humans and Refugees (and I think only humans are refugees at this point) get +20 happiness if the planet activity is city planning ...