Wrong Version? ET-compile.bat


(BXpress) #1

hello.
i have a problem with my "q3map2-ET-Compile.bat "
whe the compile is finished and i want to load my map ingame, it gives out the wrong version error but i think the .bat is alright!
please have a look and help me :slight_smile:


@echo off
set bsp_var= -meta -threads 1
set vis_var= -vis -fast -extra
set light_var= -light -fast -patchshadows -samples 3 -thresh 0.3 -smooth -shadeangle 170 -shade -extra
set quake_path=c:/Games/ET
set mod_dir=etmain
set map_path=c:/Games/ET/etmain/maps/remagen.map
set q3map_path=c:/Games/q3map2/q3map2.exe
set gen_options= -game et -fs_basepath %quake_path% -fs_game %mod_dir%  -v
%q3map_path% %bsp_var% %gen_options% %map_path%
%q3map_path% %vis_var% %gen_options% %map_path%
%q3map_path% %light_var% %gen_options% %map_path%
pause

post your .bat for q3map2-et compilation or so.
THX
BXpress :bored:


(ydnar) #2

You don’t need to specify a mod directory if it’s not for a mod. The -game et part sets all that up.

Also, your light vars are a bit over the top. You’re using:

-light -fast -patchshadows -samples 3 -thresh 0.3 -smooth -shadeangle 170 -shade -extra

Which is overkill. FYI:

-extra is an obsolete switch, equivalent to -super 2
-smooth is an obsolete switch, equivalent to -samples 2

Either use -samples or -super, they end up giving you roughly the same results, albeit -super takes 4x as long and uses 4x as much memory.

Also, -shadeangle 170 will lead to a definite ‘pillow’ effect with the shading, nuking pretty much all faceted shading and likely giving you errors.

y


(BXpress) #3

hm ok thx…
but dont know how to set this line
set gen_options= -game et -fs_basepath %quake_path% -fs_game %mod_dir% -v

right! :frowning:


(chavo_one) #4

Just drop this part:

-fs_game %mod_dir%


(BXpress) #5

ah, ok thank you two! :clap:


@echo off
set bsp_var= -meta -threads 1
set vis_var= -vis -fast
set light_var= -light -fast -patchshadows -samples 3 -thresh 0.3 -shade
set quake_path=c:/Games/ET
set mod_dir=etmain
set map_path=c:/Games/ET/etmain/maps/testcompile.map
set q3map_path=c:/Games/q3map2/q3map2.exe
set gen_options= -game et -fs_game %mod_dir%
%q3map_path% %bsp_var% %gen_options% %map_path%
%q3map_path% %vis_var% %gen_options% %map_path%
%q3map_path% %light_var% %gen_options% %map_path%
pause 


(chavo_one) #6

:???:
You dropped “-fs_basepath” instead of “-fs_game”.


(BXpress) #7

um, it just works :slight_smile:


(ydnar) #8

Uhhhh…

Drop the -fs_game part, not the -fs_basepath. That’s required so Q3Map2 can find your shader scripts + textures.

y


(BXpress) #9

ah okok, i was wondering about the stretched textures :drink: