

anxcon
Members-
Posts
139 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by anxcon
-
@pellinor https://github.com/KSP-RO/TestFlight/wiki/Interop-System this explains how to use the interop system without adding TF as dependancy you simply add the keys you wish, and regardless of number of keys used, each unique combination means new dataset so when a field changes (such as PParts tank length/diameter) a method is called, updating the keys https://github.com/Swamp-Ig/ProceduralParts/blob/3ff54b95e6d4382889618dc9171e0d1519b727af/Source/ProceduralShapeCylinder.cs#L101-L106 such code belongs on tweakscale side, though i am not familiar enough with tweakscale yet if you have a single place to call an update method when any setting changes, great and i can help with the rest though given how TS can change many or only a few values per part, it would be wiser to add 1 key per value, dynamically per part
-
is there any full documentation for writing tweakscale configs? @pellinor also could someone integrate the bits in for testflight?:) testflight gives partdata to parts, ie tankA has usage data, and tankB has other usage data but through its interop, mods (such as PParts does) can say "this is TankA sure, but 1.25 radius is tankA1 and 2.5 is tankA2" allowing configuration choices to change the data set
-
[1.10.0] Kerbal Krash System (0.5.1) 2020-08-05
anxcon replied to EnzoMeertens's topic in KSP1 Mod Releases
@EnzoMeertens as said abovee, MM to add resources to pod etc is what id prefer, you can even have kerbals auto loot pod on eva, or simply pull from vessel during repair action in either case, i would assume you would put the costs (be it time or resource) within the partmodule, and thus a config could easily set 1.2 also added custom game settings class, so you can have resource cost and time cost both a setting to mark on to use one or both, as well as multipliers to scale by difficulty the lesson here is "why pick between fans and your dream? do both"- 735 replies
-
- krash
- kerbalkrashsystem
-
(and 1 more)
Tagged with:
-
[1.10.0] Kerbal Krash System (0.5.1) 2020-08-05
anxcon replied to EnzoMeertens's topic in KSP1 Mod Releases
@EnzoMeertens in past failing hatches to block eva was mentioned, and i pointed you to flags to block it just mentioning 1.2 added onAttemptEva gameevent you can use to cancel eva in a cleaner way opinion, not to discourage, i view KKS as more of physical / denting damage this seems like something to add to TestFlight which is more behind the cover style damage though in the case of heat + enough aero force on wings = bending wings, definately sounds fitting in any case suggest adding to TestFlight thread too- 735 replies
-
- 2
-
-
- krash
- kerbalkrashsystem
-
(and 1 more)
Tagged with:
-
@sen6Miller or just get source and compile it
-
so because a mod is successful, and the author put in large amount of support to push it to being that successful, he should have less courtesy / rights than small mods? and if he doesnt bow down hostile fork?
-
when it is ckan who chooses to opt you in, does it still fit the title of opt-in?
-
sellers have a right to decline a distributor (the supermarket) to sell their product, ckan is doing nothing more or less than torrents, have fun in that rabbit hole
-
everyone will kiss and make up in a few days and things will go back to normal
-
CC isnt for code
-
was fairly basic, just a partmodule, onEva use up a resource, nothin fancy, add it to any part a kerbal could eva from not sure where i put my copy of it to update, id dout it broke too basic, might have to just remake it someday
-
@ShotgunNinja for the whole malfunctions / part lifetime bit, i would suggest switching to testflight, would both save you some code, and has a nice API for adding any new failures you can think of - also any failures that exist in dangit, also exist in testflight
-
PartModuleList.Contains and Game mode
anxcon replied to Crzyrndm's topic in KSP1 C# Plugin Development Help and Support
Type type = AssemblyLoader.GetClassByName(typeof(PartModule), name) can convert name to the type used for makin the partmodule, then check if type in list -
How to create custom classes?
anxcon replied to Tralfagar's topic in KSP1 C# Plugin Development Help and Support
basicly you'll need to code new ExperienceEffect, and code elsewhere to check if experience traits exist to manipulate stuff- 4 replies
-
- roles
- custom classes
-
(and 1 more)
Tagged with:
-
[1.10.0] Kerbal Krash System (0.5.1) 2020-08-05
anxcon replied to EnzoMeertens's topic in KSP1 Mod Releases
with reflection, you could drop the KIS dependancy, though should talk to KIS devs and see the proper way to go, other mods have KIS tools- 735 replies
-
- 1
-
-
- krash
- kerbalkrashsystem
-
(and 1 more)
Tagged with:
-
ok so been toying with this for a couple of days and keep running into roadblocks, and i'm not great at reflection, so hoping someone wants a challenge while i continue making other parts of my mod within skill range basicly i'm trying to add bars to part / kerbal right click menu, for that i need to have KSPField / BaseField, now the tricky part, they have to be able to be created dynamically, getting setup from a ConfigNode. basicly i need the equiv of adding this to a partmodule [KSPField(guiActive = true, guiName = "Hunger", guiFormat = "#0.00\\%"), UI_ProgressBar(scene = UI_Scene.Flight, minValue = 0f, maxValue = 100f)] public float value = 50f; but dynamically made from STAT { name = Hunger min = 0 max = 100 initial = 50 guiFormat = #0.0\\% } currently kinda giving up and just using 50 KSPField, which looks sloppy, but its what works atm
-
switching IVAs
anxcon replied to MasseFlieger's topic in KSP1 C# Plugin Development Help and Support
i toyed with this a few weeks ago, the goal was to mimic the scene from The Martian, gutting the "IVA" to save mass, but losing part features got distracted and wandered off though anywho, requires codework, but part.internalModel is loaded from whatever part.internalModelName is, and some methods can be used to reload an iva to change it, but its cleaner to change it at the start before iva is created -
[1.10.0] Kerbal Krash System (0.5.1) 2020-08-05
anxcon replied to EnzoMeertens's topic in KSP1 Mod Releases
how hard would it be to apply dents to an IVA? i mean i been crashing pods, and i play IVA only (related? - the new iva cutaway view for external might benefit?) kinda seems a bit lacking to not dent IVA- 735 replies
-
- krash
- kerbalkrashsystem
-
(and 1 more)
Tagged with:
-
just throwing it out there, if you need part suggestions, SXT needs some love in IVA patching, esp RPM support, extente model is my biggest wish b/c animated nose, i'm a sucker for animated parts
-
if you're putting all the work into makin fancy IVAs, get RPM support hint: RPM has tons of features, the default screens including in its cfg are old / barely scratch the potential
-
uh @soundnfury had a mod too i think, kappa-ray or somethin for radiation would be nice to get a detailed comparison between mods conflicts (gameplaywise) / if it makes sense to use multiple together