Jump to content
  • 0

Event Script Derived From Crossfire Game


Yonko

Question


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

the mechanics of script is like this. The NPC will appear at certain time and all players will warp on the specific map. Then the instruction is like Zombie Event. let's say there are 5 players after the tick of a clock one will transform to a zombie then the zombie player will attack the player when hitted it turns to zombie until all will get zombie but there's a 2 minute timer for the player to avoid of being a zombie thanks !

Link to comment
Share on other sites

23 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

the last player survive

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Well, without src mods, we can't make it turn them into zombies on attack. However we can make it for when they kill them.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.00
  • Content Count:  2044
  • Reputation:   682
  • Joined:  10/09/12
  • Last Seen:  

oh yes I love to make event scripts <3

but this one seems like level1 type though ( single player stuff ... too easy for me )

let's confirm the mechanics again

1. on certain time, the everyone in the server transport into a map

2. after some countdown, 1 of the player becoming a zombie

3. this zombie player will try to attack others, the one getting attacked become zombie also

4. reward given to those stay as human

* so is there any reward for someone who has turn most players into zombie ?

but there's a 2 minute timer for the player to avoid of being a zombie
don't understand this one

@GmOcean

yes indeed, and the answer is OnPCUseSkillEvent :P

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Lol. That would work. But indeed, it's kinda just a last man standing event with a spin off.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  69
  • Topics Per Day:  0.02
  • Content Count:  592
  • Reputation:   31
  • Joined:  11/14/11
  • Last Seen:  

Maybe its good at the beggining a real monster zombie will be spawn after he bite a player it will turn him to zombie.. and i dont know if its good that a zombie will walk slowly.. as ling as it is a small map..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Well, if we were to have a zombie start off, we'd have to add another src edit for each time a mob attacks. And we aren't going to do that as the event will trigger for all mobs, unless we hardcode it to only trigger with zombie monster. But, even then it will still ping for all monsters and then just stop if it's not a zombie lol. It'd kill the server too fast.

This was also the result of someone making a src edit to trigger when ever someone auto attacked. Each attack on each character pinged the server for the event and it pretty much crashed at about 50players on a high rate. So I'd recommend against usig a zombie first.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

oh yes I love to make event scripts <3

but this one seems like level1 type though ( single player stuff ... too easy for me )

let's confirm the mechanics again

1. on certain time, the everyone in the server transport into a map

2. after some countdown, 1 of the player becoming a zombie

3. this zombie player will try to attack others, the one getting attacked become zombie also

4. reward given to those stay as human

* so is there any reward for someone who has turn most players into zombie ?

but there's a 2 minute timer for the player to avoid of being a zombie
don't understand this one

@GmOcean

yes indeed, and the answer is OnPCUseSkillEvent :P

i mean for that is when the participants enter the map they will have 2 mins to scatter to prepare because one of them will become the zombie

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

Suggestion:

First Player disguise into zombie.

It would need faction system too so that zombie don't attack zombie and player don't attack player.

Edited by Dastgir Pojee
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

We wouldn't need faction system, since bg system can pretty much do that already. So basically we can turn this into a bg event without the actual bg side lol.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

it is possible that when 1 player become a zombie he will change the other player with a simple perfect(no miss) attack into a zombie?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Like i've said before, the only way to make it as soon as the target gets attacked is via src. And again like i've said before, currently (without) src edits, we can make it so that if a player is killed by a zombie they will turn into a zombie. This way we can actually use the perfect-no-miss attack to ' kill ' a player and turn them into a zombie to help.

This can be done a number of ways, but i'd suggest that we temporarily change zombie's into 'Novice' class and disguise as zombie's while also giving them an extremely OP weapon that will allow them to kill opponents in 1 hit while never being able to miss. Coincidentally we have a skill that never miss', it's used in RO cards right now, so we would just need to make it cast 100% of the time.

Additionally, turning them into 'novices' is not needed if the custom' weapon is a close range weapon equipable by all class', this will make it so archer/ranged class' won't have the advantage.

Edit:

Until just now I forgot this was a REQUEST lol. It actually sound pretty fun to me, so I'm going to take this one as a challenge, and 'tweak' it ever so slightly to make it a bit more interesting. I will however make sure to add in the nessecairy checks so that, you can revert it back to the way you wanted it as a request.

I also wish to see other's give their version of this event if they want.

Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

Like i've said before, the only way to make it as soon as the target gets attacked is via src. And again like i've said before, currently (without) src edits, we can make it so that if a player is killed by a zombie they will turn into a zombie. This way we can actually use the perfect-no-miss attack to ' kill ' a player and turn them into a zombie to help.

This can be done a number of ways, but i'd suggest that we temporarily change zombie's into 'Novice' class and disguise as zombie's while also giving them an extremely OP weapon that will allow them to kill opponents in 1 hit while never being able to miss. Coincidentally we have a skill that never miss', it's used in RO cards right now, so we would just need to make it cast 100% of the time.

Additionally, turning them into 'novices' is not needed if the custom' weapon is a close range weapon equipable by all class', this will make it so archer/ranged class' won't have the advantage.

Edit:

Until just now I forgot this was a REQUEST lol. It actually sound pretty fun to me, so I'm going to take this one as a challenge, and 'tweak' it ever so slightly to make it a bit more interesting. I will however make sure to add in the nessecairy checks so that, you can revert it back to the way you wanted it as a request.

