White Agnus Posted December 4, 2008 Share Posted December 4, 2008 Hi Folks, the topic it already says, for what cause the "expanded night" flag in the are-files? The problem I have is that in BG-Town (BGT) the mves from trademeet are shown, when the day or night is gone. When I do not set the "expanded night" flag, the trademeet videos are not shown. Playing the original videos in BG-Town via script isn't the problem, I want to know which other duties the "expanded night" flag have and if I can realiese these duties via a bcs script. I owe you in prerau. Thanks & Greetz White Agnus PS: Excuse my bad english. Link to comment
devSin Posted December 4, 2008 Share Posted December 4, 2008 "Extended night" means the area has a separate night tileset (there are two tilesets; one for day, and one for night). This functionality cannot be replicated through scripting. Link to comment
White Agnus Posted December 4, 2008 Author Share Posted December 4, 2008 Thanks for the reply. The DAYNITE and the NITEDAY notes are placed in the BGMain.exe and I've not the experience to mod the BGMain.exe with WeiDu. An other way were to overwrite the Videos of Trademeet with the from BG-Town and deinstall it after the transition, but I don't like this squalidly way... Any other idea how to put the trademeet movies out of BG-Town? Link to comment
Icendoan Posted December 4, 2008 Share Posted December 4, 2008 Traps and scripting? Icen Link to comment
White Agnus Posted December 4, 2008 Author Share Posted December 4, 2008 What does this deal with traps? I've spoken about movies not traps. Link to comment
Icendoan Posted December 4, 2008 Share Posted December 4, 2008 Well, you could use a trap to play a movie. I am not sure how you would suppress a movie though. Don't the trademeet ones use variables? You could always set them. Icen Link to comment
White Agnus Posted December 4, 2008 Author Share Posted December 4, 2008 No, the Trademeet ones didn't use variables. I can't set them. All other movies are implemented by script. These two are implemented in the BGMain.exe. (This sucks so bad -.-) Have anyone a tutorial how to edit the BGMain.exe with WeiDu? Link to comment
Icendoan Posted December 4, 2008 Share Posted December 4, 2008 Well sure, here it is, it is simple. BACKUP ~myMod/Backup~ AUTHOR ~You~ BEGIN ~BGMain Patching~ //INTEGER VALUES COPY_EXISTING ~bgmain.exe~ ~bgmain.exe~ WRITE_BYTE/LONG/SHORT offset value //STRING VALUES COPY_EXISTING ~bgmain.exe~ ~bgmain.exe~ REPLACE_TEXTUALLY ~text~ STRING_COMPARE ~newtextWITH_EXACT_NUMBER_OF_CHARACTERS!~ BUT_ONLY_IF_IT_CHANGES And that is all BGMain patching for you. The rest is finding out where you want to patch, and what to... Icen Link to comment
White Agnus Posted December 4, 2008 Author Share Posted December 4, 2008 Thank you very much, Icendoan. I got it. It is really very easy, I didn't think so before. :thumbsup: Link to comment
Avenger Posted December 5, 2008 Share Posted December 5, 2008 Isn't that movie played by a script? Well, hmm, i cannot believe that They aren't even affected by chapter change? Maybe a special area flag? ar2000 isn't listed in BGMain, yet somehow it must know when it has to play those movies. [edit] Oh damn, i should have read your note more carefully. The extended night flag... Link to comment
devSin Posted December 6, 2008 Share Posted December 6, 2008 The only thing to check is if it wants extended night + city or just extended night. I'm hoping the former, else it'd screw up the restored night tilesets for the druid grove and black dragon clearing (although, Sulldy has extended night, and I don't think it plays there, so fingers crossed). There are day/night trans movies in BG/TotSC too, but they don't play in the Mac version (these MVEs aren't even included with the game), so I don't know if they got cut or if they're just in the PC version (the game does try to play them when you're in Baldur's Gate and an extended night trans occurs). Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.