Smooth mixed 1st + 3rd Person Camera Scene Node (for RPG)

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Post Reply
neppyweb
Posts: 22
Joined: Thu Nov 23, 2006 12:44 pm

Post by neppyweb »

I have error in this line. Can you help me to open this project

scene::ISceneNode* q3node = smgr->addOctTreeSceneNode(q3levelmesh->getMesh(0));

"Unhandled exception at 0x00421e87 in IrrCameraRPG.exe: 0xC0000005: Access violation reading location 0x00000000."

And in Dos it show "Could not load mesh,because file could not be open.: 20kdm2.bsp"

Thank you
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Post by xterminhate »

Message is clear !

That's not a pb with the code or the camera. The program just does not found the map .bsp file. Put that file into the directory of the program.....


Xter.
Return to Irrlicht after years... I'm lovin it.
It's hard to be a Man !
Si vis pacem para belum
neppyweb
Posts: 22
Joined: Thu Nov 23, 2006 12:44 pm

Post by neppyweb »

I see
my comouter don't have file 20kdm2.bsp
=_="
a_haouchar
Posts: 97
Joined: Sat Oct 14, 2006 10:51 am
Location: Australia,melbourne

Post by a_haouchar »

i still have that problem and i changed the line of code to see that file but still doesnt work,moved the files ect still doesn work so im using troopers one and works but i get another problem:(
pinkman
Posts: 25
Joined: Sun Dec 10, 2006 3:04 am

Post by pinkman »

This ever going to work with 1.2 and dev c++ seems like something I'd really wanna use, but compileing it is rather annoying.. missing library files, etc..
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Post by xterminhate »

Maybe things has changed with 1.2. I will have a look...
Return to Irrlicht after years... I'm lovin it.
It's hard to be a Man !
Si vis pacem para belum
pinkman
Posts: 25
Joined: Sun Dec 10, 2006 3:04 am

Post by pinkman »

Trying to get it to work in Dev C++ I added everything to the project of mine, embedded correctly(positive), although im getting this error.. 264 C:\Documents and Settings\Administrator\Desktop\SquareSoft\CCameraSceneNode.cpp `ViewArea' undeclared (first use this function)

wich im guessing means im missing header file or something, otherwise it should know what it is? x_x Anyhelp?
a_haouchar
Posts: 97
Joined: Sat Oct 14, 2006 10:51 am
Location: Australia,melbourne

Post by a_haouchar »

oh a few days ago i got it resolved with troopers one with visual c++. Dev c++ gives unkown errors!
pinkman
Posts: 25
Joined: Sun Dec 10, 2006 3:04 am

Post by pinkman »

Wich isnt really Dev C++'s fault, can anyone give a list of every rescource this may use? Or translate into a version they know works in dev c++?
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

pinkman wrote:Trying to get it to work in Dev C++ I added everything to the project of mine, embedded correctly(positive), although im getting this error.. 264 C:\Documents and Settings\Administrator\Desktop\SquareSoft\CCameraSceneNode.cpp `ViewArea' undeclared (first use this function)

wich im guessing means im missing header file or something, otherwise it should know what it is? x_x Anyhelp?
If anyone figures out how to fix this in Dev-Cpp PLEASE post here, I don't have any other (working) options for a third-person cam for Irrlicht 1.2
vickylh
Posts: 9
Joined: Thu Mar 09, 2006 4:43 pm

i'm sorry

Post by vickylh »

i'm sorry,i can't download the Zips!
xterminhate
Posts: 206
Joined: Thu Sep 01, 2005 9:26 pm
Location: France

Post by xterminhate »

Please, try again. It worked for me.

The current code works with 1.1. I did not tested with the new release 1.2.
Return to Irrlicht after years... I'm lovin it.
It's hard to be a Man !
Si vis pacem para belum
a_haouchar
Posts: 97
Joined: Sat Oct 14, 2006 10:51 am
Location: Australia,melbourne

Post by a_haouchar »

i die if it works with dev c++ and it looks like that irrlicht 1.2 isnt comaptible,i tried it.
monkeycracks
Posts: 1029
Joined: Thu Apr 06, 2006 12:45 am
Location: Tennesee, USA
Contact:

Post by monkeycracks »

xterminhate wrote:Please, try again. It worked for me.

The current code works with 1.1. I did not tested with the new release 1.2.
It doesn't work with 1.2, I'm no good with camera coding or I'd help fix it =D
lug
Posts: 79
Joined: Tue May 02, 2006 5:15 am
Contact:

Post by lug »

xterminhate -- I hope you don't mind. I've updated your source files for your cam v8 to work with v1.2 of irrlicht.

Download:

http://www.megaupload.com/?d=09RQ53DM
Post Reply