Ludeon Forums

RimWorld => Mods => Topic started by: skullywag on August 19, 2015, 07:44:50 AM

Title: Modders standard for definition naming
Post by: skullywag on August 19, 2015, 07:44:50 AM
Hi all,

Ive seen a few conflicts starting to pop up in mods recently in regards to defnames, this is more of a query than me defining a rule but do people think its worth using something like moddername_defname when making new defs to avoid this in future especially with more and more modders joining the ranks.

I for one am gonna update all my mods to do it when A12 drops so all my mods will never conflict in terms of defname.

Thought?
Title: Re: Modders standard for definition naming
Post by: Alistaire on August 19, 2015, 08:40:47 AM
How about working your Ludeon forums user number into that?
Title: Re: Modders standard for definition naming
Post by: skullywag on August 19, 2015, 08:42:21 AM
eeh not sure having 36837 in there is really needed, there arent going to be many people with the same user/screen name out there, remember not all modders are forum members.
Title: Re: Modders standard for definition naming
Post by: JuliaEllie on August 19, 2015, 09:19:55 AM
While having a standard is not a bad idea per se I still see a few problems coming up. HOW do we enforce the standard would be the first that comes into mind.

(http://imgs.xkcd.com/comics/standards.png)
Title: Re: Modders standard for definition naming
Post by: skullywag on August 19, 2015, 09:30:00 AM
simply via education, if a mod conflicts...we tell the author of this standard, its a choice thing, nobodies enforcing it, im just advising I will be doing this, if other modders want to follow suit its their choice.

Also I do love that xkcd comic even if it does come up EVERYTIME this subject does...lol
Title: Re: Modders standard for definition naming
Post by: Shinzy on August 19, 2015, 10:49:36 AM
Oh I've been slapping "Modnamello_Petnameforobject"
on almost everydef I make *almost*

gna have to hunt down the rest of the generic defnames in A12 when I'm about to do some major rearrangements :P
Title: Re: Modders standard for definition naming
Post by: 1000101 on August 19, 2015, 04:28:56 PM
I hadn't encountered any mods which have def conflicts yet, but I can see it happening.

For reference, the next release of CCL defines the following defs: