Center Print? -1 reply

Please wait...

EGOR_1.0

A.K.A. ShovelHead

50 XP

26th March 2003

0 Uploads

44 Posts

0 Threads

#1 15 years ago

Well so far so good. Still getting messages about models not registering but not as much and I think it still might have to do with not running the server pure. But what do I know. I saw a bit field for center print in the m_ac cvar but nothing in the Admin commands on how to use. I'd like to be able to broadcast messages like that. So what do I need to do?




Marker0077

Some n00b that binds specials

50 XP

10th August 2002

0 Uploads

1,284 Posts

0 Threads

#2 15 years ago
Originally posted by EGOR_1.0 Well so far so good. Still getting messages about models not registering but not as much and I think it still might have to do with not running the server pure. But what do I know.

I don't think that is a purity issue but I could be wrong. I was having that same problem while I was using the admin commands on Daelinas server (I was using tzone_gun at the time) on a bot (was testing to see if the m_ap CVar is still in 1.3, which it is). I do believe his server was pure but I am not positive.

Originally posted by EGOR_1.0 I saw a bit field for center print in the m_ac cvar but nothing in the Admin commands on how to use. I'd like to be able to broadcast messages like that. So what do I need to do?

RTFM please...

From the Duelers Basic 1.3 Manual m_ac (adminControl "2047" is the default) this cvar is a bit field that controls access to admin command (pairs) and features. This works much like the g_forcePowerDisable or g_weaponDisable cvars. The admin command or features and associated bit field (in decimal) are below showmotd (1) freeze/thaw (2) silence/speak (4) bring/goto (8) tzone/real (16) rename (32) boot (64) teleport/origin (128) screen shake (256) thunder (512) center print (1024) The screen shake bit field enables or disables screen shake when admin commands are used. Similarly the thunder bit field controls the thunder sound. The center print bit field will enable printing admin info in the center of the screen in large type or, if disabled, will just print a message on the client console (top left of the screen).

What you do is get the numbers for the features you want to use with the admin password, add them together, then set m_ac to that number.




EGOR_1.0

A.K.A. ShovelHead

50 XP

26th March 2003

0 Uploads

44 Posts

0 Threads

#3 15 years ago

Yeah I got all that from the read me but how do you USE center print to broadcast to everyone.




Marker0077

Some n00b that binds specials

50 XP

10th August 2002

0 Uploads

1,284 Posts

0 Threads

#4 15 years ago
Originally posted by Marker0077 What you do is get the numbers for the features you want to use with the admin password, add them together, then set m_ac to that number.

Center print is 1024, add 1024 with whatever else you want to use. Set it to that number.




EGOR_1.0

A.K.A. ShovelHead

50 XP

26th March 2003

0 Uploads

44 Posts

0 Threads

#5 15 years ago

Ok maybe I'm not making myself clear here. The cvar is set already by default to be on. I know how to add and take away from the cvar to get the admin commands I want to use.

But how do you use the admin command for center print? If I want to say something to everyone at the same time and have it printed in the middle of the screen what do I type in the console? Like "the server will shut down in 5 min." or "everyone who isnt a clan member leave now." or is the command for JUST printing the programmed message for the admin commands being executed?




Marker0077

Some n00b that binds specials

50 XP

10th August 2002

0 Uploads

1,284 Posts

0 Threads

#6 15 years ago
Originally posted by EGOR_1.0 If I want to say something to everyone at the same time and have it printed in the middle of the screen what do I type in the console?

Ah, I see now. My mistake & apologies.

There is no command for that as far as I know. The center print is for when admin commands are used. Generally people do not like text popping up in their faces while they're trying to play but a command for this might not be a bad idea but I think a toggle for all server text to pop up in the center of the screen would be.

I would make this a suggestion in the suggestions forum if I were you. It's not a bad idea.




EGOR_1.0

A.K.A. ShovelHead

50 XP

26th March 2003

0 Uploads

44 Posts

0 Threads

#7 15 years ago

Thanks for clearing that up Marker. Upon thinking about it after my post it made sense. Isn't there code for that in Academy? Just wondering.




Marker0077

Some n00b that binds specials

50 XP

10th August 2002

0 Uploads

1,284 Posts

0 Threads

#8 15 years ago

Possibly, I don't play Academy. It gives hosts too much freedom to do what they like, such as specific force damage settings & such. Not only that, the default damage settings for JA are wrong. Mike (JA coder) & I just figured that out during out testing of Duelers & base game.