Gibier Posted May 4, 2017 Share Posted May 4, 2017 First be sure to know the text variables for the event editor, they will be really usefull, we will probably use them to create each event of the tutorial. I'll add some tutorial to create more very flexibles events. Event on map (information) Spoiler If you create an event on a map and this event make your character get out of the map the event will still running. No need to create another event to continue the same event. How to create a flexible MOTD system (easy) Spoiler What you will need to do this event: a player variable, alot of conditional branch, an event who run at the player connection, event text variable. Optional: an event of a short guide of the game 1. You will need to create a player variable. Let's name it nbConnection. This will be use to change what the chat will display when a player will come in your game. 2. Now you will need to create the event, let's call it MOTD and select the execution when the player is logging to the game. 3. Create two conditional branch ( variable nbConnection is egal to 0 ) 4. (first) If it's true show a message on the global chat 4. (second) If it's true you can show what you want. Maybe a short starter guide ?? Which explain the gameplay, story or other things. 5. (first conditional branch) If it's false then nothing 5. (second conditional branch) If it's false than a new conditional branch (if player is an administrator) 6. Let's fill the main core of the event, put a message on the global chat: "The administrator \pn has started the game." 7. Else if the acces of the player is administrator or moderator then show: "The moderator \pn has started the game." 8. Else if the player variable nbConnection is egal or supperior than 100 (put the wanted number) put a message on the global chat: "\pn, an old player, has started the game." 9. Else if the player variable nbConnection is egal or supperior than 75 (put the wanted number) put a message on the global chat: "\pn, a good player of the community, has started the game." 10. Put many condition for the nbConection variable as you want. but the last should be supperior or egal than 1 11. Choose the variable of the player: choose to add 1 and don't the define option, select the nbConnection (outside of all the conditionnal branch) 12. put a message on the global chat: "\onlinecount player(s) are currently online. " Explanation: If it's the first time the player is joining the game he could have the choice to see a short explanation of the game. Each time the player is joining the game his variable nbConnection will increase of 1. If the player has already played the game 50 time the game will not showing the same message than a new player and will display a special message if the player is an administror or moderator.. How to create a housing system (easy) Spoiler What you will need to do this event: a player variable, same number of global switch than the number of house, some event on maps to acces to the house. 1) You will need to create some player switchs. Let's name them "ownerOfHouse 1, 2, 3, 4....". This will be use to know if the player bought the house. 1b) Create some other player switch "House x - Slot x" Picture: Spoiler (Propriétaire Maison 1 - District Est) 2) Recreate the same switch of 1b) but with global switches. Picture: Spoiler 3) Now find a place on a map to put your first house and go in the event menu of the maps editor. Picture: Spoiler 4) Create a second event page, the first will be use to show the mask level of the house, the second will be to buy the house. Yes if the player buy the house he will see only the half of the house. Picture: Spoiler 5) double click on the preview square of the entity option. Picture: Spoiler 6) Select the tileset option and choice your tileset Picture: Spoiler First event page: For the first page choice any tileset that you wish. 7) choose the page condition (ownerOfHouse 1, 2, 3, 4....) Picture: Spoiler second page: first page: 8. create another maps event to show the other part of the house, put the same condition as the second page of the other event. and select the other part of the house. (dobt forget to set it on a fringe level. Picture: Spoiler The buying page will seems like it: The system IG will be like: Spoiler first page: second page: Screen of the difference between an owner and not owner: Ps: don't forget to make empty blocked event around the house if the player see the house. Explanation: If the player didn't buy the house the player will see a panel. If he bought it the house will be display with the blocker. Many player can buy the "same house" but it's limited to the number that you want. How to create a chest system with random loot (easy) Spoiler What you will need to do this event: two player variable, the same number of player witch than the number of chest that you want, some event on map to display the chest. 1) You will need to create some player switchs. Let's name them "chest 1, 2, 3, 4....". This will be use to know which chest the player have opened. 2)You will need to create two player variables. The first 'loot number', the second 'chest number'. 3) Let's create the chest event: create an event named 'random loot chest' in the event editor with no trigger. 4) Start the event by adding a 'set player variable' select 'loot number' and select random (lower: 1, high: what you want (3 for me)) 5) Put as many conditional branch inside each other as you want to have in your game. (if player variable 'Loot number' is egal to 1,2,3...) 6) Give the it a different item of each conditional branch. 7) Save the event and exit the event editor. 8 ) Create an event on map to display the chest on the maps. Create a second page. With an action button trigger. 9 a) The first page need to have a closed chest picture, have a condition 'chest X' set to false. 9 a) The second page need to have a opened chest picture, have a condition 'chest X' set to true. 10) Time to fill the first page: put a start common event: random loot chest then set the player's switch chest X to true Picture: Spoiler Explanation: If the player have not opened the chest yet then the player will see a closed chest else he will see an opened chest. How to create a gambling system (easy / medium) Spoiler 1) You will need 3 player variable 2. Add the command 'Show option' 3. Add labels to the showed section in the screen. They will make the system better (relooping). 4. Let's fill the first option. Add a 'Show text' command and write the wanted description message. Add a 'Go to Label ' to it and write the first label inside. 5. In the second option (Miser) add the command 'Input Variable' 6. Add a 'Has item' condition to verify if the player have enough money to gamble. 7. In the true section add a 'Input variable' with the choice possibility. 8. If the variable meet the condition compare the 'choix' variable and the 'resultat' variable. 9. Add the label 'Choix' and 'Go To Label' with each possible errors messages. 10. If the choice and result are the same then double the 'Montant à miser's value and add the item 'Money' with the 'Montant à miser''s value. Preview video: https://www.ascensiongamedev.com/resources/filehost/b5d8e193bcbe64c172b4e5622d68d4ef.mp4 Augusto Klein, hra, Sammo P. and 4 others 7 Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now