Mud Posted March 19, 2015 Posted March 19, 2015 I would like to edit the gags for Devious Devices to apply a mood expression when worn, specifically Fear at 75 strength, but my attempts to figure it out don't seem to be working. I'd done this prior to the last Integration update, adding something to one of the DD gag scripts, but forgot about it before updating and now I can't remember what I did. Â Could someone lend me a hand?
Guest Posted March 19, 2015 Posted March 19, 2015 Import MfgConsoleFunc Event OnEquipped(Actor akActor)    akActor.SetExpressionOverride(1, 75) EndEvent Event OnUnequipped(Actor akActor)    akActor.ClearExpressionOverride()  EndEvent Or something like that
Mud Posted March 19, 2015 Author Posted March 19, 2015 Well, DD's script isn't quite that simple, it doesn't operate off a simple OnEquipped event when it applies its gag mouth movements, so I was trying to figure out where and what I needed to add some code to have it change the expression on top of the phoneme modifier it already has. I was trying to put in ActorRef.SetExpressionOverride(9, 75) or akTarget.SetExpressionOverride(9, 75) inside zadLibs.psc' DoApplyExpression function and in zadGagEffect.psc's OnEffectStart event, but it didn't have the desired effect after I compiled it, so I must've been putting them somewhere wrong.
Mud Posted March 21, 2015 Author Posted March 21, 2015 Bumping. Anybody got any insight to share? Just cramming a SetExpressionOverride in there doesn't seem to be working out.
Veladarius Posted March 21, 2015 Posted March 21, 2015 Check the zadGagEffect script, I believe that has the commands that change expressions.
Mud Posted March 21, 2015 Author Posted March 21, 2015 I was looking in there, zadGagEffect appears to apply the phoneme modifiers defined in zadLibs. I attempted to add a SetExpressionOverride in the portions that applied to those in either script, but they don't change in-game.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.