Search found 44 matches

by jhend60
Sun Nov 16, 2008 10:08 am
Forum: Beginners Help
Topic: Help finding exact rotation of model needed...
Replies: 5
Views: 365

No

I need something that can visually, and in real time, change an objects rotation of the mesh until I see fit, and then give me the rotation values.
by jhend60
Sun Nov 16, 2008 4:19 am
Forum: Beginners Help
Topic: Help finding exact rotation of model needed...
Replies: 5
Views: 365

Help finding exact rotation of model needed...

Is there any tool available to find the exact rotation you need of an object? I have a gun I am trying to use in an fps, and I cannot turn the gun to the correct rotation. I need a tool to allow me to rotate it in real time, and return the exact rotation value. I guess this value would need to be re...
by jhend60
Sun Nov 16, 2008 2:14 am
Forum: Beginners Help
Topic: Declaring a 2d Rectangle?
Replies: 1
Views: 160

Declaring a 2d Rectangle?

What would I use to declare a 2d Rectangle (so I can change it's colour etc).
EG IMeshSceneNode* rect1 = 0; where IMeshSceneNode would be 2D rect or something... could someone tell me what to use?

The code I need to use this with is a simple driver->draw2Drectangle.
by jhend60
Wed Nov 12, 2008 12:31 am
Forum: Beginners Help
Topic: How do I make an object point towards the camera?
Replies: 1
Views: 152

How do I make an object point towards the camera?

I have loaded a 3ds mesh target into my game, and wish to make the target points to wherever the camera is (to make a realistic effect). How will I do this? I want it to constantly update, and follow the cameras movement. Please help. When i use this method (mesh->setRotation(camera->getRotation());...
by jhend60
Mon Nov 10, 2008 9:52 am
Forum: Beginners Help
Topic: (newbie question) How can I truncate an integer?
Replies: 11
Views: 635

huh

I used the same code as you said, but, again, when I leave the dividing code in it stuffs up. It showed -0.01010 or something like that this time. As soon as I removed the divide part it worked fine... again...
by jhend60
Mon Nov 10, 2008 9:37 am
Forum: Beginners Help
Topic: (newbie question) How can I truncate an integer?
Replies: 11
Views: 635

kk

I have this code: timeleftint = timeleftint / 100; swprintf(countdown, 256, L" %i seconds left", timeleftint); timeleft = guienv->addStaticText(countdown,rect<s32>(900,500,1024,600),false,true,0,-1,false); timeleft->draw(); it should work, but it always shows as '0'. If i remove timeleftin...
by jhend60
Mon Nov 10, 2008 9:18 am
Forum: Beginners Help
Topic: (newbie question) How can I truncate an integer?
Replies: 11
Views: 635

ps

i need to get the value into seconds
by jhend60
Mon Nov 10, 2008 8:32 am
Forum: Beginners Help
Topic: (newbie question) How can I truncate an integer?
Replies: 11
Views: 635

(newbie question) How can I truncate an integer?

I know this isn't relevant to irrlicht, but I think this would be the easiest way to find an answer. :roll: Ok. I have made an integer (2000) and I have set it to count down by 1 every frame. This gives 20 seconds before it reaches 0. I need to make a static text showing time left. I have divided th...
by jhend60
Sat Nov 08, 2008 1:28 pm
Forum: Beginners Help
Topic: Include integer in static text (noobie, I know)
Replies: 6
Views: 498

Include integer in static text (noobie, I know)

Hi all I have made a simple static text box which says how many points you have in my game. I need to make it like this: "Kills = " int1 + "/" and int2 int 1 is the kills, int2 is the required kills How can I add integers like that too strings? I saw it done in the demo, I am jus...
by jhend60
Sat Nov 08, 2008 10:01 am
Forum: Beginners Help
Topic: Changing the Dll name.
Replies: 5
Views: 493

k

I also want to do this, to avoid detection that I might be using irrlicht (even though it will be pretty obvious) I want to make my game as hack protected as possible. I am not sure how to do this but it might be something to do with the library file that you include by using pragma comment(lib, &qu...
by jhend60
Fri Nov 07, 2008 9:58 pm
Forum: Beginners Help
Topic: Shooting (from demo) collisions
Replies: 5
Views: 458

ok

I have decided to use the irrlicht basic collision detections as Newton got a little bit bulky. I am using simple collision detection from irrlicht, and have used pretty much exact code from the demo. I think I must use collision detection with the LINE formed by the shooting function, instead of th...
by jhend60
Fri Nov 07, 2008 6:38 am
Forum: Beginners Help
Topic: Shooting (from demo) collisions
Replies: 5
Views: 458

Shooting (from demo) collisions

Hi all I have got shooting to work (finally) and have a small problem (two actually, this post focuses on one). The collision with the main ground mesh (from irr) is working fine now, but I am trying to add another collision detection with a standard 3ds mesh. I have added the object and everything,...
by jhend60
Tue Nov 04, 2008 1:25 pm
Forum: Beginners Help
Topic: Help implementing shooting with straight animator
Replies: 4
Views: 346

OK got that

Okay I got that (along with other things-- figured out how to use irr mesh :lol: with collisions! YEAH! FINALLY. it just clicked lol. Anyway please read my new topic (REALLY NOOB QUESTION) probably so easy to fix. Thanks. That will be all I will need and then I will be on my way.
by jhend60
Tue Nov 04, 2008 1:23 pm
Forum: Beginners Help
Topic: How to call void functions (like shoot)
Replies: 3
Views: 783

How to call void functions (like shoot)

Hi all I am wondering how to get this thing working. I have finished implementing a shoot function(void shoot()) but , when I try to use it in my code by just using 'shoot()' I get this error: main.cpp(248) : error C2365: 'shoot' : redefinition; previous definition was 'data variable' main.cpp(24) :...
by jhend60
Tue Nov 04, 2008 12:36 pm
Forum: Beginners Help
Topic: Help implementing shooting with straight animator
Replies: 4
Views: 346

wha??

I have already tried examining the Demo, but as you might know there isn't very good documentation for it, like all of the other tutorials! So it gives me code, with no way of understanding it! I need to be able to understand the code I write, or i will not even understand what is going on.