Natural Selection 2

Natural Selection 2

Not enough ratings
MTK - Modders Tool Kit for NS2
   
Award
Favorite
Favorited
Unfavorite
Description
This is a collection of code bits for modders called the Modders ToolKit. It is designed to help modders make mods quicker by sharing code that modders may want to use. Each section is released individually, so they can be downloaded separately, or through this collection as a group. Each element of the toolkit offers something specific and has it's own difficulty rating, to give you a rough idea of how much knowledge you need to use the tools available.

Difficulty:
1 - Simple to do, all instructions are included in comments in file. Very little to add to other files.
2 - Needs more files editing, and instructions in comments can't contain all that needs to be done, some thinking required. Maybe also interacts with other parts of the mod process (Editor etc)
3 - Generally will require knowledge or concept of some aspect of programming, the first stage where real programming knowledge is likely to be needed to some degree.
4 - Moderate level programming concepts, which involve a high degree of work to implement into mods, and probably require a reasonably solid understanding of programming to implement with any degree of understanding.
5 - Working across multiple sub-sytems, implementing new technologies, documentation is likely to briefly point out concepts but the potential is likely to be open-ended, for more advanced programmers.

NS2 Modders Tool Kit Collection:

Part 1 - ModelScaleMixin & 80% Skulk Mod - SoulRider

Difficulty - 1/5

This is a very simple mixin to add to models so you can scale the game, or parts of it, as you choose. Very simple to implement. Extended to show implementation on a player in 80% Skulk.

Part 2 - ColoredSkinsMixin - McGlaspie

Difficulty - 3/5

This mixin requires you to create code in your mod and do some thinking. If you want to create any skins other than for the default marine, a little understanding of color mapping is required.

Part 3 - Health Drop on Death - SoulRider

Difficulty - 1/5

A simple example of adding a health drop on death and relevant code for picking up the health drop. Easy to implement and customise.

Part 4 - Team Spawns - SoulRider

Difficulty - 2/5

The example mod shows an implementation of fixed team spawns for aliens and marines. The example only demonstrates the team spawns on team join and round reset. In the modified ns2_summit map included, team 1 and team 2 spawns are both located in crossroads. To implement this further and replace the current NS2 spawn system would require additional work.
Items (5)
Model Scale Mixin - Modders Toolkit
Created by Soul Rider
Model Scale Mixin is a modding tool which provides the ability to scale the model of any entity in the game which uses Client Model Mixin. This includes every script actor entity in the game. Using this on a player requires a little more work than using on...
80% Skulk - Modders ToolKit
Created by Soul Rider
80% Skulk is an example mod to show how to use the model scale mixin on a player model. Model, hitbox, collision, crouching and player viewheight are all scaled in this code. I have not made any changes to jump height or player speed etc. This requires the...
Marked Incompatible ]  ColoredSkins
Created by McGlaspie
This is not a gameplay mod, but rather a library for other modders to use in their own works. This is also the first alpha version, so not all the shaders have been created to support all the existing entities types in NS2. Once this is complete, I will be...
Health Drop - Modders Toolkit
Created by Soul Rider
Health Drop is a simple example mod that shows how to drop health orbs on player death. Health orbs provide +25 health up to maxhealth. Health Orb by Sewlek. The idea of the Modders Toolkit series is to assist modders with new tools and provide encourageme...
Team Spawns - Modders Toolkit
Created by Soul Rider
Team Spawns is an example mod showing how to use team spawn entities to preselect player spawn points for each team in mods. Important Note: In this example mod and map (modified ns2_summit) the team spawn only affects players when they first join a team, ...