Dateien

> > CS2D > Lua Scripts > Pacman Modded Lua
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Pacman Modded Lua >

82 Kommentare30 kb, 1.314 Downloads

alt Pacman Modded Lua

Rainoth
Moderator Off Offline

Ok ! I think every old player who liked lua scripts back in the day knew pacman "Modded" server!

So I though i could make a similar script and I did.

This is 8th update

There are 97 classes chosen by random. Here's a big information about them
here >


Some settings :

√ Dispenser is hardly destroyable !
√ Infinite ammo is on

I've been working on this together with user iii
Right now we're both done on thinking about this and are busy with other things so there might be more updates or there might not. Time will tell.

Installation :
Download archive and put it in your cs2d folder.
Extract everything.
Run map "de_specialforces Mammoth"

Credits :
user Heartless Soldier - Everything started with his Roll the Dice script
user wave2 - The creator of original Pacman Clan Modded Classes Lua and his map.
user HaRe - at the time, I knew very little about scripting. He helped me make few classes which turned out to be one of the most popular (and they still are )
user iii - for working with me and helping this project become a success.
user Pseudon - for giving tons of ideas (man, you have one nice imagination )

Some Extra Notes :
Here's a short video showing a tiny glimpse of gameplay.
This script is working ONLY on de_specialforces Mammoth (it's inside ZIP) by default. If you're kind of experienced in scripting, you can change it, but please note that class called "Duelist" works only there (unless you edit the script code).
If you have any ideas or you think you found a bug.
Write me a message
15× editiert, zuletzt 18.05.16 03:14:32
Zugelassen von Starkkz

Download Download

30 kb, 1.314 Downloads

Kommentare

82 Kommentare
Seite
Zum Anfang Vorherige 1 2 3 4 5 Nächste Zum Anfang

Logge dich ein!

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

alt

Rainoth
Moderator Off Offline

Thanks again

alt

HaRe
User Off Offline

w8 it dosent work ive tested it, Test this
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
addhook("attack","bomberman")
function bomberman(id)
sx = player(id,"x")
sy = player(id,"y")
	if (bomberman[id]==1) then
		parse("explosion "..sx.." "..sy.." 100 999999 "..id)
	elseif (bomberman[id]==0) then
		return 0
	end
end

addhook("attack2","bomberman2")
function bomberman2(id)
sx = player(id,"x")
sy = player(id,"y")
	if (bomberman[id]==1) then
		parse("explosion "..sx.." "..sy.." 100 999999 "..id)
	elseif (bomberman[id]==0) then
		return 0
	end
end

addhook("move","barbiredwire")
function barbiredwire(id,x,y)
ix = player(id,"tilex")
iy = player(id,"tiley")
it = player(id,"team")
	if (barbiredwire[id]==1)then
		parse("spawnobject 2 "..ix.." "..iy.." 0 0 "..it.." "..id)
	elseif (barbiredwire[id]==0)then
		return 0
	end
end
that one works
Ich mag es!

alt

Rainoth
Moderator Off Offline

Thank you vesa-omar i will try it

alt

HaRe
User Off Offline

Cool script

I think this should work for the Bomber Man and Barbired Wire

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
function initArray(m)
	local array = {}
	for i = 1, m do
		array[i]=0
	end
	return array
end

bombermanknife = initArray(32)
barbiredwireman = initArray(32)

addhook("hit","bomberman")
function bomberman(id,source,weapon,hpdmg,apdmg)
x = player(id,"x")
y = player(id,"y")
	if (bombermanknife[id]==1 and weapon==50) then
		parse("explosion "..x.." "..y.." 10 99999 "..id)
	elseif (bombermanknife[id]==0 and weapon==50) then
		return 0
	end
end

addhook("move","barbiredwire")
function barbiredwire(id,x,y,walk)
x = player(id,"tilex")
y = player(id,"tiley")
pt = player(id,"team")
	if (barbiredwireman[id]==1) then
		parse("spawnobject 2 "..x.." "..y.." 0 0 "..pt.." "..id)
	elseif (barbiredwireman[id]==0) then
		return 0
	end
end

In the bomber man class when you get it random there should be this

1
bombermanknife[id]==1

in the others there should bee
1
bombermanknife[id]==0

And Barbired wired Man this

1
barbiredwire[id]==1

in the others there should bee
1
barbiredwire[id]==0
Ich mag es!
4× editiert, zuletzt 23.07.10 11:29:06

alt

rockgame
User Off Offline

how to automaticly change class per round???

Please write!
Ich mag es!

alt

Aether
User Off Offline

I missed it too. You win a cookie and 5 stars as a bonus!
Ich mag es!

alt

Rainoth
Moderator Off Offline

Thank you Lorenzz

alt

LorenzzVilla
User Off Offline

cool, cool idea man, this is great for... ya now some 4Fun servers or, anything

Like 4 fun, 4 for ya
Ich mag es!

alt

Rainoth
Moderator Off Offline

Wat do you mean low it ? (@Anti)

alt

Anti
User Off Offline

low it
Ich mag es!

alt

Rainoth
Moderator Off Offline

@heocon953237 Omg. Dont try my nerves... I didnt want to make script with rounds and i wont edit it! Maybe when some1 will post here some ideas i make some more classes, but i wont change it into the1 like in Lag server... And you should read the name of my script

alt

Mr_God
User Off Offline

you know the server [Lag] Fun? you can edit your script like the script of the server [Lag] Fun!
Ich mag es!

alt

wave2
User Off Offline

Im pleased about that batlaizys
Ich mag es!

alt

Rainoth
Moderator Off Offline

@ql!maX You are my scripting hero
@heocon953237 You mean classes are chosen automatically ? Not mannually ? You see the good thing about it is that u can get new class anytime and automatically u would lose class. E.g. You like "The Darkess" and yu want to keep that class,but if it automatically changes you lose the class.

alt

Mr_God
User Off Offline

thank you. but I ask you can change the script that maps each game automatically choose the item from the player does not use mod.cac! pacman, ok? you can milk your script as a script of the server [Lag] Fun!
Ich mag es!

alt

wave2
User Off Offline

Hello here is the scripter from the pacman modded script :). I will reboot a server where you can play with these classes the whole time :D. But Thats a nice Idea and well done ;).
Ich mag es!

alt

Rainoth
Moderator Off Offline

@heocon953237 U can make say !pacman with 1 button
e.g. type in console : bind "x" "say !pacman"
Its really faster than to make whole script...

BTW: New Map Pack i re-uploaded with screenshots just came out check out
1× editiert, zuletzt 09.07.10 15:55:56

alt

Mr_God
User Off Offline

hey, you can move into a mod that players do not hit !pacman but depending on each game that all players have the items are from mod 1, 2, 3 ...
Ich mag es!

alt

Rainoth
Moderator Off Offline

@AMD32 really ? They may be mad on me now... Thought they wont use it anymore

@Time4Parteh really ? Wat day did we playd ? Tell me wat gun i said is best and i will believe

alt

RyceR
User Off Offline

I love it
Ich mag es!
Zum Anfang Vorherige 1 2 3 4 5 Nächste Zum Anfang