nonperforming / openspadesplus

Basically competitive OpenSpades, I guess
GNU General Public License v3.0
5 stars 1 forks source link

Different hitmarkers and crosshairs under certain situations #16

Open nonperforming opened 2 years ago

nonperforming commented 2 years ago

Currently, the default hitmarker with OpenSpades+ doesn't look too well ADS. Grenade lineups and a custom crosshair for block placements could be possible and made easy by changing a single line of code in ViewSpadeSkin - View.as

nonperforming commented 2 years ago

Easy enough for the hitmarker - see L417 of Client_Draw.cpp for hitmarker.

I have no idea how to code in AngelScript though. There are three hits for Sight.tga in View.as and another in BasicViewWeapon.as. How would you check if the player is ADS in AngelScript?

Note: There can be four different crosshairs for each item. Could grenade line-ups be possible with a crosshair spanning the entire screen?