Warning: Undefined array key "birthday" in phar://.../vb/vb.phar/api/notice.php on line 322
Freeciv Event Examples -
Apolyton Civilization Site
The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
Originally posted by demipomme
I can't find the tutorial.sav in the freeciv I downloaded and can't get these events to work. Can someone point me in the right direction?
Which version did you download and for what operating system?
Freeciv 2.0.8 non-gtk for windoze. I've downloaded the tutorial.sav file from the web (just did a search), but the events stuff won't show up i.e. no messages. (Please bear in mind when answering that my computer ineptitude knows no bounds). Cheers!
The tutorial is included in the 2.1 beta (which supports events), try that one instead.
Skeptics should forego any thought of convincing the unconvinced that we hold the torch of truth illuminating the darkness. A more modest, realistic, and achievable goal is to encourage the idea that one may be mistaken. Doubt is humbling and constructive; it leads to rational thought in weighing alternatives and fully reexamining options, and it opens unlimited vistas.
This package courtesy of Christian Prochaska, essentially a build of the latest dev version with editor capabilities. Just load a game, switch to observer and enter editor mode.
OK. I've tried 2.1 and played to tutorial and seen the pop-up messages etc. However if I edit the scripts.lua file in the default directory the game crashes. All I've tried to do is put in the "Hello World!" script from the events page (http://www.freeciv.org/index.php/Eve...ference_Manual). Suggestions?
function city_built_callback(city)
local owner = city.owner
local workers = find.unit_type('Workers')
create_unit(owner, city.tile, workers, 0, city, -1)
end
signal.connect('city_built', 'city_built_callback')
This should encourage the ai to do a little more terrain development!
Need to put in a tech check and an if statement to produce engineers for later in the game.
Ok, more good news. The Freeciv map collection is about to double. I've converted a number of realworld maps to the FC format. Most maps didn't list an author but where known I've included the name in the SAV description field.
I've only given a few maps a quick test so I if anyone would like to give it a try and report the bugs, be my guest.
[list=1][*] america.SAV [*]Canada.SAV [*]BRITISLS.SAV[*]ALASKA.SAV [*]ATLANTIC.SAV[*]AUSSIE.SAV [*]BARBADOS.SAV[*]BATIC.SAV [*]BOSNIA.SAV [*]BRASIL.SAV [*]BRAZIL.SAV [*]AFRICA3.SAV [*]Antartic.SAV[*]CARIBE.SAV [*]cmapgbr.SAV [*]EASTUSA.SAV [*]EURASIA.SAV [*]EUROAMER.SAV[*]euroatl.SAV [*]GERMANY2.SAV[*]GEUROPE.SAV [*]GR8LAKES.SAV[*]Greece.SAV [*]holland2.SAV[*]INDIA.SAV [*]IRELAND.SAV [*]ITALIA.SAV [*]JAPAN.SAV [*]MEDITERR.SAV[*]MIDEAST.SAV [*]NORTHPOL.SAV[*]samap.SAV [*]se-asia.SAV [*]usa.SAV
[/list=1]
Skeptics should forego any thought of convincing the unconvinced that we hold the torch of truth illuminating the darkness. A more modest, realistic, and achievable goal is to encourage the idea that one may be mistaken. Doubt is humbling and constructive; it leads to rational thought in weighing alternatives and fully reexamining options, and it opens unlimited vistas.
Originally posted by demipomme
Sweet. Got my first event to work:
function city_built_callback(city)
local owner = city.owner
local workers = find.unit_type('Workers')
create_unit(owner, city.tile, workers, 0, city, -1)
end
signal.connect('city_built', 'city_built_callback')
This should encourage the ai to do a little more terrain development!
Need to put in a tech check and an if statement to produce engineers for later in the game.
You need to include "-o" option, otherwise it doesn´t generate a new file, so for example:
civ2mp2fc world.map -o world.sav
Skeptics should forego any thought of convincing the unconvinced that we hold the torch of truth illuminating the darkness. A more modest, realistic, and achievable goal is to encourage the idea that one may be mistaken. Doubt is humbling and constructive; it leads to rational thought in weighing alternatives and fully reexamining options, and it opens unlimited vistas.
Please keep sharing your attempts, the more we learn about Lua and the FC event structure the better.
Skeptics should forego any thought of convincing the unconvinced that we hold the torch of truth illuminating the darkness. A more modest, realistic, and achievable goal is to encourage the idea that one may be mistaken. Doubt is humbling and constructive; it leads to rational thought in weighing alternatives and fully reexamining options, and it opens unlimited vistas.
Originally posted by CapTVK
Ok, more good news. The Freeciv map collection is about to double. I've converted a number of realworld maps to the FC format. Most maps didn't list an author but where known I've included the name in the SAV description field.
I've only given a few maps a quick test so I if anyone would like to give it a try and report the bugs, be my guest.
(snippet)
Reply and bug report in the "Freeciv map creation" tread!
Comment