Jump to content

Ithanas1995

Members
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Ithanas1995

  • Rank
    Newbie
  1. Ladies and gentleman.. ? Not long ago, I managed to create an object on trp extended. An object that will make your life easier if you are a builder, I am convinced. I wanted to share it with you, but I’m here to do better today. I’m here to teach you. So enjoy this guide my friends. So, let's begin : - Who : Me ( Umaia/Hortense) - Why ? : As part of a construction I needed to be able to lay trees randomly and change their size randomly. So I chose a selection of 5 trees. Of course the utility of the tool could even turn them randomly if you feel like it. Please tell us how ? ( I will edit for images or a video i don't know, don't worry ) First step, you need TRP extended of course. Otherwise, you will be unable to pursue this guide. Open it in game. Once the addon is installed you will have additional tabs on your TRP action bar. The one that interests us is the following: "Extended object database". Then, left click on it. You will then arrive on the database page. If it's the first time, follow the instructions. If it's not, continue the tutorial. The tab that interests us now is: "My Database" in the section "Actions". Here, click on create an item. and take "Expert Item" So you arrive on the main page. Explore it a little and then look for the box "Usable", check it. Thus, the object will act as a maccro and can perform something when you click on it. Workflows. I think I’m gonna lose some people here. To understand this section you must understand how it works. What do we need? We need the object to choose a tree. Then it changes its size. So we have to tell it. So create a Workflow that you will call "OnUse". Create 6 other that you will call separately "Tree1" "Tree2" "Tree3" "Tree4" "Tree5" and "Size". Then go back to the first "OnUse" So, OnUse. What do you want him to do? Choose a tree from a selection of 5. A droprate. So add an element to the workflow "OnUse". Effect > Expert > Variable dynamic value. In variable name, write "Droprate". In from : 1. In to : 5. ( As many as there are trees. We obviously won’t count zero.) After that confirm. Now, still in "OnUse". Add a new effect Expert > Run a workflow. ID will be Tree1. Repeat until Tree5. Now, in the right section appears 5 steps. Right click on the first "Run workflow" effect. Edit effect condition. I will lose even more people now x) The principle is to throw a dice. If the object falls on 1 then it will choose the Tree1. So, Edit effect contition and modify the first test to be at left a "Variable numeric value" (In expert). Remember the "Droprate"?. So call the variable "Droprate". And make it "Is equal to". At right, tell it to choose "1". So the tool can now use the Tree1. Now, do the same for other. But don't forget to change the precedent value by 2 - 3 - 4 - 5 depending on the desired tree. Now, tell to the tool to run the workflow "Size". Then look to the left at first I had you add the 7 workflows. OnUse / Tree1 / Tree2 / Tree3 / Tree4 / Tree5 / Size. Go into Tree1 first. Add an effect to the workflow, a speech: player. This will be for the command. So choose your tree model and write : .gob sp "Entry". For example : .gob sp 57215. After that add an effect again "Run a workflow" and take "Size". Repeat that for all TreeX but don’t forget to choose a different model for each. ( You can put the same model twice if you want the model to appear more often. ) In the "Size" section on the left, From here it’s based on different factors. The basic size of your tree. The minimum size you want and the maximum size you want. For me i choose 0.5 / 0.6 / 0.7 / 0.8 / 0.9/ / 1. You must, on the same principle as the models, tell the tool to choose a size from the ones you want. So, create a droprate. Then add as many speech effects to "Size" as you want in different sizes. (.gob sc 0.5/0.5/0.7/0.8/0.9/1 don't forget to change the effects condition to match with the droprate. Don't forget to SAVE. I hope this tutorial will be understood and helpful ^^ Kisses. ( Screens will come to explain )
×