I need help with some game coding.
I need help.
I need to know how to add a player into a "map". I have an engine that can load quake3 bsp maps. Now i need to know how to program in a "player" and give that player a model. I allso need to know how to make a first person camera for that "player".
Whoah. Time out.
Tell us, how much coding experience do you have? Where did you get your map loader? What engine are you intending to use? What language? Are you sure you''re ready for this?
The questions you''re asking depend quite a lot on how you intend to set up the structures and internal engine of your game. There''s no simple answer for that, we can''t just tell you to type
Player.Load();
Player.SetCamera();
(well, we could, but it wouldn''t work.)
I suggest you look up some articles on writing FPS''s and see what''s involved... it''s not simple. You might consider trying something simple first... 3d pong, perhaps?
-fel
Tell us, how much coding experience do you have? Where did you get your map loader? What engine are you intending to use? What language? Are you sure you''re ready for this?
The questions you''re asking depend quite a lot on how you intend to set up the structures and internal engine of your game. There''s no simple answer for that, we can''t just tell you to type
Player.Load();
Player.SetCamera();
(well, we could, but it wouldn''t work.)
I suggest you look up some articles on writing FPS''s and see what''s involved... it''s not simple. You might consider trying something simple first... 3d pong, perhaps?
-fel
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
Well i know basic, html, pascal, some cgi, and now i''m coding in c++.
www.cplusplus.com
i know allmost everything mentioned in the tutorials, i have about 3 left, but i know the rest. i can send you the code if you''d like. but please read the source_code.txt file before trying to compile. you have to add search and library paths.
www.cplusplus.com
i know allmost everything mentioned in the tutorials, i have about 3 left, but i know the rest. i can send you the code if you''d like. but please read the source_code.txt file before trying to compile. you have to add search and library paths.
I can tell that you have copied the Quake3 Map loader from another engine (Titan/Void/Twister) I wouldn''t start out with C++ like that. Teach yourself the basics first before you start.
Anyway, the answer is very simple.
Your player would manipulate a worldmatrix (rotate, move etc)
You assign this worldmatrix to the camera and to a model.
Anyway, the answer is very simple.
Your player would manipulate a worldmatrix (rotate, move etc)
You assign this worldmatrix to the camera and to a model.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement