[HOWTO]Making A New Effect

10/31/2012 22:33 vpser#1
1.256x256 or bigger a image


Example ;

[Only registered and activated users can see links. Click Here To Register...]

2.Download paint.net and open the image

[Only registered and activated users can see links. Click Here To Register...]

Image > Rotate 90 Clockwise click

3.Image > Resize


[Only registered and activated users can see links. Click Here To Register...]

256x256

4.Save As DDS name xxx1_1

[Only registered and activated users can see links. Click Here To Register...]

5.Image > Resize

128x128 and Save As DDS name xxx1_2

6.Image > Resize

32x32 for icon save as .tga name is xxx

7.Download .mse

[Only registered and activated users can see links. Click Here To Register...]

in mse xxx1_1 , xxx1_2 you can change this

7.Open a xml

Code:
<!-- This file was generated by the Metin2 File Archiver (r155) -->
<Buildfile version="1.1">
	<Action type="create" output="NewEffect">
		<File archivedPath="d:/ymir work/effect/etc/buff/xxx.mse" type="1"><![CDATA[Source\ymir work\effect\etc\buff\xxx.mse]]></File>
		<File archivedPath="d:/ymir work/effect/etc/buff/xxx1_1.dds" type="1"><![CDATA[Source\ymir work\effect\etc\buff\xxx1_1.dds]]></File>
		<File archivedPath="d:/ymir work/effect/etc/buff/xxx1_2.dds" type="1"><![CDATA[Source\ymir work\effect\etc\buff\xxx1_2.dds]]></File>
		<File archivedPath="icon/item/xxx.tga" type="1"><![CDATA[Source\icon\item\arbok.tga]]></File>

	</Action>
</Buildfile>
and repack

8.Open game.py and add this

Code:
			"xxx"					: self.__xxx,
under

Code:
			"CloseSafebox"			: self.CommandCloseSafebox,
example :

[Only registered and activated users can see links. Click Here To Register...]

Add this code end of game.py

Code:
	def __xxx(self):
		net.SendChatPacket("(xxx)")
9.Open playersettingmodule.py

find this

Code:
	EmoticonStr = "d:/ymir work/effect/etc/emoticon/"
add under

Code:
	BuffStr = "d:/ymir work/effect/etc/buff/"
[Only registered and activated users can see links. Click Here To Register...]

Code:
	chrmgr.RegisterEffect(chrmgr.EFFECT_EMOTICON+12, "", BuffStr+"xxx.mse")
	net.RegisterEmoticonString("(xxx)")
add this under

Code:
net.RegisterEmoticonString("(fish)")
Example :

[Only registered and activated users can see links. Click Here To Register...]

and repack root

10.Quest

Code:
quest neweffectsafa begin
	state start begin
		when xxx.use begin
			cmdchat("xxx")
end end end end
11.Block in the chat writing xxx

open uichat.py

go 210.line

change this

Code:
		if net.IsChatInsultIn(text):
			chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
		else:
			net.SendChatPacket(text, type)
with

Code:
		if text == "(xxx)":
			return	
		elif net.IsChatInsultIn(text):
			chat.AppendChat(chat.CHAT_TYPE_INFO, locale.CHAT_INSULT_STRING)
		else:
			net.SendChatPacket(text, type)

[Only registered and activated users can see links. Click Here To Register...]

Video ;


Show


Sorry for bad english
10/31/2012 22:34 `zuppie´#2
Haha wtf. But very nice TuT and effects.
10/31/2012 22:38 *~.ιηνιη˘ιвℓє.~*#3
Very nice tut *-* thank you .

thx given'
10/31/2012 22:39 Syuki#4
Thanks given, nice Tut.
Aber ich finde, das man das können sollte...
10/31/2012 22:45 ηice#5
Nettes Tut ;)
10/31/2012 22:58 Kouji123#6
Nice tut bro, thx
10/31/2012 22:59 [The]Domco#7
I wish on epvp will be more tutorials like this very nice man :)
11/01/2012 00:26 'oShet#8
lol funny but nice
11/01/2012 01:36 Red Firestar#9
wow nice thanks *-*
11/01/2012 13:01 norrrbi#10
dl link off
reup please
11/01/2012 13:47 Sagota#11
Nice thx
Ich werde mal i-wann versuchen xD
11/01/2012 13:55 vpser#12
[Only registered and activated users can see links. Click Here To Register...] , thank you for comment
11/01/2012 14:15 mark102495#13
File Blocked for Violation.

Please reupload no mediafire ;/
11/01/2012 15:35 .Secresy'#14
reupload :P
11/01/2012 16:09 vpser#15
[Only registered and activated users can see links. Click Here To Register...]

is working ?