Radioactivelad Posted September 3, 2015 Share Posted September 3, 2015 (edited) Okay so I realize this kind of mod would have little practical use, but as someone who makes machinima type videos, it's a feature I could kill for. Basically, the ability to still control a character while the Freecam (TFC) is active. For a long time I wasn't sure if it was possible, but I recently tried out the Rideable Liberty Prime Mod and found that I indeed could continue controlling LP while the cam was up.Unfortunately, not all of my scenes require giant death robots though. There was an obvious problem of the camera still moving while I was moving LP around, but I easily negated this by changing the Cam Speed to an absurdly low value (0.0001). Even still, the ability to control the camera and robot simultaneously was useful in of itself. I imagine what makes that possible is that LP is a seperate entity from the player, but that's fine because most characters I want to move in and out of frame are NPCs anyway and it's easy enough to create an NPC clone of your character. Annoyingly my scripting knowledge doesn't extend far beyond practical things, so does anyone else have a clue as how to implement this? Edited September 3, 2015 by Radioactivelad Link to comment Share on other sites More sharing options...
steelserpent7 Posted September 3, 2015 Share Posted September 3, 2015 Have you tried going into the GECK and looking around at LP's scripts and seeing which deals with such circumstances then trying to edit it just enough to where instead of LP it deals with the player?That'd be my best guess. Link to comment Share on other sites More sharing options...
devinpatterson Posted September 3, 2015 Share Posted September 3, 2015 I believe it's because liberty prime is not controlled via the player controls but through a script that co-opts your keys and does two fundamental actions. One is to play an animation (playgroup) that is appropriate to the key you hit (if you hit the key assigned to forward, libertyPrime.playgroup fastforward 1 is fired off by the script). The second is to actually move the player in relation toLP via setPos, setAngle and some trig. This is what I'm guessing based on some work I did with Illyism's ridable creatures script, and although I havn't looked at the Rideable LP mod it probably uses the same or a derivation of the script. So long story short, you should be able to do the same thing with additional capabilities. I believe you could set a simple hotkey to activate a script while in freecam. That script can assign various keys to various animations and fire them off via playgroup and should be able to perform every action you could through your normal player controls (via key). I'm not sure though about the mouse in regard to controlling the player or character. That may be significantly more complicated since you may need it to be active for controlling your point of view in freecam, and because you'd probably have to use a similar method of getAngle, some additional trig and whaterver playgroup is used when your player/npc/creature is turning, and there are lot more hotkey functions for actual keys than there are for the mouse (not mousekeys but the actual mouse movement). You know Fallout2am might be a good one to ask about this, she's pretty capable in scripting and utilizing animations, plus it may be possible there is something like this already, and if there is she would probably know about it. Link to comment Share on other sites More sharing options...
Recommended Posts