I also wish to see other's give their version of this event if they want.

Thank You for the appreciation of my request. I'm just starting to code it now but im a newbie i still studying different methods in scripting

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Here's mine. Coded it 4 years ago. This was from my event pack w/c was released in ea before, I edited it to work without the other stuff.

- script left4dead -1,{
OnInit: bindatcmd("nvz","left4dead::OnEvent"); end;
OnEvent:
announce "Event Zombie Vs. Novice will begin in ~5~",0;
sleep 1000;
announce "Event Zombie Vs. Novice will begin in ~4~",0;
sleep 1000;
announce "Event Zombie Vs. Novice will begin in ~3~",0;
sleep 1000;
announce "Event Zombie Vs. Novice will begin in ~2~",0;
sleep 1000;
announce "Event Zombie Vs. Novice will begin in ~1~",0;
sleep 1000;
//if ( getmapusers("quiz_01") <= 1){
//announce "Not enough players.. Event cancelled.",0;
//sleep 1000;
//}
announce "Event 'Zombie Vs. Novice' has begun!!",0,0x00FF00;
announce "Novice RFYL Event: "+getmapusers("quiz_01")+" players in the Event.",0,0x00FF00;
sleep 5000;
mapannounce "quiz_01","WARNING: Four Zombies will spawn near the center in 10 seconds and everytime a players dies!",0;
sleep 5000;
monster "quiz_01",42,369,"LEFT4DEAD",1015,4;
end;

winner:
killmonsterall "quiz_01";
mapannounce "quiz_01","You have won",0;
enablenpc "Prize";
stopnpctimer;
close;
end;
OnPCDieEvent:
getmapxy .@maprfyl$,.@xrfyl,.@yrfyl,0;
if ( .@maprfyl$ == "quiz_01") {
 monster "quiz_01",.@xrfyl,.@yrfyl,""+strcharinfo(0)+"",1015,1;
 announce "Novice RFYL Event: "+getmapusers("quiz_01")+" remaining players in the Event.",0,0x00FF00;
 sleep2 1;
 warp "prontera",156,223;
 atcommand "@alive "+ strcharinfo(0);
 dispbottom "You have died...";
 if ( getmapusers("quiz_01") <= 1) goto winner;
}
end;
}
quiz_01,42,369,3 script Prize 72,{
announce "Novice RFYL Event: " + strcharinfo (0) + " won! " + (sex == 1?"He": "She") +" won an item!",0;
getitem 501,1;
warp "prontera",156,223;
disablenpc "Prize";
end;
OnInit:
disablenpc "Prize";
end;
}

http://pastebin.com/ub8Wse1D

How to use:

1. Players must be in this place (quiz_01 42 369)

2. A gm must activate it via @nvz

NOTE: Currently, they will turn into zombies when they die (a zombie will spawn with the player's[the one who died] name on it.)

With a SRC modification, you can make them turn just by a mere touch of the zombies.

NOTE: If you're gonna use this, you may want to add a warper that allows only novice 1/1.

I got this idea from another NVZ script but I'm too lazy to find it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  26
  • Topics Per Day:  0.01
  • Content Count:  331
  • Reputation:   63
  • Joined:  11/29/11
  • Last Seen:  

http://spriterepository.com/files/file/2579-zombie-mode-inspired-by-call-of-duty-4/

Exactly the same description as @topicstarter said.

Haven't Tested, just test it.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

What!? That's no fair lol. Gotta make one from scratch, well not really if it works then it works. As long as it gets the job done no need to make a new one lol. But for the fun of it, ill still make a version of my own.

Edit:

Well, here is my version of the script. (I have not tested it yet, but it runs through the server startup without errors, atleast it does for me lol).

So, if you want give it a try go for it, i'd like to hear some feedback. Additionally, I've made it so that a zombie monster, spawns with the player as the player is turned into a zombie. *Note - These zombies will attack the zombie players as well, but who doesn't like a little zombieVSzombie action lol (jk).

Edit2: Removed file. A few scripting crashing errors were found.

Edited by GmOcean
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Okay, so i completely forgot i deleted the file from my post lol, so here it is again, after i fixed those bugs. Let me know if it works as intended, so that I may fix any issue that you come across.zombacolypse.txt

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  166
  • Topics Per Day:  0.04
  • Content Count:  789
  • Reputation:   50
  • Joined:  04/16/12
  • Last Seen:  

wait i try your script thanks :)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Go for it,... (I need to stop posting scripts that I haven't tested personally... it's just it's such a hassle to test multi-player scripts lol).

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

GmOcean

 

Your script was awesome... But when some of zombie appear all player was disconnected... 

Why was that?..?

 

**Im reviving some old script**

 

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  31
  • Topics Per Day:  0.01
  • Content Count:  666
  • Reputation:   93
  • Joined:  04/27/12
  • Last Seen:  

Your issue may be the Zombie King mob. You might not have it installed either that or it was removed from the grf at some point.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  96
  • Topics Per Day:  0.02
  • Content Count:  554
  • Reputation:   14
  • Joined:  09/24/12
  • Last Seen:  

Your issue may be the Zombie King mob. You might not have it installed either that or it was removed from the grf at some point. 

 

Zombie king... 

I try to use @disguise it and its ok.. its a flying zombie right with a chain and crown on his top iof its head right....

But all player dc...

All included vending.. lol...  ^ ^

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...