animation file walk around in q3 map

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
pepe
Posts: 9
Joined: Mon Mar 07, 2005 7:29 am
Location: thailand
Contact:

animation file walk around in q3 map

Post by pepe »

How to set position and control md2 or .x file in q3 map
(I want to use md2 file walk around it)
sorry for my poor english
chaiyo chaiyo
ijo coim
Posts: 57
Joined: Fri Mar 25, 2005 1:29 pm
Location: indonesia, jogja-jogja

newbie solutions

Post by ijo coim »

hi pepe,

i got the solution (if i don't wrong).

do you get see the Demo? in that folder ( i still using irrlicht 0.8), there are 3 file .CPP, are:
1. main.CPP
2.CMainmenu.cpp
3.CDemo.cpp.

just see the file CDemo.cpp, you'll finde your questions.

in that file, you will see some line like this :
//load sydney and create 2 intances, right?
do you see
setPosition(core::vector3df(100,40,-80)); that's your answer, and you can use another, with the first word, set....., example, setMD2Animation, setMaterialFlag, etc.

emmm..if control a .md2, i don't know much about it, but if you want to make it walk in q3 maap, you can find the code in the same file, CDemo.cpp. find

//create walk-between-portals animation, the codes:

Code: Select all

core::vector3df waypoint[2];
waypoint[0].set(-150,40,100);
waypoint[1].set(350,40,100);

if (model2)
{
.
.
.
}
i think leraning the demo is the best way how to increase our programming in irrlicht.

i hope this will help you.

we are same, newbie.

regards,

ijo coim

----------------

emmm...almost forget, now there are 73 pages of thread in begineer help. if you looking them page by page, you will find another help (some times a complete code) that will help you.

so, explore the begineer help forum thread

(the same poor english) :oops:
Midnight
Posts: 1772
Joined: Fri Jul 02, 2004 2:37 pm
Location: Wonderland

Post by Midnight »

start by learning the basics of programming and then spending week after week of trial and testing and less asking others to do things for you.

that is the proper way.

o and spend most of your time with the techdemo that contains the most help. good luck!
pepe
Posts: 9
Joined: Mon Mar 07, 2005 7:29 am
Location: thailand
Contact:

Post by pepe »

thak you
chaiyo chaiyo
Post Reply