jtull1127 Posted March 6, 2013 Share Posted March 6, 2013 hey i am making a mod and i really really need a script for working security cameras i tryed my self but failed please help Link to comment Share on other sites More sharing options...
nonplusultra Posted March 6, 2013 Share Posted March 6, 2013 Could you explain this a bit more?Do you want to display what the camera sees on a terminal or just that the cam detects an actor? Link to comment Share on other sites More sharing options...
jtull1127 Posted March 7, 2013 Author Share Posted March 7, 2013 So you can see it on a terminal also thanks for replying Link to comment Share on other sites More sharing options...
jazzisparis Posted March 7, 2013 Share Posted March 7, 2013 To actually see it inside the terminal would be impossible. I think the next best thing would be to make it appear like you were watching the security camera.Have the terminal option execute the command ForceTerminalBack to exit the terminal and add a token item to the player's inventory. The item will immediately run a scrip. Here's what I'm thinking: scn SecurityCameraScript begin OnAdd DisablePlayerControls ApplyImageSpaceModifier SecurityCameraISFX player.MoveTo SecurityCameraONRef end begin GameMode if GetNumKeysPressed || GetNumMouseButtonsPressed RemoveImageSpaceModifier SecurityCameraISFX player.MoveTo SecurityCameraOFFRef EnablePlayerControls RemoveMe endif end Basically, what it does is move the player to the room where the camera is placed, forces 1st person view and clears the HUD. As soon as you hit any key, it resets and moves the player back to where the terminal is. SecurityCameraISFX - Create a nice ImageSpace Modifier to make it appear more believable.SecurityCameraONRef - A XMarkerHeading static object, placed where the camera is. Position/rotate it so that when the player is placed at it, his POV will capture what the camera should display.SecurityCameraOFFRef - A generic XMarker static object, placed by the terminal.GetNumKeysPressed/GetNumMouseButtonsPressed - Both are NVSE functions. Link to comment Share on other sites More sharing options...
Gribbleshnibit8 Posted March 8, 2013 Share Posted March 8, 2013 That sounds like the best solution to me. The Gamebryo engine is pretty primitive. Combined with the fact there's no way to dynamically save and update textures on items in the way required to make cameras, it means what you had probably wanted to do is impossible. There are a few tricks that can be done to get "moving" images in Fallout, see Razorwire's Portable Gadgets for a demonstration of that. Link to comment Share on other sites More sharing options...
jtull1127 Posted March 8, 2013 Author Share Posted March 8, 2013 thank you so so much for the help it a perfect script but the only problem is i get attack by anything near the camera is there a way of making the player un attackble Link to comment Share on other sites More sharing options...
nonplusultra Posted March 8, 2013 Share Posted March 8, 2013 I know that it is not possible to do this, just asked because some people might think this.Normally if you are disabling the movement flag by using disableplayercontrols 1 should prevent you from getting attacked by enemies. But it is possible to detect actors in front of the camera, the easiest way would be to create static trigger for a static camera, or if you want it more real, it would also be possible to do it with an animated camera and moving trigger. Just let me know if you want some of this stuff. Link to comment Share on other sites More sharing options...
jtull1127 Posted March 8, 2013 Author Share Posted March 8, 2013 (edited) thanks jazziparis i got cameras working in my mod now thank you Edited March 8, 2013 by jtull1127 Link to comment Share on other sites More sharing options...
Recommended Posts