RimWorld

RimWorld

195 ratings
TeleCore - A Modding Framework
6
8
4
6
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5
File Size
Posted
4.962 MB
Mar 17 @ 6:24am
1 Change Note ( view )

Subscribe to download
TeleCore - A Modding Framework

Description
A collection of tools and functions I've created over the years of developing mods for RimWorld.
There are tons of utility functions as well as feature-sets for custom mechanics, like animations, pipe networks and more. A lot of these were made for personal use, but maybe it might be of use to fellow modders!

See the Wiki for the documentation (not guaranteed to be maintained) here.[github.com]


Extend your rendering with additional layers! The CompFX ThingComp allows you to add as many new layers to render on top of anything, additionally, use the IFXObject interface to have full control over the properties of each layer via indexed Getters!

NOTE: I will add code reference for this soon!

Example:



There's been a lot of ways pipe systems have been handled in RW, my dream for a long time was a system that is more akin to actual fluid flow such as in Factorio based on pressure differences.
Basic behavior is fully configurable in XML, while more complex functionality can easily be extended with custom ThingComps.
The networks work with a custom container-based value system, with each structure in a network able to fulfill multiple roles.




The base game generally has no way to attach custom logic to rooms, so systems like temperature tend to be hardcoded. With RoomComponents you can easily create your own logic and attach it to any room in the game.
For example I used this to create the atmospheric framework, allowing gas-exchange between rooms!


This framework adds a custom Turret class, allowing you to have multiple turret guns on top of the same structure, all working independently!
Alongside adding turrets to anything via a ThingComp.

This also extends to turret rendering, allowing you to customize details like kickback and offsets for projectile spawns on your turrets barrel.


Alongside to extended turrets, this framework adds extended verbs, including beam attacks.


This is specifically interesting for modders using C#
With the help of the ActionComposition class, you can create custom execution flow based on timed events.
Examples include a multi-stage visual effects with specific timings.


A more experimental feature is the custom TickManager, running alongside the base-game TickManager.
This is mainly used for the animation tool, but allows you to subscribe custom Tick Actions to not run on the main tick loop.
Be aware that this does not guarantee performance improvement and that the general use of this may be debatable.


There is also lots and lots of tools and utility classes. From custom Widget extensions, to various helpful formatting extensions.
Some unique helper classes to wrap data exist as well!


This framework adds a custom animation system with a built-in animation tool accessible from the main menu.
It also provides a 'ThingComp' to play animations directly or it can be used to trigger animations with custom conditions.
This feature has been partially superseded by the new animation functionality of 1.5 and requires more maintenance later.



Note:
All structures used in the showcases are from my main TiberiumRim mod, which is currently undergoing heavy development!

Join my main Discord!
[discord.gg]

If you like what I'm doing support me on Patreon!
[www.patreon.com]
35 Comments
catholic bible camp victim Apr 5 @ 2:19pm 
+rep furry
idk what +rep does but i hope some mods are made with this cause this is very good
progamerbrostx Mar 23 @ 8:22pm 
When i looked at this i finally saw the chance to create a murder drones (Great show btw, Made by Glitch Productions, Liam Vickers) Eltritch.
Airinnann Mar 23 @ 12:23pm 
I thought it was strange at first seeing what looked like something eerily similar to a certain mod, then I noticed it's Maxim, I hope you've been keeping well man. You've done some crazy cool stuff with this pasta code.
Kebzie Mar 23 @ 10:10am 
+rep furry
maybe one of these days weirdos will realize just how many games, websites, even things to do with internet security have furries coding for them... it's very funny to think about.
That said, this mod/framework is bonkers . I'm not sure I have an urgent use for it yet but reading what it does is so cool
Captain Mar 23 @ 6:26am 
This looks amazing
RetroRads Mar 22 @ 10:22pm 
looks neat! Excited to see what could be made with this
Desasunda Mar 22 @ 9:38pm 
-rep furry
akulishov Mar 22 @ 3:27am 
i still can't believe that modders realise something that make game really differend - think about SOS2, Vehicle expanded, CE, this mod, rimatomics, goddamn thats a LOOOOOT, damn :cozybethesda: , magic, mechs, racks, and now animation trend where mods are now obligated to have moving parts in it to look cool
SkeletonGuardian Mar 21 @ 9:52am 
Wow , i want shit ton of mods with this ! like a rimfactory remake with this one could be amazing !
Canon Mar 20 @ 8:04pm 
Awesome!