Real Time Slopes?

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: Developers

Real Time Slopes?

Postby farlowj » Tue Aug 09, 2005 11:10 am

I think the title explains it, but if not:

How hard would it be to have slopes be calculated in real time, so they can change during the level? This would be very useful for creating more realistic looking waves, and other things, like something trying to poke through the dirt. The ground slopes up to a point, then it falls back down, making a crater. You can kind of do this with the Floor_waggle, but that doesn't change slopes. So, is it possible, or too much work?
farlowj
If at first you don't succeed, skydiving is not for you.
 
Joined: 16 Feb 2004
Location: Michigan

Postby Lexus Alyus » Wed Aug 10, 2005 4:11 am

Good idea! This can be done in build... dunno how hard this would be to implemewnt but it could create some stunning effects.

:twisted:
User avatar
Lexus Alyus
I may be back...
 
Joined: 15 Jul 2003
Location: Nottingham, UK

Postby Enjay » Wed Aug 10, 2005 4:51 am

Ages ago, shortly after Randy first implemented slopes, Randy said that he had the intention of making them changeable during game-play as a longer term goal. I guess it slipped way down the priority list eh? :)
User avatar
Enjay
The Force is strong with this one.
 
Joined: 15 Jul 2003
Location: Scotland

Postby TheDarkArchon » Wed Aug 10, 2005 5:39 am

Gone with Doomscript, probabally.
User avatar
TheDarkArchon
This, ladies and gentlemen, is glee
 
Joined: 07 Aug 2004
Location: Some cold place

Postby Cutmanmike » Wed Aug 10, 2005 8:42 am

What is this legendary doomscript I hear of?
User avatar
Cutmanmike
Not dead
 
Joined: 06 Oct 2003
Location: United Kingdom

Postby Graf Zahl » Wed Aug 10, 2005 8:56 am

Enjay wrote: I guess it slipped way down the priority list eh? :)



Sadly a lot of stuff does.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby farlowj » Wed Aug 10, 2005 11:33 am

Can we bring it back?
farlowj
If at first you don't succeed, skydiving is not for you.
 
Joined: 16 Feb 2004
Location: Michigan

Postby Graf Zahl » Wed Aug 10, 2005 11:43 am

cutmanmike wrote:What is this legendary doomscript I hear of?



Randy's vaporware version of DECORATE, albeit much more powerful - if it had actually been done.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby Belial » Wed Aug 10, 2005 1:05 pm

If POLYMOST gets implemented, well, SW had real-time changing slopes for slides (map04, map05).
User avatar
Belial
MC™
 
Joined: 09 Feb 2005

Postby Graf Zahl » Wed Aug 10, 2005 1:23 pm

I don't know what the renderer has to precalculate for slopes but aside from that just changing the plane equation should be straightforward enough.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby randi » Wed Aug 10, 2005 3:40 pm

Graf Zahl wrote:I don't know what the renderer has to precalculate for slopes

Nothing. As you surmise, just changing the plane equation is enough to change the slope. It's the physics I'm reluctant to deal with because I hate that code.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003

Postby Graf Zahl » Wed Aug 10, 2005 4:01 pm

Understandable. Just ignore the specifics for now and call P_ChangeSector when a slope is changed. That should be enough, I think.
User avatar
Graf Zahl
 
Joined: 19 Jul 2003
Location: Germany

Postby Jonathan » Thu Aug 11, 2005 4:13 pm

cutmanmike wrote:What is this legendary doomscript I hear of?


The original announcement:
http://forum.zdoom.org/potato.php?t=43

You know, it's hard to believe it's been six years since I first read that. Anyway, as I understand, Doomscript was an attempt to remake ZDoom along the lines of modern gaming engines. That's where there is a strong separation between the base engine and the game. The engine provides a generic way to implement environments, entities, physics, etc, and a scripting language of some sort on top. That way the actual game code can be implemented separately from the engine code. Doomscript would have been the scripting language, and Doom itself would have been sort of reimplemented using this new language and the generified engine.

From an engineering point of view it's lovely, although it was never a very realisitic proposition for a solo programmer's hobby project. Although if there's anyone who disagrees with this, please prove me wrong!
Jonathan
 
Joined: 05 Dec 2003

Postby Gendo » Fri Aug 12, 2005 6:37 am

imo 3d floors and 3d slopes should be implemented before that...
User avatar
Gendo
Marduk
 
Joined: 02 Jun 2005

Postby ace » Fri Aug 12, 2005 8:31 am

Gendo wrote:imo 3d floors and 3d slopes should be implemented before that...


Yes... IF there is going to be a real-time slopes feature, this should come first. I'm not pushing for this one though, for now I don't really need it.

Then again... ;)
User avatar
ace
Out of the woodwork...
 
Joined: 21 Jun 2005
Location: Just south of the True North

Next

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest