Thread: Is this ok?

Results 1 to 3 of 3
  1. #1 Is this ok? 
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    Code:
    <list>
        <dialogue>
            <dialogueId>0</dialogueId>
            <numberOfLines>4</numberOfLines>
            <continous>false</continous> <!-- If true you must have continousId set :) -->
            <type>STANDARD</type><!-- Standard woo :) -->
            <typeAction>ADD_ITEM</typeAction><!-- Testing :) -->
            <!-- This isn't needed if we use options. -->
            <toAdd>
                <item>
                    <id>995</id>
                    <amount>100</amount>
                </item>
            </toAdd>
            <actions>
                <action>
                    <actionId>373</actionId>
                    <addMe>
                        <item>
                            <id>995</id>
                            <amount>1000</amount>
                        </item>
                        <item>
                            <id>4151</id>
                            <amount>1</amount>
                        </item>
                    </addMe>
                </action>
            </actions>
            <lines>
                <string>Welcome to Acheron!</string> <!-- Must match numberOfLines -->
                <string>playername</string>
                <string>Enjoy your stay!</string>
                <string>Latest Update: Dialogues</string>
            </lines>
            <chatboxId>368</chatboxId> <!-- Four lines - Click here to continue -->
            <index>
                <int>369</int> <!-- Must match numberOfLines -->
                <int>370</int>
                <int>371</int>
                <int>372</int>
            </index>
        </dialogue>    
        <dialogue>
            <dialogueId>1</dialogueId>
            <numberOfLines>4</numberOfLines>
            <continous>false</continous>
            <type>OPTIONS</type>
            <typeAction>
                <actionType>ADD_ITEM</actionType>
                <actionType>TELEPORT</actionType>
            </typeAction>
            <actions>
                <action>
                    <actionId>2494</actionId>
                    <addMe><item>
                            <id>995</id><amount>10000</amount>
                        </item></addMe>
                        <teleport>
                            <x>3200</x>
                            <y>3200</y>
                            <z>0</z>
                        </teleport>
                </action>
                <action>            
                    <actionId>2495</actionId>
                    <addMe>
                        <item>
                            <id>995</id>
                            <amount>1000</amount>
                        </item>
                    </addMe>
                </action>
                <action>            
                    <actionId>2496</actionId>
                    <addMe>
                        <item>
                            <id>995</id>
                            <amount>100</amount>
                        </item>
                    </addMe>
                </action>
                <action>            
                    <actionId>2497</actionId>
                    <addMe>
                        <item>
                            <id>995</id>
                            <amount>10</amount>
                        </item>
                    </addMe>
                </action>
                <action>            
                    <actionId>2498</actionId>
                    <addMe>
                        <item>
                            <id>995</id>
                            <amount>1</amount>
                        </item>
                    </addMe>
                </action>
            </actions>
            <lines>
                <string>What would you like to take?</string>
                <string>10000 Coins</string> <!-- Must match numberOfLines -->
                <string>1000 Coins</string>
                <string>100 Coins</string>
                <string>10 Coins</string>
                <string>1 Coin</string>
            </lines>
            <chatboxId>2492</chatboxId> <!-- Four lines - Click here to continue -->
            <index>
                <int>2493</int>
                <int>2494</int>
                <int>2495</int>
                <int>2496</int>
                <int>2497</int>
                <int>2498</int>
            </index>
            <swordsFar>true</swordsFar>
            <swordsOne>2501</swordsOne>
            <swordsTwo>2502</swordsTwo>
        </dialogue>
        <!-- 
        <chatboxId>368</chatboxId> Fours Lines click here to continue
        <int>369</int>
        <int>370</int>
        <int>371</int>
        <int>372</int>
        
        <chatboxId>363</chatboxId> Three lines click here to continue
        <int>364</int>
        <int>365</int>
        <int>366</int>    
        
        <chatboxId>359</chatboxId> Two lines click here to continue
        <int>360</int>
        <int>361</int>
        
        <chatboxId>356</chatboxId> One line click here to continue
        <int>357</int>    
        
        <chatboxId>2492</chatboxId> Five options
        <int>2494</int>
        <int>2495</int>
        <int>2496</int>
        <int>2497</int>
        <int>2498</int>
        <swordsFar>true</swordsFar>
        <swordsOne>2501</swordsOne>
        <swordsTwo>2502</swordsTwo>
         -->
    </list>
    LOL@ how much I use roflcopter.
    Reply With Quote  
     

  2. #2  
    The Father Squirrel
    Guest
    That looks good, but i reckon you should use more then just 1 xml xD, could become harder to find stuff.
    Reply With Quote  
     

  3. #3  
     

    Vastiko's Avatar
    Join Date
    Dec 2006
    Posts
    5,700
    Thanks given
    300
    Thanks received
    663
    Rep Power
    5000
    Quote Originally Posted by The Father Squirrel View Post
    That looks good, but i reckon you should use more then just 1 xml xD, could become harder to find stuff.
    Good point Thanks
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •