TAB - thinBasic Adventure Builder

T.A.B. is an interactive fiction/text adventure program for Windows and made with thinBasic.
 
HomeFAQSearchUsergroupsRegisterLog in
Latest topics
» TAB Version 66 Available
Mon Sep 26, 2016 12:02 pm by catventure

» TAB Version 65 Available
Mon Feb 23, 2015 12:04 pm by catventure

» Incubation pt 1
Wed Apr 24, 2013 9:24 am by Kabrinski

» Charecter movements - doors
Wed Mar 20, 2013 2:55 pm by garethfx

» Member feedback on game planning
Sun Mar 03, 2013 1:47 pm by garethfx

» Still alive - just!
Thu Feb 28, 2013 11:34 am by catventure

» TAB 64 crashes ...
Mon Aug 20, 2012 11:31 am by acko

» Idea on addition to object being container
Sat Aug 18, 2012 3:49 pm by catventure

» sizex=y action ...
Thu Aug 09, 2012 11:29 am by catventure


Share | 
 

 Re: Manual

View previous topic View next topic Go down 
Go to page : Previous  1, 2
AuthorMessage
stants
Experienced Adventurer
avatar

Number of posts : 71
Age : 43
Location : Maidstone, Kent, UK
Humor : I shall tear your soul Apart!!!!!
Adventure Points : 32
Registration date : 2009-09-16

PostSubject: Re: Re: Manual   Fri Jun 24, 2011 9:15 pm

Yes very interesting Phil. You could also have 2 different static characters. One alive (guard,character 1) and one dead.(dead guard,character 2, not created yet). When the player examines the guard type in your usual examine character message for character 1.
i.e You examine the guard and he grunts at you. He doesnt seem very helpful. Maybe You should try something else.
You can also talk to the guard with normal speech entries for characters.

i.e. say to guard, what do you want.

Maybe the guard wants an object or in your case you could have the character reply with 'I want nothing from you peasant except your blood!!!'

which maybe gives the character a clue so he thinks right ive gotta kill him.
You could even have a certain number of turns to kill him and if you dont kill him after 3 turns he gets angry and kills you.

What Now> Kill Guard with dagger.
You attack the guard with the dagger. He is now dead!!!(Destroy character 1 and create character 2:dead guard)


What Now>examine dead guard. set flag 1 to 1
You search the guard and find a key. (create key object in location.)

What Now>examine dead guard and if flag 1 is 1 print suitable cmess You examine the dead guard and find nothing more of interest.

There are several ways of doing this actually. Phils example is very good also. Its just finding out what better suits you.
Obviously you will need a flag. One to test if the user has typed examine dead guard twice. On the second time they search you will find nothing of interest.
Or maybe you want the guard to have 2 objects if examine dead guard is typed twice. Then you will need 2 flags.

What Now>examine dead guard. Set flag 1 to 1

You find a gold key. Well done!!!

What Now>examine dead guard and if flag 1=1 print cmess You search the guard again and find a map. Nice One!!! create object number 24(map) set flag 1 to 2

What Now> examine dead guard and if flag 1=2 print cmess You search the guard but he has nothing more of interest.

Anyway just an idea.

Cheers

Stants.

Back to top Go down
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: Re: Manual   Sat Jun 25, 2011 8:32 am

Good ideas, stants!
Another way could be to create 2 static characters like you said but have the 2nd character "a dead body"...
character noun = /body/

This would avoid any character noun conflict with /guard/

Phil.

_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
Cuthbertson
Novice Adventurer
avatar

Male
Number of posts : 11
Age : 49
Location : Canada
Humor : "In our day, the DM didn't give you specs on magic items. You'd walk around like an idiot for months with a +1 sword just because it looked cool and appeared to help ya in battle!"
Adventure Points : 0
Registration date : 2011-06-18

PostSubject: Re: Re: Manual   Wed Jun 29, 2011 12:56 am

My goodness! So many options! Thanks again to both of you. I'll have to think out the level of interactivity that I want the player to have with the NPC and then try out these approaches.

Cheers,
Cuthbertson
Back to top Go down
View user profile
Cuthbertson
Novice Adventurer
avatar

Male
Number of posts : 11
Age : 49
Location : Canada
Humor : "In our day, the DM didn't give you specs on magic items. You'd walk around like an idiot for months with a +1 sword just because it looked cool and appeared to help ya in battle!"
Adventure Points : 0
Registration date : 2011-06-18

PostSubject: Re: Re: Manual   Thu Jun 30, 2011 4:36 am

Okay, another question: Is there a way to change the static status of an object similar to how we can change the location of an object in game?

From what I have tested, the staticX is just read only for finding out if an object is static.

I'm hoping there is a command available for modifying this field. I have an object in the game that after a given result, I want to move the object back to a certain location and make it static so that it cannot be taken a 2nd time.

If this cannot be done, I am guessing I'd have to write a custom response and use a flag to deny the player from taking the object a 2nd time.

Cheers,
Cuthbertson
Back to top Go down
View user profile
catventure
Admin Adventurer
avatar

Male
Number of posts : 376
Age : 65
Location : UK
Humor : Enjoys a laugh!
Adventure Points : 52
Registration date : 2008-06-08

PostSubject: Re: Re: Manual   Thu Jun 30, 2011 7:50 am

Cuthbertson wrote:
Okay, another question: Is there a way to change the static status of an object similar to how we can change the location of an object in game?

From what I have tested, the staticX is just read only for finding out if an object is static.

I'm hoping there is a command available for modifying this field. I have an object in the game that after a given result, I want to move the object back to a certain location and make it static so that it cannot be taken a 2nd time.

Hi cuthbertson,
A static object is also regarded as one that has a weight attribute of 500....
So you can use weight changing action:

weightobjn1=X
weightobjn2=X
and
weightX=Y

So you would move the object to the appropriate location THEN use action:

#weightX=500# action command to set it to static....

If you now try and take object X TAB will reply with the default system mesage:
"You can't take the XXXX."

Regards,
Phil.


_________________
http://tab.thinbasic.com ; Home of the TAB I.F. project.
Back to top Go down
View user profile http://adventure.rpgdynasty.com
Sponsored content




PostSubject: Re: Re: Manual   

Back to top Go down
 

Re: Manual

View previous topic View next topic Back to top 

 Similar topics

+
Page 2 of 2Go to page : Previous  1, 2

Permissions in this forum:You cannot reply to topics in this forum
TAB - thinBasic Adventure Builder :: TAB FORUMS :: General Forum-
Jump to: