RimWorld

RimWorld

129 ratings
[AV] Framework
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.5, 1.6
File Size
Posted
Updated
7.892 MB
1 May, 2024 @ 1:37pm
8 Jul @ 10:59am
22 Change Notes ( view )

Subscribe to download
[AV] Framework

In 1 collection by Veltaris
[AV] Mods made by Veltaris
13 items
Description
This is just a framework which is needed by some of my other mods.

It contains a collection of code, so I don't have to copy them all around.

It doesn't change gameplay on its own.

All harmony patches which are contained by this mod get skiped when they are not needed.


Optional biotech QoL for colonies with multiple mechanitors

This is disabled by default and needs to be activated in the mod-settings.

  • mechanitors can have their own special color (choosen by the player) for their command radius
  • mechanitors and mechs get an aura-highlight in their mechanitors color when drafted (toggleable in the bottom right of the screen)
  • command radius depends on the type of mechlink (supports Hydrologist's Mechanitor Command Range Extenders)
  • command radius can be scaled by psychic sensitivity
  • modded buildings (incl. gestalt engine) will still show the white command range





Maybe useful for xml modders
Usage excamples can be found in my own mods.

DefModExtension IsMechlink
- for custom mechlinks implants

CompUsableImplant_Mechanitor
- self installing only when the pawn is a mechanitor

CompUsableImplant_NoMechanitor
- self installing only when the pawn is not a mechanitor

DefModExtension BiocodeMessage
- creates a massage on the top left of the screen when a biocodable item is produced by the player

Comp_SelectableSpawner
- upgraded comp_spawner for buildings and pawns
- allows scaling depending on the pawns stats (you choose which)
- allows change of productionspeed
- allows item production in caravans
- spawns the item even if all adjectent tiles are full (vanilla just skips it)
- message in the top left for item production can be disabled in this mods settings

SpawnerDef
- used to define the item, count, research requirement and research for productionspeed scaling for Comp_SelectableSpawner

Comp_SpawnMonitor
- adds a gizmo to a UI that shows all producers and consumers of fuelable items for easier balancing
- this tracks all thingdefs of Comp_SelectableSpawner, Comp_Spawner & Comp_Refuelable

Comp_GiveHediffsWhenAlive
- adds a hediff to a pawnkind (used to give a mech a hediff after gestation or resurection)

Comp_BandNodeFueled
- allows bandnodes to be fuel dependend, bandwidth change can be adjusted in xml

Enjoy!
17 Comments
Deggial 8 hours ago 
@Veltaris

Dropbox: Thank you for trying! That's a shame! :(

Thank you also for your research into the known error. This goes beyond anything I could have hoped for! <3

I have a GeForce RTX 2070 SUPER, though.
But maybe this applies to this GPU too.
Veltaris  [author] 16 hours ago 
@Deggial
Sadly I can not access the dropbox.
The loading order should not matter that much past the already stated.
I did find something for that error though:

"Just some quick Breaking News on the 1.6/DLC release. As Ludeon Devs confirmed earlier, there is currently a not fully understood issue with 1.6 on systems using a GeForce GTX 1060 6GB vRAM causing errors like; "D3D11: Failed to create RenderTexture" or; "d3d11: failed to create 2D texture shader resource" - as a solution, affected users can use -disable-compute-shaders as a startup parameter."
Deggial 13 Jul @ 9:46am 
@Veltaris, here is the Dropbox link to the log.
I hope it still works - it's been a while since I used it! Please let me know if you can download the log.

https://www.dropbox.com/scl/fi/e9uhgeoep8vguvdelc5is/Player-prev.log?rlkey=svzro6enetr0dxp9spv8bav6h&dl=0

The only connection I can see is that all of those errors occurred when your mod/framework was part of the mod list. As soon as I removed them (and *only* them), the game loaded fine.

Regarding the load order: This is basically how mine looks out of necessity. ;)
Usually, all the frameworks are lumped together at the start.
But then what?
Before or after all the Vanilla Expanded mods?
Before or after mods that change textures?
Before or after mods that alter the UI or game mechanics?

Thank you for looking into it!
Veltaris  [author] 13 Jul @ 8:17am 
@Deggial
Can you please send me the full log? How does this error or warning relate to my mods?
With just that bit I only know that your game fails to create a texture.

Proper loading order would be:
- harmony
- core & dlcs
- framework
- mods using that framework
Deggial 13 Jul @ 4:30am 
Hi @Veltaris,
I'm not sure if the issue is related to this framework or your "[AV] Ancient Spacer Xenos" mod.

I recently found out how to detect mod-loading issues by reading the 'Player' log. However, I don't yet fully understand what I read. At least I can identify the culprit and remove it from my mod list.

This time, it was apparently your mod.

With it included, error messages spammed the log and loading took forever (it actually didn't finish).
Without it, loading took just 3.5 minutes.

Here is a tiny fraction of the log:
D3D11: Failed to create RenderTexture (2048 x 1024 fmt 27 aa 1), error 0x887a0005
Graphics.CopyTexture could not find source D3D11 texture object. Maybe it is a RenderTexture that is not created yet?
....

I would like to try your aliens, but I can't so far.
I hope you'll find time to look into it.
Do you have any recommendations regarding the load order?
Could it simply be this?

Thank you!
Doomer Man 1 Jul @ 7:26pm 
Love your mods
Veltaris  [author] 17 Sep, 2024 @ 9:34am 
@Cruel Moose
It's accessible again. Just took nearly a day...
Cruel Moose 17 Sep, 2024 @ 12:04am 
I know how that can be, steam wouldn't let me update a mod on my workshop for days until I figured out it was because the typo I was changing didn't change the file size. So I had to add a junk file, update, then update again without the junk file.
wcpwnsuto 16 Sep, 2024 @ 11:14pm 
I thought you deleted the mod for a bit there haha I was worried
Veltaris  [author] 16 Sep, 2024 @ 10:26pm 
@Cruel Moose
It seems to be stuck in a steam process. This usually takes minutes but is been going on for ~10 hours now after I changed the steampage...
"This item is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information)."