Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Havest MOD, A simple script
Dejunai
post Mar 23 2006, 11:14 PM
Post #1


Associate

Joined: 23-March 06



I wrote a simple script to remove flora from the game world once it has been searched for ingredients. The Flora will reappear 35 Days later. I'll utimately change this interval to match the ingredient respawn rate/event. But it seems to be more than 35 Days.

CODE

ScriptName DEJharvest

short isVisible
float timer

Begin OnActivate
Activate
Disable
Set isVisible to 0
Set timer to GameDaysPassed +35
End

Begin GameMode

if isVisible == 1
 return
endif
if timer > GameDaysPassed
 return
endif

Enable
set isVisible to 1
set timer to 0

End


I attached the script to each Flora object that did NOT already have a script.
Seems to work well, and makes gathering ingredients much easier on the eyes.

I worked on a number of Morrowind Realism Packages... And intend to again for Oblivion. This is the first from me for Oblivion, but I am certain there will be more.


-Dejunai

The ESM is posted :
http://www.oblivionportal.com/files/detail...ile=70

This post has been edited by Dejunai: Mar 23 2006, 11:42 PM
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 22nd September 2024 - 08:54 AM