Files

> > CS2D > Lua Scripts > Weapon Hudtxt v1.0
Files overviewCS2D overviewLua Scripts overview

English Weapon Hudtxt v1.0 >

12 comments2 kb, 558 Downloads

old Weapon Hudtxt v1.0

MikuAuahDark
User Off Offline

Weapon Hudtxt by user MikuAuahDark

∗ Description ∗
This LUA shows a list of your weapons with hudtxt. It also allow you to see all of your weapons

∗ Features ∗
> Configurable settings
> Shows the weapon name and weapon type ID
> Make the selected weapon colored different
> Checks for all weapon slots(6 slots)

∗ How to Install ∗
1. Download(of course) and extract it at desired folder
2. Open server lua and add this
1
dofile("sys/lua/wtxt.lua")
3. Save(or don't save to make your current changes lost )

∗ Reserved Global Variables
> test123ok
> WTXT_Initial_X
> WTXT_Initial_Y
> WTXT_Wrap_W_PX
> WTXT_Normal_Color
> WTXT_Selected
> WTXT_Update_Method
> WTXT_Max_Hudtxt
> WTXT_Hud_Update

∗ Information ∗
Hooks: 1(Depending on WTXT_Update_Method settings, default cs2d lua hook ms100)
Lines: 71(with comments)
Size: 2435 Bytes

∗ Configuration ∗
> WTXT_Initial_X - X Position of Weapon Hudtxt
> WTXT_Initial_Y - Y Position of Weapon Hudtxt
> WTXT_Wrap_W_PX - Addtional X-Pixels for weapons name(a.k.a indents)
> WTXT_Normal_Color - Normal/unselected hudtxt color(Table: {red,green,blue})
> WTXT_Selected - Selected hudtxt color(Table: {red,green,blue})
> WTXT_Update_Method - Update method(It can be: cs2d lua hook always,cs2d lua hook ms100,cs2d lua hook second(DON'T USE cs2d lua hook minute))
> WTXT_Max_Hudtxt - Max hudtxt ID that allowed to used by this LUA(From 0-19 if 20)

∗ Limitaions ∗
• It uses a sorted hudtxt ID(0,1,2,...,WTXT_Max_Hudtxt-1)

∗ Notes ∗
1. I can make this lua better if cs2d lua cmd item also able to detect weapon that player have
2. Feedbacks? Suggestions? Bugs? post on comments

∗ Rules ∗
√ You can use it for your server
√ You can edit it
√ You can upload at another website, say user MikuAuahDark made it
× You can't say this is yours
× You can't upload on another website without put me on credits

∗ Version History ∗
> v1.0
> >
ADDED
Initial release

∗ Another MikuAuahDark Scripts ∗
> file cs2d Timer Extra function(timerEx) v4.0
> file cs2d [UNUSED] Get Player Rank v1.4
> file cs2d Env_Laser v1.0
> file cs2d Improved Badwords v2.0
edited 3×, last 03.11.13 12:52:22 am
Approved by Seekay

Download Download

2 kb, 558 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

Kirito2K
User Off Offline

Extra nice one .
I like it!

old

iii
User Off Offline

gives a good overview
I like it!

old

Avo
User Off Offline

It's kinda basic as my easy lua effects script is. user VADemon is right, it can be good for debugging.

Nice.

old

Rainoth
Moderator Off Offline

@user Infinite Rain: Count ? I'm pretty sure you don't need to count anything. If you equip/pick a weapon, you already know what it is.

The only way I see this useful is how user VADemon said.

old

VADemon
User Off Offline

I like that. May be used for debugging.
I like it!

old

Deathliger
User Off Offline

genius
I like it!

old

EP
User Off Offline

useless

old

Infinite Rain
Reviewer Off Offline

@user Rainoth:
And it will take ages for you to count them, this script makes everything easier.
I like it!

old

Rainoth
Moderator Off Offline

What's the point of this ? You can scroll through all your weapons with mouse...

old

useigor
User Off Offline

Looks nice.
I like it!

old :)

Kantos
BANNED Off Offline

where i paste the code
I like it!
To the start Previous 1 Next To the start