Character Creation
Chris Walker
06 Jun 2004, 14:05Hello. The last time I was really around here was when Quest 1.0 Beta 3 was out. My first text adventure, Omega: Code Nine (available on this site) was not a work of art. In fact, now that I look back, it was not even good by novice standards. In fact, I downloaded and replayed it and only half of it worked. It was short and uninspired. Now I have decided to come back and try again...some four years later. :) Anyway, I will start jabbing off now. Here is my question. I have started work on a sort of character creation system that I want to use for a quest game, or maybe more than one. Right now all you can do is choose is answer a few questions that will determine what your character looks like; such as name, age, race, sex, hair color/style, eye color/style, face expression, title, etc. I would like to know if there is a better way I can make this system work than how I have it now. Here is the code:
' "Diverse"
!include <q3ext.qlb>
define game <Diverse>
asl-version <350>
gametype singleplayer
start <Character Creation>
game author <Adventure Bytes Entertainment>
game version <1.0.0>
game copyright <©2004 Adventure Bytes Entertainment, a Christof Walker company. Diverse, Adventure Bytes Entertainment, A.B.E and Christof Walker and their respected logos are registered trademarks or trademarks of Christof Walker. All Rights Reserved.>
game info <Created with QDK 3.52 - UNREGISTERED EVALUATION VERSION.>
default fontname <Courier New>
default fontsize <10>
startscript panes off
command <profile> msg <You are #pcname#, an #pcrace# #pctitle# whom is a #pcage# years old #pcsex# with #pcskin# skin thats #pcheight# and weighs #pcweight# pounds. #pceye2# #pceye# eyes complement your #pchair# #pchair2# hair which almost obscures your #pcface2# face.>
nodebug
end define
define synonyms
end define
define room <Character Creation>
script {
msg <Welcome to the character creation process of Diverse. You will be given several questions which you may answer any way you choose. However, please try to stay in a fantasy like setting when answering. On some questions, like race, you may make up anything you can think of as long as it is creative and fits. After you have finished answering all of the questions you will be able to use the command PROFILE to read a description of your character that gets generated depending on the answers you gave. Remember to have fun and enjoy yourself!|n>
wait <|iTo begin creating your character press any key.|xi>
clear
msg <01) Choose your name *Example: Balfazar Xentarum*>
set string <pcname; >
enter <pcname>
msg <|i-Character name has been recorded.|xi|n>
msg <02) Choose your race *Examples: human, elf, dwarf, orc, etc*>
set string <pcrace; >
enter <pcrace>
msg <|i-Character race has been recorded.|xi|n>
msg <03) Choose your age *Example: 35*>
set numeric <pcage; >
enter <pcage>
msg <|i-Character age has been recoreded.|xi|n>
msg <04) Choose your height *Example: 6'2"*>
set string <pcheight; >
enter <pcheight>
msg <|i-Character height has been recored.|xi|n>
msg <05) Choose your weight *Example: 212*>
set string <pcweight; >
enter <pcweight>
msg <|i-Character weight has been recorded.|xi|n>
msg <06) Choose your skin tone *Example: tanned*>
set string <pcskin; >
enter <pcskin>
msg <|i-Character skin tone has been recorded.|xi|n>
msg <07) Choose your hair style *Examples: long, shaggy, silky, dirty, etc*>
set string <pchair; >
enter <pchair>
msg <|i-Character hair style has been recorded.|xi|n>
msg <08) Choose your hair color *Examples: black, gray, brown, etc*>
set string <pchair2; >
enter <pchair2>
msg <|i-Character hair color has been recorded.|xi|n>
msg <09) Choose your eye style *Examples: fierce, sad, excited, etc*>
set string <pceye; >
enter <pceye>
msg <|i-Character eye style has been recorded.|xi|n>
msg <10) Choose your eye color *Examples: green, hazel, brown, etc*>
set string <pceye2; >
enter <pceye2>
msg <|i-Character eye color has been recorded.|xi|n>
msg <11) Choose your facial expression *Examples: unpleasant, angry, kind, etc*>
set string <pcface2; >
enter <pcface2>
msg <|i-Character facial expression has been recorded.|xi|n>
msg <12) Choose your title *Examples: blademaster, king, warlock, barbarian, wizard, etc*>
set string <pctitle; >
enter <pctitle>
msg <|i-Character title has been recorded.|xi|n>
msg <13) Choose your sex *Examples: male, female*>
set string <pcsex; >
enter <pcsex>
msg <|i-Character sex has been recorded.|xi|n>
msg <Character creation has been finished. Use command line |bPROFILE|xb to read a short description of your character.>
}
end define
define text <intro>
end define
define text <win>
end define
define text <lose>
end define
If someone could compile it, play it and then give me some feedback it would be appreciated. I have plans to maybe add more to the current features but also plan to add in attributes, skills and the like but not in the near future...at least not right now. Just remember that this is an early build and not as creative as I would like. Any help would be welcomed. Thanks in advance!
' "Diverse"
!include <q3ext.qlb>
define game <Diverse>
asl-version <350>
gametype singleplayer
start <Character Creation>
game author <Adventure Bytes Entertainment>
game version <1.0.0>
game copyright <©2004 Adventure Bytes Entertainment, a Christof Walker company. Diverse, Adventure Bytes Entertainment, A.B.E and Christof Walker and their respected logos are registered trademarks or trademarks of Christof Walker. All Rights Reserved.>
game info <Created with QDK 3.52 - UNREGISTERED EVALUATION VERSION.>
default fontname <Courier New>
default fontsize <10>
startscript panes off
command <profile> msg <You are #pcname#, an #pcrace# #pctitle# whom is a #pcage# years old #pcsex# with #pcskin# skin thats #pcheight# and weighs #pcweight# pounds. #pceye2# #pceye# eyes complement your #pchair# #pchair2# hair which almost obscures your #pcface2# face.>
nodebug
end define
define synonyms
end define
define room <Character Creation>
script {
msg <Welcome to the character creation process of Diverse. You will be given several questions which you may answer any way you choose. However, please try to stay in a fantasy like setting when answering. On some questions, like race, you may make up anything you can think of as long as it is creative and fits. After you have finished answering all of the questions you will be able to use the command PROFILE to read a description of your character that gets generated depending on the answers you gave. Remember to have fun and enjoy yourself!|n>
wait <|iTo begin creating your character press any key.|xi>
clear
msg <01) Choose your name *Example: Balfazar Xentarum*>
set string <pcname; >
enter <pcname>
msg <|i-Character name has been recorded.|xi|n>
msg <02) Choose your race *Examples: human, elf, dwarf, orc, etc*>
set string <pcrace; >
enter <pcrace>
msg <|i-Character race has been recorded.|xi|n>
msg <03) Choose your age *Example: 35*>
set numeric <pcage; >
enter <pcage>
msg <|i-Character age has been recoreded.|xi|n>
msg <04) Choose your height *Example: 6'2"*>
set string <pcheight; >
enter <pcheight>
msg <|i-Character height has been recored.|xi|n>
msg <05) Choose your weight *Example: 212*>
set string <pcweight; >
enter <pcweight>
msg <|i-Character weight has been recorded.|xi|n>
msg <06) Choose your skin tone *Example: tanned*>
set string <pcskin; >
enter <pcskin>
msg <|i-Character skin tone has been recorded.|xi|n>
msg <07) Choose your hair style *Examples: long, shaggy, silky, dirty, etc*>
set string <pchair; >
enter <pchair>
msg <|i-Character hair style has been recorded.|xi|n>
msg <08) Choose your hair color *Examples: black, gray, brown, etc*>
set string <pchair2; >
enter <pchair2>
msg <|i-Character hair color has been recorded.|xi|n>
msg <09) Choose your eye style *Examples: fierce, sad, excited, etc*>
set string <pceye; >
enter <pceye>
msg <|i-Character eye style has been recorded.|xi|n>
msg <10) Choose your eye color *Examples: green, hazel, brown, etc*>
set string <pceye2; >
enter <pceye2>
msg <|i-Character eye color has been recorded.|xi|n>
msg <11) Choose your facial expression *Examples: unpleasant, angry, kind, etc*>
set string <pcface2; >
enter <pcface2>
msg <|i-Character facial expression has been recorded.|xi|n>
msg <12) Choose your title *Examples: blademaster, king, warlock, barbarian, wizard, etc*>
set string <pctitle; >
enter <pctitle>
msg <|i-Character title has been recorded.|xi|n>
msg <13) Choose your sex *Examples: male, female*>
set string <pcsex; >
enter <pcsex>
msg <|i-Character sex has been recorded.|xi|n>
msg <Character creation has been finished. Use command line |bPROFILE|xb to read a short description of your character.>
}
end define
define text <intro>
end define
define text <win>
end define
define text <lose>
end define
If someone could compile it, play it and then give me some feedback it would be appreciated. I have plans to maybe add more to the current features but also plan to add in attributes, skills and the like but not in the near future...at least not right now. Just remember that this is an early build and not as creative as I would like. Any help would be welcomed. Thanks in advance!
Cryophile
06 Jun 2004, 18:33Basically, there's not much more you can do...
I never compiled it, so I can't tell you how it went. There doesn't seem to be too much wrong with how you did it. You could always organize it in a menu if you wanted.
Name
Race
Title
etc.
Finish
and if the player clicks finish before they're done entering information, it will send them back to the menu.
I never compiled it, so I can't tell you how it went. There doesn't seem to be too much wrong with how you did it. You could always organize it in a menu if you wanted.
Name
Race
Title
etc.
Finish
and if the player clicks finish before they're done entering information, it will send them back to the menu.