Форум администраторов игровых серверов

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Игровой клиент (https://forum.zone-game.info/forumdisplay.php?f=54)
-   -   Complete Weapon Glow Guide (https://forum.zone-game.info/showthread.php?t=7748)

CriticalError 24.04.2010 04:14

Complete Weapon Glow Guide
 
Hello,I saw that there were a couple of weapon glow guides; some very old, some only about the coloring.
In this guide Im going to try to explain Weapon glow editing as complete as possible, with step by step guide, tips and tricks, links and utilities. Now no more time wasting, let's go.

Table of contents

[COLOR EDITING + VIDEO]
[POSITIONING/SCALING OF NORMAL GLOW + VIDEO]
[GLOWLIST + EXPLANATION]

[COLOR EDITING]

Video guide:

http://www.youtube.com/watch?v=Q5JPG...layer_embedded

Detailed guide:

EnchantEditor

1 - Good to be the first thing to do is get off this program with which to open the file may env.int what can be downloaded from here

For Interlude:

L2 FileEdit C5-C6

2 - Open L2 File edit give "Open and decrypt" then look for the directory where you have your folder system would default c:\program files\Lineage II\system

3 - Then open the file env.int once done seek these lines

[EnchantEffect]
CubeTexName=LineageEffectsTextures.Etc.Enchant_Aur a001_Shader01
HeroWeaponTex=LineageEffectsTextures.Hero.Hero_Aur a001_Shader01
HeroAuraTex=LineageEffectsTextures.Hero.Hero_Aura0 00_Shader00
EnchantMeshShow=4
EnchantEffectShow=7

Enchant0=(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacity =0.1,Num=0.1)
Enchant1=(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacity =0.1,Num=0.1)
Enchant2=(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacity =0.1,Num=0.1)
Enchant3=(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacity =0.1,Num=0.1)

4 - The lines of "Enchant0=(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacit y=0.1,Num=0.1)" are the colours of weapons, in "Enchant?=

(R1=0,G1=10,B1=20,R2=0,G2=0,B2=30,Opacity=0.1,Num= 0.1) " i interrogation where the [?] is where you have to put the number corresponding to the number of enchants

5 - These are the colors with their corresponding lines

-Blue (normal)
Enchant?=(R1=0,G1=30,B1=255,R2=0,G2=40,B2=215,Opac ity=1,Num=1)

-Red (normal)
Enchant?=(R1=255,G1=255,B1=255,R2=230,G2=230,B2=22 5,Opacity=1,Num=1)

-Yellow/Orange (alternating)
Enchant?=(R1=255,G1=51,B1=0,R2=255,G2=153,B2=0,Opa city=0.7,Num=1)

-White/violet (alternating)
Enchant?=(R1=255,G1=255,B1=255,R2=250,G2=100,B2=20 0,Opacity=1,Num=1)

-Green
Enchant?=(R1=80,G1=255,B1=0,R2=0,G2=255,B2=80,Opac ity=0.8,Num=1)

-yellow
Enchant?=(R1=200,G1=255,B1=120,R2=250,G2=180,B2=85 ,Opacity=0.8,Num=1)

-white/blue (very good)
Enchant?=(R1=18,G1=18,B1=194,R2=7,G2=7,B2=163,Opac ity=1.025,Num=12.5)

-white
Enchant?=(R1=251,G1=251,B1=251,R2=251,G2=251,B2=25 1,Opacity=1,Num=13)

6 - Putting lines where the interrogation [?] enchants the number of which will belong to the color (they can be repeated or combine to taste admin) aLL out

7 - When this all ready and already have the colors you want to do this then put "Save and encrypt" and is ready and save it codificaion "111" enjoy Cheesy


If you want to a certain number of enchants only shine a color here is the solution

Putting the lines in which according to the number enchants varieties of the color of the weapon

If you want that from this number to 65535 (Maximo) shine with a single color add, if not you have a last line separated from the others, with color and without number enchant

Example:
Enchant45=(R1=480,G1=480,B1=446,R2=290,G2=290,B2=2 56,Opacity=1.025,Num=14.5)
[blank line]
Enchant=(R1=18,G1=18,B1=194,R2=7,G2=7,B2=163,Opaci ty=1.025,Num=12.5)

And it is ready to enjoy

all that we have to mix colors and which leave no? eh eh therefore expensive here:''R''in maximum and minimum = 255 = 0 you put the quantity of each color

you want to be seen pj =

(R1=255,B1=255,G1=255)

R1=cantidad de rojo R2=amount of red (in the seconds brightness)
B1=cantidad de azul B2=amount of blue (in the seconds brightness)
G1=cantidad de verde G2=amount of green (in the seconds brightness)

by CriticalError

TIP: Before you encrypt and save it, set these values to 0 for the next parts of the guide:
EnchantMeshShow=0
EnchantEffectShow=0

[POSITIONING/SCALING OF NORMAL GLOW]

Most weapons in Lineage 2 have a good positioning and scale of the glow already, but when you make a custom weapon, or want to fix for example the monster only weapons (from which the glows mostly suck) then here's a guide to do so.

Video guide:

http://www.youtube.com/watch?v=r5q0O...layer_embedded

Detailed guide:

1 - With your L2 file edit Open and Decrypt weapongrp.dat

2 - For this guide we are going to edit the Dusk sword from Lilith's Escort. I just searched the weapon ID in my database, it's 5800. So in the decrypted and openend weapongrp.dat Im going to search the weapon with ID 5800

3 - Copy the entire line, go to the bottom of the file and paste it there, and change the ID to, whatever, 66660 (can be any number that isn't used by an existing weapon already)

4 - Scroll to the left until you find these numbers:

Код:

1000        0        -1        0                        0.00000000        0.00000000        0.00000000        1.00000000        1.00000000                               

                LineageWeapons.rangesample                1.00000000        1.00000000        1.00000000        0.00000000        0.00000000        0.00000000

The first four numbers aren't very special: curvature, UNK_4, is_hero and UNK_5. Only is_hero is quite handy: if you set this to 1 (instead of the default -1) the special effect is directly visible, even though the weapon isn't enchanted +7.

Then we got two blank spaces; there you put in the special glow effect of the first weapon, and the special glow effect of the 2nd weapon if it is a dual type of weapon.

Then we got a row of digits with very big significance, all for the positioning and scaling of the special glow effect, and next to it 5 blank spaces for the 2nd weapon if it is a dual. These I explain in next part of the guide below.

LineageWeapons.rangesample; it's the glow model, just leave it as it is. Then blank space for 2nd weapon glow model.

Now what it's all about. Again numbers with big significance. The first three are for scaling in x,y and z direction, the last three are for positioning in the x,y and z direction.

I numbered them from *1 to *6. At the following screens I have set the named number to a high value, so you can see what happens:

http://i89.servimg.com/u/f89/11/39/87/02/110.jpg

http://i89.servimg.com/u/f89/11/39/87/02/210.jpg

http://i89.servimg.com/u/f89/11/39/87/02/310.jpg

http://i89.servimg.com/u/f89/11/39/87/02/410.jpg

http://i89.servimg.com/u/f89/11/39/87/02/510.jpg

http://i89.servimg.com/u/f89/11/39/87/02/610.jpg

5 - So now we know what is for what, for this guide Im want to edit the glow so that only the blade glows, and also not too excessive.

Now here is the best tip and utility of the entire guide: the Dev console. It is way quicker to check your glows and edited weapons and customize them than starting up the client and logging in etc.

L2 Developer Console

So, usually the glow at this weapon is just a little orb, just above the hand of the wielder, so first I gonna put it a little higher above the hand, where the blade begins, by setting *4 (the 4th number) to 18.00000000.

I also want to have the glow go over the entire blade, so I set *1 to 2.50000000.

Finally I want the glow to be a bit 'thinner', so I set *2 and *3 both to 0.75000000. These values are all just wild guesses. If you really want to perfectionate your glows you probably gonna try lots of different combinations, keep save and encrypting them and testing them in the Dev console.

TIP: If you really have no clue of what these values should be, it is quite handy to copy the weapon (so the entire line) a couple of times, change the ID's of course, and change the values of the positions and scalings, so you can test more values at once.

6 - Save and Encrypt my weapongrp.dat; if you might get an error here it is quite annyoing, because you mostly won't figure out where exactly you might have overwritten a blank space or something, so you best can copy the weapons (ID 5800) again, remove the old one(s) and change the values again carefully.

Start up the Dev console, hit the Tab button on your keyboard, type pv, hit Enter and the Pawnviewer window will pop-up. Select the blank tab left from Etc tab and scroll down to the bottom where your weapons are and check the glows. If you don't see the glow, you should set the EnchantMeshShow=0 in env.int file. Here is my glow now.

http://i89.servimg.com/u/f89/11/39/87/02/shot0035.jpg

7 - Im not very happy with it yet: the glow could be a little lower (more towards the hand of the wielder), a little 'thinner'; it is still quite wide, and it still doesnt go over the entire blade yet.

So in File edit open up weapongrp.dat again, scroll to bottom, scroll left to our numbers, there I see I totally forgot to change *2 and *3, I only told here ><, so I just set them to 0.75000000 as I stated above.

Im not really sure what I should put at *1 now, so Im gonna make a second weapon, change it's Id to 66661 or something. At the first I set *1 to 3.00000000

and at the 2nd I set *1 to 2.75000000. I neither know what to put at *4, so I copy/paste them both (66660 and 66661) change the ID's (66662 and 66663). At the first two I set *4 to 17.50000000 and the last two I set *4 to 17.00000000.

Save and encrypt, Dev console etc. and now 66661 seems perfect:

http://i89.servimg.com/u/f89/11/39/87/02/shot0036.jpg

Only still a little wide, so Ill just delete the others (66660, 66662 and 66663), copy/paste 66661 twice and change ID's to 66660 and 66662.

Change *2 and *3 at the first to 0.70000000, at the other to 0.600000000 and at the final to 0.500000000. Save encrypt, Dev console, and now the last one is almost perfect, so Ill just delete the others and set 2* and 3* to 0.450000000, Save encrypt, Dev console, and now, the final version:

http://i89.servimg.com/u/f89/11/39/87/02/shot0037.jpg

Here the numbers:

Код:

LineageWeapons.rangesample                2.52500010        0.44999999        0.44999999        18.95000076        0.00000000        0.00000000
Of course, this glow is now edited to my liking: perhaps you only want it to have the glow at the wielders hand, or rather have it more wide, or whatever.


[POSITIONING/SCALING OF SPECIAL GLOW]

Video Guide:

http://www.dailymotion.com/swf/x9tjuy

Result of the Video:

Код:

0        66666        1        1        7        10        0        LineageWeapons.Mon_lidia_von_helmann_sword_m00_wp                        LineageWeaponsTex.Mon_lidia_von_helmann_sword_t00_wp                                0        0        0        0        0        1        0        0        icon.weapon_monster_i00                                        -1        1560        51        0        0        0                1                27        1        1        LineageWeapons.Mon_lidia_von_helmann_sword_m00_wp                1                1        LineageWeaponsTex.Mon_lidia_von_helmann_sword_t00_wp                                4        ItemSound.public_sword_shing_8        ItemSound.sword_big_2        ItemSound.sword_small_3        ItemSound.sword_great_4        ItemSound.itemdrop_sword        ItemSound.itemequip_sword                10        0        0        1        0        8        0        0        0        0        379        0        2        2        1000        0        -1        0        LineageEffect.w_vari_r4_004_a                1.50000000        0.00000000        0.00000000        1.10000002        1.50000000                                                LineageWeapons.rangesample                1.20000005        0.32499999        0.34999999        18.50000000        0.00000000        0.00000000                                                        -1        -1        -1        -1
Detailed Guide:

What's a weapon without an awesome looking, bad ass glow ^^

Again we gonna take the Dusk weapon, from which the normal glow is nicely edited now.

1 - Open up weapongrp.dat, look for the weapon with ID 5800, copy it and paste at the bottom of the file and change the ID to 66660 or w/e (or if you still have the item from the previous part of the guide, just skip this step.)

2 - Scroll to the left, untill you find these numbers:

Код:

1000        0        -1        0                        0.00000000        0.00000000        0.00000000        1.00000000        1.00000000                               

                LineageWeapons.rangesample

3 - Again, the first 4 numbers of this quote don't do very much, but then the two blank spaces; we now only use the first one, as the 2nd one is for the 2nd weapon if it is a fist or dual weapon.

We have a couple of option to put in there, and in fact one of the reasons I made this guide, is because I just figured more different special glows. For now, we just go the standard one. At the bottom of this guide I got a couple of interesting glows listed.

The code for the glow on a single handed sword is LineageEffect.c_u004. So just put it there and it looks like this:

Код:

1000        0        -1        0        LineageEffect.c_u004                0.00000000        0.00000000        0.00000000        1.00000000        1.00000000               

                                LineageWeapons.rangesample

4 - Now the big digits again. At the Special glows, it is the other way around from the normal glows: the first three are for positioning, and the last two are for scaling. I numbered them from ^1 to ^5 again, and here are the screens:

http://i89.servimg.com/u/f89/11/39/87/02/111.jpg

http://i89.servimg.com/u/f89/11/39/87/02/211.jpg

http://i89.servimg.com/u/f89/11/39/87/02/311.jpg

http://i89.servimg.com/u/f89/11/39/87/02/411.jpg

http://i89.servimg.com/u/f89/11/39/87/02/511.jpg

5 - Unlike the previous part of the guide, with the normal glow, Im not going through step by step what values I put and go wrong. And the glows also are not like eachother: If I put the fixed values of the normal glow here, it doesnt work like that.

First figuring what I want to change: put the glow a little higher and make it go over the entire blade. So I have been tweaking for a while and here are my values + screen of the end result, together with the glow from the first part:

http://i89.servimg.com/u/f89/11/39/87/02/shot0044.jpg

Код:

LineageEffect.c_u004                8.00000000        0.00000000        0.00000000        1.00000000        3.75000000
I also made another with blue augment glow, here the stuff:

http://i89.servimg.com/u/f89/11/39/87/02/shot0043.jpg

Код:

LineageEffect.w_vari_b4_004_a                3.00000000        0.00000000        0.00000000        1.00000000        6.50000000
[GLOWLIST]

I will keep making updates of this list, because Im still figuring out new glows, and I will also add screens.

000 = Two handed sword
001 = Fists
002 = Dagger
003 = Bow
004 = One handed Sword
005 = Blunt
006 = Ancient Sword
007 = Polearm / Staff
008 = Bow
009 = Crossbow
010 = Rapier

For hero glow:
_a = One handed Sword
_b = Two handed sword
_c = One handed fight blunt
_d = One handed mage blunt
_e = Two handed fight blunt
_f = Two handed mage blunt
_g = Dagger
_h = Fists
_i = Bow
_j = Dualsword
_k = Pole
_l = Rapier
_m = Ancient sword
_n = Crossbow

001 = Not sure if it is like orange. Needs testing.

The Basic Flame LineageEffect.c_u000

http://i89.servimg.com/u/f89/11/39/87/02/c_u00410.jpg

Augment Blue Effect LineageEffect.w_vari_b4_000_a

http://i89.servimg.com/u/f89/11/39/87/02/w_vari10.jpg

Augment Red Effect LineageEffect.w_vari_r4_000_a

http://i89.servimg.com/u/f89/11/39/87/02/w_vari11.jpg

Hero weapon Glow LineageEffect.e_u092_a

http://i89.servimg.com/u/f89/11/39/87/02/e_u09210.jpg

Akamanah weapon effect LineageEffect.e_u540_aka_c

http://i89.servimg.com/u/f89/11/39/87/02/e_u54010.jpg

Akamanah weapon 2nd effect LineageEffect.e_u540_manaf_c

http://i89.servimg.com/u/f89/11/39/87/02/e_u54011.jpg

Zariche Weapon Effect LineageEffect.it_zariche_sword_c

http://i89.servimg.com/u/f89/11/39/87/02/it_zar10.jpg

Dark Heriosh Glow LineageEffect.rm_self_blaster_body_b

http://i89.servimg.com/u/f89/11/39/87/02/rm_sel10.jpg

Body Hero Glow LineageEffect.e_u091_hero_a OR LineageEffect.e_u091_aura

[img]http://i89.servimg.com/u/f89/11/39/87/02/e_u09110.jpg]LineageEffect.e_u091_hero_a OR LineageEffect.e_u091_aura[/url]

Caravan Fire Glow LineageEffect.e_u840_caravan

http://i89.servimg.com/u/f89/11/39/87/02/carava10.jpg

Credits to Dvtm

NEW*Energy Orb Glow LineageEffect.br_e_u001_energy

http://i89.servimg.com/u/f89/11/39/87/02/energy10.jpg

NEW*Ice Fairy Glow LineageEffect.bo_ice_fairy_co

http://i89.servimg.com/u/f89/11/39/87/02/fairyi10.jpg

NEW*Poison Flow Glow LineageEffect.e_u327_fl

http://i89.servimg.com/u/f89/11/39/87/02/poison10.jpg

NEW*Purple Heriosh Glow LineageEffect.bo_self_blaster_a

http://i89.servimg.com/u/f89/11/39/87/02/selfbl10.jpg

[CREDITS]

Credits to CriticalError
For first part of the guide and sharing the EnchantEditor utility

Credits to Corvine
For creating Test files

Credits to palentir
For Sharing the system with test files for Part 2

Credits to LauQ
For making this guide

Array 24.04.2010 07:34

Re: Complete Weapon Glow Guide
 
CriticalErro, thx you for this guide, it`s really detailed and useful.
So I think it should be tranleted normally :)
Cuz it`s rather funny to read sometimes :)

You`re from Argentina?
So, you`ll have fun too, just read it:

CriticalErro, gracias por esta gu&#237;a, muy completo y &#250;til.
As&#237; que creo que deber&#237;an traducirse normalmente:)
Porque es bastante divertido de leer a veces:)

CriticalError 24.04.2010 08:27

Re: Complete Weapon Glow Guide
 
Цитата:

Сообщение от Array (Сообщение 65419)
CriticalErro, thx you for this guide, it`s really detailed and useful.
So I think it should be tranleted normally :)
Cuz it`s rather funny to read sometimes :)

