Opened 15 years ago

Last modified 11 years ago

#8 assigned task

Shoot through wall total refactoring

Reported by: tequila Owned by: tequila
Priority: normal Milestone: Smokin' Guns 1.2
Component: Engine Version: 1.1b1
Keywords: Cc:

Description (last modified by sg_tequila)

  • BG_ShootThruWall() must be refactored as some important case are not covered:
    • Can't shoot through some entities, but it's mostly fixed in v1.1b1 as you can now shoot through doors
    • Plane wall like clothes blocks bullets
    • Glass entities should only take damage and leave bullets go away and the damage power should only be reduced a very little.
    • When 2 walls are close together, bullet holes are duplicated on the 2 walls. A demo video is loaded on youtube, check the forum.
    • ...

Attachments (1)

tracebug.pk3 (6.6 KB) - added by pardner 15 years ago.
Included is a .map; .bsp; .txt; and a demo of a potential trace bug. See my comment for more information.

Download all attachments as: .zip

Change History (5)

Changed 15 years ago by pardner

Attachment: tracebug.pk3 added

Included is a .map; .bsp; .txt; and a demo of a potential trace bug. See my comment for more information.

comment:1 Changed 15 years ago by pardner

See "tracebug.pk3" attachment.

I created a small test map for testing a trace bug that may or may not be related. I noticed this in 1.0 and it seems to have been carried through to 1.1.

1) Install "tracebug.pk3" into your smokinguns directory.
2) Launch game and watch the "tracebug" demo
3) Load the tracebug map by "/map dm_tracebug"
4) Start shooting at the two boards in map
5) You will see that the decals don't appear in a straight line
6) You will notice that multiple decals appear on the first board.

I included the .map file for anyone who wants to play around with the width of the boards and the distance between the board. I would be more than happy to help do this if needed.

comment:2 Changed 15 years ago by sg_tequila

Description: modified (diff)

Well I confirm the bug.
There is a problem with the bullet holes when 2 walls are close together.

Btw, Pardner, where's the tracebug demo ?
Also you should use "/map dm_tracetest" to load the map, not "/map dm_tracebug".

I qualify this one a not critical graphic bug. The trace itself seems correct.

comment:3 Changed 15 years ago by sg_tequila

I produced a video on Youtube to illustrate the case:


comment:4 Changed 11 years ago by tequila

Milestone: Smokin' Guns 1.1Smokin' Guns 1.2
Owner: set to tequila
Reporter: changed from sg_tequila to tequila
Status: newassigned
Note: See TracTickets for help on using tickets.