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

TheTrollHammer
BANNED Off Offline

Sweet. I use this to trick players.
I like it!

old

archmage
User Off Offline

@Starkkz
I would, but I lost them
Write your DLL, compile it, and load it with package.loadlib I can help you just PM me.

old

Bowlinghead
User Off Offline

Awesome! Nice idea.
5 - AWESOME!
I like it!

old

tom282f3
User Off Offline

@F*CKING CrazyBooy:
You always say other's script is easy.
So why don't you make it? NOOB
I like it!

old

Starkkz
Moderator Off Offline

btw, failbit. can you post the old source codes of the dlls?. I want to make some experiments.
I like it!

old

Apache uwu
User Off Offline

Check out the menu script for this lua. The output may look easy (spawning weapons, etc) but the lua is actually quite advanced.
I like it!

old

Sapiens
User Off Offline

Very easy Script. So 2/5

old

tom282f3
User Off Offline

Cool. I love the weapon icon oh your cursor.
I like it!

old

Apache uwu
User Off Offline

I saw the first version when you used dlls to detect mouse positions, now looking at this--with those hooks+functions weapon placing is not as complex~~
I like it!

old

Egoist
User Off Offline

omg cool script.

min
20
fucks
I like it!

old

FaqAp
User Off Offline

This is hacking awesome!
I like it!

old

Picias
BANNED Off Offline

ok its worked thank you
I like it!

old

archmage
User Off Offline

No longer are NULL items displayed. Nothing would happen except maybe output to the console.
Ty

old

ULtiMa
User Off Offline

What will happen if i clicked the NULL?
BTW Nice Script.
I like it!

old

archmage
User Off Offline

@Picias
Which problems?
Picias has written
[...] why it is not work

Idk I do not even know the problem.

@Electrobuz
Hm, I might add this. Good idea.

old

Picias
BANNED Off Offline

I have some problems now
why it is not work
..;
I like it!

old

Syph
User Off Offline

Great !
But Would Be Cooler if could place more things like
npcs and buildings
I like it!

old

Flacko
User Off Offline

Good work
I didn't want to rate this before because I think that using OS dependant DLLs are too much overkill for a simple 2D game
I like it!

old

robed
User Off Offline

thanks il check it later
I like it!

old

EngiN33R
Moderator Off Offline

Check the logs, they have the console output.
To the start Previous 1 2 3 Next To the start