Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2024, 12:41:53 AM
Home Help Login Register
News: Trouble in Terrorist Town? Site here, forum here.

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Lua help!
Pages: [1]
Author Topic: Lua help!  (Read 5933 times)
SovietX
Poster

Posts: 52



« on: November 28, 2011, 02:43:01 AM »

So I've been tampering with a couple things like hold to aim instead of one click and getting rid of lowering your ironsight, but I've been having a problem with changing the crosshair opacity to 0. I went into the weapon_tttbase and changed

local sights_opacity = CreateConVar("ttt_ironsights_crosshair_opacity", "0.0", FCVAR_ARCHIVE)

,but when I run the game I get

ConCommand blocked! (ttt_ironsights_crosshair_opacity 0)

Any help would be appreciated.

Be the best by any means necessary
Anonymous
Poster

Posts: 126


« Reply #1 on: November 29, 2011, 05:19:54 PM »

ConCommand blocked!

Suggests that you dont have permission to run it/ that the game doesnt want you to run it :P Derp

Not great at CVars :P

Bad King Urgrain
Administrator
*****
Posts: 12276



« Reply #2 on: November 29, 2011, 06:53:12 PM »

You can set it to 0 in the F1 settings menu?

If you're editing this on the server and want to make it default 0 for all players, it would be easier to change the name along with setting it to 0, that way the setting players have in their config won't apply.
SovietX
Poster

Posts: 52



« Reply #3 on: December 03, 2011, 12:53:14 PM »

I figured it out thanks guys. and yeah BKU I knew how to do it in settings I wanted it to be for all my players.

Be the best by any means necessary
Pages: [1]
Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Lua help! « previous next »
Jump to:  


Login with username, password and session length

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Page created in 0.008 seconds with 18 queries.