Jump to content

Duel Kill System


Recommended Posts

  • Premium

M2 Download Center

This is the hidden content, please
( Internal )

good day

 

I want to copy this system metin2 Hispano 

 

i work the  quest and python lack the effects, c/u what does it his way

 

quest duelo begin
state start begin
when kill with npc.is_pc() begin
pc.setqf("estado", pc.getqf("estado")+1)
  
if pc.getqf("estado") == 1 then
pc.setqf("asesinatos", pc.getqf("asesinatos")+1)
chat("He tio, pero si has hecho un *FristKill*")
cmdchat("Fris")
elseif pc.getqf("estado") == 2 then
pc.setqf("asesinatos", pc.getqf("asesinatos")+2)
chat("He tio, pero si has hecho un *DoubleKill*")
cmdchat("Double")
elseif pc.getqf("estado") == 3 then
pc.setqf("asesinatos", pc.getqf("asesinatos")+4)
chat("He tio, pero si has hecho un *TripleKill*")
cmdchat("Triple")
elseif pc.getqf("estado") == 4 then
pc.setqf("asesinatos", pc.getqf("asesinatos")+7)
chat("He tio, pero si has hecho un *MultiKill*")
cmdchat("Multi")
elseif pc.getqf("estado") == 5 then
pc.setqf("asesinatos", pc.getqf("asesinatos")+15)
chat("He tio, pero si has hecho un *UltraKill*")
cmdchat("Ultra")
pc.setqf("estado", 0)
chat("Se han reseteado tus kills con exito.")
end
end
end
end
 
game.py
 
 
# sistema de rachas jfirewall
"Fris" : self.__Rachas,
"Double" : self.__double,
"Triple" : self.__triple,
"Multi" : self.__multi,
"Ultra" : self.__ultra,
# sistema de rachas end
ultimately
 
def __Rachas(self):
net.SendChatPacket("(racha)")
 
def __double(self):
net.SendChatPacket("(racha2)")
 
def __triple(self):
net.SendChatPacket("(racha3)")
 
def __multi(self):
net.SendChatPacket("(racha4)")
 
def __ultra(self):
net.SendChatPacket("(racha5)")
 
playersettingmodule.py
 
 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", EmoticonStr+"name.mse")
net.RegisterEmoticonString("(racha)")
 
 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+13, "", EmoticonStr+"name.mse")
net.RegisterEmoticonString("(racha2)")
 
 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+14, "", EmoticonStr+"name.mse")
net.RegisterEmoticonString("(racha3)")
 
 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+15, "", EmoticonStr+"name.mse")
net.RegisterEmoticonString("(racha4)")
 
 
chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+16, "", EmoticonStr+"name.mse")
net.RegisterEmoticonString("(racha5)")

 

paste the efect in:

d:/ymir work/effect/etc/emoticon/

credtis: python and quest jfirewall

 

thank Tico correct quest

 

pd: c/u designs its effects

 

 

  • Metin2 Dev 18
  • Eyes 1
  • Not Good 2
  • Think 2
  • Scream 1
  • Good 7
  • Love 2
  • Love 24
Link to comment
Share on other sites

That is the horriblest way to do the duel system i ever seen.

1) You are setting:

pc.setqf("asesinatos", pc.getqf("asesinatos")+1)

Is it usefull for something? Do you use any check on it?

 

2) After the Ultrakill the system count return 0 and start again.. If you are doing a long series of kill you ll do multiple pentakill wtf?

 

3) There isn't any delay to check the time between kills.In this way i can collect my pentakill in for example 20 day..

 

4)Quest didn't check if the player is killed during his killing spree.

 

5)No sounds or any control for the killed player.

 

 

Finally i want belive that you describe it as duel kill like to the video one..

  • Love 2
Link to comment
Share on other sites

  • 2 weeks later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.