#1 2014-11-17 19:51:53

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Sniper rifle crosshair?

Is there a way to get crosshair for sniper rifle? It is really annoying when you try to shoot an enemy in front of you and you miss .-.

Offline

    Positive reputation 0   Negative reputation 0

#2 2014-11-17 20:12:55

puuma3
Member
Finland
Reputation: 0
Registered: 2013-11-19
Posts: 75
Windows 8.1 Chrome 38.0

Re: Sniper rifle crosshair?

U mean when noscoping?

Offline

    Positive reputation 0   Negative reputation 0

#3 2014-11-17 20:35:13

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Re: Sniper rifle crosshair?

@puuma3, I guess yeah. I mean I want a crosshair when I am just running around (not zoomed in).

Offline

    Positive reputation 0   Negative reputation 0

#4 2014-11-17 21:32:11

puuma3
Member
Finland
Reputation: 0
Registered: 2013-11-19
Posts: 75
Windows 8.1 Chrome 38.0

Re: Sniper rifle crosshair?

Well use mp40 then take something small piece of sticker or something, and put in your screen on middle of mp40 crosshairs. The bullet goes always straight as sniper when noscope.

Offline

    Positive reputation 0   Negative reputation 0

#5 2014-11-17 21:50:28

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Re: Sniper rifle crosshair?

puuma3 wrote:

Well use mp40 then take something small piece of sticker or something, and put in your screen on middle of mp40 crosshairs. The bullet goes always straight as sniper when noscope.

Wrote a program that automatically finds crosshair's position when I hold the pistol and puts a small yellow marker there xD

Offline

    Positive reputation 0   Negative reputation 0

#6 2014-11-17 22:25:52

simon
est'own'ya
Estonia
Reputation: +533
Registered: 2014-08-13
Posts: 941
Windows 7 Chrome 38.0

Re: Sniper rifle crosshair?

finally a tru hacka using linux n stuffs

Offline

    Positive reputation 0   Negative reputation 0

#7 2014-11-17 22:56:46

Serebro
Reputation: +1016
Location: Moldova
Registered: 2014-03-28
Posts: 2,613
Windows 7 Chrome 38.0

Re: Sniper rifle crosshair?

Was this question asked just to answer it by yourself ? smile

Offline

    Positive reputation 0   Negative reputation 0

#8 2014-11-17 23:21:00

puuma3
Member
Finland
Reputation: 0
Registered: 2013-11-19
Posts: 75
Windows 8.1 Chrome 38.0

Re: Sniper rifle crosshair?

+1 serebro :DD thats hacking when do wrote program like that big_smile

Last edited by puuma3 (2014-11-17 23:21:10)

Offline

    Positive reputation 0   Negative reputation 0

#9 2014-11-17 23:33:08

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Re: Sniper rifle crosshair?

@serebro, nah lol. I thought about doing this but first wanted to ask on the forums; maybe there is some mod or option

Offline

    Positive reputation 0   Negative reputation 0

#10 2014-11-18 00:27:08

tuia
BFSoldier
Portugal
Reputation: +1093
Location: Lisbon
Registered: 2012-02-20
Posts: 6,344
Website
Windows 7 Opera 11.64

Re: Sniper rifle crosshair?

That is cheating, you do realize that? smile

Offline

    Positive reputation 0   Negative reputation 0

#11 2014-11-18 01:33:25

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Re: Sniper rifle crosshair?

tuia wrote:

That is cheating, you do realize that? smile

Is it? And If I stick a sticker to my screen, will it be cheating? xD

Oke, oke, not using it anymoar.

Offline

    Positive reputation 0   Negative reputation 0

#12 2014-11-18 01:41:31

Serebro
Reputation: +1016
Location: Moldova
Registered: 2014-03-28
Posts: 2,613
Windows 7 Chrome 38.0

Re: Sniper rifle crosshair?

Hey Gamer cat, if you can program so good can you help Tuia make the right ammount of bots on RtR SW server? So if the ammount of people will be like more than 10-12 all bots dissapear?

