custom verb properties?

Started by noobonthisforum, September 24, 2017, 06:45:40 PM

Previous topic - Next topic

noobonthisforum

I was wondering if anyone know which files I need to make my own custom properties and where to find the them in the core folder for me to use as a template unless you can send it to me.

CannibarRechter

You mean a new Verb, like Verb_MeleeAttack?
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

noobonthisforum


CannibarRechter

Well, I just looked at Verb_MeleeAttack. The verb and its properties are all hard coded. So you'd need to make a C# mod. Are you referring to Verb_LaunchProjectile? It, too, is hard coded.
CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects

noobonthisforum

yeah those are the ones, do you know where the file locations are for them?

CannibarRechter

Decompile the core using ILSpy. You will find:

Verb_LaunchProjectile.cs, and
VerbProperties.cs

CR All Mods and Tools Download Link
CR Total Texture Overhaul : Gives RimWorld a Natural Feel
CR Moddable: make RimWorld more moddable.
CR CompFX: display dynamic effects over RimWorld objects