thanks for better imagecutmanmike wrote:kgsws wrote:I do not know, i foud it on czech sitecutmanmike wrote:
Forgive me if i'm wrong but is that a picture from the fmv of ff7 when aries dies?
new A_RailAttack
Moderator: GZDoom Developers
-
killingblair
- Posts: 937
- Joined: Mon Oct 04, 2004 9:16 pm
I hate to bump up such an old thread, but just out of curiosity, what is the newest syntax for the railattack codepointer. I recently found an example that hadin it. The first number is damage, I'm guessing. Third is probably ammo usage, but what are the other ones? I'd usually read the darn wiki but... yeah.
Also, is there a spot to check the syntax of all of the unofficial commands, or do I wait for it to become official and then check the wiki?
Code: Select all
A_RailAttack(18,0,1,none,"FF FF 00")Also, is there a spot to check the syntax of all of the unofficial commands, or do I wait for it to become official and then check the wiki?
- Anakin S.
- Posts: 1067
- Joined: Fri Nov 28, 2003 9:39 pm
- Location: A long time ago in a galaxy far, far away...
I couldn't figure it out by looking at the source, but then again, I'm no programmer. The line from LightningGun.wad that fires the railgun doesn't look like lightning at all with the current system. It's just a black particle trail. I tried making my own lightning bolt but it ended up being blood red. Could you please tell us the syntax?
-
killingblair
- Posts: 937
- Joined: Mon Oct 04, 2004 9:16 pm
The last part, the part in the quotes, specifies the color. It's in hexedecimal, so 10 = 16 and FF = 255, if that makes any sense. You might have a file in your zdoom directory called colors.txt (It came with one version or another
) that lists a lot of good colors, but you'll have to convert to hexidecimal yourself.
killingblair, the second argument appears to be the xshift. Make it positive (10 or so) to make it shoot from the right, and -10 to make it shoot from the left. Tweak the value so it looks like it's coming out of the gun.
I'm intrested in the fourth argument; the one that says none. I think that that has to do with the spiral thing on the outside, because when I use it like I have in the example above, I just get the little particle trail too. I guess I've figured out everything but that one, but I don't think I can figure out the last one without trying strings at random, and I'm really bad at guessing things at random.
killingblair, the second argument appears to be the xshift. Make it positive (10 or so) to make it shoot from the right, and -10 to make it shoot from the left. Tweak the value so it looks like it's coming out of the gun.
I'm intrested in the fourth argument; the one that says none. I think that that has to do with the spiral thing on the outside, because when I use it like I have in the example above, I just get the little particle trail too. I guess I've figured out everything but that one, but I don't think I can figure out the last one without trying strings at random, and I'm really bad at guessing things at random.
-
killingblair
- Posts: 937
- Joined: Mon Oct 04, 2004 9:16 pm
- DoomRater
- Posts: 8270
- Joined: Wed Jul 28, 2004 8:21 am
- Preferred Pronouns: He/Him
- Location: WATR HQ
- Contact:
DOWN WITH THE PALETTE!Graf Zahl wrote:And how does this help us? Most people have no clue whatsoever how to interpret a palette. Plus, Heretic's, Hexen's and Strife's palettes are completely different so one had to do it again for those games.
Oh that one that says none and uh when put in there just gives the little trail? It's the same paramaters as the trail color, only for the spiral. saying none just means it doesn't get drawn.

