UFO:Alien Invasion

Development => Newbie Coding => Topic started by: jerikojerk on July 28, 2011, 08:51:32 pm

Title: about documentation and techtree
Post by: jerikojerk on July 28, 2011, 08:51:32 pm
Hi

i'm enjoying the game but there is a something that really annoy me, it's the lack of a browsable techtree. I found one opendocument in the source that looks like very incomplete so i want to make something else, sexier. Idealy i'm wanting to have something like what someone did for warzone (http://guide.wz2100.net/r/tech-tree-linear).

I'm trying to read everything about the script (*.ufo), but i do not know if i will have write a parser from scratch (i'm a php boy) or if there is something already working that i can re-use.

so what could help me:
->if there are resources that are not at http://ufoai.ninex.info/wiki/index.php/Category:UFO-Scripts
->if the format used in the ufo script is well known, tells it to me cause i do not recognize it.

regards
Title: Re: about documentation and techtree
Post by: Mattn on July 28, 2011, 11:16:38 pm
i don't even know whether this tool still works - but you could give src/tools/ufo2dot.pl a try - this script will generate a graphviz file that you can tweak further
Title: Re: about documentation and techtree
Post by: jerikojerk on July 29, 2011, 12:28:25 am
thanks for your answer.

1/ no it does not work anymore... there are one unknown requirement ...
2/ there are already lot of stuff implemented ( 3 years ago )
3/ but it's perl and i'm not familiar with this language
Title: Re: about documentation and techtree
Post by: jerikojerk on July 29, 2011, 12:54:01 am
Hi

i've got a patch that put the script back on the tracks.
i'm sorry i still don't have an account to submit the patch myself.

i would gladly post the generated picture BUT it's a 2Mb png file.
Title: Re: about documentation and techtree
Post by: Mattn on July 29, 2011, 07:35:08 am
thanks a lot for the patch i will check it and publish it
Title: Re: about documentation and techtree
Post by: MCR on July 29, 2011, 01:36:40 pm
Nice.  8)
Title: Re: about documentation and techtree
Post by: jerikojerk on August 05, 2011, 10:47:22 pm
hi

i make some little progress on how to read *.ufo files. I'm wondering if there is a library where i can find all the "weapons" as a "usual" picture (png/jpg) and not like a 3d model textures i don't know how to exploit. i had a look at media but it's not complete.
Title: Re: about documentation and techtree
Post by: bayo on August 06, 2011, 09:27:41 am
hi. no everything is in 3D, else few things in the wiki.
but maybe it exists external tools to well display ufoai models.
Title: Re: about documentation and techtree
Post by: bayo on August 06, 2011, 09:48:08 am
You can visualise most of weapon models with a md2/md3 viewer, it looks to work well.
Title: Re: about documentation and techtree
Post by: MCR on August 06, 2011, 12:05:26 pm
You can also use UFORadiant's modelviewer to display the models in 3d.
Open it, right click on an empty spot in one of the 2d views -> Add model opens the modelviewer.
Title: Re: about documentation and techtree
Post by: MCR on August 06, 2011, 12:21:59 pm
bayo ?
bayo ?
BAYO !

WE NEED YOU, MASTER OF UI !!!!!!!!!!!!!!!!!!!!!!!!!!!!

!summon bayo ASAP !
 ;)