Consensus on extending map icons
#1
Posted 21 August 2009 - 09:55 AM
"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard
#2
Posted 21 August 2009 - 04:07 PM
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#3
Posted 23 August 2009 - 03:34 AM
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
#4
Posted 23 August 2009 - 07:26 AM
1. Make my own mapicon.bam file with the new added icons
2. Copy it in as part of the mod installer
3. Force Weidu to do a comparison between mapicons.bam and my new one
4. If it finds any differences (it will), patch in the differences to mapicons.bam.
If I've got that right, then there's no problem with every man and his goat adding new map icons. Except that I don't have a clue how to do the code either...
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#5
Posted 23 August 2009 - 10:26 AM
Mostly right, except you don't want to copy it in as part of the mod installer. Just export the existing (unmodded) mapicon.bam, then add your frames in with your favourite BAM program (e.g. BAM Workshop or DLTCEP) and save it as something else. Then put a weidu.exe in the same folder and use the syntax above from the command line to generate a pseudopatch. A real patch might take some analysis of that output.txt (if it's even possible), because WeiDU might not understand properly the insertion of a bunch of frame data to a BAM. It works best with two files of the same size. Anyway, then you would copy the patch into your tp2 and tweak/test it from there. If you have doubts, attach your modded BAM and I'll see if I can have a go at it.Ah right - if I've understood you correctly the sequence of events is:
1. Make my own mapicon.bam file with the new added icons
2. Copy it in as part of the mod installer
3. Force Weidu to do a comparison between mapicons.bam and my new one
4. If it finds any differences (it will), patch in the differences to mapicons.bam.
If I've got that right, then there's no problem with every man and his goat adding new map icons. Except that I don't have a clue how to do the code either...
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
#6
Posted 24 August 2009 - 11:18 AM
Talking of which, with the G3 wiki down, where do we put things like that? I have a huge chunk of code produced by Seb which allows new areas to be patched into the game without the player having to start again from scratch. If you've looked at the FFT .tp2, you've seen it. Lord-Jyssev is now using it in TotDG and it's too good to keep hidden.
Sorry 'bout the thread hijack, Azy - I figured it was all related and useful.
-Y-
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#7
Posted 24 August 2009 - 12:14 PM
I dunno, maybe the Modders' Lounge? Does it work for adding sub-areas to existing areas (like what we did with the caves)? If so, I need to use it.Talking of which, with the G3 wiki down, where do we put things like that? I have a huge chunk of code produced by Seb which allows new areas to be patched into the game without the player having to start again from scratch.
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
#8
Posted 24 August 2009 - 01:13 PM
- Liam
Modding Projects
Complete:
Arath NPC - Nephele NPC - Xulaye NPC - Iylos NPC - Ninde NPC - Darian NPC - Yeslick NPC - Adrian NPC - Dace NPC - Valerie NPC - Isra NPC
Viconia Friendship - Mazzy Friendship - Imoen Friendship - Yoshimo Friendship - Sarevok Friendship - Neera Expansion
IEP Extended Banter
Sarevok Romance
Haer'Dalis Romance
In Progress:
Khadion NPC - Delainy NPC - Sarine NPC
#9
Posted 24 August 2009 - 01:50 PM
Not the way you want it to. It adds completely new areas to the worldmap. However, I do have another piece of code that adds entrances and exits to existing areas - didn't I pass it on to you?Does it work for adding sub-areas to existing areas (like what we did with the caves)? If so, I need to use it.
<serious thread hijack going on here>
Kae - good point.
-Y-
Edited by Yovaneth, 24 August 2009 - 01:52 PM.
'Go for the optics, Chiktikka. GO FOR THE OPTICS!!' - Tali vas Neema
DLTCEP Tutorials Update Page
DLTCEP Tutorials Main Page
Yovaneth's AI Scripts for BG1, BG2-SoA and IWD1
Fishing for Trouble - a quest mod for Shadows of Amn
#10
Posted 24 August 2009 - 02:19 PM
That's no longer needed, as there're proper macros ready. Which thankfully reminds me, I should finally append them to weidu.However, I do have another piece of code that adds entrances and exits to existing areas
This should definitely work.you could potentially get away with an INSERT_BYTES and then a WRITE_ASCII to insert the new frame data in the BAM. All that is theoretical though.
Edited by GeN1e, 24 August 2009 - 02:21 PM.
Retired from modding.
#11
Posted 24 August 2009 - 03:10 PM
Yeah, you did, but it requires starting a game before you've visited the parent area. I don't see a way around that really.However, I do have another piece of code that adds entrances and exits to existing areas - didn't I pass it on to you?
These macros are quicker . Pretty sure they are anyway, when they can add a couple new regions, entrances, animation structures, a bunch of vertices and other stuff, and update all the offsets, all in a fraction of a second.That's no longer needed, as there're proper macros ready. Which thankfully reminds me, I should finally append them to weidu.
Now a macro for adding a new frame to a BAM, possibly even from a bitmap source, or extracting a frame from a BAM to a BMP... that would be priceless.
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
#12
Posted 24 August 2009 - 06:44 PM
<serious thread hijack going on here>
Fine by the thread author; all this may well become relevant eventually.
"Tyranny is a quiet thing at first, a prim and proper lady pursing her lips and shaking her head disapprovingly, asking, well what were you doing (wearing that dress, walking home at that hour, expressing those inappropriate thoughts) anyway? It's subtle and insidious, disguised as reasonable precautions which become more and more oppressive over time, until our lives are defined by the things we must avoid. She's easy enough to agree with, after all, she's only trying to help -- and yet she's one of the most dangerous influences we face, because if she prevails, it puts the raping, robbing, axe-wielding madmen of the world in complete control. Eventually they'll barely need to wield a thing, all they'll have to do is leer menacingly and we fall all over ourselves trying to placate them." -godlizard