Overwhelmed
NyxBean
17 May 2014, 21:28I've been looking at the tutorial but I'd like to know what the extents are of a text adventure. I've only ever played a couple in the past.
Is it possible to give the player a choice of what race they would like to play (elf, dwarf, human, etc) then have them start out in separate areas before it merges with the main story? I'd like to use this as a way to explore and experience a fantasy realm I eventually want to write books about and this would be extremely useful.
The tutorial itself will make much more sense to me later when I'm not half asleep, however I'd be really appreciate being pointed in the direction of anything else which might help a super duper newb like myself. Sorry to be asking to have my hand held; I have severe generalised anxiety disorder and it gets in the way of most things I try to do.
Is it possible to give the player a choice of what race they would like to play (elf, dwarf, human, etc) then have them start out in separate areas before it merges with the main story? I'd like to use this as a way to explore and experience a fantasy realm I eventually want to write books about and this would be extremely useful.
The tutorial itself will make much more sense to me later when I'm not half asleep, however I'd be really appreciate being pointed in the direction of anything else which might help a super duper newb like myself. Sorry to be asking to have my hand held; I have severe generalised anxiety disorder and it gets in the way of most things I try to do.
HegemonKhan
18 May 2014, 01:56yes and yes, an example:
show menu ("What is your race?", split ("human;dwarf;elf;gnome;halfling;giant", ";"), false) {
-> game.pov.race_string = result
-> switch (result) {
->-> case ("human") {
->->-> game.pov.parent = human_town
->-> }
->-> case ("dwarf") {
->->-> game.pov.parent = dwarf_town
->-> }
->-> case ("elf") {
->->-> game.pov.parent = elf_town
->-> }
->-> case ("gnome") {
->->-> game.pov.parent = gnome_town
->-> }
->-> case ("halfling") {
->->-> game.pov.parent = halfling_town
->-> }
->-> case ("giant") {
->->-> game.pov.parent = giant_town
->-> }
-> }
show menu ("What is your race?", split ("human;dwarf;elf;gnome;halfling;giant", ";"), false) {
-> game.pov.race_string = result
-> switch (result) {
->-> case ("human") {
->->-> game.pov.parent = human_town
->-> }
->-> case ("dwarf") {
->->-> game.pov.parent = dwarf_town
->-> }
->-> case ("elf") {
->->-> game.pov.parent = elf_town
->-> }
->-> case ("gnome") {
->->-> game.pov.parent = gnome_town
->-> }
->-> case ("halfling") {
->->-> game.pov.parent = halfling_town
->-> }
->-> case ("giant") {
->->-> game.pov.parent = giant_town
->-> }
-> }
NyxBean
18 May 2014, 08:33Excellent! Thank you.
HegemonKhan
18 May 2014, 17:03some useful links for you:
01. http://quest5.net/wiki/Main_Page
02. http://quest5.net/wiki/Tutorial
03. http://quest5.net/wiki/How_to (guides)
04. http://quest5.net/wiki/Showing_a_menu
05. http://quest5.net/wiki/Character_Creation
06. http://quest5.net/wiki/Category:All_Fun ... t_Commands (page 1, range: A-S)
07. http://quest5.net/w/index.php?title=Cat ... t#mw-pages (page 2, range: S-Z)
08. viewforum.php?f=18 (more guides: libraries and code)
09. (also, look up 'switch' in #03 and~or in #06-07)
MoveObject (object_you_want_to_move, the_destination_object_that_you're_moving_the_object_to_or_into)
is the same as:
object_that_you_want_to_move.parent = the_destination_object_that_you're_moving_the_object_to_or_into
for explanation of the 'parent' Attribute, parent-child (nesting-indenting-'containment') relationships (folders~directories hierarchy):
HK
-> pants_with_pockets
->-> wallet
->->-> $1_dollar_bill
->->-> $5_dollar_bill
HK.parent = null
pants_with_pockets.parent = HK
wallet.parent = pants_with_pockets
$1_dollar_bill.parent = wallet
$5_dollar_bill.parent = wallet
-----
HK.parent = room
$1_dollar_bill.parent = HK
room
-> HK
->-> $1_dollar_bill
->-> pants_with_pockets
->->-> wallet
->->->-> $5_dollar_bill
------
hand.parent = HK
$1_dollar_bill.parent = hand
room
-> HK
->-> hand
->->-> $1_dollar_bill
->-> pants_with_pockets
->->-> wallet
->->->-> $5_dollar_bill
-------
c:\
-> Programs
->-> Quest
-------
human taxonomy:
Domain: Eukyrota
-> Kingdom: Animalia
->-> Phylum: Chordata
->->-> Class: Mammalia
->->->-> Order: Primate
->->->->-> Family: Ape
->->->->->-> Genus: Homo
->->->->->->-> Species: Homo sapiens sapiens
-----
Scripting 'parenting~nesting' hiercharchy (a script block):
character creation function:
msg ("What is your name?")
get input {
-> game.pov.alias = result
-> msg ("What is your age?")
-> get input {
->-> game.pov.age_string = result
->-> show menu ("What is your gender?", split ("male;female",";"), false) {
->->-> game.pov.gender_string = result
->->-> show menu ("What is your race?", split ("human;dwarf;elf;gnome;halfling;giant",";"), false) {
->->->-> game.pov.race_string = result
->->->-> show menu ("What is your class?", split ("warrior;thief;cleric;mage",";"), false) {
->->->->-> game.pov.class_string = result
->->->-> }
->->-> }
->-> }
-> }
}
-------
etc order hierarchies
01. http://quest5.net/wiki/Main_Page
02. http://quest5.net/wiki/Tutorial
03. http://quest5.net/wiki/How_to (guides)
04. http://quest5.net/wiki/Showing_a_menu
05. http://quest5.net/wiki/Character_Creation
06. http://quest5.net/wiki/Category:All_Fun ... t_Commands (page 1, range: A-S)
07. http://quest5.net/w/index.php?title=Cat ... t#mw-pages (page 2, range: S-Z)
08. viewforum.php?f=18 (more guides: libraries and code)
09. (also, look up 'switch' in #03 and~or in #06-07)
MoveObject (object_you_want_to_move, the_destination_object_that_you're_moving_the_object_to_or_into)
is the same as:
object_that_you_want_to_move.parent = the_destination_object_that_you're_moving_the_object_to_or_into
for explanation of the 'parent' Attribute, parent-child (nesting-indenting-'containment') relationships (folders~directories hierarchy):
HK
-> pants_with_pockets
->-> wallet
->->-> $1_dollar_bill
->->-> $5_dollar_bill
HK.parent = null
pants_with_pockets.parent = HK
wallet.parent = pants_with_pockets
$1_dollar_bill.parent = wallet
$5_dollar_bill.parent = wallet
-----
HK.parent = room
$1_dollar_bill.parent = HK
room
-> HK
->-> $1_dollar_bill
->-> pants_with_pockets
->->-> wallet
->->->-> $5_dollar_bill
------
hand.parent = HK
$1_dollar_bill.parent = hand
room
-> HK
->-> hand
->->-> $1_dollar_bill
->-> pants_with_pockets
->->-> wallet
->->->-> $5_dollar_bill
-------
c:\
-> Programs
->-> Quest
-------
human taxonomy:
Domain: Eukyrota
-> Kingdom: Animalia
->-> Phylum: Chordata
->->-> Class: Mammalia
->->->-> Order: Primate
->->->->-> Family: Ape
->->->->->-> Genus: Homo
->->->->->->-> Species: Homo sapiens sapiens
-----
Scripting 'parenting~nesting' hiercharchy (a script block):
character creation function:
msg ("What is your name?")
get input {
-> game.pov.alias = result
-> msg ("What is your age?")
-> get input {
->-> game.pov.age_string = result
->-> show menu ("What is your gender?", split ("male;female",";"), false) {
->->-> game.pov.gender_string = result
->->-> show menu ("What is your race?", split ("human;dwarf;elf;gnome;halfling;giant",";"), false) {
->->->-> game.pov.race_string = result
->->->-> show menu ("What is your class?", split ("warrior;thief;cleric;mage",";"), false) {
->->->->-> game.pov.class_string = result
->->->-> }
->->-> }
->-> }
-> }
}
-------
etc order hierarchies