i play single player solo...what i want to happen is when i rest 8 hours pass and it goes from night to day or vice versa.i played this with morrowind for years after initial release.thats what i want is an overide that affects the oc and official expansion(i have both of them).
qwert
Day And Night Cyles Mod?
Débuté par
qwert_44643
, nov. 04 2011 03:13
#26
Posté 29 janvier 2012 - 03:55
#27
Posté 29 janvier 2012 - 04:08
basically i want base resting except night and day passes accordingly to the time rested (i usually rest 8 hours) all in an override module.
you dont know how sad i was entering a new area at night having hard time to see....i cleared the area and decided to wait till morning so i could see better and rested and it was still dark.
i hope someone can do this for me to restore my enjoyment of nwn.
thanks in advance.
qwert
qwert_44643@yahoo.com
you dont know how sad i was entering a new area at night having hard time to see....i cleared the area and decided to wait till morning so i could see better and rested and it was still dark.
i hope someone can do this for me to restore my enjoyment of nwn.
thanks in advance.
qwert
qwert_44643@yahoo.com
#28
Posté 29 janvier 2012 - 04:43
Ok, This was done rather quickly so I have not tested it. I have uploaded the override into the Files in
Miscellaneous Requests.
Just download it and unzip it into your override folder. If you have any trouble with it let me know. Either here or post a comment on the projects page.
Miscellaneous Requests.
Just download it and unzip it into your override folder. If you have any trouble with it let me know. Either here or post a comment on the projects page.
#29
Posté 29 janvier 2012 - 05:43
I just downloaded it and went to load my old game up but in my sadness i must have deleted my old game...i have 2 make a new one.So between skyrim i will have to test it out,in the meantime you think you could test it out and see if its behaving and report back here?
I'l test it out 2 and report back here when im done testing it out.
qwert
I'l test it out 2 and report back here when im done testing it out.
qwert
#30
Posté 29 janvier 2012 - 05:45
AND THANKS A MILLION!!!!!!
qwert
qwert
#31
Posté 29 janvier 2012 - 06:04
what exactly does this do?does it rest for only hours,can you cancel resting and the time will be adjusted accordingly?does it go from day skies to night skies and vice versa?
qwert
qwert
#32
Posté 29 janvier 2012 - 07:06
I just rested 3 complete times and the skies didnt switch from day to night...thats what i want changed.Im right at the beginning of chapter 1.
qwert
qwert
#33
Posté 29 janvier 2012 - 07:27
ok, I just looked farther into it. It looks like the file I posted is only going to work for XP2, (HOTU). a differant override will be needed for XP1. (SOU) The original campaign will pose a bit of a problem. It does not have any scripts attatched to the rest event, The only way to get something into the rest event for the OC (XP0) is going to be to open up the module and add a rest event. And that will need to be done in each chapter.
Modifié par Lightfoot8, 29 janvier 2012 - 07:27 .
#34
Posté 29 janvier 2012 - 07:33
can you do that for the oc?
qwert
qwert
#35
Posté 29 janvier 2012 - 07:35
Might as well point out that the override will only work on modules that use an unaltered x2_onrest for the OnPlayerRest event. If you are playing a module with its own modifications or custom scripts you will need to add Lightfoot's change into whatever script that custom module uses.
#36
Posté 29 janvier 2012 - 07:36
qwert_44643 wrote...
can you do that for the oc?
qwert
The OC, will need to be opened and modified, as Lightfoot said, because there is no script to override.
#37
Posté 29 janvier 2012 - 07:40
Yes, you can edit the OC. The only draw back is that you may need to start the chapter over. But with the way the OC modules are handled a little differant then custom made one you might not have to start it over. What OS are you using?
#38
Posté 29 janvier 2012 - 08:15
im using windows vista if i understand the question right.
qwert
qwert
#39
Posté 29 janvier 2012 - 08:16
im using windows vista if i understand the question right.
qwert
qwert
#40
Posté 29 janvier 2012 - 08:20
In win XP I would do it this way.
Open up the nwm folder in your nwn install. on my computer the path is C:\\NeverwinterNights\\NWN\\nwm
Find the file named Chapter1.nwm and right click on it.
Select 'open with...'
Click the 'browse...' button
Select nwtoolset.exe from the nwn folder to open the file with. // after you have done this one time you will be able to open any nwm files by just double clicking them, al long as you made sure the 'always use selected program to open this type of file' check box was checked.
Once you have it opened in the toolset. Form the EDIT menu select 'Module Properties'
Select the 'Events' tab.
Down where it says OnPlayerRest type in a file name. Ill call it x0_onrest
click the EDIT button next to it.
Confirm that the script does not exsist and that you want to create a new on.
In the script editor Type in this script, Or just copy and past it from here.
Hit F7 to save and compile the script. Or clicking the save and compile button in the upper left corner will do the same thing you should get a message saying : 1/29/2012 3:13:16 PM: 0 Errors. 'x0_onrest' compiled successfully
Close the script editor.
Click "OK' on the modules properties tab.
Click the 'X' in the uper right corner of the toolset to close and confirm that you want to save the module.
At this point you are done.
Open up the nwm folder in your nwn install. on my computer the path is C:\\NeverwinterNights\\NWN\\nwm
Find the file named Chapter1.nwm and right click on it.
Select 'open with...'
Click the 'browse...' button
Select nwtoolset.exe from the nwn folder to open the file with. // after you have done this one time you will be able to open any nwm files by just double clicking them, al long as you made sure the 'always use selected program to open this type of file' check box was checked.
Once you have it opened in the toolset. Form the EDIT menu select 'Module Properties'
Select the 'Events' tab.
Down where it says OnPlayerRest type in a file name. Ill call it x0_onrest
click the EDIT button next to it.
Confirm that the script does not exsist and that you want to create a new on.
In the script editor Type in this script, Or just copy and past it from here.
void main()
{
if (GetLastRestEventType()==REST_EVENTTYPE_REST_FINISHED)
SetTime( GetTimeHour()+8,GetTimeMinute(),0,0);
}
Hit F7 to save and compile the script. Or clicking the save and compile button in the upper left corner will do the same thing you should get a message saying : 1/29/2012 3:13:16 PM: 0 Errors. 'x0_onrest' compiled successfully
Close the script editor.
Click "OK' on the modules properties tab.
Click the 'X' in the uper right corner of the toolset to close and confirm that you want to save the module.
At this point you are done.
#41
Posté 29 janvier 2012 - 08:22
qwert_44643 wrote...
im using windows vista if i understand the question right.
qwert
Ok, It should work about the same way in vista, as long as you give the toolset admin rights and you are installed on the C drive and not in the programs folder.
Modifié par Lightfoot8, 29 janvier 2012 - 08:45 .
#42
Posté 29 janvier 2012 - 08:52
As much as i would like to have this...i have no nwn modding experience and im not going to try this and i vunderstand if you dont want to.Il just wait a while and try to play this again and maybe the day and night cyles wont bother me.I find it hard that no one else is affected by this.Thanks to everyone for their hard work and appreciate it.
qwert
qwert
#43
Posté 29 janvier 2012 - 09:17
Sorry, The above instructions are the best I can do for you. The EULA prevents me from being able to modifing the OC module and uploading it to the web.
#44
Posté 29 janvier 2012 - 09:53
Damn Boy...i followed the instructions and it worked...thank you so much!Now do i have to do this for the expansionss as well?
qwert
qwert
#45
Posté 29 janvier 2012 - 10:00
i added the xo_onrest to all the chapters...was that right???
qwert
qwert
#46
Posté 29 janvier 2012 - 10:06
i just tested chapter 1 2 3 and it worked.i added it to the prelude and chapter 1e 2e.is that right?
qwert
qwert
#47
Posté 29 janvier 2012 - 11:11
The Prelude Is fast and I dout would take you longer then a day to compleate. I would not even add it to it. Sleeping in the middle of the evasion would be more emersion breaking then not having an 8 hour rest.
I think most of the enterludes are also set up the same way. But you can add it to them if you want.
The Expansions all already have a script for the OnPlayer rest event. The Override you already downloaded will work for HOTU. I will get you an override uploaded for SOU a little later. They take a little more care because the modules have other things that happen in the PlayerRest event also.
I think most of the enterludes are also set up the same way. But you can add it to them if you want.
The Expansions all already have a script for the OnPlayer rest event. The Override you already downloaded will work for HOTU. I will get you an override uploaded for SOU a little later. They take a little more care because the modules have other things that happen in the PlayerRest event also.
#48
Posté 29 janvier 2012 - 11:23
Thanks for the instructions...they were great....il keep looking back to see if you have the 1st expansion done.
Thanks once again.
qwert
Thanks once again.
qwert
#49
Posté 30 janvier 2012 - 12:02
Ok. the override from my projects page has been modified to contain bot overrides.
Misc. Requests.
Misc. Requests.
Modifié par Lightfoot8, 30 janvier 2012 - 12:03 .
#50
Posté 30 janvier 2012 - 03:49
1 question i would like to restore prelude,1e &2e but dont know how to get it 2 be a nwm file instead of a backupmod file.....can anyone help me out and tell me how 2 do it?
qwert
qwert





Retour en haut






