Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 48 and Version 49 of content/LevelHowTo


Ignore:
Timestamp:
Dec 28, 2013, 3:54:42 PM (11 years ago)
Author:
jo
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • content/LevelHowTo

    v48 v49  
    477477    </Script>
    478478}}}
    479 The ConsoleCommand "'''Mission endMission true'''" gets executed.
     479The ConsoleCommand "'''Mission endMission true'''" gets executed, which will end the mission and make the player accomplish the mission.
     480
    480481==== How to find out more console commands ====
    481482Open the in-game console and press [Tab] (command completion) to find out which console commands already exist. Note that if there is no shortcut, the command completion only reveals the command word by word - you have to specify the class and press tab again to see which commmands are created in a specific class and repeat this process again to see which argument is needed for a specific ConsoleCommand.
     
    484485Example: ../data/levels/quests.oxw
    485486
     487
     488== Templates ==
     489
     490
     491== Best Practices ==
     492 * As a level designer, you are a story teller. Always tell your story in several ways, since a regular user will miss some information and yet should know what is going on. E.g. send a message that some traitors have turned their flags and now cooperate with the enemy. Make sure that the concerning spaceships are re-coloured in the radar & HUD. Let one of them fly to the player and attack. (Show, don't tell.)
     493 * Reward the player when he is doing something right and correct his mistakes early, if he is doing something wrong.
     494 * Let someone else play-test your level. Where does the player get stuck? What is too easy / too hard?
     495 * Have you discovered a missing feature? Create a new ticket on orxonox.net.
     496
     497== Trouble Shooting ==
     498Housten, ...
     499 * the level does not show up in the level list. This looks like an XML error.
     500 * the console shows that there is an XML error. First of all: do not trust the error's line number, as the lua scripts will modify the level files when they are loaded.
     501  * Save your file and commit it. If you are lucky, your modifications since the last commit are rather small and thus you might easily spot the error when looking at the diff. (Open the Timeline on orxonox.net and open your commit.)
     502  * Undo the last edits and save the file. If the error does not show up, commit again. Now you should be able to spot the error.
     503  * Start uncommenting parts of the level (everything you created after the SpawnPoint) and regularly check if the error is gone. If the error does not show up, you just uncommented the error.
     504
     505
    486506== Content from External Sources ==
     507When designing a level, one often runs out of models and other content to use in the level. As your time is limited, try to get external content that matches our licences. (ideally CC-BY-SA or CC-BY or Public Domain)
     508
    487509 * http://www.blendswap.com
    488510 * http://opengameart.org/
    489511 * http://freesound.org/
     512
     513Export the concerning .blend file with the OgreMesh Exporter.