Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Client Modifications ONLY! (https://postpacific.mmorpg-game.online/forumdisplay.php?f=49)
-   -   [Tutorial]how to add transparency and reflection to textures (https://postpacific.mmorpg-game.online/showthread.php?t=3951)

kgptzac 08.04.2006 15:32

[Tutorial]how to add transparency and reflection to textures
 
ORIGINALLY POSTED BY 惜缘 @ 99NETS
SOURCE: http://bbs.99nets.com/read.php?tid=5...toread=&page=1

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Below are the tools that will be used in this guide, download them if you don't have them already~
************************************************** ************************
Name: L2tool.exe
version:
type: freeware
Language: Japanese
official website: http://line-utx.hp.infoseek.co.jp/
download link: official websiteHTTP http://line-utx.hp.infoseek.co.jp/040706/3535.lzh
mirror: http://my.so-net.net.tw/jacky0108/l2tool/L2tool.rar
update:
description: 3 functions
1. decrypt l2 .utx files
2. replace .dds files from .utx files
3. convert decrypted .utx files to the format which can be used in UnrealEd.exe v2.0
************************************************** ************************
Name: L2Decrypt
version: v 1.5
type: freeware
Language: English
official website: http://web2.249088.vserver.de/index.php?f=l2decrypt
download link: official website http://web2.249088.vserver.de/l2decrypt.zip
update:
description: old L2 decrypter, useful when dealing with .utx stuff
************************************************** ************************
Name: UT Package Tool (UTPT)
version: 2.0 beta 5
type: freeware
Language: English
official website: http://www.acordero.org/projects/utpt/index.htm
download link: http://www.acordero.org/download/utpt20beta5.zip
update: 2004-04-09
description: view/extract Unreal stuff, include lineage II, but you can’t import/replace things with it
************************************************** **************************
Name: UnrealEd.exe v2.0
version: v 2.0
type: freeware
Language: English
official website: http://udnbeta.epicgames.com/Main/WebHomeBeta
download link: http://udn.epicgames.com/Files/UE2/R...e-22261903.exe
update: Updated 2006, but the newest version does not work on L2
description: this thing is to make 3d games in Unreal Engine. Very useful but in some cases its functions can/must be supplemented by other stuff when dealing with l2 client mods. It can edit 3d mesh, 3d texture, music, sound and many more things we don’t (need to) know.
************************************************** **************************
Name: Adobe PhotoShop Normal Map and DDS Authoring Plug-ins
version:
type: freeware
Language: international (?)
official website: http://developer.nvidia.com/
download link: http://developer.nvidia.com/object/n...ure_tools.html
update:
description: make your Photoshop read/save in .dds format, it’s a must have, just download it already :P
note: download this to your photoshop plug-in folder. Doing this is because the new version of the plug-in doesn't support 1bit alpha, the older version does.

when you get errors related to MSVCR71.dll
download http://www.hemenpaylas.com/download/...vcr71.rar.html and copy to C:\WINDOWS\system32\


************************************************** **************************


Example used: Female Elf
Tools needed:L2tool.exe 、L2Decrypt 、UED2

Files to download:
FElf_m001_t42_u_ori.rar <-- After extraction: FElf_m001_t42_u_ori.dds (has transparent effect, alpha edited)
FElf_m001_t42_l_ori.rar <-- After extraction: FElf_m001_t42_l_ori.dds (has transparent effect, alpha edited)
CubeMaps.rar < -- Extract: CubeMaps.utx //new texture in c4,2006/03/29 updated
GoldCubes.rar <-- Extract: GoldCubes.utx //c4 reflection uses this, 2006/03/29 updated
Copy CubeMaps.utx 、GoldCubes.utx to C:\UnrealEngine2Runtime\Textures\
(the original cubemaps.utx from l2 client cannot be extract, use this one insdead. i am heard that doing this can get the metal reflective texture onto what you make)

Prepare a workspace:
Due to some problems with Unreal editor, and to not to doom your l2 client if something does wrong, a workspace without space in the name is needed~ just make a "mywork" folder in C:\
1.copy from l2 client forder ..\SysTextures\FElf.utx to c:\mywork\
2.copy FElf_m001_t42_u_ori.dds and FElf_m001_t42_l_ori.dds to c:\mywork\
3.extract L2tool.rar to c:\mywork\
4.copy l2decrypt.exe to c:\mywork\
workspace content as in the image:

http://my.so-net.net.tw/jacky0108/teaching01/001.jpg


Opacity and Reflection Tutorial

【One】decrypt FElf.utx
 1.Run L2tool.exe, choose c:\mywork\FElf.utx and press "解除"
  http://my.so-net.net.tw/jacky0108/teaching01/002.jpg

 2.If there is error(see image), use l2decrypt.exe to decrypt instead, the FElf.utx is damaged by L2Tool, so you have to re-copy the file from your l2 client folder to c:\mywork\
  http://my.so-net.net.tw/jacky0108/teaching01/003.jpg

 3.how to use l2decrypt.exe:
  drag c:\mywork\FElf.utx to c:\mywork\l2decrypt.exe
  http://my.so-net.net.tw/jacky0108/teaching01/004.jpg

 4.after the program decrypt the file, you shall find a FElf.clear.utx in your workspace folder
  http://my.so-net.net.tw/jacky0108/teaching01/005.jpg

 5.delete FElf.utx, then rename FElf.clear.utx to FElf.utx

【two】Convert FElf.utx to UED format
 1.Run l2tool.exe and choose c:\mywork\FElf.utx (see image)
  http://my.so-net.net.tw/jacky0108/teaching01/006.jpg

  註:If L2tool gives you this error: Run -time error'339', download this>>> Mscomctl.zip
  Win98 users shall copy Mscomctl.ocx to "system" folder of your windows directory. for example "C:\WINDOWS\system"
  WinXP users shall copy Mscomctl.ocx to "system32" folder of your windows directory. for example "C:\WINDOWS\system32"
  http://my.so-net.net.tw/jacky0108/te...1/error339.jpg
  

 2.in l2tool.exe, press "Line2 -> UnrealED".This is to convert the .utx to a format which Unreal Editor can load (see image, dunno if it's relavent lol)
   http://my.so-net.net.tw/jacky0108/teaching01/007.jpg 

【three】Make Manticore lower piece transparent and reflective~
 1.run your Unreal Editor, choose File --> Open.. --> load your FElf.utx which you just converted
  http://my.so-net.net.tw/jacky0108/teaching01/008.jpg

 2.On "Group" drop down menu, choose --> LowBody (see image)
http://my.so-net.net.tw/jacky0108/teaching01/009.jpg

 3.do File --> Import.. --> open c:\mywork\FElf_m001_t42_l_ori.dds. This is to import the texture into the "LowBody" group of the .utx file. (see image).
http://my.so-net.net.tw/jacky0108/teaching01/010.jpg
  

 4.now in the editor window find the texture FElf_m001_t42_l , then right click ==> Properties. (see image)
 http://my.so-net.net.tw/jacky0108/teaching01/011.jpg 

 5.here are some lines to explain:
Diffuse: Texture'FElf.LowBody.FElf_m001_t42_l_sp' <-- don't need to edit; it's the main texture
  Opacity:FElf_m001_t42_l_ori <-- Enter the texture name which are NOT transparent (edit in alpha channel, white = transparent, black = solid)
  Specular:TexEnvMap'FElf.LowBody.TexEnvMap1 0' <-- do not edit. it is used for reflection mirror setting.
  SpecularityMask:Texture'FElf.LowBody.FElf_ m001_t42_l_sp' <-- don't edit, it's used for reflection something that i don't know how to translate >.>(它是用來設定鏡面反光材質的遮色ç ‰‡)
  OutputBlending:OB_Normal <-- change to OB_Masked. this is for that when showing the main texture, there will be an area of opacity which you can see the contents below (pervert alert).

also visit [ur=http://udn.epicgames.com/Two/MaterialsShaders]this[/url] page to get more info on those tags.

  After those settings try to roate the cube
  http://my.so-net.net.tw/jacky0108/teaching01/012.jpg

 6.Close Shader Properties window

【four】make Manticore upper piece transparent and, reflective~
 1. Group ---> UpBody

 2. File --> Import.. --> c:\mywork\FElf_m001_t42_u_ori.dds
  (hmm do i still need to explain? )

 3. find FElf_m001_t42_u ,right click --> Properties

 4.Diffuse: Texture'FElf.UpBody.FElf_m001_t42_u_sp' <-- no change
  Opacity:FElf_m001_t42_u_ori <-- blah
  Specular:TexEnvMap'FElf.UpBody.TexEnvMap0' <-- blah2
  SpecularityMask:Texture'FElf.UpBody.FElf_m 001_t42_u_sp' <-- blah3
  OutputBlending:OB_Normal <-- change to OB_Masked
  proceed with same stuff:...
  now it's like:
  http://my.so-net.net.tw/jacky0108/teaching01/013.jpg

 5.close Shader Properties

 6.In the texture window, File --> Save to the original c:\mywork\FElf.utx --> then close the program (FOLDER NAME/PATH CANNOT CONTAIN SPACE)

【five】Copy the edited FElf.utx to l2 client
 1. re-encrypt the FElf.utx which you just edited, to the original method in l2tool.exe (most likely it is 121)

2.rename your FElf.utx in your l2\systextures folder.

 3.copy c:\mywork\FElf.utx to the systextures\ folder of your l2 directory

【six】done
  enter game, and enjoy
  if it's not something like the following image, then recheck if you did anything wrong.
  http://my.so-net.net.tw/jacky0108/te.../Shot00000.jpg


notes:
== the difference between FElf_m001_t42_u_sp.dds and FElf_m001_t42_u_ori.dds is their Alpha channel, you can see it in photoshop



====================

惜缘 is the most respectable person on 99nets and what she posts are absolutely selfless and helpful. I am very honored to translate her tutorials for the greater good of humanity :P

kgptzac 08.04.2006 15:46

nonspam:

space reserved.

kgptzac 08.04.2006 16:22

edited~

kgptzac 08.04.2006 16:29

why in the name of god i can't edit? it lags out

Met45 08.04.2006 16:33

doesn't matter if u lag out, that's a pretty cool share...
looks very very cool !
thank u very much :!: :!: :!: :!:

kgptzac 08.04.2006 16:39

i tried to edit edit edit and it won't let me edit edit edit i can't throw the computer because i m @ library~~~ i'll try again at home lol it was frustrating and puctuation ftw.

Alexandros 08.04.2006 18:46

Nice one m8.However i wasnt able to download that dll :(

kgptzac 08.04.2006 21:40

http://www.hemenpaylas.com/download/...vcr71.rar.html

rehosted

kgptzac 09.04.2006 02:59

omg im done translating this... /sweat


All times are GMT. The time now is 22:24.