Timberborn

Timberborn

371 beoordelingen
TimberApi
3
4
2
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Mod
Bestandsgrootte
Geplaatst op
Bijgewerkt op
767.116 KB
13 jul 2024 om 4:30
31 mei om 5:13
20 wijzigingsnotities (weergeven)

Abonneren om te downloaden
TimberApi

Omschrijving
TimberAPI supports modders to create new content in Timberborn.

Featues
  • Custom bottombar, providing customization options based on specifications and better Tool acces for modders.
  • SceneManager to check what scene is active.
  • Extended default options for IObjectLoader.
  • SpecificationGenerator, this gives the ability to generate specifications within code.
  • Changed the lifecycle of PrefabCollection so it's loaded before any other SingletonLifecycle.

Breaking changes

Bottom bar
The rework of the bottombar can cause crashes or not showing custom Tools that are implemented the original way.
Modders that want to add custom tool should implement it with TimberApi otherwise it won't be compatible when TimberApi is installed.

This is a technical limitations how the base game bottombar is build and TimberApi can't fix this issue.
Note: This problem already existed since Timberborn update 3.
Populaire discussies Alles weergeven (2)
13
3 jul om 12:53
TimberApi ERROR.
MacArni
9
25 feb om 12:22
Update 0.7 experimetell
Granatapfel
165 opmerkingen
City Builder 31 aug om 6:53 
@James This is not technically a mod, it's a mod helper that mods need to run properly. So, unless you have a mod that says it needs this, then there is no reason to install it. but if you feel the need to install it just like other mods then just subscribe to it. It does nothing on it's own, to use it, subscribe to it and any mods you have installed that need it will use it.
James 31 aug om 4:19 
What is this? How to use it? We need the Chinese version.
TheBloodEyes  [auteur] 8 aug om 11:51 
@gakera This is not possible because harmony cannot do that.
gakera 5 aug om 9:27 
Error on Mac when not using "compatibility mode" but works (with degraded performance) when compatibility is turned on. Would love to be able to run without compatibility mode.

This is the exception, a null reference error in the BlueprintSystem when loading the TimberApi Tool Group Spec Service.

v0.7.10.4-797c8f3-sm
NullReferenceException: Object reference not set to an instance of an object
Timberborn.BlueprintSystem.SpecService+<GetSpecs>d__10`1[T].MoveNext () (at <>:0)
System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () (at <>:0)
.... System stuff skipped
System.Collections.Immutable.ImmutableDictionary.ToImmutableDictionary[TSource,TKey] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] keySelector) (at <>:0)
TimberApi.Tools.ToolGroupSystem.ToolGroupSpecService.Load () (at <>:0)
Timberborn.SingletonSystem.SingletonLifecycleService.LoadSingletons () (at <>:0)
Panchito Mágico 12 jul om 5:59 
Please compatibility with Config. Factions </3
Scroller 3 jul om 7:36 
@TheBloodEyes - Thanks for letting us know.
TheBloodEyes  [auteur] 3 jul om 1:49 
@Scroller The author fixed the issue, it was as easily fixable on his side. So everything should work now.
Scroller 21 jun om 6:40 
@Air - The author of that mod has said that they can't do a fix because it actually needs to be done for -this- mod.
Air 20 jun om 22:01 
For anyone having trouble. Right now the mod Moddable Bindito [For Modders] is causing the error with its recent update.
YemCilmaz 20 jun om 10:16 
+++
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadSingleton[T] (System.Collections.Generic.IEnumerable`1[T] singletons, System.Action`1[T] action) (at <0673fedbcca9497a90c561275f1aa775>:0)
TimberApi.SingletonSystem.SingletonLifecycleServicePatcher.LoadAllPrefix (Timberborn.SingletonSystem.ISingletonRepository ____singletonRepository) (at <0673fedbcca9497a90c561275f1aa775>:0)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Timberborn.SingletonSystem.SingletonLifecycleService.LoadAll_Patch1(Timberborn.SingletonSystem.SingletonLifecycleService)
Timberborn.SingletonSystem.SingletonLifecycleUnityAdapter.Start () (at <9117b1294fcf4df390fc07f3eef2285e>:0)