Offline

    Positive reputation 0   Negative reputation 0

#13 2014-11-18 01:56:20

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
iOS Safari 8.0

Re: Sniper rifle crosshair?

serebro2064 wrote:

Hey Gamer cat, if you can program so good can you help Tuia make the right ammount of bots on RtR SW server? So if the ammount of people will be like more than 10-12 all bots dissapear?

I guess I could, but I have no idea which programming language the server uses. If it is Python - that's great, but I am not very good with C or Java...

Offline

    Positive reputation 0   Negative reputation 0

#14 2014-11-18 01:58:38

Serebro
Reputation: +1016
Location: Moldova
Registered: 2014-03-28
Posts: 2,613
Windows 7 Chrome 38.0

Re: Sniper rifle crosshair?

Then let's wait for Tuia's answer here.

Offline

    Positive reputation 0   Negative reputation 0

#15 2014-11-18 04:19:03

Black Mamba
Member
Canada
Reputation: +1451
Registered: 2012-12-01
Posts: 4,241
Windows 8.1 Firefox 33.0

Re: Sniper rifle crosshair?

No you fools, no need for a sticker on the screen... smh.

@GamerCat: This simple line of code should make the default crosshair appear:

ObjectTemplate.setCrossHairType CHTCrossHair

By default, the sniper rifles (No4 Sniper and the Axis sniper) have the command disabled this way:

ObjectTemplate.setCrossHairType CHTNone

Where "CHTNone" means the crosshair is removed from your screen. To make the crosshair appear, navigate to the Objects.con of the sniper rifle you want to modify and replace "CHTNone" with "CHTCrossHair" (without the "").
The Objects.con file for the weapons you want to modify are located in Objects/HandWeapons/No4Sniper/Objects.con and likewise for it's Axis equivalent. You can edit this file directly with winRFA without extracting it and repacking.

I'm not sure this can be done server side though as it is a graphical change. The client will probably need a version of the modified files as well, but give it a try and tell me what happens.

Last edited by Black Mamba (2014-11-18 04:24:07)

Offline

    Positive reputation 0   Negative reputation 0

#16 2014-11-18 12:01:00

GamerCat
Player
Sweden
Reputation: +3
Registered: 2014-04-17
Posts: 44
Linux Firefox 33.0

Re: Sniper rifle crosshair?

Black Mamba wrote:

No you fools, no need for a sticker on the screen... smh.

@GamerCat: This simple line of code should make the default crosshair appear:

ObjectTemplate.setCrossHairType CHTCrossHair

By default, the sniper rifles (No4 Sniper and the Axis sniper) have the command disabled this way:

ObjectTemplate.setCrossHairType CHTNone

Where "CHTNone" means the crosshair is removed from your screen. To make the crosshair appear, navigate to the Objects.con of the sniper rifle you want to modify and replace "CHTNone" with "CHTCrossHair" (without the "").
The Objects.con file for the weapons you want to modify are located in Objects/HandWeapons/No4Sniper/Objects.con and likewise for it's Axis equivalent. You can edit this file directly with winRFA without extracting it and repacking.

I'm not sure this can be done server side though as it is a graphical change. The client will probably need a version of the modified files as well, but give it a try and tell me what happens.

Err, but where Objects/HandWeapons/... folder is located? I've searched in my game folder and haven't found it (just tons of settings files like Video.con).

Offline

    Positive reputation 0   Negative reputation 0

#17 2014-11-18 12:31:32

tuia
BFSoldier
Portugal
Reputation: +1093
Location: Lisbon
Registered: 2012-02-20
Posts: 6,344
Website
Ubuntu Firefox 33.0

Re: Sniper rifle crosshair?

You have to modify Objects.rfa file, those .con files are packed inside that file, but this will prevent you from joining servers, you will get a "data differs from server" error message.
You can change to pistol real quick and then to sniper rifle to get a glimpse of crosshair. I've seen some videos doing that.

Offline

    Positive reputation 0   Negative reputation 0

Board footer