Character Leveling System?
by Dwayne Brown · in Technical Issues · 06/09/2007 (12:28 pm) · 21 replies
Has anyone seen anything that gives a tutorial on how to create a leveling system for an rpg? I have done many but in text based but never for a 3D game before. Your knowledge would be greatly appreciated, thanks!
About the author
#2
06/09/2007 (2:32 pm)
Great Dave thanks. This is the type of material I have been looking for!!! :)
#3
Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
06/10/2007 (11:06 am)
When I insert a new guard marker save the game and restart it the gaurd is not there but a handle for him is there when I select the world creator. After a while I will keep receiving a fatal error after I hit F11. This is what the error says.Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
#4
Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
06/10/2007 (11:12 am)
When I insert a new guard marker save the game and restart it the gaurd is not there but a handle for him is there when I select the world creator. After a while I will keep receiving a fatal error after I hit F11. This is what the error says.Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
#5
Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
06/10/2007 (11:26 am)
When I insert a new guard marker save the game and restart it the gaurd is not there but a handle for him is there when I select the world creator. After a while I will keep receiving a fatal error after I hit F11. This is what the error says.Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After I hit retry or cancel it shuts my session off. Has anyone ran into this problem with that tutorial?
Also in the tutorial I have ran into the portion for creating levels that says to insert AIGuard::LoadEntities(); under AIPlayer::LoadEntities. AIPlayer LoadEntities can not be found in game.cs. Can someone assist me with this?
#6
06/11/2007 (3:54 pm)
You need to add loadEntities() if it isn't there. This places all of your guards on the map. I don't know what is happening for sure with your errors but maybe that could fix it. Will and I are still working on that system, but we are using Mark Halcomb's aiguard class for a base class of our mobs and have it running quite nicely. I'll check in for other questions you may have.
#7
06/12/2007 (6:12 am)
I think I know what my problem is and maybe you can assist me with that. I added the .cc and .h files and recompiled torque but I did not add those files specifically to the project I mean am I suppose to #include the files somewhere. I just added the two files to the project in VC++ 2005 but did not #include them. Where do I include the files? That may be my problem because I added the scripts but the actual hard code is not included in the engine so my character is not present on restart of game.
#8
06/12/2007 (8:05 am)
.
#9
Tonight will be my first hard lesson on using that Debug for Torson. Will see what I can find out from that.
06/13/2007 (2:42 pm)
I restarted the project so I can use the default scripts but backed up the scripts that I typed in for the tutorial to add later. I recompiled Torque adding the aiGuard .cc and .h files. When I run Torque I am fine until I hit F11 in which it gives me those stack errors again. Now I believe is not the scripts but the actual compilation of Torque that is the problem. The compile of Torque has not errors but for some reason its giving that stacking error. I will try some more things tonight but if you guys have any suggestions I am more than willing to take them ;) Tonight will be my first hard lesson on using that Debug for Torson. Will see what I can find out from that.
#10
06/14/2007 (10:53 am)
.
#11
06/18/2007 (7:57 pm)
But that system does not allow the attributes to affect the player's speed, damage etc. so it is pretty much useless in terms of affecting gameplay. Does anyone know how to make it so it does affect gameplay?
#12
06/19/2007 (8:12 am)
.
#13
Take the speed resource as an example:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12607
You should be able to link one of the attributes into the speed of the character as a multiplier of some sort. Very similiar to what Berserk had mentioned earlier. It is up to you and the group you are working with to decide which algorithm works best for you.
Regards,
Will Brown
06/19/2007 (8:59 am)
You should be able to tie it in to affecting aspects of gameplay rather easily. We were only attempting to give people a starting point regarding a experience/attribute tracking system. Take the speed resource as an example:
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=12607
You should be able to link one of the attributes into the speed of the character as a multiplier of some sort. Very similiar to what Berserk had mentioned earlier. It is up to you and the group you are working with to decide which algorithm works best for you.
Regards,
Will Brown
#14
06/19/2007 (8:38 pm)
Did you get it to work Barak? I think there is a problem with my copy of Torque and it is fustrating me big time. I posted in seveeral places and I am getting no answer. For example: In the Gui editor if I create a new button with the GuiButtonCtrl i will input loadMyMission() in the command field from the Parant section. I will save the gui in the proper folder and exit torque. I started torque again and press the start button and now it hangs on the loading screen. It will not progress past that. Also inputing objects into the game will crash my system giving me the same errors when trying this tutorial...I have only received these problems when I upgraded torque. Lots of tutorial I have ran before run perfectly fine and now torque is crashing.
#15
06/29/2007 (11:28 am)
Yes, I did...
#16
06/29/2007 (1:30 pm)
Was there anything you had to change from the tutorial and what version of Torque are you using?
#17
Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After the error the game will crash and shutdown.
If you are available please I can use your help.
08/08/2007 (9:26 am)
Guys I need serious help. I have not heard anything from Garage Games regarding the errors I receive above. What is happening is I will type in the first part of the Stats tutorial. Then mid way it says to perform the AI Guard code so I do that as well. I double checked my code to ensure proper syntax is being used before proceeding with AI Guard. I build torque by doing this. I added the AI Guard .h and .cc files the the game folder. I then start up VC 2005 and added the AI Guard .h and .cc files to the project then build the engine. After a successful build I add the .cs to the proper folder. When I start the game for the first time it takes long to load into the game. It takes approximately 15 minutes and when the game is started I try to add a new maker. When that happens this is what I get: Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
After the error the game will crash and shutdown.
If you are available please I can use your help.
#18
EDIT: I hate my fucking keyboard! This keyboard will burn in hell! It is throughley evil! Whoever designed this keyboard must have been affected by heroine injected through the eye channels when he made it! Its like the typing equivalence of flying a brick! Stupid good for nothing keyboard! (the keyboard makes me misspell lots of words, hence the Edit)
08/13/2007 (5:26 pm)
The loadtime is because of the relightning of the whole map(i belive). As to your other problems, have you checked that the resoruce you have been using is comaptibale with your curent torque version?EDIT: I hate my fucking keyboard! This keyboard will burn in hell! It is throughley evil! Whoever designed this keyboard must have been affected by heroine injected through the eye channels when he made it! Its like the typing equivalence of flying a brick! Stupid good for nothing keyboard! (the keyboard makes me misspell lots of words, hence the Edit)
#19
08/13/2007 (5:59 pm)
Thanks for replying Ted. I have tried the previous 1.4 version in which this tutorial was created in and I am having the same issue.
#20
09/13/2007 (1:55 pm)
Is there someone available after 6pm central that could help me out with a few questions live on IM. It would be great to have someone I can share code with to help me determine why I am getting a sky error.
Torque Owner Dave D