help! problem loading a q3map

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
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

help! problem loading a q3map

Post by afecelis »

hi guys!

I tried to load a map of my own using q3map example. Everything loads fine, but my camera shows up far far away. In the beginning I thought I had done something wrong cause all I saw was the 100,100,100 gray background but after a while of moving my arrow keys I saw my level in the distance.

here r the shots:

Image

Image

Image


how can I make my camera show up properly?


thnx!
Image
Robomaniac
Posts: 602
Joined: Sat Aug 23, 2003 2:03 am
Location: Pottstown, PA
Contact:

Post by Robomaniac »

You most likely just need to change the line node->setPosition(core::vector3df(-1300,-144,-1249)); to node->setPosition(core::vector3df(0,0,0)); if that doesn't work to your liking, just play around w/ the numbers until its correct
The Robomaniac
Project Head / Lead Programmer
Centaur Force
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

great, that did it!

thnx again robo!

So anything you build in radiant is created at the origin? (0,0,0)

My camera is showing up facing left. Which value should I change to make it rotate 90 degrees clockwise?

3 last things:

1. How can I add wasd key movement?
2. How can I make the level quit by hitting esc ?
3. How can I add collision (I know, use the collision example) without including the triangle selector and drawing the triangles? I mean, which lines should I exclude. Itried only to add the collision but I got errors.

thnx!
Image
afecelis
Admin
Posts: 3075
Joined: Sun Feb 22, 2004 10:44 pm
Location: Colombia
Contact:

Post by afecelis »

one last q

why doess a negative value in the "y" coordinate bring me up instead of down. How does the Irrlicht coordinate system work?
Image
Post Reply