Space Engineers

Space Engineers

588 ratings
Realistic holographic sight on vanilla rifles
   
Award
Favorite
Favorited
Unfavorite
Type: Mod
Mod category: Script, Other
File Size
Posted
Updated
2.350 MB
9 May, 2019 @ 1:20pm
26 Apr, 2021 @ 7:15pm
3 Change Notes ( view )

Subscribe to download
Realistic holographic sight on vanilla rifles

In 1 collection by Digi
Digi's Space Engineers mods
46 items
Description
This mod changes the holographic sight on the Precision Rifle, Ultimate Rifle and the red dot sight on the Elite Pistol to be realistic, which means you can't see the reticle on the sight when hipfiring.


How it works:
A script swaps out the relevant rifle models with ones that don't have the pre-baked reticle.
Then it draws a projected reticle only visible through the sight.




Also:
- The reticle can be seen on other people's guns and on dropped guns as well.
- Ultimate Rifle has green reticle and larger, Precision Rifle has red reticle and a bit smaller and Elite Pistol has a dot.
- The sights now has some slightly tinted and reflective glass.
- Rifle skins still work.


NOTE:
This was only tested in SP, if you find any issues (MP, SP or otherwise) create a new topic in discussions.


mod io?
Please read[gist.github.com]
76 Comments
Titan Nya 1 Jul, 2023 @ 1:08am 
Wow... best explanation ever xD
Well as long as it's not something you can do and it's a Keen problem there is nothing I can do to help :p Well I could disable all the mods and plugin and play pure vanilla but what's the point if I can't try out my idea that I got from last update.

Thx for the reply though you are one of the few mod creator I've followed so most of your work is just great!
Digi  [author] 30 Jun, 2023 @ 3:03pm 
This issue is from the first error, the ones at the end are usually side effects and in this case it's very much a side effect.
You should still have the log file, find the first exception/stacktrace, or post the log in keen's #modding-programming discord channel if you need help narrowing it down.

The problem you saw was more of a warning sign of something going really wrong.
It's always best to fully restart game after getting a mid-loading error because mods don't properly get unloaded (this is reported to keen for a long while).

If this logger wouldn't have crashed, you would instead load into a world with event hooks from a previous world on different instances of mod scripts, likely causing errors on mods that otherwise work fine, sending you and their modders on wild goose chases xD
Titan Nya 29 Jun, 2023 @ 1:35pm 
Well... Got a few crashes while loading a save having the game log basically tell me it can't load this mod log because it is used in another process and the only solution is to restart the game (not the biggest deal but well...)
Goatroach 5 Mar, 2023 @ 1:32am 
Ah, cool stuff. Didn't know that about changing them IRL.
I'm still a fairly new shooter, so by no means an authority on the subject, and prefer irons over RDS as RDS don't play well with my astigmatism. I gotta try out those holographic sights, IRL. Quite different from RDS, from what I'm told.

Shame you can't simply make a key bind to cycle the reticles.
Digi  [author] 5 Mar, 2023 @ 12:42am 
An attachment system is possible, it of course requires modifying the model to strip all the parts that would be interchangeable, like the holo sight and such, then be added back as indidual parented entities (similar to the magazine but selectively spawned by code instead of by the model)... it is quite some work but certainly not going to happen in this mod regardless :P

As for the reticle, it is rendered with code (no longer part of the model) which means I can color and resize it whatever, and change its shape too with new textures.
The main issue is that I don't have a nice way for user to cycle them, IRL you'd press buttons on the sight, but here... I dunno. Chat commands are not an option because I don't like'em xD
Reign 5 Mar, 2023 @ 12:00am 
@Goatroach, there are many red dot and holo sights that let you change the reticle display, even the cheap ones.

@Bi0HazardXIII, it doesn't work that like and would take a massive refactoring effort of the base game to even consider making that a reality. The weapons are items, they are not modular - the reticle is defined within the rifle item. As far as the game is concerned, there are no parts to that rifle, just like a metal plate. It's why you see mods make weapon variants with different attachments; for a modder, it just isn't possible.
Goatroach 6 Dec, 2022 @ 5:28am 
Part 2:
I haven't personally seen any optics that let you change the size of the reticle IRL (FFP optics not withstanding), as most reticles and dots are actually meticulously pre-sized to correspond with minute of angle (MOA), a measuring system pretty much every shooter has heard of, and probably used at some point. Your typical red dot is 1 MOA, meaning the dot overlaying a target at 100 yards (not meters), will be equal to 1 inch on the target from the shooter's perspective. This is easy to see IRL, but not in gaming, so most developers use over-sized reticles compared to real life. Since SE doesn't get into the ballistic simulation like Arma 3 (which you can actually make use of MOA calculations), MOA is not really an issue, so it would make sense to have the option to adjust reticle size for display resolution purposes.

As for what you've already accomplished, I'm impressed! Keep up the superb work, Digi!
Goatroach 6 Dec, 2022 @ 5:28am 
Part 1:
Bi0HazardXIII brings up a good request.
I haven't personally used a holo sight IRL, but I do have some high quality RDS optics IRL, and many have multiple preset brightness, and typically offer both red and green. For those unfamiliar with how illuminated optics work, you want a color that contrasts well against the background, and is just bright enough to be easily picked up. Too bright, and it obscures your view (a problem I often have in video games vs real life).

Having the ability to change colors and brightness would be fantastic in SE. Red for lush Earthlike environments, and green for desert planets like Mars and Pertam (I live in a desert IRL, and prefer green over red for this reason).
Bi0HazardXIII 16 Dec, 2021 @ 12:03am 
Is there a way to change the reticle color?shape? Size? Brightness? Or add additional scopes?
CallsignApollo 5 Jul, 2021 @ 1:27pm 
@Digi the non scoped launcher likely works the same way as an aircraft HUD, so basically very similar to the other holographics, but i would say leave the scoped vairant as-is since, well, its a scope :steamthumbsup: