BSP/MAP use & communication to irrlicht. Using q3 entity

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
fidel castro
Posts: 7
Joined: Thu Mar 24, 2005 12:42 pm

BSP/MAP use & communication to irrlicht. Using q3 entity

Post by fidel castro »

Hello,

i want to crate a small game using irrlicht.
Basicly i want to use MAP/BSP files as levels which can be selected via a gui.
The core idea is some kind of small mini-golf game.
newton as physic engine


now a question:
- as i want to set start & target points of the ball inside the BSP itself, so that 3rd party mappers can make maps too, im asking myself how can i realize some kind of communication from irrlicht to bsp/quake3 entities ?

is there a way to do that ?

i.e. use triggers from quake3 or any other entity ?


best regards
fidel
r-type
Posts: 41
Joined: Sun Feb 12, 2006 1:54 am

Post by r-type »

Hi, the only way for you is to either add functionality to irr's bsp loader or use a seperate one to parse entity info. Irrlicht itself doesn't support loading entities. Probably not what you wanted to hear ;)
fidel castro
Posts: 7
Joined: Thu Mar 24, 2005 12:42 pm

Post by fidel castro »

hi

thx for your answer.

i hoped for some changes till last time i have taken a look on irrlicht regarding the bsp functionality. but ok.

bye
fidel
TheGameMaker
Posts: 275
Joined: Fri May 12, 2006 6:37 pm
Location: Germany

Post by TheGameMaker »

you allthought may do a own format.... just like:

Code: Select all

 testrun1.bsp
 40
 32
 12
read it, load the level named with the first string and set the startposition to the following three float values....
Hope you know what i mean, cause my english is terrible...
sudi
Posts: 1686
Joined: Fri Aug 26, 2005 8:38 pm

Post by sudi »

Yeah make ur own format! There is the xml-reader already in irrlicht so u should be able to get some values parsed.
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

That was not the point of the question. If you have an editor which allows to set entities in a fixed file-format only and you want support in Irrlicht for that it might be a good thing. You might find some solutions here, but probably not as general as it would be necessary.
There are asready formats which allow to load cameras and lights. Particle systems would be quite similar. But I'm not sure if meshes (e.g. opponents) can be loaded that easy from bsp files. But if paths etc. are in the file you could add that, too. Maybe start with figuring out which information can be gathered from bsp files, and which parts are already used. Extending the loader won't be that much of a problem if you have all that, you might need some more advanced mesh cache support, though.
Post Reply