Checking coding out in new scenario

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).
AuthorTopic: Checking coding out in new scenario
Warrior
Member # 2796
Profile #0
Hi,
Is there a simple way to check out your new coding without having to go through the whole scenario just to see the results,
then having to go back and forth until you get it just right?
What I mean is there a way of just checking the new town out by it self and then later just attach it to the main scenario?
Sort of like a subroutine that is called from the main scenario and if ok as it is then left attached.
Thanks in advance for any help.
gcmaxxon

BTW, thanks for the cutscene advice.

--------------------
quote:
" He loved maps, and in his hall there hung a large one of the
Country Round with all his favourite walks marked on it in red ink."
---The Hobbit
pg21

Posts: 97 | Registered: Wednesday, March 19 2003 08:00
Off With Their Heads
Member # 4045
Profile Homepage #1
Two ways: for simple typos and incorrect uses of calls, Alint. For everything else, use Set Starting Location to set yourself in the right spot and run through it in the game.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Apprentice
Member # 4423
Profile #2
I find a combination of Set Starting Location and Debugging Mode to be most effective.

Alternatively, you could place the code (or import the town) into a small, testing scenario. But that seems like more work than is required. I suppose you could also just add an entrance to the town near where the party normally starts, like in a bunch of trees or something. In fact, that way you could test all your towns with a forest of town entrances...

--------------------
"When your teacher needs a calculator to add up how many you missed more than you need a calculator to take a calc test, that's bad."
Posts: 44 | Registered: Tuesday, May 25 2004 07:00
Warrior
Member # 2796
Profile #3
Hi,
Is this an example of set start location?
quote:

beginstate 12;
move_to_new_town(4, 12, 13);
break;

:eek:
gcmaxxon

--------------------
quote:
" He loved maps, and in his hall there hung a large one of the
Country Round with all his favourite walks marked on it in red ink."
---The Hobbit
pg21

Posts: 97 | Registered: Wednesday, March 19 2003 08:00
Off With Their Heads
Member # 4045
Profile Homepage #4
No. It's in the Town (and Outdoor) menu in the editor.

--------------------
Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens.
Smoo: Get ready to face the walls!
Ephesos: In conclusion, yarr.

Kelandon's Pink and Pretty Page!!: the authorized location for all things by me
The Archive of all released BoE scenarios ever
Posts: 7968 | Registered: Saturday, February 28 2004 08:00
Warrior
Member # 2796
Profile #5
Hi,
Ok, I found it. Thanks for the help. This will make my life so much simlper.

quote:

Referrance: BoA Editor Docs v1.2, pg. 20
Setting the Starting Location:
One thing you will need to do for every scenario is edit where the party starts out when they first
enter it. The party always starts somewhere inside one of your towns. There are two steps for this.
First, go to the outdoor section containing the town the party starts in. Select Set Starting Location
from the Outdoor menu and then select the location of the town the party starts in.
Then load the town the party starts in. Select Set Starting Location from the Town menu, and t h e n
select the location in the town the party starts at .
For more details on editing/loading towns and outdoor sections, read the chapters on Editing t h e
Outdoors and Editing Towns.

I just put the referrance there for anyone else who may be having similar problems coding and learning at the same time.

gcmaxxon

--------------------
quote:
" He loved maps, and in his hall there hung a large one of the
Country Round with all his favourite walks marked on it in red ink."
---The Hobbit
pg21

Posts: 97 | Registered: Wednesday, March 19 2003 08:00