[Fixed] Bouncers and Ceilings

Bugs that have been investigated and resolved somehow.

Moderator: Developers

Bouncers and Ceilings

Postby Xtyfe » Fri May 11, 2012 8:18 pm

Odd issue here, I have a grenade that uses the doom bounce type. It bounces fine except that if it bounces once off a ceiling the next floor/wall it hits it explodes no matter what. This includes the sky as well, it bounces off it when it shouldn't.

Heres the code for it, if more is required i will post it.

Code: Select allExpand view
Actor XtGrenade
{
PROJECTILE
+FORCEXYBILLBOARD
+CANBOUNCEWATER
//+TELESTOMP
//-NOTELEPORT
-NOGRAVITY
//Radius 5
Radius 11
Height 8
//Height 5
Gravity 0.25
ReactionTime 85
BounceType "Doom"
Speed 20
Damage (10)
Decal "Scorch"
BounceSound "weapons/grenadebounce"
Obituary "$OB_MPGRENADE"
States
   {
   Spawn:
      GREN AA 2 Bright
      GREN A 1 Bright
      Goto SpawnLoop
   SpawnLoop:
      GREN A 2 Bright A_SpawnItemEx ("XtGrenadeTrail", Random(-10,10), Random(-10,10))
      TNT1 A 0 A_CountDown
      Loop
   Death:
      TNT1 A 0 A_PlaySound ("weapons/explode", CHAN_BODY, 1, 0)
      RTEX A 4 Bright A_Explode (100, 128)
      RTEX BBBBCCCCDDDDEEEE 1 Bright A_FadeOut (0.05)
      Stop
   }
}
Xtyfe
 
Joined: 14 Dec 2007
Location: Kitchener, Ontario

Re: Bouncers and Ceilings

Postby randi » Sat May 12, 2012 6:24 pm

Fixed in r3643.
User avatar
randi
Site Admin
 
Joined: 09 Jul 2003


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests