RANDY: Mathematics for slopes
OK, so the 4 ways to create slopes are as follows:
- Copied plane ('Copy plane' thing)
- Line to vertex (Line effect 181)
- Line to thing ('Slope to here' thing)
- Thing defined plane ('Set slope' thing)
Is this the right order in which I should apply the sector plane modifications? I figure a combination of these can be used to create the sector plane, but the order is important ofcourse. I cannot find this in the source code (i cannot easily browse the source, it doesnt compile in VC++ 6).
I think I will soon release Doom Builder 1.66 without slopes. It already has some major additions, fixes and changes. I think its better to spend some more time on testing these slopes to make sure they show exactly as ZDoom would than to code them in a rush. Also that would give me the chance to fix anything if there are problems with version 1.66.
- Copied plane ('Copy plane' thing)
- Line to vertex (Line effect 181)
- Line to thing ('Slope to here' thing)
- Thing defined plane ('Set slope' thing)
Is this the right order in which I should apply the sector plane modifications? I figure a combination of these can be used to create the sector plane, but the order is important ofcourse. I cannot find this in the source code (i cannot easily browse the source, it doesnt compile in VC++ 6).
I think I will soon release Doom Builder 1.66 without slopes. It already has some major additions, fixes and changes. I think its better to spend some more time on testing these slopes to make sure they show exactly as ZDoom would than to code them in a rush. Also that would give me the chance to fix anything if there are problems with version 1.66.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
The correct order is:
Line type 181,
'Slope to here', 'Set slope', (same priority, the order in the THINGS lump decides)
'Copy plane'
Each one of these effects has access to the previous ones and if there are more than one slope thing for one sector they are cumulative. 'Copy plane' things override everything else that has been done to a sector before it.
THe function that spawns the slope things is P_SpawnSlopeMakers in p_setup.cpp.
Line type 181,
'Slope to here', 'Set slope', (same priority, the order in the THINGS lump decides)
'Copy plane'
Each one of these effects has access to the previous ones and if there are more than one slope thing for one sector they are cumulative. 'Copy plane' things override everything else that has been done to a sector before it.
THe function that spawns the slope things is P_SpawnSlopeMakers in p_setup.cpp.
Hmm, the Visual C++ Toolkit might fix that since it uses the C++ .NET Professional compiler: http://msdn.microsoft.com/visualc/vctoolkit2003/
Might want to check it out. No guarantees, though... Just install it and set Visual Studio to look in the toolkit directories for the binaries.
Might want to check it out. No guarantees, though... Just install it and set Visual Studio to look in the toolkit directories for the binaries.