Welcome, Guest. Please login or register.
Did you miss your activation email?
November 23, 2024, 08:15:25 PM
Home Help Login Register
News: Zombie Master 2 discussion

Zombie Master  |  Other  |  Trouble in Terrorist Town  |  Topic: Lua help!
Pages: [1]
Author Topic: Lua help!  (Read 5940 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.009 seconds with 17 queries.