Search found 17 matches

by Th3one
Sun Nov 27, 2005 12:32 pm
Forum: Beginners Help
Topic: Crosshair
Replies: 14
Views: 968

hehe yea...but surely it'll help the likes of me that were searching for the solution :P
by Th3one
Sun Nov 27, 2005 12:30 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

ok...i'll give it a shot :P whats the command for turning off Ztesting for the weapon?
by Th3one
Sun Nov 27, 2005 12:25 am
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

ok ok...gunna have to make collision size big enough to include weapon. Is there a way of giving the weapon a collision sensor that stops the fps camera moving when the weapon collides with something?
by Th3one
Sun Nov 27, 2005 12:08 am
Forum: Beginners Help
Topic: Crosshair
Replies: 14
Views: 968

This'l add your crosshair no probs buddy.... scene::ISceneNode* crosshair = 0; crosshair = smgr->addBillboardSceneNode(crosshair, core::dimension2d<f32>(10, 10)); crosshair->setMaterialFlag(video::EMF_LIGHTING, false); crosshair->setMaterialTexture(0, driver->getTexture ("../../Textures/crossha...
by Th3one
Sat Nov 26, 2005 11:48 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: FPS Camera Tutorial
Replies: 22
Views: 12152

Not sure if it helps guys, but the code i use to show my weapon in fps is scene::IAnimatedMesh* weapon = smgr->getMesh("../../Static Meshes/assaultrifle.3ds"); scene::IAnimatedMeshSceneNode* weapon1 = smgr->addAnimatedMeshSceneNode( weapon ); weapon1->setParent(camera); weapon1->setPositio...
by Th3one
Sat Nov 26, 2005 11:43 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: GUN COLLISION
Replies: 9
Views: 3044

okies...well looking at it I'll most likely have to go down the physics engine route. Can anyone recommend a decent phyics engine that will do what i want and work well with irrlicht?
by Th3one
Sat Nov 26, 2005 11:30 pm
Forum: Beginners Help
Topic: basic lighting query
Replies: 4
Views: 1315

GFX...you are a genius, just what I was looking for. Thanks mate...owe u bigtime :D
by Th3one
Sat Nov 26, 2005 11:28 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

yeah I know...the problem is as the weapon collides with a wall or part of the map (floor, stairs, wall etc) it sinks into it and disappapears. Nobody seems to have an answer to this problem...yet so many games using the engine are FPS games with guns...so how do their guns not disappear?
by Th3one
Sat Nov 26, 2005 4:46 pm
Forum: FAQs, Tutorials, Howtos, and external tool lists
Topic: GUN COLLISION
Replies: 9
Views: 3044

yeah i'm having the same problem...my gun keeps disappearing into the map :( having a huge collision area on the camera isnt really an option...any ideas guys?
by Th3one
Sat Nov 26, 2005 3:40 pm
Forum: Beginners Help
Topic: Quick walkthrough
Replies: 3
Views: 248

yep...cheers m8 :D
by Th3one
Sat Nov 26, 2005 3:40 pm
Forum: Beginners Help
Topic: basic lighting query
Replies: 4
Views: 1315

basic lighting query

Hi, I have disabled dynamic lighting on my weapon because the change in brightness of it looks a bit dodgy. I used the following code to do so: weapon1->setMaterialFlag(video::EMF_LIGHTING, false); I was wondering if there was any way of setting the material so it has a constant lighting level that ...
by Th3one
Sat Nov 26, 2005 3:21 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

ok...I've managed to work it out :D Works quite well but there's still a few things I need to sort out. Firstly though in case anybody has had the same problem as me, or would like to see a simple way of graphically implementing a weapon into a fps game here's the code I'm using: scene::IAnimatedMes...
by Th3one
Sat Nov 26, 2005 3:06 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

hehe okies :D I have my weapon loaded into my game now. But I'm really struggling to work out how to get it to stay in the bottom right corner of my screen as i move the mouse and run around the map. I need to lkink it to the camera in some way like in every First person shooter but I'm not quite su...
by Th3one
Fri Nov 25, 2005 2:09 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

ah ha cheers guys :D Will try it as soon as i get home from college...hehe i read the examples yea...just wasnt to sure on how to use what i'd learnt to load an image that doesnt move. eg...the quake 3 map moves when you move the camera (obviously) wasn't quite sure how to add something that didnt m...
by Th3one
Fri Nov 25, 2005 1:41 pm
Forum: Beginners Help
Topic: Adding a weapon to FPS
Replies: 17
Views: 1311

cheers :D How would I use that to load in my weapon made in 3dsmax though? Sorry if i'm being a n00b lol - just need to get used to using the engine