News Liste New World

Upgraded Combat and Animation System Deep Dive
New World
16.02.24 18:05 Community Announcements

Greetings, Adventurers!

We will upgrade our old combat and animation system to improve performance in areas with many players alongside the release of Season of the Guardian. This new system (which we affectionately call Slayer Script) will also make it easier to improve our combat going forward. We’ve done our best to keep the feel of the game the same, but would love to hear your feedback following these changes. From the development process to challenges, join Tech Lead Kevin Christensen for a deep dive into what this system means for the future of New World.

SLAYER SCRIPT



Slayer Script is a C++ based scripting language. It is natively compiled and dynamically loaded by New World in order to provide excellent performance as well as live updates to scripts. It can cause events (spawn enemies, play sounds, etc), respond to events (if an enemy dies, if a player enters a room, etc.), play animations, control movement, and more. A lot of work can be packed into a few lines of code.

DEVELOPMENT PROCESS



New World has an enormous amount of objects that update frequently, making it difficult to efficiently use traditional scripting languages. A scripting language, for example Lua, is interpreted and cannot capitalize on hardware optimizations. While the execution performance of Lua is good, it would be used for hundreds of objects in New World. The overhead and memory cost was not going to cut it. We needed a solution to be as fast as possible with an acceptable impact to development iteration.

Our original character scripting system ran well during development, but eventually began to struggle with performance, memory, and runtime allocation as New World continued to grow. This led to Slayer Script as an alternative side project. Slayer Script reduced this cost to a few allocations, and its natively compiled code is very compact, which significantly reduced the runtime memory.

The initial idea was to use Slayer Script to control the player. The player is by far the most expensive game object in New World. Much of the design was focused on reading player input and controlling animations. This task was going to take a large amount of time. Turns out, the Expedition Team was the first to use Slayer Script, which didn’t require player input or animations. This is when Slayer Script changed to be a more general purpose scripting language. It wasn’t until recently that Slayer Script was used for its intended purpose.

GOALS



Over 400 actions have been converted into the new system by hand to ensure gameplay remains one-to-one. Our goals were:
  • Use natively compiled C++ to be as fast as possible.
  • Reduce memory cost by decreasing the amount of state that needs to be stored.
  • Improve scalability by using an architecture that has a smaller impact on execution for new behaviors.
  • Be hot loadable in order to allow runtime development.
  • Be easier to debug.

Reducing the memory cost turned out to be the easiest problem to solve. Slayer Script was designed to store the state in one location, and all of the behavior was created in a manner that can be shared amongst all instances of a script.

Scalability will be an ongoing task. Even C++ can be used in an inefficient manner. Care must be taken when adding new features, but C++ provides extensive solutions for tracking performance and observing operation execution.

The previous system was difficult to debug. Tools were created to help but being able to step through execution was not possible. Any designer with a debugger can now set breakpoints, inspect memory and step through the script’s execution. Debugging the previous system was a time sink, just due to the process. Debugging complex scripts is still hard but at least the method is easy.

CHALLENGES



The biggest challenge has been to keep iteration fast. Designers need to be able to see the results of their work quickly. With a compiled language, this would normally mean closing the game, making edits, compiling and then running the game again to see the results. Slayer Script is built into a module that can be loaded while the game is running. Dynamically reloading a module can be tricky, so any references to objects within the module must be released before the module is unloaded, and reacquired after the module is reloaded. If this is not handled correctly, the game or tools will crash.

By using C++, the memory and performance cost of the system starts out with great potential. C++ is intended to develop high performance applications and be as efficient as possible. It is a mature language with many tools to help development and measure performance.

Another challenge was hiding the complexities of C++ from the people who will use Slayer Script. C++ can be a difficult language to use, but when used as a scripting language, it doesn’t have to be any more complex than any other scripting language. There is still a lot of room for improvement on this topic. It will continue to be a goal.

