Portal in game editor




















The logic editor uses a visual programming language that will be familiar to Unreal Engine 4 or Blender users. Game logic is entered into Rules blocks that fire off under certain predefined conditions. Users can also create Subroutines to more easily break up your game type into blocks of code. If you've never tinkered with a visual programming language before, the logic editor might come off as overwhelming. Don't worry; it's fairly simple. When you first boot up the logic editor, you'll see two things: a Mod block and a Rule block.

All you're doing in the editor is adding and expanding Rule blocks by plugging various nodes into them. The nodes you add will determine what that block does.

For example, let's say we wanted the game to display "Hello, World! We can do that by altering two things:. When you click on the "Ongoing" dropdown menu at the top-right of the Event block, you'll see a wide range of options. We want "OnPlayerDeployed," referencing when the player character spawns into the map. Now, head to the left-hand part of your screen to find a long list of categories.

Click on the search bar, type "DisplayCustomMessage" to find a yellow node it's also found under the yellow "User Interface" section. Drag it into the "Action" part of the Rule block. If you have a keen eye, you'll notice that this yellow block has some blank spots with symbols on them.

These are parameters that are needed for the action to work. If you right-click on the node and select the "Help" option, you'll see a short documentation snippet that'll tell you which parameters the node accepts. In this case, we need a:. If you look up each request in that search bar we used earlier—except "Number" which is in the "Literal" category—you'll find everything you need.

Drag and drop the parameters into their respective slots. For the "CustomMessageSlotItem" node, the slot you use doesn't matter. You'll notice that the "Message" node also has some empty spaces. Once again, we can view the "Help" tab to see that this parameter needs a string of text.

Head to the "Literal" category and grab the "Text" node. Drag it into the Message node, then type whatever you want to appear Hello, World! We're done. Click the folder icon at the top-right of your screen to name and save your mode. Boot up 's Portal mode to check out your new message.

If you want to keep experimenting with messages, the image above showcases where each message is displayed on the player's HUD. The various commands you can use in the logic editor will have empty spaces with symbols inside of them, denoting what parameter types they require or support.

Here's what each icon represents:. Don't worry about memorizing these icons. At any time while using the logic editor, you can right-click on any node and click "Help" from the list of options.

This will give an overview of what the node does and which types of parameters it needs to function. If you leave these icons blank, most nodes won't function. On the left-hand part of the logic editor is a list of categories that each contain various nodes or parameters you can use. The color of the node denotes its use:. Portal's logic editor is extremely powerful and allows for near-limitless possibilities.

Below is a list of tips and tricks that will make your time with the editor far smoother:. Your drying pan won't protect you from the wrath of societal cancellation, Brock.

Prove it. You need a javascript enabled browser to watch videos. Click To Unmute. Start at: End at: Autoplay Loop. Want us to remember this setting for all your devices? Sign up or Sign in now! Please use a html5 video capable browser to watch videos.

This video has an invalid file format. Auto HD High Low. You'll also need to insert the damage inflicted in numerals. The Rules Editor also gives you the choice of creating your own Variables. These are flexible elements that can store a range of values, numbers, arrays for later use. Creating these Variables will allow you to use them when generating more Rules in the future.

After, click 'New Variable' to start making. From here, you'll be able to name your Variable and choose whether you want the impact to be Global, for the Player, or only impacting the Team in question. You can combine Variables with the in-system commands to further extend your rules.

When connecting assortments of conditions, certain ones are only compatible if they connect. To find if this is the case, you'll see a connecting line to signify this. This shows that you're on the right track.

The Rules Editor can be a little difficult to navigate. So, if you're unsure of a particular element, whether that be for Conditions or Actions, you can right-click the item and press 'Help'. This will give a more detailed explanation of how to use the aspect in question while showing examples of the item.

It can be very difficult to use the Rules Editor at first. But through a little fiddling and experimenting, you'll get the hang of the nifty tool. If you're wondering what PC settings are preferred to maximise your Battlefield experience, check out our recommendations for the best keyboard and mouse settings. Home shooter games Battlefield We're here to clarify what the Rules Editor is and how to use the feature.



0コメント

  • 1000 / 1000