negative gravity
					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.
	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.
negative gravity
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
			
			
									
						
										
						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.
			
			
									
						
										
						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)
			
			
									
						
										
						[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)
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).
			
			
									
						
										
						



