Community Projects:WikiAdventure:Games:Test Game:Location02

From GPWiki

Files:GUITutorial_warn.gif The Game Programming Wiki has moved! Files:GUITutorial_warn.gif

The wiki is now hosted by GameDev.NET at wiki.gamedev.net. All gpwiki.org content has been moved to the new server.

However, the GPWiki forums are still active! Come say hello.

This page contains WikiAdventure game content data.
Please familiarise yourself with the content syntax before editing this page.

This page contains WikiAdventure game contents data for testing purposes.


<Location>

Location02.jpg
Enlarge
Location02.jpg

<Items>

<Item>
TestPerson.png
TestPerson.png
Item ID: TestPerson
Description: A person you can talk to
Position: 500, 200
<OnClick> StartDialog( "SelectDialog" ) </OnClick>
</Item>

</Items>


<Dialogs>

<Dialog>
Dialog ID: SelectDialog
Speaker ID: Computer
  1. Which would you like to do?
    1. [Start Dialog #1]
      <OnClick> StartDialog( "RandomDialog01" ) </OnClick>
    2. [Start Dialog #2]
      <OnClick> StartDialog( "RandomDialog02" ) </OnClick>
    3. [Go to Location #3]
      <OnClick> StartLocation( "Location03" ) </OnClick>
    4. Nothing.
</Dialog>


<Dialog>
Dialog ID: RandomDialog01
Speaker ID: Mr. Nobody
  1. Hi there
    1. Have you seen Frank?
      1. No I haven't, sorry.
    2. Where's the police station?
      1. Just a few blocks west. You can't miss it.
        1. Okay, thanks.
          <OnClick>ShowQuestion( "New location on map", "You got directions to a new location! Do you want to go there now?", "StartLocation( 'Location01')", "ShowText('Okay, suit yourself!')" )</OnClick>
    3. Goodbye.
</Dialog>


<Dialog>
Dialog ID: RandomDialog02
Speaker ID: Mr. Somebody
  1. Mjello
    1. Got a light?
      1. I don't smoke.
    2. Do you know where I can get some weapons?
      1. Keep your voice down! Hm, need some protection, huh? Hehe. Yeah, come to storage room 7 at the docks tonight.
        <OnLoad>
        if bAskedAboutWeapons == true then
        ChangeDialogText( "Didn't you already ask me about that?! Go to storage room 7 dammit!" )
        end
        bAskedAboutWeapons = true
        </OnLoad>
        1. Great, I'll be there.
        2. I've changed my mind, I don't want any weapons anyway.
          1. Suit yourself, but don't go telling people what I've told you, or you'll be seeing a demonstation of the weapons on your own body.
            1. I'm not talking.
            2. Uh-uh, I'm scared!
              <OnClick>ShowText( "He flashes a butterfly knife sitting is belt" )</OnClick>
              1. You better watch it, buddy!!
    3. Goodbye.
</Dialog>

</Dialogs>

</Location>


Back to Test Game Page.

Back to WikiAdventure Games.

Back to WikiAdventure Main.