lohapro.blogg.se

Rimworld best melee weapon
Rimworld best melee weapon










You can use escape characters in this string, like \n for a newline. The description for this item, shown when the item's information tab is opened. The game automatically makes the first character uppercase. The in-game (as opposed to in-script defName) name for this item in lowercase. The defName, in-script name, of this item that can be referred to by C# or other XML files.įor guns this usually starts with Gun_, and for bullets it usually starts with Bullet_. Things/Item/Equipment/WeaponRanged/Pistol Each gun requires a bunch of tags and additionally accepts some other tags.Īncient pattern automatic pistol. Guns inherit from BaseHumanGun or sometimes from BaseGun. Mods/Core/Defs/ThingDefs/Weapons_Guns.xml, and the RimWorld834Win ( Alpha 11) version is shown below: It's not recommended to edit these parents. This behaviour is unique to the CompArt, and it won't work with other classes. Similar to the nameMaker, but for generating a description.Īt what Quality this thing earns an artistic title and description. The defName of a RulePackDef which describes how this thing will be named under specific conditions, which in turn are described in a C# class provided in. This class might need additional tags to work. These ITabs are for example the "Bills" buttons (ITab_Bills) and the art description (ITab_Art).Ī C# class describing what should happen when the thing is interacted with in a specific way. Whether GUI will show up when you select this thing.Ī list of ITabs that will show up in the inspector when you select this item. High values make it harder for pawns to walk past this thing, lower values make it easier. Subtracted from a floor's movement speed when this thing lies on it. Guns and melee weapons are usually primary, while grenades are usually secondary. Unless you know what you're doing, it's suggested to use the same thingClass similar things use.Īny pawn can have a primary and secondary weapon. What C# class to call when doing anything with this thing. The meaning and effect of each shader is slightly different, so Īnd the last part is somewhat more complicated: How many degrees this thing will randomly be rotated at when placed on the ground. The default value of this factor on weaponry is 0.5. Things with 0.0 DeteriorationRate won't take any damage over time, ones with a value of 2.0 will deteriorate twice as fast as usual.Ī DeteriorationRate of 0.0 won't prevent the weapon from taking fire- or explosion damage.Ī factor denoting how much traders will pay you less for this weapon than they would sell it for (when negotiating at maximal social skill). Weapons deteriorate over time, slowly dropping from this value to 0 at which point it's destroyed.Ī number denoting how hard it is for fire to jump over to this weapon and how much effect this fire will have on its hitpoints.Ī thing with a Flammability of 0.0 won't start burning at all, while one with a Flammability of 1.0 will start burning very quickly.Ī number denoting how much this weapon deteriorates with every unit of deterioration time. The contents of the sub-tag are integers above zero, and represent the amount of some resource gained when this weapon is thrown in an Electric smelter. This sub-tag's name is that of a resource's defName (see Category:Defs).

rimworld best melee weapon rimworld best melee weapon

This tag has another tag as contents, in this case. Some pawns can only spawn with weapons in the WeaponsRanged and WeaponsMelee categories. Different tech levels make it possible for different enemies to spawn with this weapon.Īny arbitrary category this weapon represents. Defaults to False, making multiselecting a default behaviour. Whether clicking twice on this thing won't select all similar things on screen. Bullets can't be hauled, so this value defaults to False. Whether this thing can be hauled by anyone. Bullets can't be selected, so this value defaults to False. Whether this thing can be selected by clicking on it. Bullets aren't damaged, weapons can deteriorate and use hitpoints for that. Whether this thing has hitpoints and can be damaged. The game uses the contents of this tag to load the rest of this in a specific way.Īll accepted values can be found in Category:Defs.












Rimworld best melee weapon