Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # run this within the directory you extracted the dpkdir
- pakpath=$(realpath .)
- dpkdir=${pakpath}/map-station15_*.dpkdir
- srffile=$(mktemp)
- prtfile=$(mktemp)
- sed -e 's/_p$/_d/' -i ${dpkdir}/scripts/station15_custom.shader
- q3map2 -game unvanquished -v -bsp -meta -fs_nomagicpath -fs_pakpath ${dpkdir} -fs_pakpath ${pakpath} -prtfile ${prtfile} -srffile ${srffile} -bspfile ${dpkdir}/maps/station15.bsp -leaktest -custinfoparms ${dpkdir}/maps/station15.map
- q3map2 -game unvanquished -v -vis -fast -fs_nomagicpath -fs_pakpath ${dpkdir} -fs_pakpath ${pakpath} -prtfile ${prtfile} -saveprt ${dpkdir}/maps/station15.bsp
- # once these steps are done, you can redo the next step any time you need without redoing the first steps:
- q3map2 -game unvanquished -v -light -faster -fastallocate -patchshadows -fs_nomagicpath -fs_pakpath ${dpkdir} -fs_pakpath ${pakpath} -srffile ${srffile} -bspfile ${dpkdir}/maps/station15.bsp -lightmapdir ${dpkdir}/maps/station15 ${dpkdir}/maps/station15.map
- # just to not forget, but once did you have to redo everything from scrach
- rm "${srffile}"
- rm "${prtfile}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement