Battlefield 6 Portal Complete Guide #2 - Writing Scripts Using the Script Editor - Game Mode Scoring
Автор: Battlefield Dad
Загружено: 2025-10-23
Просмотров: 3807
Описание:
Learn how to create your own Domination mode in this complete guide to building a mode in Battlefield 6 Portal.
In part two of this series we use the Script Editor to write our first Portal script to create a scoring system and an initial scoreboard and lay the groundwork for the final two parts. We will cover good practice for writing scripts in the script editor and write our first script to generate the scoring system for our Domination game mode.
This video should be perfect for new creators just starting out with Battlefield Portal, but will also be useful for those making the shift from the original Portal to the new tools, and even those who have used Portal for a little time may find new things in here they didnt know before!
This video does include a large amount of coding. Those of you with no coding experience shouldn't worry though. I'll guide you through generating the script and give you clear examples as we go.
When I was first learning to program, (way back in the 1980's), the first programs I wrote were copied from magazines....I, for beginners, this approach mimics my early experience of learning to progeam.
And of course for experienced progreammers - this initial set of examples will get you started on understanding how the scripting system works.
This is part 2 of 4.
Part 1 - Using the Spatial Editor to Add Objectives, Spawn Points and Setup the combat Area
Part 2 - Using the New Script Editor to set up a Scoring System and Game Mode Set Up
Part 3 - Adding a Custom Scoreboard using the New Script Editor
Part 4 - Using the new Custom UI Tools to create the User Interface and Final Polish
Bonus Part 5 - Quick Guide to Using the Finished Domination Template
Got any questions or ideas for future modes? Drop them in the comments!
I'd love to hear from you all.
My EA Creator code is 'BFD'.
Until Part 3!
00:00 Introduction
00:58 Quick Overview
03:26 Initialising All Objectives/Capture Points
06:02 Initialising Teams Game Scores
08:15 Basic Scoreboard Setup
15:02 The 'main game loop'
17:56 Setting up scoring - global variables - score timers
20:24 Setting the points for objectives captured
23:16 Back up your work if you haven't so far!
24:09 Counting the number of capture points/objectives each team holds
30:02 Calculating and updating team game score
37:39 Updating Custom Scoreboard Totals
43:24 Completed Code So Far
43:42 Final Comments
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: