Freeciv
Advertisement
Forums: Index > Help desk > Editing Techtree


Hi there,

I wanted to make my own techtree but got stuck right at the beginning:

I've copied the "classic" folder and renamed it to "alex". In there I've made the following changes to techs.ruleset:

[alex_tech_start]
name     = _("Alex Tech Start")
req1     = "None"
req2     = "None"
flags    = ""
graphic     = "a.advanced_flight"
graphic_alt = "-"
helptext = _("My first own tech")

[alex_tech2]
name     = _("Alex2")
req1     = "Alex Tech Start"
req2     = "Navigation"
flags    = ""
graphic     = "a.advanced_flight"
graphic_alt = "-"
helptext = _("A late tech")

[advance_advanced_flight]
name     = _("Advanced Flight")
req1     = "Radio"
;req2     = "Machine Tools"
req2     = "Alex2"
flags    = ""
graphic     = "a.advanced_flight"
graphic_alt = "-"

When I'm starting freeciv-server.exe and enter "rules alex" I get an error message.

"data\alex\techs.ruleset" Advanced Flight req2: couldn't match "Alex2".

So, what I'm doing wrong? / How do I define additional techs properly?

Additional question: Is it possible to have a tech depend on more than two techs?

By the way: I'm using Win7, Freeciv-2.6.0-gtk3

Gretings Alex

Advertisement