Spawning a railgun shot with a pitch?
-
Catastrophe
- Retired Staff / Community Team Member
- Posts: 2569
- Joined: Sat Jun 02, 2012 2:44 am
Spawning a railgun shot with a pitch?
How would you spawn a railgun shot that has a pitch? (Not shooting forward all the time.)
I'm completely stumped at this.
I'm completely stumped at this.
RE: Spawning a railgun shot with a pitch?
Well you could use A_RailAttack and define spread_xy & spread_z.
Cyber: was chased by cowboys
Nautilus: Cowboys? more like a buncha kids chasing a fucking ice cream truck
BEST.EVER.UnixAssassin wrote: The definition of cheating is not this: Using an aim assisting tool in a game
Teamspeak: WUMBO.CA
-
Catastrophe
- Retired Staff / Community Team Member
- Posts: 2569
- Joined: Sat Jun 02, 2012 2:44 am
RE: Spawning a railgun shot with a pitch?
That's not what I mean.
Like, for it to aim up or down, not its spread(which is also random iirc).
Like, for it to aim up or down, not its spread(which is also random iirc).
RE: Spawning a railgun shot with a pitch?
I honestly have no idea what you mean then. When you say pitch, I immediately assume x & y for the projectile.
Cyber: was chased by cowboys
Nautilus: Cowboys? more like a buncha kids chasing a fucking ice cream truck
BEST.EVER.UnixAssassin wrote: The definition of cheating is not this: Using an aim assisting tool in a game
Teamspeak: WUMBO.CA
-
Catastrophe
- Retired Staff / Community Team Member
- Posts: 2569
- Joined: Sat Jun 02, 2012 2:44 am
RE: Spawning a railgun shot with a pitch?
Say you are in one spot, you look up and shoot something. When you spawn a railgunshot it only can aim forward(eg no freelook style aim).
-
Minigunner
- Posts: 86
- Joined: Mon Jun 04, 2012 5:24 am
- Location: California
RE: Spawning a railgun shot with a pitch?
ZDoom-only, sorry.
Theshooter7 wrote:Also, to all those people who stack players for exploits: I hate you. Do I really need to seal off every inch of every map to prevent you from getting to places you shouldn't?
-
TheMisterCat
- Posts: 79
- Joined: Mon Jun 04, 2012 2:21 pm
- Location: NZ
RE: Spawning a railgun shot with a pitch?
let me know if you figure something out, I've been using a very hacky method in wormsdoom that doesn't quite work properly - instead of using a_railattack I have the player spawn an invisible actor with transferred pitch in front of him that uses the monster rail attack function... unfortunately this autotargets anything shootable so if it can see anything the aim will be off
RE: Spawning a railgun shot with a pitch?
Erm, why not use the original A_FireRailgun?
(And A_FireRailgunLeft, A_FireRailgunRight for offsets)
I mean, if you need custom colors use A_RailAttack, it inherits your pitch too...
I'm not really sure what the problem is?
(And A_FireRailgunLeft, A_FireRailgunRight for offsets)
I mean, if you need custom colors use A_RailAttack, it inherits your pitch too...
I'm not really sure what the problem is?
Last edited by Llewellyn on Wed Sep 05, 2012 5:22 am, edited 1 time in total.