Search found 472 matches

by Lachu
Tue Oct 03, 2017 8:40 am
Forum: Rulesets and modpacks
Topic: 2.6 plans and installing (was More diverse governments)
Replies: 15
Views: 10570

Re: 2.6 plans and installing (was More diverse governments)

I will start preparing flatpak version, when 2.6r was released.
by Lachu
Tue Oct 03, 2017 8:37 am
Forum: Contribution
Topic: What is holding you from contributing to freeciv?
Replies: 14
Views: 12738

Re: What is holding you from contributing to freeciv?

1. No skills in writing good looking code or with keep code clean 2. Small English skills 3. No knowledge with Freeciv internals, like iterators, specenum, bitvector, etc. In my opinion, there's should exist people with small C knowledge, which could edit code to make it looks better. Maybe I will h...
by Lachu
Fri Sep 15, 2017 5:11 pm
Forum: Rulesets and modpacks
Topic: 2.6 plans and installing (was More diverse governments)
Replies: 15
Views: 10570

Re: 2.6 plans and installing

I've properly created flatpak package of Progress game, so maybe it's good idea to create flatpak package of Freeciv-2.6?
by Lachu
Wed Sep 13, 2017 7:29 pm
Forum: Rulesets and modpacks
Topic: More diverse governments: social engineering Alpha Centauri style
Replies: 9
Views: 6299

Re: More diverse governments: social engineering Alpha Centauri style

You can use binary policies, where policies have only two or three values (for example -1, 0 and 1).
by Lachu
Tue Aug 15, 2017 7:28 am
Forum: General discussion
Topic: Postęp game
Replies: 90
Views: 87143

Re: Postęp game

I introduced diplomacy points. Diplomacy points are used, when accepting diplomacy tready. Each clausule will costs some points for both side. Only Palace provides diplomacy points (10 points). I also introduces culture type. Diplomacy costs will be increased by difference of each culture type of tw...
by Lachu
Wed Aug 02, 2017 9:28 am
Forum: Rulesets and modpacks
Topic: [Requirement Vector] Another unit on the same tile
Replies: 0
Views: 2876

[Requirement Vector] Another unit on the same tile

I wish to add possibility of checking scout unit are on the same tile to add move point bonus to units. It will be realistic. It there a way to handle this?

Maybe I will add check unit go to known terrain check in future.
by Lachu
Thu Jul 27, 2017 6:26 pm
Forum: General discussion
Topic: Postęp game
Replies: 90
Views: 87143

Re: Postęp game

I have done some changes in requirement vector handling. By now two new range are introduced: lua_event and OBJ(x), where X is a name of object given in type of lua_event requirement. Example could be very simple: reqs = { "type", "value", "range: "city_built(X)", ...
by Lachu
Mon Jul 24, 2017 5:19 pm
Forum: Tech support
Topic: [Scripting][Lua] Checking custom type of variable.
Replies: 2
Views: 3093

Re: [Scripting][Lua] Checking custom type of variable.

Ok. I found solution for my problem, but never problem occurs. How to add a new universal(type in requirement list)?
by Lachu
Mon Jul 24, 2017 9:09 am
Forum: Tech support
Topic: [Scripting][Lua] Checking custom type of variable.
Replies: 2
Views: 3093

[Scripting][Lua] Checking custom type of variable.

Is there possibility to check type of lua variable in lua or C code? Type in this case means City, Tech, Player, etc.
by Lachu
Sun Jul 23, 2017 5:24 pm
Forum: General discussion
Topic: Postęp game
Replies: 90
Views: 87143

Re: Postęp game

I have done problem described in previous post.

I now must asks: how to translate lua type onto type, which can be understood by requirements system? That's biggest problem I now have.