Enjay
ASK ME ABOUT FOOTBALL / STEAM / DEAD CELEBRITIES / THE BLAIR WITCH PROJECT

Posts: 3992
Registered: 12-00 |
By "comment lines" I presume you are referring to the bit in my post that said
"# Note: Use the pound sign ('#') to start comment lines."
That is an example of a comment line (that is automatically generated by dehacked in this case). The # character just means that everything beyond the # on that line will be ignored, so you can add explanatory lines like
#This is my incredibly cool dehacked patch.
"Anyhow I changed Item 34 to "no gravity" and now when I shoot a rocket it blows up in my face"
Yeah, It'll do that. The rocket drops pretty quickly, and is launched from quite a low height. You can mess about with the speed and mass of the rocket to change the range slightly. Making it too fast, however, makes it very inaccurate. Mind you, you did ask for "what I want to do is have the Rockets fall to the ground a couple feet from the player". Rockets that land a couple of feet from the player will blow up in your face :-P That's actually why I put in the floorbounce line. It lets the rocket (you guessed it) bounce across the floor for a bit before it blows up.
I'm not sure if you realised or not, the middle bit of my first post is a dehacked patch. The dehacked format is a simple text file, so just copy and paste everything from "Patch File for DeHackEd v3.0" to "Bits = 66576 +floorbounce" into a text file, and load it with the appropriate command line parameter (either -deh or -dehacked in Legacy IIRC). If Legacy doesn't support the floorbounce bit, remove it from the text.
"but how do you know what sets of numbers do what?"
Trial and error ;-)
The numbers in the patch I posted were generated automatically by dehacked when I changed the bits using the thing editor.
I don't know if I have directed you to it before, but I have a bunch of details and tutorials about dehacked (with some examples) on my site. I tried to keep it generic, but my testbed is Zdoom, so I'm not guaranteeing it will all work with Legacy, but almost all will.
Just go to
http://www.btinternet.com/~Enjay001/
Click the dehacked link when you get there. You may find something useful about sprite naming in the doom general section too.
|