Thegood28 Posted October 16, 2010 Share Posted October 16, 2010 To the Fallout Nexus Community; I have created an IMOD which alters the visuals of the game so that there exists the illusion of shadows and other more "realistsic" features. However, i would prefer that this feature only be activated when the player is indoors, NOT outdoors. As is, i have it coded so that it remains activated at all times. However, and regretfully, i am still disappointed with the outdoor presentation most of the time. So, my question to you all is: How could i code the mod so that the IMOD only activates when indoors, or maybe so that it utilyzes a different IMOD depending on in/outdoors. Is there a handful of lines i could drop into the script that would have something like this effect... ;(realism is the name of the IMOD) if player.(indoors?) == 1 IMOD realism endif if player.(outdoors?) == 1 RIMOD realism endif And, to acomplish this, would i need to code with FOSE? Or is there an existing way of tracking indoor/outdoor location? Any opinions or advice is welcome. Thank you. Link to comment Share on other sites More sharing options...
blove Posted October 17, 2010 Share Posted October 17, 2010 (player.getinworldspace wasteland) returns 1 if in the wasteland and 0 if not. Outdoors Megaton (and other similiar places) are named worldspaces and would return 0. Not the best, but it was the first thing that came to mind. Link to comment Share on other sites More sharing options...
Thegood28 Posted October 17, 2010 Author Share Posted October 17, 2010 Thank you. I have gotten some progress, but hit another stump. if player.isininterior == 1 if on == 0 imod realsim set on to 1 endifelse if on == 1 rimod realism set on to 0 endifendif This works so far to allow the imod to start when the player enters an indoor location, and then deactivates when he enters an outdoor loacation. The thing is, though, that we can visibly see the transition, (i.e. when i enter an interior, i see the normal lighting, and then a split second later i see the new, intended IMOD.) How can i remove/limit this time period of inactivity? Link to comment Share on other sites More sharing options...
Recommended Posts