-
Posts
1,480 -
Joined
-
Last visited
Content Type
Profiles
Forums
Developer Articles
KSP2 Release Notes
Everything posted by Nazalassa
-
N -18
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -15
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -13
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -11
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -8
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -6
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -5
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
The Kerbal KAL Logic & Computing Laboratory [WIP]
Nazalassa replied to Nazalassa's topic in KSP1 Discussion
In other news, I am working on a second version of cfp, and I managed to make a function that finds stuff: find(config, name, value) -> returns the list of structures in config so that they have name=value example (cuz I'm bad at explaining): find(config, 'VESSEL/PART/MODULE/target', 'val') will find all MODULEs which are inside a PART which is itself inside a VESSEL, and which have target = val. Do you think it should rather return the VESSEL (if called with VESSEL/.../name)? ** UPDATE ** I added a "just name" and a "absolute only" functionality to the find function. If the path (or "name" as I called it) starts with a '/' then it will look for VESSELs (assuming you start with '/VESSEL/...') only in the config root, and not in all substructures of the config. If value is not specified, then it returns whatever has that name (doesn't check for values), so searching for 'PART/MODULE/CONTROLLEDAXES/AXIS' will give all KAL fields ('AXIS{...}') in the config. Searching for '/PART/MODULE/name' with value='ModuleRoboticController' will return all KAL controller modules, provided that they're in a PART that is in the root of the config (it is the case in .craft files). Then performing another search, on each of them (by changing the 'config' parameter) for '/CONTROLLEDAXES/AXIS/timeValueCurve' will give you, for each KAL, all of its timeValueCurves. Note: if what I wrote is un-understandable, just tell me.- 71 replies
-
- laboratory
- computer
-
(and 2 more)
Tagged with:
-
N -3 Greetings from a rainy place
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
...and the game restarts at 0! (We still have three more rounds to win!)
- 30,748 replies
-
- 1
-
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -72 THREE more!
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -69
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -66
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -66 Getting closer!
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -64
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -62
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
-62 (N)
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -60 Only 15 to go!
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -59 You forgot to declare a new page!
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
Assuming you meant 'N -56': N -57
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -55
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -53
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -52
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -52
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with:
-
N -51
- 30,748 replies
-
- going off the rails!
- non-stop!
-
(and 3 more)
Tagged with: