Re: WadSmoosh - merge all official id releases into one PK3
Posted: Tue Jul 18, 2017 3:15 pm
You know you can load GZDoom in software mode, right? Just add +vid_renderer 0 at the command line, and you won't need OpenGL.
Discussion about ZDoom
https://forum.zdoom.org/
yes i know that. i also know that they have the ability to choose in the game menu thing. but what i said still standsGutawer wrote:You know you can load GZDoom in software mode, right? Just add +vid_renderer 0 at the command line, and you won't need OpenGL.
Spoiler:
If you're going for the same level of obscurity of the XBox Doom secret exits, it hardly matters where you put it; switches without a switch texture are never going to be found by someone who doesn't already know they're there.Purity666 wrote:ok, great. So now we are back to my initial question: has anyone a suggestion, where to place this secret exit - perhaps in one of the secret areas of the map?Spoiler:
Right, that makes no sense. So I played around a bit with omgifol (as I was curious in it anyway) and extended your add_secret_exit function to also add a switch texture (which should fit to the base texture used before adding the switch):If you're going for the same level of obscurity of the XBox Doom secret exits, it hardly matters where you put it; switches without a switch texture are never going to be found by someone who doesn't already know they're there.
Code: Select all
def add_secret_exit(map_name, line_id, side_id='', side_texture=''):
# sets given line # in given map as a secret exit switch
wad = omg.WAD()
wad_filename = DEST_DIR + 'maps/%s.wad' % map_name
wad.from_file(wad_filename)
ed = omg.MapEditor(wad.maps[map_name])
ed.linedefs[line_id].__dict__['action'] = 51
if side_id != '':
ed.sidedefs[side_id].__dict__['tx_mid'] = side_texture
wad.maps[map_name] = ed.to_lumps()
wad.to_file(wad_filename)
Code: Select all
def add_tech_level():
logg('Adding tech gone bad bonus level...')
logg(' Adding secret exit and switch SW1STARG to E1M7')
add_secret_exit('E1M7', 721, 908, 'SW1STARG') #STARG3
logg(' Adding e1m8b.wad as E1M11')
add_secret_level('e1m8b', 'E1M8', 'E1M11')
Code: Select all
# only supported version of thihs @ https://www.doomworld.com/idgames/levels/doom/Ports/d-f/e1m8b
if get_wad_filename('e1m8b') and should_extract:
add_tech_level()
Code: Select all
Adding Xbox bonus levels...
Adding secret exit and switch SW1STARG to E1M1
Adding SEWERS.WAD as E1M10
Adding secret exit and switch SW1STONE to MAP02
Adding BETRAY.WAD as MAP33
Adding tech gone bad bonus level...
Adding secret exit and switch SW1STARG to E1M7
Adding e1m8b.wad as E1M11
Creating doom_complete.pk3...
Code: Select all
.
.
.
//Renamed from COMPRED2 to TRCPRED2 to avoid conflict with another WAD
COMPRED2 : TRCPRED2
.
.
.
Code: Select all
.
.
.
//Renamed from COMPRED2 to TRCPRED2 to avoid conflict with another WAD
Texture "TRCPRED2", 128, 128
{
Patch "TRCPRED2", 0, 0
}
.
.
.
Code: Select all
#define TR_TEX_REPLACEMENTS 187
int TR_TEX[TR_TEX_REPLACEMENTS][2] = {
.
.
.
{ "COMPRED2", "TRCPRED2" },
.
.
.
}
Code: Select all
.
.
.
else if ( StrIcmp(s, "tr") == 0 )
{
for (i = 0; i < TR_TEX_REPLACEMENTS; i++)
{
ReplaceTextures(TR_TEX[i][0], TR_TEX[i][1]);
log(s:"replaced ", s:TR_TEX[i][0], s:" by ", s:TR_TEX[i][1]);
}
}
.
.
.
As you can see, most textures get renamed and replaced fine, but some replacements seem to take place too late. Does anyone know why this happens or how to avoid these problems?tr_map12 - Transduction
Unknown middle texture 'COMPRED2' on first side of linedef 1681
Unknown middle texture 'COMPRED2' on first side of linedef 1993
Unknown middle texture 'COMPRED2' on first side of linedef 2041
Unknown middle texture 'COMPRED2' on first side of linedef 2061
Unknown middle texture 'COMPRED2' on first side of linedef 2090
Unknown middle texture 'COMPRED2' on first side of linedef 2096
Unknown middle texture 'COMPRED2' on first side of linedef 2110
Unknown middle texture 'COMPRED2' on first side of linedef 2115
Unknown bottom texture 'COMPRED2' on second side of linedef 2128
Unknown middle texture 'COMPRED2' on first side of linedef 2241
Unknown top texture 'COMPRED2' on first side of linedef 2439
Unknown bottom texture 'COMPRED2' on first side of linedef 2439
Unknown middle texture 'COMPRED2' on first side of linedef 2451
Unknown middle texture 'COMPRED2' on first side of linedef 2452
Unknown bottom texture 'COMPRED2' on second side of linedef 2509
Unknown middle texture 'COMPRED2' on first side of linedef 3251
Unknown top texture 'COMPRED2' on first side of linedef 3251
Unknown bottom texture 'COMPRED2' on first side of linedef 3251
Unknown middle texture 'COMPRED2' on first side of linedef 3653
Unknown middle texture 'COMPRED2' on first side of linedef 3658
Missing texture 'COMPRED2' is used 170 more times
replaced AASHITTY by TRAASHTY
replaced BFALL1 by TRBFALL1
replaced BFALL2 by TRBFALL2
replaced BFALL3 by TRBFALL3
replaced BFALL4 by TRBFALL4
replaced BIGDOOR1 by TRBIGDR1
replaced BIGDOOR7 by TRBIGDR7
replaced BIGMURAL by TRBIGMRL
replaced BIGWALL by TRBIGWL
replaced BLODGR1 by TRBLDGR1
replaced BLODGR4 by TRBLDGR4
Unknown texture: "BLUEWALL"
Unknown texture: "BLUEWALL"
replaced BLUEWALL by TRBLUEWL
replaced BRNPOIS by TRBRNPOS
replaced BRNSMAL1 by TRBRSML1
replaced BRNSMAL2 by TRBRSML2
replaced BRNSMALL by TRBRSMLL
replaced BRNSMALR by TRBRSMLR
replaced BROWN96 by TRBRWN96
replaced BROWN96T by TRBRWN96
replaced CAVERN6 by TRCAVRN6
replaced CAVERN7 by TRCAVRN7
replaced COMPBLUE by TRCMPBLU
Unknown texture: "COMPGRN2"
Unknown texture: "COMPGRN2"
replaced COMPGRN2 by TRCPGRN2
Unknown texture: "COMPRED2" <---
Unknown texture: "COMPRED2" <---
replaced COMPRED2 by TRCPRED2 <--- replacement takes place after the errors occure?!
replaced COMPSTA1 by TRCMPST1
replaced COMPSTA2 by TRCMPST2
.
.
.