Search found 421 matches

by Lachu
Wed Sep 16, 2020 6:34 pm
Forum: Wishlist
Topic: Unit controllable boundary growth
Replies: 6
Views: 262

Re: Unit controllable boundary growth

I have other solution about unhappiness. Simply don't add unhappiness if enemy unit is near of city in our territory, but add this if enemy unit is near city (even on territory belongs to player ally or owned by player).
by Lachu
Sat Aug 29, 2020 4:22 pm
Forum: General discussion
Topic: Postęp game
Replies: 90
Views: 34552

Re: Postęp game

If someone would speedup development, there is patreon page: https://www.patreon.com/easylinux?fan_landing=true

It's related to many of my projects, so points which you would support.
Currently I try to port progress to nim.
by Lachu
Fri Aug 07, 2020 11:59 am
Forum: Rulesets and modpacks
Topic: Civ5 Ruleset and New Community Graphics+Sounds
Replies: 21
Views: 4823

Re: Civ5 Ruleset and New Community Graphics+Sounds

Currently I have to restart my patches. First patch is probably ready, but I wait for response. I test it only in small part.
by Lachu
Sun Jun 21, 2020 7:28 pm
Forum: Contribution
Topic: Compilation problems.
Replies: 3
Views: 619

Re: Compilation problems.

I have an question. Where could I find autogen/configure documentation? When calling ./autogen.sh --help, it not display help. I will compile lua in different directory and copy object files.
by Lachu
Fri Jun 19, 2020 5:14 pm
Forum: Contribution
Topic: Compilation problems.
Replies: 3
Views: 619

Re: Compilation problems.

OpenSUSE Tumbleweed

liblua5_3-5 | The Lua integration library

Above one is installed.

libluajit-5_1-2 | Library for JIT Lua compiler

Above one too.

But I don't have header installed and it isn't available in setup repositories.
by Lachu
Thu Jun 18, 2020 2:19 pm
Forum: Contribution
Topic: Compilation problems.
Replies: 3
Views: 619

Compilation problems.

I use debug flag for autogen. It's not my error, because on master the same error occur. Is the a way to suppress this single error? Compile this file with different autogen options set and copy an object file? Maybe better approach? CC lstring.lo In function ‘createstrobj’, inlined from ‘luaS_creat...
by Lachu
Wed Apr 15, 2020 9:42 am
Forum: Rulesets and modpacks
Topic: Player lost.
Replies: 3
Views: 810

Player lost.

How do player lost effect (in effects.ruleset file)? I need this, because I will demonstrate how counters will work (not yet introduced mechanism) in modified ruleset. Ruleset will be called environmentalism and have player lost effect. Player win in they emit smallest amount of CO2 to atmosphere an...
by Lachu
Tue Apr 14, 2020 7:55 pm
Forum: Rulesets and modpacks
Topic: Civ5 Ruleset and New Community Graphics+Sounds
Replies: 21
Views: 4823

Re: Civ5 Ruleset and New Community Graphics+Sounds

Hi.
Counters feature is nearly done. I don't send everything. I made progress with allowing environment win, when co2 emitted is bigger than some value and player emotion is lower.
by Lachu
Sat Mar 28, 2020 3:32 pm
Forum: Contribution
Topic: Difference between phase and turn?
Replies: 4
Views: 1027

Re: Difference between phase and turn?

I thnik I understood now. Progress has mechanism to use lua signals as requirements of effect. It uses signals tables/linked list, put signal name with parameters once called and clear this list once new turn appear. But I think we need to count counter, when lua event being fired, not once effect a...
by Lachu
Sat Mar 28, 2020 9:32 am
Forum: Contribution
Topic: Difference between phase and turn?
Replies: 4
Views: 1027

Re: Difference between phase and turn?

Ignatus wrote:May we call counters recalculation by the same function that invokes the corresponding Lua callback?

I don't known exactly, what you mean. I think for AI better is do not use LUA, but I known nothing about programming AI, so I don't known making AI understand counters is doable.