Hendricks266, on 23 March 2013 - 02:15 AM, said:
onevent EVENT_GETLOADTILE
ifvare VOLUME 0
{
ifvare LEVEL 0
setvar RETURN <e1l1>
ifvare LEVEL 1
setvar RETURN <e1l2>
}
ifvare VOLUME 1
{
ifvare LEVEL 0
setvar RETURN <e2l1>
ifvare LEVEL 1
setvar RETURN <e2l2>
}
addvar RETURN 16384
endeventAs for more complicated replacement of the loading screen, I have thought about using the variables LOTAG and HITAG to store the current and total textures values so modders could completely make their own screen using EVENT_GETLOADTILE or an EVENT_DISPLAYLOADING. edit: The variable TEXTURE might be acceptable to change the loading bar texture.
Would "eshoot FOOBAR" followed by "changespritestat RETURN 1" work?
Thank zou Hendricks and Fox,
I tried this, but all I get is a black background. And the loading text is also there.
Did I do something wrong with it?
Here´s the con code:
//Thanks to Fox and Hendricks266
onevent EVENT_GETLOADTILE
ifvare VOLUME 1
{
ifvare LEVEL 0
setvar RETURN 4030 // replace <xxxx> with the tile no. to display
ifvare LEVEL 1
setvar RETURN 4031
}
addvar RETURN 16384 // deletes the loading text
endevent
/* OLD ONE - NOT NECESSARY
// Background on Map´s load
onevent EVENT_GETLOADTILE
setvar RETURN 3281
endevent
*/And the lines in my textures.def:
dummytilerange 4030 4031 128 96
texture 4030 {
pal 0 { file "highres/textures/bf/bf4030.jpg" }
}
texture 4031 {
pal 0 { file "highres/textures/bf/bf4031.jpg" }
}Maybe I did it wrong, but I can´t figure out what.

Help
Duke4.net
DNF #1
Duke 3D #1


