Page 1 of 1

Q3 map data.

Posted: Fri Aug 12, 2005 1:06 pm
by Rufjan
Hi,

I need to read variables from q3 map - like player start position, monster position or items etc. Do i need to write my own q3 map loader only for those variables or Irrlicht can read them for me?

Rufus.

Posted: Mon Aug 15, 2005 7:12 am
by Guest
irrlicht will not read them....

Posted: Mon Aug 15, 2005 10:43 am
by Myth
You can either modify the irrlicht loader or - I advice this one - create your own map editor where you can set all info that will be added to a xml file.
In that way you are also independent of of other games.

Posted: Wed Aug 17, 2005 2:28 am
by _Dum0nde
I need this functionality too. I'm thinking of loading the map in Irrlicht normally and then, independently parse the map's header for spawn positions.

Posted: Wed Aug 17, 2005 12:17 pm
by area51
Cartoonit did a BSP entity reader a while back. Afecelis has it hosted here:
http://www.danielpatton.com/afecelis/fi ... latest.zip

or did you mean the .map file itself, and not .bsp?
________
American Dad! Advice

Posted: Thu Aug 18, 2005 11:34 pm
by _Dum0nde
I made the little parser I talked about in my last post. One problem: I spawn on weird positions which are way off. I know vertices are stored strangely in the Q3 format... Could anyone tell me how I need to store the position? I tried switching y and z and doing z *= -1 but that didn't fix it...