Forum

> > CS2D > Scripts > script request
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch script request

20 Antworten
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

alt script request

deletemepl0x
User Off Offline

Zitieren
Hello!
Im requesting a scipt.
The script is "no weapon drop after death"
The title says everything.
Im just creating a EPIC map and i dont know how to make script (i will learn soon )
I serched in the search, but didnt found anything
P.S. sry my englisk is bad
2× editiert, zuletzt 08.08.11 18:55:21

alt Re: script request

Kel9290
User Off Offline

Zitieren

1
2
3
4
addhook("die","die1")
function die1()
	return 1
end
btw, you can find it in samples

alt eww

deletemepl0x
User Off Offline

Zitieren
eww...
i dont get it
im a n00b at scripting
explain plz

alt aww

deletemepl0x
User Off Offline

Zitieren
I need a lua script, not console for that!!!

alt eww

deletemepl0x
User Off Offline

Zitieren
u mean to made a mapname.txt ?
I just need a lua for a map.

alt Re: script request

Banaan
User Off Offline

Zitieren
mapname.txt is briefing (the message you'll see on loading the map, or if you press Esc - 1) and has nothing to do with this.

The Lua is given and it works. Read info.txt in your sys/lua folder if you want to understand it.

alt Re: script request

dizziness
User Off Offline

Zitieren
user Bowlinghead hat geschrieben
1
2
3
4
addhook("die","die1")
function die1()
     return 1
end

At first, try that out!!


This setting is more easy and simple than lua script - - mp_deathdrop 4

alt @Kel9290

deletemepl0x
User Off Offline

Zitieren
Kel, u ARE THE BEST IN THIS THREAD! thx!
But where i need to place mapname.lua?

alt Re: script request

PeterToman
COMMUNITY BANNED Off Offline

Zitieren
lol... mapname = the name of your map...
put it to cs2d_0119_ / maps (I think)
or maybe to cs2d_0119 / sys / lua

alt Re: script request

Hador
User Off Offline

Zitieren
user deletemepl0x hat geschrieben
But where i need to place mapname.lua?


Put it in the same folder as the map. If you haven't changed anything in the server settings then it should run automatically. (-> cs2d cmd mp_luamap )

alt Re: script request

Infinite Rain
Reviewer Off Offline

Zitieren
1.
Go to CS2D/maps
2.
create file <mapname>.lua
3.
open this with notepad and write this:
1
parse('mp_deathdrop 4')
4.
Save
5.
ENJOY!

alt yay

deletemepl0x
User Off Offline

Zitieren
yay, thx! cookie
but how to remove drop wpn when alive command?
1× editiert, zuletzt 10.08.11 18:56:14

alt nope

deletemepl0x
User Off Offline

Zitieren
no, i mean that when u press g, then weapon wont drop
Zum Anfang Vorherige 1 2 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht