The following warnings occurred:
Warning [2] Undefined variable $awaitingusers - Line: 33 - File: global.php(779) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/global.php(779) : eval()'d code 33 errorHandler->error
/global.php 779 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 837 - File: global.php PHP 8.1.31 (Linux)
File Line Function
/global.php 837 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 4950 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 4950 errorHandler->error
/global.php 837 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1394 - File: inc/functions.php PHP 8.1.31 (Linux)
File Line Function
/inc/functions.php 1394 errorHandler->error
/inc/functions.php 1349 fetch_forum_permissions
/printthread.php 83 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/printthread.php 184 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error
Warning [2] Undefined variable $css_align - Line: 1147 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_parser.php 1147 errorHandler->error
/inc/class_parser.php 1174 postParser->mycode_parse_img
[PHP]   postParser->mycode_parse_img_callback2
/inc/class_parser.php 481 preg_replace_callback
/inc/class_parser.php 177 postParser->parse_mycode
/printthread.php 184 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 174 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 174 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 179 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 179 errorHandler->error



High Frontier Forums
Making progress on Project Tree - Printable Version

+- High Frontier Forums (http://highfrontier.com/forum)
+-- Forum: General (http://highfrontier.com/forum/forumdisplay.php?fid=1)
+--- Forum: Dev Log (http://highfrontier.com/forum/forumdisplay.php?fid=15)
+--- Thread: Making progress on Project Tree (/showthread.php?tid=104)



Making progress on Project Tree - JoeStrout - 11-04-2015

That's right, "Project Tree."  We're not calling it a tech tree because many of the nodes in it do not represent new technologies, but rather projects that must be done in order to open up capability.

For example, right now in the year 2015 we have the technology to put a station at L1, or even on the Moon... we just haven't done it yet.  That would be a project.

So anyway, we have created a new mod format for adding projects to the game, and we use this internally for all the standard mods.  It's a simple text file containing stuff like this:


Code:
{    shortName: FuelDepot
    displayName: Fuel Depot
}

{    shortName: NEARetrieval
    displayName: NEA Retrieval
    benefit: LowerCost
}

{    shortName: NukePower
    displayName: Nuclear Power
    benefit: NewPart
}

{    shortName: L1Station
    displayName: L1 Station
    benefit: NewOrbit
    prereqs: { FuelDepot }
}


All this data gets read by the game, and assembled into a project tree, which is then laid out in the UI.  Currently it looks like this:

[Image: Yksmm.jpg]

And soon you'll be able to click any node, read more detail about it, see what its dependencies are, and (if you have enough experience points, or XP) decide to do it.

I think this next version (0.20) is going to be one of our biggest updates ever... we're really excited about it!


RE: Making progress on Project Tree - JoeStrout - 11-09-2015

More progress...

[Image: I3JJj.jpg]


RE: Making progress on Project Tree - Specialist290 - 11-10-2015

Awesome Smile I'll be looking forward to seeing it in the next release.