-
Member
How do you add new plugins
So I am a super noob when it comes to programming. I read through a bunch of threads and found a bunch of different little code everyone posted that I would love to add. As example display the name of primal on the map or special glow around death breath and whatnot.
Do i create a new notepad and copy and paste the code. Then do i have to name the file special and where do I put it to activate it?
-
Contributor
Hi
I am sorry to say that creating plugins with zero knowledge of C# will be really hard to do without somebody telling you how to do it.
If you can do C# then you just read all relevant source codes until you understand how things works.
And then you try, read more, try again and maybe ask here how to do something you want to do.
But the question must be very specific and formulated correctly, if you wish that somebody with knowledge will answer. There might people that are willing to help?
If you can not do C#, then google "c# hello world" and start reading there first.
If this sounds crude, don't let it put you back. Keep studying and learning and ask the questions, maybe somebody will answer.
But the learning curve will be really steep and long.
-
Post Thanks / Like - 1 Thanks
JackCeparou (1 members gave Thanks to JarJarD3 for this useful post)
-
Legendary
Normally it is enough to create a folder inside Plugins\ and copy the file there but finished in .cs (NO .txt). The name of the folder will normally be the nickname of the author of the plugin (Jack, Resu, glq, Gigi, etc). Sometimes you have to copy additional files, for example some sound file (* .wav) in the Sounds\ folder
In each official post you will find precise instructions.
The custom code you will see in are added in plugins\User\PluginEnablerOrDisablerPlugin.cs (rename the PluginEnablerOrDisablerPlugin.txt to PluginEnablerOrDisablerPlugin.cs first). Many times they are not essential and are used to adjust some parameters of the plugin
Yes, the plugins are written using ascii text, you can use the notepad to copy the code and then save it (extension .cs), if you do not find it easy to download it
Last edited by RNN; 05-10-2019 at 02:11 PM.
-
Post Thanks / Like - 2 Thanks