Help with character creation
by Donna Shone · in General Discussion · 11/27/2005 (6:44 pm) · 11 replies
I am a newbie with the Torque game engine and was wondering if somebody could make me understand how the other character in the FPS starter kit was created and how does it move around. Let me know if you want me to be more specific. Thanks.
#2
11/27/2005 (8:45 pm)
Thanks for that. Now, I just want to understand how the character is moving in the first mission and how it was placed over there. Because, if we go through the mission editor tools, we can place all sorts of objects but I can't see a way to place a bunch of characters in the mission. Also, could you please make me understand how the character moves? Thanks!!
#3
11/27/2005 (8:59 pm)
I think you are referring to the aiPlayer that is running around. He is following a set of path nodes that were placed in the mission editor. The file starter.fps/server/scripts/aiPlayer.cs is probably what you should look at for more information about how he works.
#4
You might want to check this:
CodeSampler Tutorials.
and this
Torque Start Page.
11/27/2005 (9:09 pm)
One of the easiest way is to create spawn points (spheres) and through script you spawn your character in the world.You might want to check this:
CodeSampler Tutorials.
and this
Torque Start Page.
#5
11/27/2005 (9:15 pm)
Well...to initialize the aiPlayer...shouldn't the aiPlayer.cs be initialized from starter.fps\server\init.cs? Or, is it initialized from somewhere else?
#6
Here is the answers:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5638
best place to start- and worth every $.01
11/27/2005 (10:40 pm)
Got newb questions?Here is the answers:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=5638
best place to start- and worth every $.01
#7
What I am saying is that while these links get you started, you wont end up with a top class character that can be used in a commercial game.
Someone should submit a good resource that does this. For example it would great for the community to have access to a tut / resource that shows you how to make a soldier character including prone position, crawl etc.
and then a beast that does moves out of the ordinary, slash, fly, morph etc.
Although off-topic, the same quality, thorough documentation should be done for all vehicle classes. Hopefully TDN will provide this.
11/27/2005 (11:12 pm)
Unless I'm mistaken these 3 links mentioned above will give you a good start, but I have yet to find a good tutorial here to make a character of the same quality as Kork. Has anyone got a link?What I am saying is that while these links get you started, you wont end up with a top class character that can be used in a commercial game.
Someone should submit a good resource that does this. For example it would great for the community to have access to a tut / resource that shows you how to make a soldier character including prone position, crawl etc.
and then a beast that does moves out of the ordinary, slash, fly, morph etc.
Although off-topic, the same quality, thorough documentation should be done for all vehicle classes. Hopefully TDN will provide this.
#8
11/28/2005 (12:13 am)
I initialize aiPlayer.cs from game.cs...it's a routine that I adopted from GG starter kits.
#9
I have one more question. Is it possible for me to make my bot perform some actions? I was looking more specifically to making it do some push-ups. Thanks!!
11/30/2005 (12:30 pm)
Thanks a lot for all the help. The Bot Path-Finding Tutorial in CodeSampler Tutorials was exactly what I was looking for. I have one more question. Is it possible for me to make my bot perform some actions? I was looking more specifically to making it do some push-ups. Thanks!!
#10
Yes you can, BUT:
1) You will need someone to create the animation of pushups and export them for TGE
2) You will need to add the new action to the player class (a code change)
3) Using the path, you can do actions when you reach waypoints, so you could tell the npc to do pushups for 10 seconds before continuing along the path.
11/30/2005 (12:51 pm)
Quote:Is it possible for me to make my bot perform some actions? I was looking more specifically to making it do some push-ups.
Yes you can, BUT:
1) You will need someone to create the animation of pushups and export them for TGE
2) You will need to add the new action to the player class (a code change)
3) Using the path, you can do actions when you reach waypoints, so you could tell the npc to do pushups for 10 seconds before continuing along the path.
#11
I guess to understand loading characters into the game, I need to get a better idea of how the Kork character is loaded in the FPS Starter Game. Do we have a tutorial where its explained how that character is loaded? From the discussions above, I understand that there is not much tutorial about the subject, but can somebody please explain it to me? It would be better if someone could explain how the images, .cs and other files are used for the character to load.
If its long to explain, then can someone just make me understand how to load my DTS character into the game?
Thanks!!!
12/05/2005 (5:56 pm)
I have a DTS animated character which is doing pushups but I am having difficulty in loading the character to my game.I guess to understand loading characters into the game, I need to get a better idea of how the Kork character is loaded in the FPS Starter Game. Do we have a tutorial where its explained how that character is loaded? From the discussions above, I understand that there is not much tutorial about the subject, but can somebody please explain it to me? It would be better if someone could explain how the images, .cs and other files are used for the character to load.
If its long to explain, then can someone just make me understand how to load my DTS character into the game?
Thanks!!!
Torque Owner Jeffrey Bakker
If you don't know how to model, rig, and skin a 3D mesh then first you should choose a 3D modelling/animation program that has a Torque exporter available and the read/watch some tutorials on it. Otherwise, you'll need to hire a skilled artist.