Weapon Placing Script (V 3.1) 
44 comments This is a script that will allow you to easily place weapons on the map.
Video: http://www.xfire.com/video/40d4b7/
Thread: http://www.unrealsoftware.de/forum_posts.php?post=225001&l#jl
How to use:
First, say "weapons" to open a menu to select weapons. Browse the menu and select the one you wish to spawn
then left click to place it.
Installing:
First download the files and extract the contents to your CS2D folder
Now, open sys/lua/server.lua and type dofile("sys/lua/WeaponPlacer/main.lua")
Changelog
V 3.1
Added an image to show where the weapon will be placed (gfx/hilight.bmp)
You can no longer add weapons on tiles that cannot be walked on
You can disable items in settings.txt
V 3.0
Now it is system independent and is easy to install (no DLLs!)
All players on the server can use it
cost money to place items (default price is: weapon_price * 1.5 + 100)
V 2.0
Now the window can be moved without affecting the placing of weapons.
V 1.2
If an image for the selected weapon cannot be found it will load gfx/hilight.bmp
You can no longer spawn items on a tile that can not be walked
NULL items are hidden from the menu
Video: http://www.xfire.com/video/40d4b7/
Thread: http://www.unrealsoftware.de/forum_posts.php?post=225001&l#jl

First, say "weapons" to open a menu to select weapons. Browse the menu and select the one you wish to spawn
then left click to place it.

First download the files and extract the contents to your CS2D folder
Now, open sys/lua/server.lua and type dofile("sys/lua/WeaponPlacer/main.lua")


Added an image to show where the weapon will be placed (gfx/hilight.bmp)
You can no longer add weapons on tiles that cannot be walked on
You can disable items in settings.txt

Now it is system independent and is easy to install (no DLLs!)
All players on the server can use it
cost money to place items (default price is: weapon_price * 1.5 + 100)

Now the window can be moved without affecting the placing of weapons.

If an image for the selected weapon cannot be found it will load gfx/hilight.bmp
You can no longer spawn items on a tile that can not be walked
NULL items are hidden from the menu
edited 13×, last 11.06.11 08:42:54 pm

Comments
44 commentsLog in!
You need to log in to be able to write comments!Log in
With new version of CS2D I will be able to make this script work for all players and will be system independent.
You should extract the files to you CS2D folder (the one with CounterStrike2D.exe inside it). Do not extract to sys/lua

i Cant Use
LUA ERROR:cannot open sys/lua/weaponPlacer/inculder/load_dlls.lua
What is this ?
But i thing So Awesome And Please İmg
LUA ERROR:cannot open sys/lua/weaponPlacer/inculder/load_dlls.lua
What is this ?
But i thing So Awesome And Please İmg


Very good script, congratz. Just one thing, I think i've seen a explaniation before by Flacko, you use it, didn't you? You should give some credits (If not sorry)

Dark Byte has written:
Before executing the script open config.txt and change SCREENX and SCREENY
to you moniter's width and height. If you are playing in full screen then set
FULLSCREEN to true.

to you moniter's width and height. If you are playing in full screen then set
FULLSCREEN to true.
Did you do this?

Well, nice script and V.nice script not only V.nice its SUPER NICE
but .. the mousepos is wrong to me ...
