Jump to content

[UPDATED-Share]New event - Biohazard


Recommended Posts

Hey. Today i'm gonna share with you an event called Biohazard. Here's how it works:

 

1. Players register to event

2. After 15 minutes players are being teleported to event zone

3. In 1 minute one of the players (randomly chosen) is being transformed into zombie and chases other players while trying to kill them (when he kills another player he becomes zombie too  :o)

4. If all players was infected or all zombies were killed event end and rewards winning team

 

I haven't made any configs because i was making this event only for personal use so everything is hardcoded  :-\

Event is made for l2jserver(Gracia final) but you can make it for other packs too.

Hope it works because i may have forgotten to put something into that diff. Report any bugs :)

It's possible that you'll have to apply this diff manually.

P.S You have to increase stats for Zombie transformation or infected player will get killed very soon and players will win without any fight.

 

Download - http://hotfile.com/dl/18625263/25dfb94/Biohazard.rar.html

 

Update 1:

-Added admin commands to start and abort the event

*//bh_start - starts the event

*//bh_abort - aborts the event

Link to comment
Share on other sites

Hmm..It seems nice and cool.The point is,is that working properly?

I'll download it to test.BTW give me a preview.Picture or video please!

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



  • Posts

    • I also think this feature would bring more harm than good... another example is a dwarf rushing against your mobs so he takes priority, then he plays fake death and proceeds to grief the shit out of you. A minimum damage threshold is necessary, which would basically converge to what is the default feature (i.e. biggest damage dealer)
    • I bought the premium to watch the video and it's private. 😢
    • For some Majestic reason OP can't edit their topics anymore?    Let me update the potential offers, I got up to 2 spots to fill.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1     A credible team that SGuard represents is looking for java developers.    These positions is full time only i.e. your time is mostly dedicated within the team and team tasks, side gigs are fine, as long as you are able to combine your gig and main.  All necessary tools are provided.  The team is consistent with > 10 team members and the team is looking to expand to meet various goals. A decent Lineage 2 Essense OR Main (GOD) knowledge is needed.  Experience with l2r/l2p/l2s. mobius is fine too for referrence only. The team is friendly and goal oriented, very active and resourceful.   Requirements are standard, java knowledge is optional.  Multi language is a plus but not necessary (English/Russian), any is accepted.   Terms and conditions including compensation are reasonable and considered to be up for the industry standards. Details are negotiable with suitable candidates.   You will need to have a headset and a mic just for the initial processing, there're no team meetings or conferences after that. There's a small 30min interview process to demonstrate knowledge and just to meet each other.   The team has decided it is in their best interest to not publish their information at this time. Details will be available only for suitable candidates.   CONTACT TELEGRAM ONLY: https://t.me/asupport_g1
    • Thanks for the detailed info. I also have some ideas in mind but the execution may be hard. Thanks again!
    • There are as many approaches as stars in the sky, for all I know. You could create a class variable in MonsterInstance.java, which will hold the Object_ID of its first aggressor/dmg_dealer. From there, you will have to add a check in the RequestAttack and RequestMagicSkillUse packets and/or in some doDamage()/reduceHp() method, which will check if the damage dealer is the first aggressor, and if not - reduce the damage to 0. But you also have to be mindful about special cases, such as: - what happens when a Warlord runs around an area, provoking everything just to trigger the aggression and then just goes to town waiting for someone else to kill the said mobs so that the WL can collect free rewards? You might have to play with the DefaulAI, or the AI of monsters and hook a function that would reset the aggressor_id value under certain conditions, such as - the aggressor is not in X range or the aggressor is dead, or the aggressor is not online, or the NPC/Monster's AI is in INACTIVE state, which would indicate they are not in combat. - what happens when the aggressor is in party? should the said aggressor/dmg_dealer variable be a List/Set of players which are all eligible to deal dmg or receive rewards?  
  • Topics

×
×
  • Create New...