Wall Text
Posted: Tue Nov 23, 2021 12:51 am
Wall Text
v1.09
Description
This plugin converts chat messages to decals and paints them on the wall. You are limited to capital A-Z and 0-9.
Messages are repainted on client connect and new round.
Usage
Commands:
amx_walltext "I am using walltext yay"
If you don't want to use the menu, you can use this.
amx_walltextmenu or say walltextmenu
This brings up a menu to control the plugin.
Note: Deleted or unsaved decals will disappear on new round.
Special Features:
You can do multiline messages:
Put a comma ( , ) to move down to the next line.
You can display dynamic text:
Edit the walltext-mapname.ini file. Instead of your regular message, type the full path of a text file you want the plugin to read. It will only read the first line and use that as your message.
Note: The path to your file starts in the 'cstrike' directory. To display the first line of your motd.txt, use motd.txt as your message.
Files
The plugin will save messages to:
amxmodx\configs\maps\walltext-mapname.ini
This is the format:
( Origin XYZ, Direction XYZ, Text )
Code:
-2313.605468;-1173.158447;0.031257;0.000000;12.000000;0.000000;YOUR MESSAGE HERE
This one will print the first line of your motd.txt:
Code:
-2313.605468;-1173.158447;0.031257;0.000000;12.000000;0.000000;motd.txt
Changelog
04/03/09 - v1.0
Initial release.
04/04/09 - v1.01
Mod-independent!
04/04/09 - v1.02
Removed decal_reset.sc event. DoD doesn't have it. O_o
04/04/09 - v1.03
New menu, say command, trivial changes.
04/07/09 - v1.04
Changed commands, should be simpler. Attempted to prevent The Specialists error. Still need to find an event for TS like new round.
06/27/09 - v1.05
Added for cstrike only: New menu option "Refresh Canvas" deletes unsaved messages.
06/28/09 - v1.06
Fixed incorrect code dealing with TE_WORLDDECAL and TE_WORLDDECALHIGH. This problem caused incompatibility with Sven Coop.
06/28/09 - v1.07
> 256 changed to > 255
07/13/09 - v1.08
HLTV event registered only if it exists, TFC didn't have it
Any mod with decal_reset.sc event gets a "Refresh Canvas" menu option
07/14/09 - v1.09
Added a slight delay for the "Refresh Canvas" option so the decals get drawn 0.2 seconds after they are erased
Cvars (Regular HL Cvars)
Brought to you by: http://scripting.elxdraco.net/cvarlist/
mp_decals 300
It sets the maximum decals* visible on the screen. It has to be set before connection to server. It's not the same as r_decals.
r_decals 4096
It sets the decals* limit. If higher than mp_decals, it will be set to mp_decals value (It's reset to mp_decals value when connecting to server). It's not the same as mp_decals.
*Spray logo, bullet holes, grenade scorch, blood on ground
plugin
v1.09
Description
This plugin converts chat messages to decals and paints them on the wall. You are limited to capital A-Z and 0-9.
Messages are repainted on client connect and new round.
Usage
Commands:
amx_walltext "I am using walltext yay"
If you don't want to use the menu, you can use this.
amx_walltextmenu or say walltextmenu
This brings up a menu to control the plugin.
Note: Deleted or unsaved decals will disappear on new round.
Special Features:
You can do multiline messages:
Put a comma ( , ) to move down to the next line.
You can display dynamic text:
Edit the walltext-mapname.ini file. Instead of your regular message, type the full path of a text file you want the plugin to read. It will only read the first line and use that as your message.
Note: The path to your file starts in the 'cstrike' directory. To display the first line of your motd.txt, use motd.txt as your message.
Files
The plugin will save messages to:
amxmodx\configs\maps\walltext-mapname.ini
This is the format:
( Origin XYZ, Direction XYZ, Text )
Code:
-2313.605468;-1173.158447;0.031257;0.000000;12.000000;0.000000;YOUR MESSAGE HERE
This one will print the first line of your motd.txt:
Code:
-2313.605468;-1173.158447;0.031257;0.000000;12.000000;0.000000;motd.txt
Changelog
04/03/09 - v1.0
Initial release.
04/04/09 - v1.01
Mod-independent!
04/04/09 - v1.02
Removed decal_reset.sc event. DoD doesn't have it. O_o
04/04/09 - v1.03
New menu, say command, trivial changes.
04/07/09 - v1.04
Changed commands, should be simpler. Attempted to prevent The Specialists error. Still need to find an event for TS like new round.
06/27/09 - v1.05
Added for cstrike only: New menu option "Refresh Canvas" deletes unsaved messages.
06/28/09 - v1.06
Fixed incorrect code dealing with TE_WORLDDECAL and TE_WORLDDECALHIGH. This problem caused incompatibility with Sven Coop.
06/28/09 - v1.07
> 256 changed to > 255
07/13/09 - v1.08
HLTV event registered only if it exists, TFC didn't have it
Any mod with decal_reset.sc event gets a "Refresh Canvas" menu option
07/14/09 - v1.09
Added a slight delay for the "Refresh Canvas" option so the decals get drawn 0.2 seconds after they are erased
Cvars (Regular HL Cvars)
Brought to you by: http://scripting.elxdraco.net/cvarlist/
mp_decals 300
It sets the maximum decals* visible on the screen. It has to be set before connection to server. It's not the same as r_decals.
r_decals 4096
It sets the decals* limit. If higher than mp_decals, it will be set to mp_decals value (It's reset to mp_decals value when connecting to server). It's not the same as mp_decals.
*Spray logo, bullet holes, grenade scorch, blood on ground
plugin