Hi,
My name is Ricardo.
My question is : Can I create a plugin in c++ ?
I see the oxide run correctly in c#, javascript and others... but in c++ too?
Regards
Solved Using C++ for plugins
Discussion in 'Rust Development' started by timish.bit, May 15, 2015.
-
Yeah ... many coders are making plugins in C# u can download their plugins to get an example
Copy from http://oxidemod.org/downloads/oxide-for-rust-experimental.714/
- New plugin languages - plugins can now be written in C#/CSharp, Lua, JavaScript, or Python! While C# will be the fastest as it's essentially native code, you're free to write in your language of choice!
-
and @timish.bit there is no support for any other languages than those listed at the download page (Lua, JavaScript, Python and C#). -
-
Will C++ ever be able to be used for plugins? I wanna learn to make plugins but dont wanna have to learn a new coding langauge.
Last edited by a moderator: Aug 20, 2015 -
I don't get it.
What's the sense of using C++ for modding of a Unity3D game ?
Deliberately mixing managed and unmanaged code is just a perversion, imho. -
Wulf Community Admin
[DOUBLEPOST=1440083176][/DOUBLEPOST] -
Dealing with unmanaged code thru managed is okay, but not vice versa -
I only know C++
-
-
Do you guys plan to make it so people can make plugins in C++? I am learning C++ and really dont wanna try learning C# or Java
-
Wulf Community Admin
You'd have to write a whole bridge to handle it, doubt it's really worth the time. C# is pretty easy to pick up, and I don't think most would have an issue if they know C++. Oxide is written in .NET/C#, as are pretty much all the games we support right now, which is why C# is the primary plugin language.
-
If you know c++ then c# is nothing, you'll get the hang of it in about 3 minutes. Its 95% the same syntax.