hiya, lots of questions from a new person

Started by rexx1888, October 12, 2014, 07:29:27 AM

Previous topic - Next topic

rexx1888

Hiya, so im a developer in an unknown indie down in aus, and ive been playing with unity and c# for the last year. an thats my experience with coding. All of it. I have none with modding or any such thing, i dont know the etiquette involved or anything. But Rimworld is pretty freaking cool and id like to get into Modding with it some day in the future.

Having said that, ive been looking through some of the stuff i can find here in the forum and on the wiki for code examples and i keep seeing really odd approaches to what i would think are problems already solved by unity the engine and c# within that engine. So im wondering, since Rimworld is a packaged product, do mods have to follow some form of behaviour thats not standard to the engine. Like, do basic MonoBehaviour functions just not work in the mod files(such as coroutines etc) and is update not called every frame in mods like it is in standard core code?

Basically, is there basic stuff about modding i should know that i just flat out dont. Also, to clarify. I am the designer of my team, not the programmer. I code because i have to, but my coder is the super wiz(an hes hard enough to motivate without me distracting him with random questions for coding things other than the task at hand) :P

Avis

I would just download some mods and dissect them to see how they work  :-\
From what I've seen, rimworld is one of the easier games to mod.
Good luck!

EDIT: Also, Welcome to the forums!
I remember the days of giving prisoners peg legs, and then removing them to immobilize them.

Rikiki

About frame refreshing, the Draw() function is here for that (eventually with a call to the parent). It IS called every frame.

Just to be clear, Unity is only the 3D graphic engine. All the rest is coded by Tynan.
I think most of modders here play with Tynan assembly and just draw some textures here and there.

Sorry but appart from some non-optimized code :P, I don't understand what is wrong in the currently available mods. Just download some and look into it.
If you need help with a specific point, ask away, the forum is pretty active! :)

Welcome aboard!

rexx1888

there werent any problems, just novel ways to get around things that i figured Update an such would have covered. Having said that, if Tynan coded the rest an never bothered with monobehaviour(understandable since mono does some wierd shit) that would explain alot of the things ive seen :D

definitely nothing wrong though. I dont know enough to be able to say something is the wrong way of doing something :D