Freeciv
No edit summary
No edit summary
 
Line 27: Line 27:
   
 
The tech section names should be of form [advance_...]. You have added you new sections by name [alex_...] [[User:Cazfi|Cazfi]] ([[User talk:Cazfi|talk]]) 08:14, June 27, 2019 (UTC)
 
The tech section names should be of form [advance_...]. You have added you new sections by name [alex_...] [[User:Cazfi|Cazfi]] ([[User talk:Cazfi|talk]]) 08:14, June 27, 2019 (UTC)
  +
  +
  +
  +
OK, that fixed the problem. Thanks a lot.

Latest revision as of 00:57, 30 June 2019

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


The tech section names should be of form [advance_...]. You have added you new sections by name [alex_...] Cazfi (talk) 08:14, June 27, 2019 (UTC)


OK, that fixed the problem. Thanks a lot.