Przejdź do treści
Bity zamieszek

Bity zamieszek

  • Dom
  • Aktualności
  • Przewodniki
  • Przewodniki wideo
  • Opis zmian
  • Zgłoś nadużycie
  • Przełącz formularz wyszukiwania
The Hand of Merlin

The Hand of Merlin – Units Modding Guide

Wysłany dnia 05/13/2022 Przez Mids Brak komentarzy NA The Hand of Merlin – Units Modding Guide
  • Tytuł: The Hand of Merlin
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Information about The Hand of Merlin is still incomplete. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

Extensive and detailed guide to adding new Units in The Hand of Merlin, written by its game designer Mat.

Wstęp

W tym przewodniku, My’ll talk about adding more Units to our game. This can be both new characters or new enemies.

What is a Unit?

W The Hand of Merlin, a Unit is a dynamic entity capable of taking actions. It has attributes, including Health and Armor, and is always part of a Warband, A “strona” – Player or Enemy.

Every unit is described with two files: a Unit Params and a Unit Class.

Unit Params

A Params file (from parameters), with the extension .ep, is where we house most of a unit’s visual information and identification.

You can create one with the Create menu (CTRL+N). Go to the Generic group, and browse the (Merlin) Unit params type.

Następnie, save the file under the Content/Merlin/Heroes folder for playable units and Content/Merlin/Enemies for those that are not. Using the Heroes folder allows a unit to show up in the roster selection screen in the Lobby.

Teraz, pozwalać’s take a good look at a Unit Params file, and explain how each entry works.

Pierwszy, we have the unit’s identification.

  • Identification is used in encounters to refer to a specific unit, also note the Traits in the middle of the document, where you can put “personality traits” for this hero to be queried in encounters.
  • Names are used to represent the unit wherever it is. Short names are usually on portraits, and the full name in the book and larger tooltips. In Breunor’s case, his full name is “Sir Breunor”

  • Finally you got the Biography, shown in the Book, which tells a small story about the character.

Note that because these are text entries, they need to have both an identifier and an actual text, to facilitate translations.


Then we come to #1, Unit’s Skirmish behavior.

  • Unit Class determines a unit’s attributes, starting abilities, and passives. To’s an important aspect, i my’ll talk about that later in this document. Note that every single unit params has a unique class in our design, but this is not obligatory.
  • Unit Size determines if the unit will be a 1×1(Regularny) or a 2×2 (Duży) jednostka.
  • Unit Species, used in a myriad of effects, like Holy Desecration. We save “alien” for the monstrous abominations you fight, but all of your heroes and the bandits are “ludzie”.

In category #2, Ty’ll find Portraits. We got a ton of those, so feel free to check the ones already made to find out the right sizes and styles.

  • Skirmish portraits are used in battle, shown in the portrait bars to the left and right. You can put multiple ones in the “alive” category if you want them randomized per unit (we do that with bandits!). I “martwy” jeden (which we usually just make a skull will only show if you set it on the checkbox above. W przeciwnym razie, the portrait will simply disappear once the unit dies.
  • Map Portraits are used in the book, for the warband page and in encounter options.
  • Score View is saved for the banner that happens when you finish a fight, such as showing the unit you lost when the fight is won.

  • Atrakcja I Silhouette are seen in the Hero selection screen, if a character is hovered or still locked.

Potem, you have several entries about the unit’S Visuals. The .mdl entry handles the actual model and animation information, but the rest configure how the unit behaves in the map. Take particular care when using Shoot Target I Pochodzenie, as this governs how the unit interacts with projectiles – where other units try to shoot it, and where its projectiles originate from.

Zauważ to Quote Map I Broń are deprecated.


Wreszcie, we reached #3 – Unlocking behavior.

The first is the requirements to unlock a hero – nothing here means the character is already unlocked. Tutaj’s how Rana, na przykład, is set up:

This is a complex entry where you can determine what sort of in-game event needs to happen for a character to be unlocked. Note the obvious Opis wejście, but the magic happens when you determine the Event Type. Each event type describes how it works, and then the final 4 entries determine how the event is checked. For the above example, we are listening for >=5 instances of “Spend Currency” wydarzenie, but we reset the tracker at the end of every run/session.

To qualify the event, we use the Inspectors. For Rana’s unlock, we set up two: One describes that the currency we’re looking for is Mana, and the other describes that we can only check for events that happen in a specific zone, Albion. Tutaj’s how we did it:

Once you set a Value to Inspect, Ty’ll see written in it the information of which other entries we need to fill, as noted in the image above. This takes a bit of trial and error to get right, but all the required information is laid to you in the descriptions (Dzięki, MarkoP!)

Teraz, B-side Unlocks (Called “Prowess unlocks” in-game) work in a similar way.

But besides how you actually unlock it (by the way, we use the same unlocking for all characters: just have it complete a run without dying. Check any of our heroes in the Heroes folder for how we set it up), you can put a Nazwa for this alternate version, add some bonus attributes, and even put an alternate model/texture.

Unit Class

Now let’s work on the Klasa. You can use the Create menu, but I suggest you just click on the appropriate entry in the Params file and select “Nowy”. Następnie, remember to save the new file – używamy Content/Merlin/UnitClasses folder for that.

Teraz, the Unit Class file is a bit simpler, but it houses many important configurations. Take a look at Breunor’S:

Pierwszy, masz Class Name. This is only for show. If you want to specify if this class is to be considered a Wojownik, Leśniczy Lub Mystic for ability and AI purposes, użyj Unit Role wejście, assigning Zbiornik, Nuker I Wsparcie odpowiednio.

Następnie, you have to decide which abilities the unit is able to perform. A Movement Ability, most likely Run.rsc, and then the Starting Abilities. For player characters, we recommend only 2 zdolności, a base attack (Ciąć,Singe and Shoot are our examples) and an extra one, like Bash for our Breunor example.

Jeśli, Jednakże, you are working on an enemy unit, go nuts. We recommend up to 5 abilities to keep the AI reasonable.

Następnie, you got your Base Attributes, where you can define your unit stats. Pretty self-explanatory if you know the game, but note: “Obrona” refers to evasion, “Reaction Takes” is not used in the current design, I “Passive Power” is a hidden attribute you can use to scale things behind the scenes, but the player has no knowledge of that.

Teraz, note Bonus Attributes per Rank and Random Upgrades on Spawn. This is how units get stronger or have small variety in their stats.

Bonus Attributes per Rank is only used for player characters. It’s a flat increase added whenever the units level up. Już teraz, this has been set to 0, but you can change that and even add fractional numbers if you want. Enemy units, unable to rank, are not affected by the entries here.

Rankup Bonus (not visible on the screenshot) creates cards on rankup which allow the player to choose which attribute to increase. It’s currently set as 2HP or 1 Armor with an added random card choice between Power, Uchylanie się, Zakres, Dokładność, Movement every 4 poziomy. Enemy units also do not gain this.

In The Hand of Merlin, we scale enemy power per zone index, in a file attached to the Random Upgrades on Spawn entry. Aby to zrobić, we use a structure similar to the Blacksmith Upgrades, where every zone represents a new tier.

Jako przykład, Tutaj’s MinorAbominationUpgrades, used on Mandrake, Jajko I Redcap. You can find all others in the Merlin/Enemies/BlacksmithUpgrades falcówka.

Tam są 3 “style”, to generate some variety. Each style has 4 upgrades *for each zone – Albion, Marca Hispanica, Al-andalus, Jerozolima). Each entry has a few attribute modifiers. The expanded entry above means that 1 in every 3 Minor Abominations spawned in Jerusalem will have +10 Max Armor, +12 Maksymalne zdrowie, I +6 Power added to their base stats.

