negative gravity

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
asdf
Posts: 193
Joined: Mon Jun 19, 2006 1:50 pm

negative gravity

Post by asdf »

is there anyway in zdoom to set the gravity to a negative value (so you get pulled to to the ceiling...) cause when i say -10 in DB it sets it to 0, is that only something to do with DB or is it a zdoom thing
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

doombuilder used to reset negative values to 0 and values in excess of 255 where set to 255. In any case, negative gravity does not exsist ATM, depending on what your going for, you may be able to achieve your effect of pulling the player toward the ceiling using a low gravity setting and the thing_thrustz special in ACS.
asdf
Posts: 193
Joined: Mon Jun 19, 2006 1:50 pm

Post by asdf »

hmm, well, i'm gonna make a rocketpack then, i'm trying to think of how though.... it would be a decorate, is there anyway to make anything like a pickup in ACS (or is that how you would do it anyway) and just shot the guy into the air when you hit a certaian button, and keep him there?

[EDIT] if you had something with decorate that was configured to key r or whatever, could you shoot a gun, and hold down r and have the use of the decorate go off (for shotting in into the air)
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

there used to be a rocketpack item in zdoom, i wonder whatever happened to it?
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Post by Phobus »

In ZDCMP2, Risen scripted a jetpack that worked just fine.
User avatar
Nash
 
 
Posts: 17505
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Post by Nash »

skadoomer wrote:doombuilder used to reset negative values to 0
Used to? It still does it in 1.68...

Or am I missing something? I would really like to set negative values for the polyobj swinging doors...
User avatar
Nmn
Posts: 4631
Joined: Fri Apr 16, 2004 1:41 pm
Preferred Pronouns: He/Him
Contact:

Post by Nmn »

Negative gravity won't go in Zdoom because of the renderer. If the player would be to pulled to the ceiling, the view should flip upside down, not to mention tilt, or rotate, when entering a new gravitational field. ATM such stuff isn't possible with Zdoom's renderer to be displayed properly.
User avatar
QBasicer
Posts: 766
Joined: Tue Sep 16, 2003 3:03 pm
Contact:

Post by QBasicer »

I've set a negative gravity in ACS I do believe. It doesn't make sense to have the ability to set a negative gravity in DB, because it's probably an unsigned 8bit number, meaning the range is 0-255 (2^8 possibilities, or 256, but we count 0, so 255 is the largest number). I remember with negative gravity, that it doesn't affect you until you jump or leave the floor (because it wouldn't have to do any gravity calculations until it needed to).
Locked

Return to “Editing (Archive)”