Synthetic Reality Forums   
my profile | directory login | register | search | faq | forum home

  next oldest topic   next newest topic
» Synthetic Reality Forums » Our Archives » WoS World Developer Tips » Testing tokens

   
Author Topic: Testing tokens
seawitch
Member
Member # 863

Rate Member
Icon 9 posted      Profile for seawitch   Email seawitch   Send New Private Message       Edit/Delete Post 
Okay so I'm slaving away her, on the whole fairly successfully.
BUT
is there any way of checking that the player actually has tokens?
I've done the scenes for one quest and it doesn't act the way it should. I've rewritten several times and am so stoopid I just can't find the glitch.
My other scenes all work fine and the quests are ticking along nicely, but surely there must be a way of testing it as I go along that doesn't involve playing the game.
PLZ help me.
Seawitch

Posts: 24 | From: Cheshire england | Registered: May 2001  |  IP: Logged
seawitch
Member
Member # 863

Rate Member
Icon 7 posted      Profile for seawitch   Email seawitch   Send New Private Message       Edit/Delete Post 
Solved it!
But would still like to know if there is any way (other than play/testing) to check that character actually HAS tokens.
seawitch

Posts: 24 | From: Cheshire england | Registered: May 2001  |  IP: Logged
Loric
Healthy Member
Member # 755

Member Rated:
5
Icon 1 posted      Profile for Loric   Email Loric   Send New Private Message       Edit/Delete Post 
As far as I know there isn't a way to just tell if a character has a token without sending them through a script that tests for it. However there are two ways of doing scene testing.

You can simply enter actor comments whenever you give or take a token. (ie 1: Now I give you token 46.) Then once you finish testing take that dialog out.

Or you can use the new /stepper command. It lets you step through the code of the scene step by step. It only works when you actually play your world though, not in the development mode.

Loric


Posts: 189 | Registered: Mar 2001  |  IP: Logged
samsyn
Administrator
Member # 162

Member Rated:
4
Icon 1 posted      Profile for samsyn   Author's Homepage   Email samsyn   Send New Private Message       Edit/Delete Post 
Or use the "Book of Quests" (or is that "Quest Diary"? It's been both )

So long as your token has a description associated with it, it will be shown there.

Also, I believe I show the token ID numbers if you are using a cheat/modder character.


Posts: 10668 | From: California | Registered: Dec 1998  |  IP: Logged
samsyn
Administrator
Member # 162

Member Rated:
4
Icon 1 posted      Profile for samsyn   Author's Homepage   Email samsyn   Send New Private Message       Edit/Delete Post 
Also, as a world developer, you will find it convenient to get used to doing this:

/take T15 <-- remove token 15
/give T22 <-- give token 22
/scene 47 <-- start scene 47

[evaluate if tokens work properly in scene]
[edit scene]
[save scene to disk]

/reload <-- read and compile world from disk
/take T15
/give T22
/scene 47

What I am trying to say is that this way you don't have to start a new character to play a scene "from the beginning" (assuming it changes based on the tokens people have)


Posts: 10668 | From: California | Registered: Dec 1998  |  IP: Logged
seawitch
Member
Member # 863

Rate Member
Icon 1 posted      Profile for seawitch   Email seawitch   Send New Private Message       Edit/Delete Post 
Thanks all, I did use the get/take token option, but it would have been easier if there was a display tokens options.
And giving and taking it doesn't actually confirm that the character gets it in normal play.
Grouse over )

Posts: 24 | From: Cheshire england | Registered: May 2001  |  IP: Logged
samsyn
Administrator
Member # 162

Member Rated:
4
Icon 1 posted      Profile for samsyn   Author's Homepage   Email samsyn   Send New Private Message       Edit/Delete Post 
quote:
but it would have been easier if there was a display tokens option

So the "Quest Diary" from the BOOKs menu to see a list of named tokens didn't work?


Posts: 10668 | From: California | Registered: Dec 1998  |  IP: Logged
   

   Close Topic   Feature Topic   Move Topic   Delete Topic next oldest topic   next newest topic
 - Printer-friendly view of this topic
Hop To:


Contact Us | Synthetic Reality

Copyright 2003 (c) Synthetic Reality Co.

Powered by UBB.classic™ 6.7.3