You`re from Argentina?
So, you`ll have fun too, just read it:

CriticalErro, gracias por esta gu&#237;a, muy completo y &#250;til.
As&#237; que creo que deber&#237;an traducirse normalmente:)
Porque es bastante divertido de leer a veces:)

xaxa well thanks a lot for comment and yes I'm from Argentina, sorry for translations... I know is bad translated but don't know can post only in English here anyway bb

Array 24.04.2010 08:52

Re: Complete Weapon Glow Guide
 
Цитата:

Сообщение от CriticalErro (Сообщение 65423)
xaxa well thanks a lot for comment and yes I'm from Argentina, sorry for translations... I know is bad translated but don't know can post only in English here anyway bb

Don`t apologize, in any way it`s a good guide,
so I`ll try to translate it more correctly to do you guide better, ok?)

CriticalError 24.04.2010 09:53

Re: Complete Weapon Glow Guide
 
Цитата:

Сообщение от Array (Сообщение 65426)
Don`t apologize, in any way it`s a good guide,
so I`ll try to translate it more correctly to do you guide better, ok?)

ok don't worry but translators are very bad to russian :S anyway trying do my best :D

Array 08.05.2010 23:55

Re: Complete Weapon Glow Guide
 
Прошу модераторов этого раздела - Tonchi, Devilop, Ozzy исправить гайд CriticalErro
Так как русский вариант практически нечитабелен :confused:
Вот более менее нормальный перевод - перевод.txt

UFODriverr 22.05.2010 17:47

Re: Complete Weapon Glow Guide
 
Былоб зорошо елсиб еще написали как пользоваться консолью. Ибо я уже все перетыкал но ничег оникак сделать не могу

Array 05.11.2010 13:58

Re: Complete Weapon Glow Guide
 
Вредина Dump удалил перевод.

weTr1k 07.11.2010 04:04

Re: Complete Weapon Glow Guide
 
перезалей перевод

WorldO 11.05.2016 15:21

Re: Complete Weapon Glow Guide
 
As&#237; que creo que deber&#237;an traducirse normalmente
Porque es bastante divertido de leer a veces????


Текущее время: 15:40. Часовой пояс GMT +3.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd. Перевод: zCarot