Dateien

> > CS2D > Lua Scripts > Item/weapon IDs v1.3
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Item/weapon IDs v1.3 >

12 Kommentare3 kb, 1.139 Downloads

alt Item/weapon IDs v1.3

Kiffer-Opa
User Off Offline

This file contains useful variables for many IDs and numbers used in CS2D v0.1.1.6, for instance:
• item IDs
• building IDs
• armor values
• Supply mode numbers
• team numbers
• return values


So you just have to know the variables conventions instead of looking up every ID.
the item IDs are stored in variables which have the same name like ingame without spaces, hypens and plus.
Instead of using
1
2
if(weapon==47)
-- ...

you could also write
1
2
if(weapon==RPGLauncher) then
-- ...


To use this file, you have to add this line of code into your files where
you need the variables:

1
dofile("sys/lua/wpnids.lua")
Zugelassen von SQ

Download Download

3 kb, 1.139 Downloads

Kommentare

12 Kommentare
Zum Anfang Vorherige 1 Nächste Zum Anfang

Logge dich ein!

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

alt

ArChaLV
User Off Offline

How To Spawn Building?

alt

Picias
BANNED Off Offline

hmm you can see it in game too <
so 1/5

alt

Kel9290
User Off Offline

Nice for begunners
Mehr >

@SLiDeR2335, WTF?
Ich mag es!

alt

ArChaLV
User Off Offline

How to spawn buildings?

alt

HaRe
User Off Offline

--------
Buildings:
--------

1 - Barricade
2 - Barbed Wire
3 - Wall I
4 - Wall II
5 - Wall III
6 - Gate Field
7 - Dispenser
8 - Turret
9 - Supply
10 - Construction Site
11 - Dual Turret
12 - Triple Turret
13 - Teleporter Entrance
14 - Teleporter Exit
20 - Mine
21 - Laser Mine
22 - Orange Portal
23 - Blue Portal

alt .YeaH.

FiiD
User Off Offline

This is really usefull and a great script...I need the IDs from buildings...
Ich mag es!

alt

Surplus
User Off Offline

i have all ids memorised so no use to meh
Ich mag es!

alt

Yasday
User Off Offline

thanks
now i don't have to look for all those id's
Ich mag es!
1× editiert, zuletzt 22.09.10 21:30:14

alt

Leiche
Moderator Off Offline

If you aren't a beginner, its just for lazy people
Ich mag es!

alt

SQ
Moderator Off Offline

Very practical and useful stuff.
Especially for beginners
Ich mag es!
1× editiert, zuletzt 15.04.10 16:23:34
Zum Anfang Vorherige 1 Nächste Zum Anfang