In a subious attempt to maybe make the game look better, I've added a bit of code that allows us to show several graphical overlays.
What he have for now are blood spatters on full walls if someone takes a significant (> 15) amount of damage. This works on all things that have, well, blood. Vehicles and robots are excluded, as are the bugs, because their blood has a different colour and I couldn't be bothered.
Additionally, structural damage to walls is shown as well.
For the moment both only work on full walls, but theoretically you can do this on any wall you want. If there is enough interest I might expand this to half-sized walls and doors.
This also doesn't have to be restricted to walls. Any structure would work.
I have a few ideas on what else we could show:
burn marks from fire on the floor and walls
bullet holes. It would require us to save each and every location hit per map, and apply some finicky business adding pixels to the right spot, but nothing insurmountable.
spent shells and empty mags on the ground whenever we fire or reload. But those things would be 1 pixel each, which is going to look very stupid.
Add a spray can and graffiti the place?
In order for this to show, the Blood & Gore option needs to be active in the game options. Additionally, set
;------------------------------------------------------------------------------------------------------------------------------
; If set to TRUE, additional decals can be seen on some objects (cracked walls, blood spatters etc.).
; Also requires the 'Blood & Gore' option to be toggled ingame.
;------------------------------------------------------------------------------------------------------------------------------
ADDITIONAL_DECALS = TRUE
in JA2_Options.ini. I might remove this option later, for now it's in until someone finds a bug and wants to deactivate it.
The next post will detail how to set up your own graphics.
This is fully savegame compatible.
This has been added to the trunk in r9113 & GameDir r2595. Using the new exe without the new GameDir data will... not show anything, because then I simply won't display anything. Sucker!
[Updated on: Sun, 27 June 2021 15:21]
I know now that it could never work between us, as much as we wanted to, it could never be! Not because you're a rabbit, but because you're black.
If you want, you can donate to me. This will not affect how and what I code, and I will not code specific features in return. I will be thankful though.