These are chat archives for etlegacy/etlegacy

18th
Feb 2016
IR4T4
@IR4T4
Feb 18 2016 05:28
I'll have a look
Dominator56
@Dominator56
Feb 18 2016 11:20
I looked around and I'm not sure it's possible since it's set in cg and not in g
I may be wrong tho
IR4T4
@IR4T4
Feb 18 2016 17:16
we might add a server command to change/add weather
I'll post that image on FB :)
Dominator56
@Dominator56
Feb 18 2016 17:16
that could be cool! :D
IR4T4
@IR4T4
Feb 18 2016 17:17
find the bug :)
Remy Marquis
@rmarquis
Feb 18 2016 17:17
What bug? I only see a floating tank here :D
Dominator56
@Dominator56
Feb 18 2016 17:17
haha :P
Timo Smit
@timosmit
Feb 18 2016 17:18
It's not a bug, it's a feature :P
IR4T4
@IR4T4
Feb 18 2016 17:38
talking about features
since the map name is known in Lua we might add a Lua script with bug fixes
Dominator56
@Dominator56
Feb 18 2016 17:40
like make Lua script with func_fakebrush to fix bugs?
IR4T4
@IR4T4
Feb 18 2016 17:40
yes
Timo Smit
@timosmit
Feb 18 2016 17:40
map-specific fixes? why not use the good old proven method of .script files?
IR4T4
@IR4T4
Feb 18 2016 17:41
it's not only about bug fixes
Dominator56
@Dominator56
Feb 18 2016 17:42
tbh I think it's easier to test and tweak the fakebrushes with Lua than with .script files
IR4T4
@IR4T4
Feb 18 2016 17:44
you have one .script file per map in path ... in Lua you can add several "scripts" for same map ...
which is finally a simple switch for different map script versions
Timo Smit
@timosmit
Feb 18 2016 17:46
hmm true :) but does the lua approach also allow you to override and set script functions, like autospawn, winner etc? or would that be possible?
Dominator56
@Dominator56
Feb 18 2016 17:46
no we cannot do that yet afaik
well I know you can set winner with trap_setconfigstring
Dominator56
@Dominator56
Feb 18 2016 19:13
also do you know why G_ResetRemappedShaders isn't working?
in the Lua api
    if string.lower(command) == "resetshaders" then
        et.G_ResetRemappedShaders()
        et.G_ShaderRemapFlush()
        return 1
    end
IR4T4
@IR4T4
Feb 18 2016 19:24
hmm ... the CS isn't cleaned
G_ResetRemappedShaders is called in init
Dominator56
@Dominator56
Feb 18 2016 19:25
ah
ok
IR4T4
@IR4T4
Feb 18 2016 19:27
hmm
the bug is in BuildShaderStateConfig
remapCount is already 0 because of reset
and the string isn't set
Dominator56
@Dominator56
Feb 18 2016 19:41
I have another question, is the model of the misc_aagun available somewhere? :P