Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   Crosshairs (alliedassault.us/showthread.php?t=8629)

Hobbs 09-03-2002 03:33 AM

Crosshairs
 
Does anyone know of a way to turn the crosshairs off and on in-game.

Ex. instead of using secondary attack i assign it to the crosshairs...

Is this possible?

oOo:

Akuma 09-03-2002 04:17 AM

I dont think there is away in the options. but you could ask around for someone to make you a 100% clear crosshair. I have a 50% see-through crosshair so making one that is clear must be possible.

Hobbs 09-03-2002 08:05 AM

100% clear crosshairs... are you pulling my chain? why would i want that?

r3mix 09-03-2002 06:36 PM

Quote:

Originally Posted by Hobbs
100% clear crosshairs... are you pulling my chain? why would i want that?

uh..... becuase its remarkably similar to what you are asking for?

Esc > Options > Advanced > Crosshair off

theres your key combo..... have fun

r3mix

scorpiomidget 09-03-2002 06:38 PM

or do these key bindings

bind F6 "fps 1; ui_hud 1" // turn on fps and the hud
bind F7 "fps 0; ui_hud 0" // turn off fps and the hud

there is a command for the crosshair, but i forget what it is offhand.

prob something like ui_crosshair 0

Hobbs 09-03-2002 07:15 PM

no, it's not what i wanted... I'm not trying to be an ass.. sorry if you think i am. I want to be able to turn them off and on (in-game) meaning while playing. like to re-assign one of the buttons i.e. secondary attack. Does anyone understand?

r3mix 09-03-2002 08:34 PM

Quote:

Originally Posted by Hobbs
no, it's not what i wanted... I'm not trying to be an ass.. sorry if you think i am. I want to be able to turn them off and on (in-game) meaning while playing. like to re-assign one of the buttons i.e. secondary attack. Does anyone understand?

ok
do it how scorpionmidget said. your unnamedsoldier.cfg file under /mohaa/main/configs/ is where all your settings are stored so that when you start the game theyve been kept from the last time. open it and take a look.... youll see the current key bindings you have.

now since theres no setting in there to show the crosshair go into your options like i said and switch the thing off. exit the game and open the CFG file again and see if you can spot it. now if you can find it and it operates by using 0/1 as on/off... put in a bind for
bind mouse2 "toggle hideit"

hideit being whatever the command it is.

r3mix

Hobbs 09-03-2002 09:06 PM

ok found it...
seta ui_crosshair "0"
//
// Aliases
//
now i do what you said bind mouse2 "toggle hideit" ?

is there anyway to post a mod without having the user have to edit the config file?

Hobbs 09-03-2002 10:10 PM

OK, you guys (Scorpiomidget and r3mix ) thank you both for their help!!!!! biggrin:

Here is the bind I used to turn the crosshairs on and off (in-game) Yea!!!!


bind v "ui_crosshair 0"
bind b "ui_crosshair 1"

Works like a charm!!!


I still cant get it to toggle with 1 button...
I tried using toggleui_crosshair, bind v "ui_crosshair 0,1", and some others.

Do you have any ideas?

Thanks again for all ur help!! happy: angel:

r3mix 09-04-2002 01:19 AM

Quote:

Originally Posted by Hobbs
ok found it...
seta ui_crosshair "0"
now i do what you said bind mouse2 "toggle hideit" ?
is there anyway to post a mod without having the user have to edit the config file?

toggle means alternate between the 0 and 1 settings for commands that operate this way.... so you can have a single button for on/off.

try this one and if it doesnt work i will have a look at the ones im using for FPS....
BIND V "toggle ui_crosshair"

to distribute it as a PK3 mod you add these same bind lines into another CFG file called autoexec that should be in your /main/ folder.
paste them in there just as they are now and add only the autoexec.cfg to a PK3..... no directories.
the autoexec updates the users config without wiping all current ones (like distributing the other CFG would.

if you submit it as a mod to aa.com stick these in there as well to make is worthwhile
"toggle cg_lagometer"
"toggle FPS"

r3mix

scorpiomidget 09-04-2002 03:02 AM

Hobbs your forgiven for saying i was wrong (grin).

As a bonus i'll tell u how to do it using just one key !

// Toggle Crosshair on and off
// Output toggled state to console
bind F11 vstr chair
set chair vstr ui_crosshair
set chair_1 "set chair vstr chair_0;echo CROSSHAIR ON;ui_crosshair 1"
set chair_0 "set chair vstr chair_1;echo CROSSHAIR OFF;ui_crosshair 0"

Hobbs 09-04-2002 06:56 AM

ok, you guys obviously know a hell of a lot more then me biggrin: thank you both for the helpful info!! I'll give it a shot a little later!!!


All times are GMT -6. The time now is 10:49 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.