PDA

View Full Version : "Floating/Hovering" Ammo and such


Majin-Bacon
January 18th, 2004, 09:47 PM
Yeah i'm new to this forum and I probably wont get help too quick but here goes :)
Ive seen in many wads now floating ammo and stuff, and wish to know how to do so. I just finished a map and this would really look good in it. thanks in advance.

psyren
January 18th, 2004, 10:27 PM
I have only seen floating/hovering weapons and power-ups in the JDoom mod. Ammo and health stays on the ground though. If it was not a source port that you saw this in, I would guess it could be done by editing the raw data if your editor allows that. You should be able to set the height it appears that way. I am not sure being new to this myself.

Majin-Bacon
January 18th, 2004, 10:53 PM
2dmmaps and tlsd2004 have this floating ammo, and i saw them in zdaemon :P I really want to know how to do this

Scuba Steve
January 18th, 2004, 11:32 PM
It's easy, with zdoom and a simple dehacked patch.

Make a deh file that has the object you want to have float... say ammo clip... and just add FLOATBOB after a bits enty like so...

Thing 64 (Ammo Clip)
Bits = FLOATBOB

If you already have bits set, just type

Bits = 12345 | FLOATBOB

and now when you run zdoom with this deh it will float up and down. I'm pretty sure this is right... someone correct me if I'm wrong though.

Majin-Bacon
January 19th, 2004, 12:44 AM
Alright I got the ammo to float, just a quick question, can I float the green torches and candles too? and if so could you please post the exact thing number and code for it, thanks :)

Scuba Steve
January 19th, 2004, 03:15 AM
uh... you can...I'm not sure of the thing numbers though. Check out Enjay's page here (http://www.btinternet.com/~Enjay001/) under his dehacked page.

Majin-Bacon
January 19th, 2004, 07:32 PM
I got dehacked working and figured it all out, thank you very much for all the hel steve :D