Hi all I have been finding the new 1.9 release great in the main. Great speed, better stability (in the main), the light mapping is very nice when working correctly. However, I can pick faults, lack of examples being a big thing. Surely when testing this sort of thing they had to write some stuff? Would have been nice to include examples for all the new features that warrant them.
So Here is a video of how I got multi levels to work, and also the easier win zone method. The win zone is the easiest, but I am old school and tend to prefer to use my own scripts entirely, so I also show you the easiest way to use them as well.
Here is one of the scripts I use, the other being a different one for the other level. Just change the name of the level to your gamemap name, without the .fpm extension and you should be good to go. You can alter the script name to add it to other levels, or get inventive and adjust this one to work with all
Here is the script I use. Apologies for not having it in a code relevant link, but for some reason it refuses to work for me.
-- LUA Script - by Dvader
function level1_init(e)
level="level1"
end
function level1_main(e)
if GetPlayerDistance(e)<150 then
if g_KeyPressE == 1 then
g_Entity[e]['activated'] = 1
end
if g_Entity[e]['activated'] == 1 then
JumpToLevel(level)
end
end
end
EDIT - I have a newer video available here that shows this process in Game Guru now. I only mention the winzone method here as I found people having difficulty with the old video.
SPECS: Q6600 CPU. Nvidia 660GTX. 8 Gig Memory. Win 7.