Jump to content

Recommended Posts

M2 Download Center

Hidden Content

    Give reaction to this post to see the hidden content.
( 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

 

 

  • Love 9
Link to comment

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

 

0629 17:26:22160 :: Unable to open file.: ymir work/ui/q.mp3
0629 17:26:22160 :: CSoundManager2D::GetInstance (filename: ymir work/ui/q.mp3)

 

 

Put it in , sound.eix/epk

and I think it must be .wav not .mp3

Link to comment
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • 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.