Files

> > CS2D > Lua Scripts > Weapon Placing Script (V 3.1)
Files overviewCS2D overviewLua Scripts overview

English Weapon Placing Script (V 3.1) >

44 comments4 kb, 890 Downloads

old Weapon Placing Script (V 3.1)

archmage
User Off Offline

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
edited 13×, last 11.06.11 08:42:54 pm
Approved by GeoB99

Download Download

4 kb, 890 Downloads

Comments

44 comments
Page
To the start Previous 1 2 3 Next To the start

Log in!

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

old

robed
User Off Offline

i cant check the console because it froze!
I like it!

old

Reyhan
User Off Offline

cool and useful for me.
Nice script!
I like it!

old

Picias
BANNED Off Offline

THE BEST WEAPONS PLACING LUA it is Yours
I like it!

old

archmage
User Off Offline

With new version of CS2D I will be able to make this script work for all players and will be system independent.

old

Hanz
User Off Offline

For me it's not needed but nice script 5/5
I like it!

old

archmage
User Off Offline

did you check the console for errors?

old

robed
User Off Offline

yes it happens on all weapons :(((
I like it!

old

archmage
User Off Offline

It works for me. Check the console. Does this happen with any other weapons?

old

robed
User Off Offline

help it dont work WHEN i click chainsaw it frozed
I like it!

old

Nahuelpet
User Off Offline

EPIC WIN , Very Good Scrip...
I like it!

old

archmage
User Off Offline

You should extract the files to you CS2D folder (the one with CounterStrike2D.exe inside it). Do not extract to sys/lua

old

Disconetted
User Off Offline

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
I like it!

old

archmage
User Off Offline

Yes I did read his tutorial (on loading DLLs in Lua). I probably should credit him.

old

Heartless Soldier
User Off Offline

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)
I like it!

old

loldlold123
User Off Offline

i can say only "OMG its dream"... man you are real scripter!
I like it!

old

Yasday
User Off Offline

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.

Did you do this?
I like it!

old

Homam
User Off Offline

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

old

FiNEX
User Off Offline

awesome script and very good work
I like it!

old

DannyDeth
User Off Offline

Good use of .dll's, however making it for Windows users only offends me
Nice job, keep them up and you have made an awesome script/program ( considering this was half written in C or C++ I think it half counts as a program ).
I like it!

old

Admir
User Off Offline

this script made my teh day
I like it!
To the start Previous 1 2 3 Next To the start