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 »

ok i updatet it:
now: A_RailAttack(dmg, offset, ammo, color1(r), color1(g), color1(b), color2(r), color2(g),color2(b), flash, tolerance)
And i updatet screenshot too.
Image
(redownload)

EDIT: if you use -1 as red color, then effect is invisible.
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Flash Effect?
Tolerance?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49229
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

No need for further updates. I'll take care of it tomorrow and put it in my christmas present. ;)
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

TheDarkArchon wrote:Flash Effect?
Tolerance?
test it :wink:
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

Graf Zahl wrote:No need for further updates. I'll take care of it tomorrow and put it in my christmas present. ;)
i must upload DIFF
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

The flash I now get but tolerance I don't
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

this:
Image
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

I see. I take it that it's measured in Map units. I also take it that it effects the flash below the damage line.
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

kgsws wrote:
Graf Zahl wrote:No need for further updates. I'll take care of it tomorrow and put it in my christmas present. ;)
i must upload DIFF
ok i uploaded DIFF, but i do not think if is it good, check it (it is my first diff)
User avatar
TheDarkArchon
Posts: 7656
Joined: Sat Aug 07, 2004 5:14 am
Location: Some cold place

Post by TheDarkArchon »

Something I made for fun
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

not bad, but you can use soud "weapons/flash"
User avatar
deathz0r
Posts: 353
Joined: Tue Jul 15, 2003 4:09 pm
Graphics Processor: ATI/AMD with Vulkan/Metal Support
Location: Land with them kangaroo
Contact:

Post by deathz0r »

Holy crap, that's awesome. I can't wait to see it integrated with grbzdoom!
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

eh, i made bug. (not completed burnstate for doom player) please redownload. (it is with no burn state)
User avatar
kgsws
Posts: 117
Joined: Sat Apr 23, 2005 3:45 am
Location: CZ
Contact:

Post by kgsws »

ok i updated it!
http://www.zdoom.ic.cz/download/kgzdoom.rar
I added new action : A_MonsterRailAttack(dmg,color1(r),color1(g),color1(b),color2(r),color2(g),color2(b),flash,tolerance)
you can create flash from 1st point to 2nd :wink:
shot:
Image
User avatar
Grubber
Posts: 1031
Joined: Wed Oct 15, 2003 12:19 am
Location: Czech Republic
Contact:

Post by Grubber »

Found this:

Code: Select all

p->color = ColorMatcher.Pick (cr, cg, cb);
IMO it's not good idea to use ColorMatcher.Pick every time the weapon is fired. You know, it's not too fast... dunno how much it really affects game, though.
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”