Pretty easy to adjust, I hope!

Wreszcie, if your unit is an enemy unit, assign a Mózg param. We talk more about those in their own guide – Artificial Intelligence.

Adding Enemies to a level

W porządku, last bit. Pozwalać’s add a character to a level as an enemy, so we can see it spawn. While the creation of maps is covered in another guide, Tutaj’s a quick rundown on how to add an enemy to one. I recommend checking Content\Merlin\Examples\Gameplay\GameplayTest as a baseline.

  1. Create/find the Script Object. To’s represented in-world as an orange cube, but you can press the N key and search for it.
  2. Duplicate any of the Unit Variables. Inside the script there’s a few CHOMUnitParams already. Just duplicate one and work on the double.
  3. Browse a new Unit Params file
  4. Do a bit of scripting inside the .lua file after the initial set up, type in the command

homSpawnUnit(worldInfo, XXXXXX, wbEnemyWarband, worldInfo:GetEnemySpawnPoint(“”, 0))

Where XXXXXX is the name of the params, like warlockParams or test1Params.
Proste, whenever that skirmish start, the unit will be spawned on a spawnpoint. Make sure there’s no other ones set to the same spawn point, as seen on the Creating new Levels guide.

Testing Characters

A few tips to test out your characters:

  • When starting a level from the editor instead of going through the Lobby/Main menu, the game assigns you the characters in the Content\Merlin\Databases\TestingRoster.rsc document, so you can change those characters to the ones you are working on.
  • To test enemies, you can use the console to type hom_dbg_bDisableAI = 1, allowing you to control the enemy warband

New units will make your experience even more varied. Miłej zabawy!

To wszystko, co dzisiaj udostępniamy w tym celu The Hand of Merlin przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez Mids. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.

Jeśli uważasz, że jakakolwiek treść na tej stronie narusza Twoje prawa, w tym Twoje prawa własności intelektualnej, prosimy o niezwłoczny kontakt za pomocą naszego formularza kontaktowego.
Przewodniki Tagi:The Hand of Merlin

Nawigacja po wpisach

Poprzedni post: Pinstripe 100% Achievement Guides
Następny post: Neptunia x SENRAN KAGURA Ninja Wars 100% Przewodnik po osiągnięciach

Zostaw odpowiedź Anuluj odpowiedź

Twój adres e-mail nie zostanie opublikowany. Wymagane pola są zaznaczone *

  • Tytuł: The Hand of Merlin
  • Data wydania:
  • Wywoływacz:
  • Wydawca:
Information about The Hand of Merlin is still incomplete. Pomóż nam wypełnić szczegóły gry za pomocą tego formularz kontaktowy.

Zastrzeżenie

Wszystkie cytowane treści pochodzą z odpowiednich źródeł. Jeśli uważasz, że wykorzystaliśmy Twoje treści bez pozwolenia, upewnij się, że się z nami skontaktujesz, a my potraktujemy to poważnie.
  • O nas
  • Skontaktuj się z nami
  • Polityka prywatności
  • Warunki usługi

Prawo autorskie © 2025 Bity zamieszek.

Zasilany przez Prasa Książka Aktualności Motyw WordPressa