Dateien

> > CS2D > Lua Scripts > Weapon Placing Script (V 3.1)
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Weapon Placing Script (V 3.1) >

44 Kommentare4 kb, 845 Downloads

alt 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
13× editiert, zuletzt 11.06.11 20:42:54
Zugelassen von GeoB99

Download Download

4 kb, 845 Downloads

Kommentare

44 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

TheTrollHammer
BANNED Off Offline

Sweet. I use this to trick players.
Ich mag es!

alt

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.

alt

Bowlinghead
User Off Offline

Awesome! Nice idea.
5 - AWESOME!
Ich mag es!

alt

tom282f3
User Off Offline

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

alt

Starkkz
Moderator Off Offline

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

alt

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.
Ich mag es!

alt

Sapiens
User Off Offline

Very easy Script. So 2/5

alt

tom282f3
User Off Offline

Cool. I love the weapon icon oh your cursor.
Ich mag es!

alt

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~~
Ich mag es!

alt

Egoist
User Off Offline

omg cool script.

min
20
fucks
Ich mag es!

alt

FaqAp
User Off Offline

This is hacking awesome!
Ich mag es!

alt

Picias
BANNED Off Offline

ok its worked thank you
Ich mag es!

alt

archmage
User Off Offline

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

alt

ULtiMa
User Off Offline

What will happen if i clicked the NULL?
BTW Nice Script.
Ich mag es!

alt

archmage
User Off Offline

@Picias
Which problems?
Picias hat geschrieben
[...] why it is not work

Idk I do not even know the problem.

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

alt

Picias
BANNED Off Offline

I have some problems now
why it is not work
..;
Ich mag es!

alt

Syph
User Off Offline

Great !
But Would Be Cooler if could place more things like
npcs and buildings
Ich mag es!

alt

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
Ich mag es!

alt

robed
User Off Offline

thanks il check it later
Ich mag es!

alt

EngiN33R
Moderator Off Offline

Check the logs, they have the console output.
Zum Anfang Vorherige 1 2 3 Nächste Zum Anfang