project-navigation
Personal tools

Author Topic: about documentation and techtree  (Read 5519 times)

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
about documentation and techtree
« 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.

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

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: about documentation and techtree
« Reply #1 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

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: about documentation and techtree
« Reply #2 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

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: about documentation and techtree
« Reply #3 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.

Offline Mattn

  • Administrator
  • PHALANX Commander
  • *****
  • Posts: 4831
  • https://github.com/mgerhardy/vengi
    • View Profile
    • Vengi Voxel Tools
Re: about documentation and techtree
« Reply #4 on: July 29, 2011, 07:35:08 am »
thanks a lot for the patch i will check it and publish it

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: about documentation and techtree
« Reply #5 on: July 29, 2011, 01:36:40 pm »
Nice.  8)

Offline jerikojerk

  • Squad Leader
  • ****
  • Posts: 149
    • View Profile
Re: about documentation and techtree
« Reply #6 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.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: about documentation and techtree
« Reply #7 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.

Offline bayo

  • Professional loser
  • Project Coder
  • Captain
  • ***
  • Posts: 733
    • View Profile
Re: about documentation and techtree
« Reply #8 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.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: about documentation and techtree
« Reply #9 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.

Offline MCR

  • PHALANX veteran
  • ******
  • Posts: 1244
    • View Profile
Re: about documentation and techtree
« Reply #10 on: August 06, 2011, 12:21:59 pm »
bayo ?
bayo ?
BAYO !

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

!summon bayo ASAP !
 ;)