new A_RailAttack

Moderator: GZDoom Developers

User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

cutmanmike wrote:
kgsws wrote:
cutmanmike wrote:Image

Forgive me if i'm wrong but is that a picture from the fmv of ff7 when aries dies?
I do not know, i foud it on czech site
Image
thanks for better image :D
User avatar
Belial
Posts: 1616
Joined: Wed Feb 09, 2005 3:09 pm

Post by Belial »

It reminds me of Descent's shield powerup.
killingblair
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

Graf Zahl wrote:No need for further updates. I'll take care of it tomorrow and put it in my christmas present. ;)
heh, christmas...so long ago :P Anyway, excelent work kgsws!
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

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 had

Code: Select all

A_RailAttack(18,0,1,none,"FF FF 00")
in 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?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

If Randy would even once say that the new stuff will go into the next official version I'll start documenting all of it. But not before that.
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

Would you mind at least giving me the syntax? I tried to search the forums for it, but the best I could find was this thread, which was very obviously outdated.

I mean, giving me the syntax would require about as much effort as saying no again, wouldn't it?

Pleeaase? :wink:
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

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

Post by killingblair »

Can you please make one of the arrgs define weither its fired left, right, or centered? ;)
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

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
Posts: 937
Joined: Mon Oct 04, 2004 9:16 pm

Post by killingblair »

I mean like the FireRailgunLeft or FireRailgunRight pointers in dehacked. Not an x shift.
User avatar
Anakin S.
Posts: 1067
Joined: Fri Nov 28, 2003 9:39 pm
Location: A long time ago in a galaxy far, far away...

Post by Anakin S. »

Wouldn't the x offset do the same thing as FireRailgunLeft or FireRailgunRight?
User avatar
Talonos
Posts: 789
Joined: Mon May 03, 2004 7:08 am
Location: At college!

Post by Talonos »

Yeah, only more flexible.
User avatar
DoomRater
Posts: 8270
Joined: Wed Jul 28, 2004 8:21 am
Preferred Pronouns: He/Him
Location: WATR HQ
Contact:

Post by DoomRater »

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.
DOWN WITH THE PALETTE!

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.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Just one question: Have those "flash" effects or whatever they're called (the randomly zig-zagging particle trails) been implemented yet? I'd like to use this for a lightning gun-type thing.
skadoomer
Posts: 1026
Joined: Fri Sep 05, 2003 12:49 pm

Post by skadoomer »

grubber told me it needs to be re-written before it can be incorporated into the unnoficial version. Beleave me, i'd like them in there more than anything.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”