Elemental Fight - Weapons and soldiers variations

Description

A mod that adds elemental variations of the game weapons and soldiers. The damage is calculated based on the elements of the giver weapon and the receiver soldier. Elements can be stronger or weaker against other elements, that can cause more or less damage, adding complexity to the combat of the game.

Gamemode

The logic of the gamemode is very simple, when spawning the player will receive a kit that replaces their current weapons and soldier with the respective elemental variations. You will want to seek for weaker elements to get easy kills and run from stronger elements that can cause a lot of damage to you. The elemental-mode has configurations that allows server owners to manipulate how elements are applied to the players.

Configuration

The configuration file used by elemental-mode can be found at elemental-mode/ext/shared/mode-config.lua. That’s a text plain file, you can use any text editor to change its contents.

Mode

Parameter used to select the element applied to player on respawn, you can change this variable number to:

  1. Class: each soldier class has its element.
  2. Squad: members of each squad have the same element.
  3. Sequential: iterate over all the elements.
  4. Random: randomly selected element.

Selection

Determines how the element selected by the player on the UI is used, you can change this variable number to:

  1. None: disables element selection UI.
  2. Primary: element is applied to the player weapons and soldier.
  3. Secondary: element is applied only to the secondary weapon.

Vehicles

With the game engine limitations implementing custom vehicles was only possibly through workarounds, at the moment is not possible to add element based damage multipliers, spawning limits and vehicle deserting. Because of its unreliable behavior, custom vehicles are disabled by default, to enable it you can change the variable vehicles value to true on the configuration file located at elemental-fight/ext/shared/elemental-config.lua. Customization is applied when the player enters a vehicle.

Extendibility

Elemental-fight is the base mod that creates the weapons, soldiers and appearances, and also deals with the soldier damage logic. Changing and adding elements can be done by editing the configuration file located at elemental-fight/ext/shared/elemental-config.lua.

  • Colors: vectors used to change visual effect colors.
  • Effects: partition and instance guids of the effects used on bullet impacts.
  • Damages: multipliers applied to soldier damage based on the elements interaction.

Instructions

Some information that helps you to start using this mod:

Advices:

  • Using this with other mods can cause instability.
  • Client and server will hang for a few seconds when loading maps.

Installation:

  1. Download elemental-fight and elemental-mode.
  2. Extract the downloaded files to the mods folder.
  3. Add elemental-fight and elemental-mode to ModList.txt.

Downloads

Latest versions with compiled ui:

elemental-fight-1.1.0.zip (38.8 KB)
elemental-mode-1.1.0.zip (5.5 KB)

Source code is available at:

9 Likes

Wow, this looks cool!

mod very interesting

Seems pretty cool, i wanna try it in game.
Great job with the effects and the “recoloring” of the soldiers.

Version 1.0.1

  • Added support for DLC maps.
  • Aftermath DLC soldier appearances.
  • Proper handling for Gun Master kits.
  • Enhanced reliability and stability.
1 Like

Version 1.1.0

  • Added custom elemental vehicles.
  • Vehicle appearances and weapons effects.
  • Apply customization when entering on vehicle.
1 Like

i love this mod but the AUG i noticed today is always black, its only this weapon

Thank you for the feedback, it will be fixed on the next release.

1 Like

and another thing that needs to be fixed is that you can’t kill anyone with your defib anymore

The way that the game deals with defibrillator damage is quite different. The applied damage is equal to remaining soldier health, instead of being a fixed value. You can damage enemies with the defibrillator, but you will unable to kill them if the element damage multiplier is bellow 1.

I love this idea. Are there any plans to make it compatible with bots?

I will create a patch on the next VU release, which will fix an issue that don’t allow to customize bots. Here’s a preview of Elemental Fight with Fun-bots:

3 Likes

I would like to ask, when will your version be updated to fight with bot, the latest version still conflicts with Fun Bot