Forum

> > CS2D > Scripts > Nazi Zombie Power-ups?
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Nazi Zombie Power-ups?

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Nazi Zombie Power-ups?

Aythadis
User Off Offline

Zitieren
So I'm making a re-make of Nacht Der Untoten from World at War, and I was just wondering if it is possible to make the power-ups that the Zombies dropped, like the Max Ammo, Insta Kill, Carpenter, Double Points, and the Nuke with Lua. I have no experience with Lua and what it can do, so that is why I'm asking.

Level is here > http://unrealsoftware.de/files_show.php?file=3306
NOTE: The level isn't up to date yet.

alt Re: Nazi Zombie Power-ups?

DC
Admin Off Offline

Zitieren
yes, you can use Lua to spawn items on the maps or to make instant kills or to simulate a nuke or whatever.

alt Re: Nazi Zombie Power-ups?

Aythadis
User Off Offline

Zitieren
GeNeSiS_MaSoN hat geschrieben
Wait. What Carpenter? Do You Mean Kill All Zombies With A Bomb?

Well, there are 5 power ups.
1)Double Points
2)Max Ammo
3)Insta Kill
4)Nuke --- KABOOM! And the nuke doesn't kill every zombie on the map! It did in the first level, only because it was a small map, but it actually has a radius damage. Ex. It will only kill zombies in a 200 foot radius.
5)Carpenter - Repairs ALL windows and blockades. This is a new power up in the series. I think this came into play when the new zombie levels in the Map packs were added on World At War, but I don't know.

DC hat geschrieben
yes, you can use Lua to spawn items on the maps or to make instant kills or to simulate a nuke or whatever.

Cool! Now if only I could figure out how to do this, I'll be in buisness! Help would be nice! PM if you can help.

alt Zombie equip

thesk5tera
User Off Offline

Zitieren
hi pllizz how i can give zombie and humain equip "wrench"
in mod zombie
plizz i need to my server

alt Re: Nazi Zombie Power-ups?

Dousea
User Off Offline

Zitieren
@user thesk5tera: Just use cs2d cmd equip command and use cs2d lua hook spawn hook. Like this:
1
2
3
4
addhook("spawn","_spawn")
function _spawn(id)
	parse("equip "..id.." 74")
end

@user Aythadis: Use cs2d cmd explosion command to simulate the Nuke and cs2d cmd killplayer command for Insta-Kill. Like this:
1
2
parse("explosion "..player(id,"x").." "..player(id,"y").." 400 125 "..id)
parse("killplayer "..math.random(1, 32))

And for the Double Points, just double enemy points. Like this:
1
points[k] = points[k] + (points[v] * 2)
1× editiert, zuletzt 04.03.13 08:43:35
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht