Jump to content

A16 - Colored Crosshairs


herrpohl

Recommended Posts

Mod for A16.3 (64 bit, EAC off)

Not compatible with other dll mods (e.g. backpack expansion).

 

This mod changes the color and/or size of the melee and ranged crosshairs:

 

Blue

 

Re6GSCz.jpg

 

 

Green

 

eAs6tBK.jpg

 

 

Red

 

wE7wDl0.jpg

 

 

Dot crosshair (only changes the melee weapon crosshair)

 

 

 

Bigger default crosshair

 

mhufqTW.jpg

 

 

Bigger red crosshair

 

a0kcHs7.jpg

 

 

 

Installation instructions:

 

Download one of the following archives and unpack it into your 7 Days To Die folder (make a backup first):

 

Blue

Green

Red

Dot crosshair

Bigger default crosshair

Bigger red crosshair

 

This mod is compatible with any XML-driven mod.

Link to comment
Share on other sites

nice work man. due to size of my screen i spend alot of time looking for the dang crosshair lol.. hopefully one of these will fix that lol...

 

- - - Updated - - -

 

argh any chance we can get a step by step walk thru of editing the assembly csharp. as i am using hals editor as well as my backpack mod if not to much to ask.

Link to comment
Share on other sites

nice work man. due to size of my screen i spend alot of time looking for the dang crosshair lol.. hopefully one of these will fix that lol...

 

- - - Updated - - -

 

argh any chance we can get a step by step walk thru of editing the assembly csharp. as i am using hals editor as well as my backpack mod if not to much to ask.

It's in the EntityPlayerLocal class under the GUIDrawCrosshair method.

You need to change the last two lines (lines 390 and 394 with ILSpy/Reflexil):


int crosshairOpenArea = this.GetCrosshairOpenArea();
int num1 = Screen.get_width() / 2;
int num2 = Screen.get_height() / 2;
int num3 = 18;
Color black = Color.get_black();
Color white = Color.get_white();
[/Code]

Just select a different operand, there are a couple of colors.

Link to comment
Share on other sites

Great work. Thanks.

 

Now if we could only get cross-hairs for the crossbow when you are looking down sights. Really annoying having to crouch just to figure out where I am aiming.

Just add <property name="CrosshairOnAim" value="true" /> to the crossbow in the items xml (id 146).

Link to comment
Share on other sites

It's in the EntityPlayerLocal class under the GUIDrawCrosshair method.

You need to change the last two lines (lines 390 and 394 with ILSpy/Reflexil):


int crosshairOpenArea = this.GetCrosshairOpenArea();
int num1 = Screen.get_width() / 2;
int num2 = Screen.get_height() / 2;
int num3 = 18;
Color black = Color.get_black();
Color white = Color.get_white();
[/Code]

Just select a different operand, there are a couple of colors.

O!...i thought that color is selected otherwise....

Thanks ! :)

Link to comment
Share on other sites

I have no idea why TFP decided for it not to have that.

:D shooting from the waist !

this in order that you do aim... I like this method.

In the first Quake did not have sight at all, but there people were shooting very accurately, shot on anticipation on a Bouncing target, was shot in the jump....

 

Oh, don't ask....:)

Link to comment
Share on other sites

AWESOME !, now special request :) think you could make a DOT crosshair please ? like in this Skyrim mod here. would be so cool ! :)

ps: just realized this mod is not compatible with expanded backpacks mod since it makes changes to the AssemblyCSharp >.<

I turned the melee crosshair into a dot: archive.

It doesn't affect the AssemblyCSharp dll. Not sure if it's possible to change the ranged weapon crosshair too.

 

 

h9fsZgx.jpg

 

Link to comment
Share on other sites

  • 3 weeks later...

Very interesting mod, but I can't get it to work.

 

I just put the files in the 7 days folder, and when I start the game I get a black screen and nothing happens.

I have probably done something wrong, but would be great with some help :)

Link to comment
Share on other sites

It's in the EntityPlayerLocal class under the GUIDrawCrosshair method.

You need to change the last two lines (lines 390 and 394 with ILSpy/Reflexil):


int crosshairOpenArea = this.GetCrosshairOpenArea();
int num1 = Screen.get_width() / 2;
int num2 = Screen.get_height() / 2;
int num3 = 18;
Color black = Color.get_black();
Color white = Color.get_white();
[/Code]

Just select a different operand, there are a couple of colors.

 

Complete beginner here, I've found the line but unsure how to edit it?

Link to comment
Share on other sites

Complete beginner here, I've found the line but unsure how to edit it?

It's in lines 406 and 410 now. If you have Reflexil installed, click on the cog symbol in the toolbar. Right click on the line you want to change and press edit. Click on the operand field and choose a different color.

The length of the crosshair lines can be changed in line 404.

 

5VcBft6.jpg

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...