Difference between revisions of "User:Dninemfive"
Dninemfive (talk | contribs) (Initial edit) |
Dninemfive (talk | contribs) (Tweak header levels) |
||
Line 3: | Line 3: | ||
If you like my contributions on this site please check out my [Github] and [Steam Workshop profile]. | If you like my contributions on this site please check out my [Github] and [Steam Workshop profile]. | ||
− | + | = Sandbox = | |
− | + | == Plague Gun (1.1)/Introduction == | |
This tutorial is a rewrite of the [[Plague Gun/Introduction|original]] by Jecrell ({{LudeonThread|33219}}), updated to 1.1 by dninemfive. | This tutorial is a rewrite of the [[Plague Gun/Introduction|original]] by Jecrell ({{LudeonThread|33219}}), updated to 1.1 by dninemfive. | ||
− | + | ==== Introduction ==== | |
In this tutorial we will be using most of the tools available to a Rimworld modder to create a custom weapon, known as the Plague Gun. | In this tutorial we will be using most of the tools available to a Rimworld modder to create a custom weapon, known as the Plague Gun. | ||
Line 20: | Line 20: | ||
If you have no XML or C# experience, there are good tutorials for XML [https://www.w3schools.com/xml/ here] and C# [https://www.learncs.org/ here]. | If you have no XML or C# experience, there are good tutorials for XML [https://www.w3schools.com/xml/ here] and C# [https://www.learncs.org/ here]. | ||
+ | |||
+ | ==== The Completed Mod ==== |
Revision as of 18:27, 20 May 2020
Hello! I'm a modder who's trying to clean up the modding tutorials pages, which are quite out-of-date.
If you like my contributions on this site please check out my [Github] and [Steam Workshop profile].
Sandbox
Plague Gun (1.1)/Introduction
This tutorial is a rewrite of the original by Jecrell (Thread), updated to 1.1 by dninemfive.
Introduction
In this tutorial we will be using most of the tools available to a Rimworld modder to create a custom weapon, known as the Plague Gun.
This weapon will, when its shots hit a living target, have a chance to apply the Plague hediff ("health difference") to that target.
To do this, we will create XML `ThingDefs` for the gun and projectile, create a C# assembly which determines what happens when the projectile hits a target, and link that behavior back to the XML.
This tutorial will assume a basic familiarity with XML and C# syntax. It should be simple enough to follow if you're only a beginner.
If you have no XML or C# experience, there are good tutorials for XML here and C# here.