catventure
04-05-2008, 20:43
Hi,
Here is new bundled version of Thinbasic Adventure Builder.
http://tab.thinbasic.com/tabdemo.zip
(thinbasic not required to be installed)
04 May 2008 (Release 28)
===========
*NEW. %vsyn% formatting code substitutes synonym typed by player into message text instead of verb keyword. (suggested by Jason Nicholls)
*CHANGED. Bigger font in *most* Editor textboxes for clarity and easier reading. (suggested by Jason Nicholls)
*NEW. Ability to make TAB_Player autoload and run a specified adventure datafile. (suggested by Jason Nicholls)
To make this work simply rename your database to "autorun" and place in same folder as TAB Player.
*CHANGED. TAB Editor can now be minimized.
*NEW. "invlistoff" ACTION command forces TAB to concatenate PLAYER inventory listing. If choosing this option the previously unused System Message 51 should be set to read by default: "You are wearing" and all object text descriptions should begin with a lower case letter and should not terminate with a period. (full stop)
eg: "a brown satchel" is OK. "A brown satchel." is not OK for this type of inventory output.
Example code required in Script 2:
' enable concatenated player inventory listing...
[start]flag20=0[acts]flag20=1#invlistoff[end]
Example output:
You are carrying a torch and a spanner. You are wearing a satchel, a hat and a blazer. In the satchel is a map, a small compass and the revolver.
"Crystal_Keepers.tab" has been updated to use this type of inventory listing.
*NEW. Random Messages feature. Use %r% format code(s) inside a message text to signify elements of a randomly printed message
EXAMPLE
-------
"The knife is bloodstained and very sharp.
%r%The knife is covered in blood.
%r%The knife is coated with patches of blood.
%r%The knife is smeared with red blood.
%r%Knife: It's got blood on the handle and blade!
%r%Ugh! The small knife has got blood all over it.
%r%The knife looks like it's been used recently. There are splashes of blood on it."
>examine knife
Knife: It's got blood on the handle and blade!
Can be used in locations, messages, custom messages (cmess), object descriptions, object examine text, Character text and *some* system messages (one's that are complete messages)
There is no fixed upper limit to the number of random elements a text may contain.
A very useful addition to TAB.
"Character_demo.tab" has some example uses of %r% code embedding.
*FIX. LOADING Response ,Script1, Script2 and Character Speech text files now operating correctly without trouble.
*NEW. New %?% format code used in Response and Character Speech to provide customised replies when words not understood by TAB. eg: Response entries
[start]?[acts]cmessSorry. I do not understand "%?%" as a verb.#done[end]
[start]%v% ?[acts]cmessSorry. I do not understand "%?%" as a noun in that sentence.#done[end]
[start]%v% %n1% ?/%v% %objn1% ?/%v% %charn1% ?[acts]cmessSorry. I do not understand "%?%" in that sentence.#done[end]
[start]%v% %n1% %p% ?/%v% %objn1% %p% ?/%v% %charn1% %p% ?[acts]cmessI didn't understand "%?%" as a noun in that sentence.#done[end]
[start]%v% %p% ?[acts]cmessSorry."%?%" is not in my vocabulary as a noun.#done[end]
Traps nonsense words or words not understood by TAB and prints appropriate reply.
All example demo datafiles updated to include this.
Regards,
catventure.
Here is new bundled version of Thinbasic Adventure Builder.
http://tab.thinbasic.com/tabdemo.zip
(thinbasic not required to be installed)
04 May 2008 (Release 28)
===========
*NEW. %vsyn% formatting code substitutes synonym typed by player into message text instead of verb keyword. (suggested by Jason Nicholls)
*CHANGED. Bigger font in *most* Editor textboxes for clarity and easier reading. (suggested by Jason Nicholls)
*NEW. Ability to make TAB_Player autoload and run a specified adventure datafile. (suggested by Jason Nicholls)
To make this work simply rename your database to "autorun" and place in same folder as TAB Player.
*CHANGED. TAB Editor can now be minimized.
*NEW. "invlistoff" ACTION command forces TAB to concatenate PLAYER inventory listing. If choosing this option the previously unused System Message 51 should be set to read by default: "You are wearing" and all object text descriptions should begin with a lower case letter and should not terminate with a period. (full stop)
eg: "a brown satchel" is OK. "A brown satchel." is not OK for this type of inventory output.
Example code required in Script 2:
' enable concatenated player inventory listing...
[start]flag20=0[acts]flag20=1#invlistoff[end]
Example output:
You are carrying a torch and a spanner. You are wearing a satchel, a hat and a blazer. In the satchel is a map, a small compass and the revolver.
"Crystal_Keepers.tab" has been updated to use this type of inventory listing.
*NEW. Random Messages feature. Use %r% format code(s) inside a message text to signify elements of a randomly printed message
EXAMPLE
-------
"The knife is bloodstained and very sharp.
%r%The knife is covered in blood.
%r%The knife is coated with patches of blood.
%r%The knife is smeared with red blood.
%r%Knife: It's got blood on the handle and blade!
%r%Ugh! The small knife has got blood all over it.
%r%The knife looks like it's been used recently. There are splashes of blood on it."
>examine knife
Knife: It's got blood on the handle and blade!
Can be used in locations, messages, custom messages (cmess), object descriptions, object examine text, Character text and *some* system messages (one's that are complete messages)
There is no fixed upper limit to the number of random elements a text may contain.
A very useful addition to TAB.
"Character_demo.tab" has some example uses of %r% code embedding.
*FIX. LOADING Response ,Script1, Script2 and Character Speech text files now operating correctly without trouble.
*NEW. New %?% format code used in Response and Character Speech to provide customised replies when words not understood by TAB. eg: Response entries
[start]?[acts]cmessSorry. I do not understand "%?%" as a verb.#done[end]
[start]%v% ?[acts]cmessSorry. I do not understand "%?%" as a noun in that sentence.#done[end]
[start]%v% %n1% ?/%v% %objn1% ?/%v% %charn1% ?[acts]cmessSorry. I do not understand "%?%" in that sentence.#done[end]
[start]%v% %n1% %p% ?/%v% %objn1% %p% ?/%v% %charn1% %p% ?[acts]cmessI didn't understand "%?%" as a noun in that sentence.#done[end]
[start]%v% %p% ?[acts]cmessSorry."%?%" is not in my vocabulary as a noun.#done[end]
Traps nonsense words or words not understood by TAB and prints appropriate reply.
All example demo datafiles updated to include this.
Regards,
catventure.