Files

> > CS2D > Lua Scripts > Item/weapon IDs v1.3
Files overviewCS2D overviewLua Scripts overview

English Item/weapon IDs v1.3 >

12 comments3 kb, 1,139 Downloads

old 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")
Approved by SQ

Download Download

3 kb, 1,139 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

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

old

ArChaLV
User Off Offline

How To Spawn Building?

old

Picias
BANNED Off Offline

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

old

Kel9290
User Off Offline

Nice for begunners
More >

@SLiDeR2335, WTF?
I like it!

old

ArChaLV
User Off Offline

How to spawn buildings?

old

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

old .YeaH.

FiiD
User Off Offline

This is really usefull and a great script...I need the IDs from buildings...
I like it!

old

Surplus
User Off Offline

i have all ids memorised so no use to meh
I like it!

old

Yasday
User Off Offline

thanks
now i don't have to look for all those id's
I like it!
edited 1×, last 22.09.10 09:30:14 pm

old

Leiche
Moderator Off Offline

If you aren't a beginner, its just for lazy people
I like it!

old

SQ
Moderator Off Offline

Very practical and useful stuff.
Especially for beginners
I like it!
edited 1×, last 15.04.10 04:23:34 pm
To the start Previous 1 Next To the start