Jump to content

An adaptive IMOD


Thegood28

Recommended Posts

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

Thank you. I have gotten some progress, but hit another stump.

 

if player.isininterior == 1

if on == 0

imod realsim

set on to 1

endif

else

if on == 1

rimod realism

set on to 0

endif

endif

 

 

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...