Jump to content


Photo

Day to Night.. and back again


  • Please log in to reply
13 replies to this topic

#1 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 12 May 2012 - 04:05 AM

Right now I have having difficulty transitioning between the two in the areas I created for my mod. Unless I rested my party, nightime people and animations would appear even though it was still day outside and it would not darken the map as if it were night. Ideally, I'd also like to include a movie during the change. Here is where I'm at so far..

IF
  TimeGT(6)
  Global("WaterGardens1","ARBGX2",0)
THEN
  RESPONSE #100
    SetGlobal("WaterGardens1","ARBGX2",1)
    StartMovie("NIGHTDAY")
END
IF
  TimeLT(18)
  Global("WaterGardens1","ARBGX2",1)
THEN
  RESPONSE #100
    SetGlobal("WaterGardens1","ARBGX2",0)
    StartMovie("DAYNIGHT")
END

My fear is that the global setting will mess things up. Anyone have a better way of doing this? Also, is there a place where I can view all the movies? The ones I am using now are from the Trademeet.

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#2 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 12 May 2012 - 05:15 AM

About the darkening of the map, do you have a night tileset for your area? I am a bit fuzzy on the exact details and workings, but basically a night tileset is a WED and TIS file that contains info on what the area looks like during nighttime. They are typically called ARxxxxN, in case you want to check out the vanilla ones. There is also a light map for nighttime use, conventionally called ARxxxxLN.BMP.

#3 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 12 May 2012 - 06:04 AM

About the darkening of the map, do you have a night tileset for your area? I am a bit fuzzy on the exact details and workings, but basically a night tileset is a WED and TIS file that contains info on what the area looks like during nighttime. They are typically called ARxxxxN, in case you want to check out the vanilla ones. There is also a light map for nighttime use, conventionally called ARxxxxLN.BMP.


Mmm.. I'm not sure. The areas will appear as night, but only if I rest or show up there at night. However, if I don't rest and many in-game hours pass, the night time creatures will appear without the map darkening. Vice Versa for mornings.

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#4 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 12 May 2012 - 06:41 AM

What sort of area is it? Have you made it yourself or copied it from somewhere?
Is bit 6 ("Extended Night") at 0x48 in the ARE file set?

You should be able to browse the movies, and perhaps play them, using either NI or DLTCEP.

Edited by Wisp, 12 May 2012 - 06:56 AM.


#5 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 12 May 2012 - 07:55 AM

What sort of area is it? Have you made it yourself or copied it from somewhere?
Is bit 6 ("Extended Night") at 0x48 in the ARE file set?

You should be able to browse the movies, and perhaps play them, using either NI or DLTCEP.


It is an area that I made, and no, "Extended Night" is not set. Should it be?

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#6 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 12 May 2012 - 08:54 AM

no, "Extended Night" is not set. Should it be?

I am fairly sure it needs to be set for the night tileset to work right, yes.

#7 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 13 May 2012 - 02:49 PM


no, "Extended Night" is not set. Should it be?

I am fairly sure it needs to be set for the night tileset to work right, yes.


I set the extended night option on but the game crashed when I entered the area. After I switched it off, it worked again. Was there something else that I needed to change/switch off if the extended night option is on? Yeah.. still stumped on this. :(

Edited by Smiling Imp, 13 May 2012 - 02:50 PM.

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#8 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 13 May 2012 - 02:54 PM

Well, enable logging and see if you get an error message. Also make sure you have all the necessary files. I imagine the game would crash if one or more were missing.

#9 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 13 May 2012 - 03:08 PM

Well, enable logging and see if you get an error message. Also make sure you have all the necessary files. I imagine the game would crash if one or more were missing.


Logging? What's that? I'm using the DLTCEP. Can't get NI or rather the java that is needed for it to run on my computer. Also, is there a way to check movies in the DLTCEP? I have been fiddling with the options up top all day a can't find them.

BTW I used the ITEME to make the area. As far as I know, all the files should be included when saving it, no?

Edited by Smiling Imp, 13 May 2012 - 03:09 PM.

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#10 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 13 May 2012 - 03:16 PM

Logging? What's that?

Oh, open the file baldur.ini and add the line LoggingOn=1 under the [Program Options] header. Make the game crash and see if you get something in the file baldur.err. When you are done you can turn logging off (by changing the value to 0, or by removing the line entirely).

BTW I used the ITEME to make the area. As far as I know, all the files should be included when saving it, no?

No idea, but I would guess it does not automatically produce a (complete) night tileset. Best way to find out is by making sure what files you do have.

Don't know about DLTCEP and the movies. It has been forever since I last used the program.

Edited by Wisp, 13 May 2012 - 03:18 PM.


#11 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 13 May 2012 - 03:30 PM


Logging? What's that?

Oh, open the file baldur.ini and add the line LoggingOn=1 under the [Program Options] header. Make the game crash and see if you get something in the file baldur.err. When you are done you can turn logging off (by changing the value to 0, or by removing the line entirely).


Okay, game crashed, and I checked the baldur.err. file but it is totally blank. Still stumped. :(

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace


#12 Wisp

Wisp
  • Modder
  • 1353 posts

Posted 13 May 2012 - 04:09 PM

If the file is totally blank logging was not successfully enabled. If it was, it would print a line about starting a logging session. If you are on Win Vista or later and have the game installed to the Program Files directory, that is likely your problem. In that case the file you need to edit is located somewhere else. Random link on the subject.

#13 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 14 May 2012 - 01:52 AM

Pretty sure it is as Wisp says, and you need night tilesets and overlays. I doubt IETME does that automatically - basically it would consist of darkening your day area and saving the night files appropriately - see Yovaneth's tutorial and the IESDP.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#14 Smiling Imp

Smiling Imp
  • Member
  • 156 posts

Posted 16 May 2012 - 11:42 PM

Pretty sure it is as Wisp says, and you need night tilesets and overlays. I doubt IETME does that automatically - basically it would consist of darkening your day area and saving the night files appropriately - see Yovaneth's tutorial and the IESDP.


Yovaneth's tutorial got me a little further along. Clicked on, extended night, saved it, and hit the NIGHT WED button, but from there, I still have no idea what to do. Is there a tutorial for dummies? :unsure:

Baldur's Gate 1 NPCs in SoA & ToB

 

http://www.baldursga...downfile&id=177

 

Forum:

 

http://www.baldursga...php?board=133.0

 

Smiling Imp Cross Banter Mod

 

http://www.baldursga...a=view;down=196

 

ZELINK (Zelda x Link) mod for Baldur's Gate 2 SOA

 

http://archive04.fil...3b/n/ZELINK.ace