We look forward to your feedback in the Season of the Guardian PTR. Thanks for your support and we’ll see you in Aeternum.
Logo for New World
Release:31.08.2021 Genre: Massively Multiplayer Online Entwickler: Amazon Game Studios Vertrieb: Amazon Games Engine: Amazon-Engine Kopierschutz:keine Infos Franchise:keine Infos
Einzelspieler Mehrspieler Koop

Aktuelle Steam News
Neue Steam News in der ePrison Datenbank

Fight Turkulon for the Drumstick of Death
New World
15.11.24 17:21 Community Announcements
Hippo Burley
New World
06.11.24 16:39 Community Announcements
New World: Aeternum Update 1.1.2
New World
05.11.24 18:58 Community Announcements
Nightveil Hallow: Audio Deep Dive
New World
30.10.24 16:08 Community Announcements
Nightveil Hallow: Lore and Design
New World
24.10.24 17:53 Community Announcements
New World: Aeternum x BenQ
New World
24.10.24 17:19 Community Announcements
New Prime Gaming Loot - Halloween Drop
New World
22.10.24 18:36 Community Announcements
New World: Aeternum Update 1.1.0
New World
21.10.24 16:34 Community Announcements
Nightveil Hallow
New World
18.10.24 16:35 Community Announcements
New World: Aeternum is Now Live
New World
15.10.24 13:02 Community Announcements
Season of Opportunity
New World
14.10.24 17:06 Community Announcements
New World: Aeternum - Gameplay Launch Trailer
New World
10.10.24 16:47 Community Announcements
Season of Opportunity: Free and Premium Reward Tracks
New World
08.10.24 18:40 Community Announcements
New World: Aeternum - Launch Trailer
New World
07.10.24 18:38 Community Announcements
The Cursed Mists PvP Zone Deep Dive
New World
07.10.24 16:02 Community Announcements
Feast for the Future - From New World to the Real World
New World
04.10.24 17:01 Community Announcements
Trials of Aeternum
New World
03.10.24 18:05 Community Announcements
The Hive of Gorgons Raid Deep Dive
New World
30.09.24 16:21 Community Announcements
Road to New World: Aeternum - Servers
New World
26.09.24 16:03 Community Announcements
Season of Opportunity Announcement
New World
23.09.24 16:24 Community Announcements
New World: Aeternum - Launch Updates
New World
23.09.24 16:23 Community Announcements
New World: Aeternum Open Beta Recap
New World
20.09.24 16:13 Community Announcements
Feast for the Future Recipe Design Contest
New World
18.09.24 17:04 Community Announcements
Thank You for Joining the New World: Aeternum Open Beta
New World
16.09.24 14:50 Community Announcements
The New World: Aeternum Open Beta is Now Live
New World
13.09.24 16:05 Community Announcements
New World: Aeternum Open Beta Details
New World
06.09.24 15:59 Community Announcements
Character Name Update
New World
15.08.24 19:03 Community Announcements
Explore the Eternal Isle during Open Beta
New World
15.08.24 16:06 Community Announcements
New World Update 5.0.4: Fury of the Spriggan
New World
23.07.24 15:56 Community Announcements
Steam Summer Sale
New World
27.06.24 16:59 Community Announcements
New World Update 5.0.3
New World
25.06.24 16:01 Community Announcements
Summer Medleyfaire 2024
New World
24.06.24 16:09 Community Announcements
This Week in Aeternum: Welcome to the Eternal Isle
New World
21.06.24 15:59 Community Announcements
Store Unvaulting: The Phoenix Returns
New World
17.06.24 17:23 Community Announcements
Join the New World: Aeternum Confidential Console Closed Beta
New World
13.06.24 20:05 Community Announcements
New World: Aeternum Community Q&A
New World
12.06.24 18:40 Community Announcements
New World: Aeternum
New World
07.06.24 22:33 Community Announcements
New World Update 5.0.2
New World
03.06.24 19:23 Community Announcements
Rabbit's Revenge 2024
New World
28.05.24 16:02 Community Announcements
Adventurer Spotlight: Utopian Organ
New World
23.05.24 16:16 Community Announcements
Adventurer Spotlight: Newb World
New World
16.05.24 15:59 Community Announcements
Community Convergence
New World
13.05.24 16:02 Community Announcements
Store Unvaulting: Devil Went Down to Aeternum
New World
09.05.24 17:02 Community Announcements
Aeternum Analytics: Winter Rune Forge
New World
01.05.24 17:48 Community Announcements
Season of the Guardian: Artifact Deep Dive
New World
23.04.24 16:53 Community Announcements
New World Update 5.0.1
New World
16.04.24 16:19 Community Announcements
Springtide Bloom
New World
10.04.24 17:07 Community Announcements
Aeternum’s Cooking Star
New World
08.04.24 16:05 Community Announcements
Spectral Sovereign Store Showcase
New World
03.04.24 16:34 Community Announcements
Season of the Guardian: Controller Sale
New World
02.04.24 15:58 Community Announcements
Season of the Guardian
New World
29.03.24 16:17 Community Announcements
Expedition Analytics: Empyrean Forge
New World
26.03.24 17:23 Community Announcements
Store Unvaulting: Dusk Fae Showcase
New World
19.03.24 17:14 Community Announcements
Season of the Guardian: Update
New World
09.03.24 06:26 Community Announcements
Winter Rune Forge Trial Deep Dive
New World
04.03.24 17:09 Community Announcements
Native Controller Support Deep Dive
New World
29.02.24 17:02 Community Announcements
Cooking Deep Dive
New World
26.02.24 17:14 Community Announcements
Expedition Analytics: Garden of Genesis
New World
23.02.24 20:03 Community Announcements
Main Story Quest Update Deep Dive
New World
19.02.24 17:19 Community Announcements
Upgraded Combat and Animation System Deep Dive
New World
16.02.24 18:05 Community Announcements
PTR: Season of the Guardian
New World
14.02.24 17:01 Community Announcements
Season of the Guardian Announcement
New World
12.02.24 17:05 Community Announcements
New Prime Gaming Loot - Winter Mercenary's Cache
New World
07.02.24 19:44 Community Announcements
New World Update 4.0.4
New World
06.02.24 17:32 Community Announcements
Cross-World Expeditions with Improved Group Finder
New World
05.02.24 17:00 Community Announcements
Year of the Dragon
New World
29.01.24 17:05 Community Announcements
Loot Biasing Deep Dive
New World
26.01.24 17:08 Community Announcements
New World Update 4.0.3
New World
23.01.24 17:10 Community Announcements
PTR: Cross World Expeditions with Improved Group Finder
New World
15.01.24 17:10 Community Announcements
New Prime Gaming Loot - New Year, New Cache
New World
10.01.24 20:53 Community Announcements
New World Update 4.0.2
New World
09.01.24 17:08 Community Announcements
Legacy of Crassus
New World
08.01.24 17:01 Community Announcements
Winter Steam Sale
New World
21.12.23 18:38 Community Announcements
New World Update 4.0.1
New World
18.12.23 23:37 Community Announcements
Holiday Updates
New World
18.12.23 17:15 Community Announcements
Winter Convergence Holiday Special
New World
14.12.23 17:55 Community Announcements
Eternal Frost
New World
11.12.23 16:05 Community Announcements
Winter Convergence Festival Rewards
New World
07.12.23 17:00 Community Announcements
New World Update 3.0.4
New World
28.11.23 16:59 Community Announcements
Behind the Scenes: Artifacts
New World
27.11.23 17:09 Community Announcements
New Prime Gaming Loot - Gothic Pageantry Cache
New World
22.11.23 22:20 Community Announcements
Nominate Us
New World
21.11.23 19:06 Community Announcements
Autumn Steam Sale
New World
21.11.23 18:07 Community Announcements
Behind the Camera of Forged in Aeternum: One Year Anniversary Celebration
New World
20.11.23 17:09 Community Announcements
The Glacial Tarn Expedition
New World
16.11.23 17:03 Community Announcements