#how do I make my first script?

14 messages · Page 1 of 1 (latest)

faint stream
#

As in a Plugin (C#) or uScript?

#

I know its possible as I have seen it done before. However its alot of work to get it to work propertly

#

So in that case, you would need to make a plugin for it, by using C#

#

Theres not much of documentation out there for RocketMod. OpenMod has more documentation however its a bit harder to get a hang of it.

Either way, you need to learn the basics of C#. Dont just jump into making plugins without knowing the basics. After you understand the basics of C#, Watch REstore Monarchys Playlist on how to make a Unturned Plugin ( https://www.youtube.com/watch?v=A1MhnhJBnd4&list=PLFHvXbDC4Vk1NnS27INhLCfEwhzbiQYFA ). Follow alogn and make sure you understand what he is typing. After that, edit some open sourced projects, add features, ideas etc. After you do that for a few plugins, You can start making your own

Now one major thing is, Don't build your first idea that you said above. The missle homing system would be a bit advanced.

Unturned Rocket Plugin Tutorial Playlist: https://youtube.com/playlist?list=PLFHvXbDC4Vk1NnS27INhLCfEwhzbiQYFA

Source code:
https://github.com/RestoreMonarchy/KitsPlugin

If you need help join my discord:
https://restoremonarchy.com/discord

Softwares used in this video:
Visual Studio 2019
Pterodactyl (my servers panel)

▶ Play video
#

Well, You can do that without a Plugin.

#

Its all through Unity. Not to sure how they do it though

#

Trust me, It will take a while to learn how to make a decent plugin without alot of Lag if you have 0 knowledge. There is 0 Documentation when it comes to RocketMod

#

I've been making Plugins for a year now and I dont even want to mess with Phyicis like that.

#

Anything. You can make a simple /rob command for a example

#

Just think of some ideas

#

My first plugin was a auto sell plugin. When a Item got added into the players inventory, I would check if it could be sold and then add the experience to the player

#

Also, if you ever do get stuck or have questions. You can always ask in the ImperialPlugins discord (You can search on google for it). There is a channel for Plugin Developemnt

fickle vessel
#

Theres a thermal image camera already premade in the modding resources

#

Its all made with render textures and a shader