Unna Oertdottir on 21/4/2016 at 09:59
Another DML issue
I wanted to modify an anim light
The DML looks like that
Quote:
+ObjProp 308 "AnimLight"
{
"max brightness" 30
"min brightness" 20
"radius" 20
}
max/min brightness was assigned correctly (monolog) but the radius is not
Quote:
LOG: dpPatch> WARNING: cannot find field sAnimLightProp::"radius" (prop "AnimLight" ObjID 308), skipping
I wonder why.
voodoo47 on 21/4/2016 at 11:40
because it's "radius (0 for infinite)", see proplist.txt (dump_props_full in the Dromed command window will create it). do note that you won't be able to affect props that require relight for the change to get applied (the new values will get assigned, but there will be no effect without that relight).
Unna Oertdottir on 21/4/2016 at 11:52
Okay. But why was max/min brightness assigned? This requires a relight in DromEd as well. I didn't relight the mission, it's just in the DML. As far as I can see, it's working fine.
A setup like that
Quote:
+ObjProp 248 "Light"
{
"brightness" 10
}
Is working, too
voodoo47 on 21/4/2016 at 13:30
the dml just assigns the props, it has no way of knowing whether that has an actual effect. so some things might not work - feel free to experiment (I'm pretty sure you won't be able to do anything with the lightmap, as that one is baked into the level. turning it off and on, or making it flicker differently should be no problem).
I know that mode and millisecs to brighten/dim do work via dml, did not try others.
another place where dmls are very limited is modifying physics related props, for most of the physics stuff there is just no effect, even though the props get assigned properly.
Unna Oertdottir on 21/4/2016 at 13:47
Setting light/animlight with dml has an effect without relighting. I can see it.
I leave that radius as it is.
ZylonBane on 21/4/2016 at 14:25
It may have had some effect, but it certainly didn't have the correct one. At best you could probably make an existing animlight darker, but you certainly couldn't make it brighter, because that would require relighting the level.
Daraan on 15/5/2016 at 15:10
I want to add a Stim with Agent to a custom Metaprop. The DML will only accept the OBJ ID which can't be used by others of course and a string will fail.
So is this currently impossible?
voodoo47 on 15/5/2016 at 16:18
creating a new stim is impossible, but assigning an already existing one should be no problem.
Daraan on 16/5/2016 at 08:27
Problem is the Agent Object in the Receptron. Which should point to a manually created one.
voodoo47 on 16/5/2016 at 10:45
you should be able to use a concrete obj id there, but not the object name, if memory serves. does the log/console spew any errors when trying to load the dml?