Back to the Vavoom Forum Archives


Forum

[Fixed]Multiple mapinfo lumps/files not integrating properly

Wed, 03 May 2006 07:20:20

troll

I have been trying to get hexen deathkiings working. hexdd.wad has a mapinfo lump that starts at map 41 and warptrans to 1 But hexen.wad also has a mapinfo lump that warptrans to 1 Deathkings will only run if loaded as - -game basve/hexen -iwad hexen.wad -file hexdd.wad Ive also created a basev/hexendk game dir with a base.txt file - game basev/hexen end and run it as - -game basev/hexendk -iwad hexen.wad -file hexdk.wad If I start the game choose a player/skill and then execute map map41 it works just fine. I think that only the first warptrans in the map list is used. The second mapinfo should overrule the first but it appears to be ignored. The map names and other info is appearing to be fine - just the warptrans is faulty.
Wed, 03 May 2006 11:59:09

troll

After reviewing the code ( source/mapinfo.[h,cpp] ) I think that the warptrans info should have its own array. Any warptrans info would be written to this array and any subsequent remapping would overwrite the previous one. If you like I can implement this, test it and provide a patch.
Wed, 03 May 2006 14:37:10

Firebrand

Yes, I guess there's a problem with it, you can make it work by loading the hexdd.wad, starting the game and typing "map map41" at the console for now <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->. This has to be revised.
Wed, 03 May 2006 15:20:35

troll

Actually I just did. Here is the patch - using the method I proposed. It works. (so far )
Wed, 03 May 2006 15:36:20

troll

Damnit screwed it up - forget the previous one - this one is the correct one!
Wed, 03 May 2006 16:42:52

Janis Legzdinsh

Much simpler fix would be changing the loop in P_TranslateMap to iterate backwards.
Wed, 03 May 2006 16:49:59

troll

Wouldn't have solved the problem of multiple warptrans in the table. This fix forces one of each and only one of each. I thought of iterating backwards and such - but as I thought it through I believe that it would have brought about its own problems. The code had to enforce uniqueness of the translation.
Thu, 10 Apr 2008 17:45:08

Janis Legzdinsh

Fixed some time ago.

Back to the Vavoom Forum Archives