Jump to content

Recommended Posts

Posted

I have successfully converted most of the C6 textures to work with a C1 client, but what I am missing is a lot of TexEnvMap classes.

 

For example, a Shader will have them defined as such:
 

Diffuse = Texture'LowBody.MShaman_m002_t59_l_ori'
NormalMap = None
Opacity = Texture'LowBody.MShaman_m002_t59_l_ori'
Specular = TexEnvMap'LowBody.TexEnvMap1'
SpecularityMask = Texture'LowBody.MShaman_m002_t59_l_sp'
SelfIllumination = None
SelfIlluminationMask = None
Detail = None
DetailScale = 8
OutputBlending = OB_Normal (0)
TwoSided = true
Wireframe = false

 

But I can not find any reference to it anywhere. If I export them using the Gildor's exporter, it will generate some files, but they are either empty or encrypted. Am I even supposed to use TexEnvMap  for D-A grade armors? I also looked in cubemaps and goldcubes.

 

Also off topic question, some armors, like Majestic Plate will have OutputBlending set to OB_Normal (0) in the exported settings, but will only work correctly once you either set a Final Blend or set it to OB_Masked. I also noticed that Doom Plate pants will have twosided set to false, but C6 client still displays them correctly, while C1 doesn't. Can anyone offer some explanation? 

Posted (edited)
2 hours ago, CriticalError said:

as you answered yourself, many armor, weapons, accessories do not have mapping and use textures added either sp2 or finalblend.

 

So is the "Specular = TexEnvMap'LowBody.TexEnvMap1'" basically just a placeholder? I'm trying to guess the reasoning for its inclusion?

 

I guess it is kind of like how the Tallum/Majestic, etc. plate have included the whole "dream catcher" mesh, but the devs never bothered to include a texture?

unknown.png

 

One last thing if you can. Do you know what's the difference between using a Shader with OB_Masked or Final Blend with FB_AlphaBlend? I'm guessing that FB_AlphaBlend is more resource heavy, but that hardly matters in 2020? I can for example achieve the same visual result, at least as far as I can tell, with either, but OB_Masked seems a lot easier to set.

Edited by Orphexile
Posted (edited)

  

12 hours ago, Orphexile said:

 

So is the "Specular = TexEnvMap'LowBody.TexEnvMap1'" basically just a placeholder? I'm trying to guess the reasoning for its inclusion?

 

I guess it is kind of like how the Tallum/Majestic, etc. plate have included the whole "dream catcher" mesh, but the devs never bothered to include a texture?

unknown.png

 

One last thing if you can. Do you know what's the difference between using a Shader with OB_Masked or Final Blend with FB_AlphaBlend? I'm guessing that FB_AlphaBlend is more resource heavy, but that hardly matters in 2020? I can for example achieve the same visual result, at least as far as I can tell, with either, but OB_Masked seems a lot easier to set.

 

it could be called something like that

 

well as far remember the result is same but you can play with effect of ilumination in the map, maybe wrong but remember like that.

Edited by CriticalError
Posted (edited)
1 hour ago, CriticalError said:

  

 

it could be called something like that

 

well as far remember the result is same but you can play with effect of ilumination in the map, maybe wrong but remember like that.

Do you know where _bh (back head) animations/textures are defined? It's not under chargrp. Hairgrp perhaps, but it's encrypted in some weird format? 

Edited by Orphexile
Posted

Specular = TexEnvMap'LowBody.TexEnvMap1'

In the same package MShaman.utx

 

And you have something like this:

 

    EnvMapType = EM_CameraSpace (1)
    TexCoordSource = TCS_CameraEnvMapCoords (11)
    TexCoordCount = TCN_3DCoords (1)
    TexCoordProjected = false
    Material = Texture'Shine.Shine0' <---- CUBEMAPS.UTX
    FallbackMaterial = None
    DefaultMaterial = None
    SurfaceType = 0
    bUseTextureAsHeat = false
    HeatMaterial = None
with L2PE you can see

 

21 hours ago, Orphexile said:

One last thing if you can. Do you know what's the difference between using a Shader with OB_Masked or Final Blend with FB_AlphaBlend? I'm guessing that FB_AlphaBlend is more resource heavy, but that hardly matters in 2020? I can for example achieve the same visual result, at least as far as I can tell, with either, but OB_Masked seems a lot easier to set.

https://docs.unrealengine.com/udk/Two/MaterialTutorial.html

 

Posted
1 hour ago, SGER@fjs said:

Specular = TexEnvMap'LowBody.TexEnvMap1'

In the same package MShaman.utx

 

I was asking, because this is what gets extracted when I run the UModel tool from Gildor:
Untitled.jpg

 

If I use Gildor's Extractor tool, then the list is much larger, but the files seem to be encoded:
Untitled.jpg

Posted
13 hours ago, Orphexile said:

 

I was asking, because this is what gets extracted when I run the UModel tool from Gildor:
Untitled.jpg

 

If I use Gildor's Extractor tool, then the list is much larger, but the files seem to be encoded:
Untitled.jpg

TexEnvMap is a modifier, not texture.

with umodol only can export the properties

https://docs.unrealengine.com/udk/Two/MaterialsModifiers.html

Posted (edited)

Yeah, the thing is that it doesn't, not all of them anyway. I can export about 8 of of the 60+ TexEnvMap modifier properties, so everything in between is just guessing which Specular Texture to match. I talked to GIldor about it and he confirmed it, here is his reply: "Ok, then I understood things right, as I mentioned in previous message - there's no link between cubemap and its 6 textures. Probably because UE3 and UE4 has perfect matching - there will be a folder with cubemap's name, and it will contain those 6 textures. It seems this doesn't work for UE2, and I can't do anything to fix at ATM."

Edited by Orphexile
Posted

read specular and specularitymask https://docs.unrealengine.com/udk/Two/MaterialsShaders.html#Specular

 

Specular

With this, you can blend an EnvironmentMap on the Shader: set a TexEnvMap texture in Specular and the Shader will look shiny.

You can also add a SpecularityMask, this is a texture with an alphachannel, or a masked texture, that tells how shiny the Shader has to be in each pixel. The black parts of the alphachannel leave it mat, and the white parts become the shiniest. Of course, the SpecularityMask doesn't do anything if you didn't set a TexEnvMap in Specular.

This is a Shader with Specularity on it, and the SpecularityMask is a white alphachannel with a black circle in it:

specular.jpg

SpecularityMask

This Material is used in conjunction with the texture assigned to the Specular field. The SpecularityMask uses the alpha channel of whatever texture or Material that is assigned to it and uses it as a mask for the Specular field.

Posted (edited)

@SGER@fjsIn my specific problem, I am trying to port the C6 textures into a C1 client and keep them as authentic as I possibly can, so knowing which of the textures included in the Cubemap textures to include is "vital". 

 

I have a feeling that we are not on the same page.

 

1. MShaman gets exported into 338 .tga textures (C6)

2. The MShaman\TexEnvMap only incudes 4 TexEnvMap properties, for .tga Specular textures that are included in the MShaman package, so:

- t_ma.tga
-t_maj.tga

-t_wedd.tga

3. For every other .tga texture, you only get a Shader property in MShaman\Shader with a, for example: "Specular = TexEnvMap'UpBody.TexEnvMap56'" declaration, but no TexEnvMap56 file in the  MShaman\TexEnvMap folder (Because Gildor's tool can't generate TexEnvMap properties for textures outside the package - Cubemaps.utx)

 

Is the "trick" to always include the "Shine0" one when setting a Specular, because I have a metric tonne of Specular textures? But then again, I can't imagine an item like Demon's Robe having the same Specular texture as Doom Plate, because one is a robe and the other is plate?
 

Untitled.png

Edited by Orphexile
Posted
2 minutes ago, Orphexile said:

@SGER@fjsIn my specific problem, I am trying to port the C6 textures into a C1 client and keep them as authentic as I possibly can, so knowing which of the textures included in the Cubemap textures to include is "vital". 

 

Is the "trick" to always include the "Shine0" one when setting a Specular, because I have a metric tonne of Specular textures?
 

Untitled.png
 

no, that will depend on the texture you want to add the specular

 

In the case of "MShaman_m002_t59_l_ori" you have "Specular = TexEnvMap'LowBody.TexEnvMap1 '", then when you export with the umodel you must look specifically for "TexEnvMap1" which would be the file TexEnvMap1.props.txt, and inside this it will tell you corresponding texture to use.

 

In short it would be:

http://www.mediafire.com/convkey/0eb8/61rnsiahvd6yhcszg.jpg

 

In the case of the draconic:

http://www.mediafire.com/convkey/efc7/p4lzb51aw2bfx0xzg.jpg

 

Posted (edited)

Sorry, could you double check this file, I want to confirm that I'm not crazy and C6 doesn't include most of the TexEnv%%props.txt files.

 

This is what gets exported for me using umodel: Untitled.jpg

 

MShaman.utx from a fresh install (C6): https://gofile.io/d/qu20bz

 

Worse case scenario, I'll just pull textures out of Gracia Final, or a later chronicle.

Edited by Orphexile
Posted

I recommend that you use the umodel in the same game folder and export, like this:

AWU5oFL.jpg

Otherwise you will have the problem you mention, since the umodel cannot find the reference of the textures, then it will not export the information.

  • Like 1
Guest
This topic is now closed to further replies.


  • Posts

    • I'm using Myext64 HF and recently tried to replicate the "br_xmas09_event" Raising Rudolph Event. Detailed event information can be found at https://legacy-lineage2.com/news/_rudolf_the_red.html After configuring .eventdata.xml and starting the server, t  server log shows: 12/02/2025 15:39:01.809, [NO_ERROR] SpawnEx2 [br_xmas2009_invisible][schuttgart20_npc2213_xs03m1] [1][0][0][0][0][346796390] 12/02/2025 15:39:02.057, DummyPacket received from L2Server 12/02/2025 15:39:02.058, server socket close 312ac(f0820224) error(997) 12/02/2025 15:39:02.058, [CallStack][tid:0][tick:2][0] Begin 12/02/2025 15:39:02.058, [CallStack][tid:0][tick:2][1][0] void __cdecl IOThreadCallback::IOThread_common(void) 12/02/2025 15:39:02.059, [CallStack][tid:0][tick:2][2][1] void IOThread_common 1 12/02/2025 15:39:02.059, [CallStack][tid:0][tick:2][3][2] void __cdecl CIOSocketEx<class CIOBufferEx<16384> >::Close(void) 12/02/2025 15:39:02.059, [CallStack][tid:0][tick:2][4][3] void __cdecl CServerSocket::OnClose(void) 12/02/2025 15:39:02.059, [CallStack][tid:0][tick:2][5] End l2server log: 12/02/2025 15:39:02.112, npc server closed(127.0.0.1) error: 64 read buffer size: (server:0 npc:0) 12/02/2025 15:39:02.112, [NO_ERROR] L2Server is under protection mode!!! 12/02/2025 15:39:02.112, [NO_ERROR] L2Server is under protection mode!!! 12/02/2025 15:39:02.112, [NO_ERROR] L2Server is under protection mode!!! 12/02/2025 15:39:02.131, dwTime[0] < 80 !!!!!!! 12/02/2025 15:39:02.131, [CallStack][tid:7][tick:1][0] Begin 12/02/2025 15:39:02.132, [CallStack][tid:7][tick:1][1][0] void __cdecl IOThreadCallback::IOThread_common(void) 12/02/2025 15:39:02.132, [CallStack][tid:7][tick:1][2][1] void IOThread_common 1 12/02/2025 15:39:02.132, [CallStack][tid:7][tick:1][4][3] void __cdecl NpcSocket::OnClose(void) 12/02/2025 15:39:02.132, [CallStack][tid:7][tick:1][3][2] void __cdecl CIOSocketEx<class CIOBufferEx<16384> >::Close(void) 12/02/2025 15:39:02.132, [CallStack][tid:7][tick:1][5] End 12/02/2025 15:39:31.767, server closed(127.0.0.1) Error: 64 Read buffer size: (server:0 npc:0) 12/02/2025 15:39:31.768, [NO_ERROR] Logout All Characters : 1   The NPC server sent a packet to the L2 server while generating the br_xmas2009_invisible game NPC server, and the NPC server subsequently crashed.     After some digging, I found a clue in a very old MXC post, but the fix was for the GF version. The whole problem is in l2server side support for NPC function CreateOnePrivateNearUser. It sends CreatePacket but Koreans made some changes in it (added instance ID) so it got broken. As Santa event is the only AI that uses this function, they probably don't know about it    So is there a way to fix this problem, specifically for Myext64 HF? I'd be happy to buy him coffee. set_compiler_opt base_event_type(@NTYPE_NPC_EVENT) class ai_br_vital_manager : default_npc { parameter: int br_vitality2010_EVENT_ID = 20108888; handler: EventHandler CREATED() { } EventHandler TALKED(talker) { ShowPage(talker, "br_vi_stevu001.htm"); super; } EventHandler GIVE_EVENT_DATA(talker, i0, i1, i2, i3, i4) { i3 = i2 / 3600; i2 = i2 - i3 * 3600; i4 = i2 / 60; i2 = i2 - i4 * 60; if (i1 == 20108888) { if (i0 == 1) { CastBuffForQuestReward(talker, @s_br_vitality_day_1); CastBuffForQuestReward(talker, @s_br_vitality_day_2); ShowPage(talker, "br_vi_stevu002.htm"); } else { ShowPage(talker, "br_vi_stevu003.htm"); } } } EventHandler MENU_SELECTED(talker, ask, reply, c0) { if (ask == 50021) { select (reply) { case 1: CanGiveEventData(talker, 20108888); break; case 2: if (talker.level <= 75) { ShowPage(talker, "br_vi_stevu005.htm"); } else if (IsInCategory(@fighter_group, talker.occupation)) { CastBuffForQuestReward(talker, @s_wind_walk_for_newbie); CastBuffForQuestReward(talker, @s_shield_for_newbie); CastBuffForQuestReward(talker, @s_magic_barrier_for_adventurer); CastBuffForQuestReward(talker, @s_bless_the_body_for_newbie); CastBuffForQuestReward(talker, @s_vampiric_rage_for_newbie); CastBuffForQuestReward(talker, @s_regeneration_for_newbie); CastBuffForQuestReward(talker, @s_haste_for_adventurer); ShowPage(talker, "br_vi_stevu006.htm"); } else if (IsInCategory(@mage_group, talker.occupation)) { CastBuffForQuestReward(talker, @s_wind_walk_for_newbie); CastBuffForQuestReward(talker, @s_shield_for_newbie); CastBuffForQuestReward(talker, @s_magic_barrier_for_adventurer); CastBuffForQuestReward(talker, @s_bless_the_soul_for_newbie); CastBuffForQuestReward(talker, @s_acumen_for_newbie); CastBuffForQuestReward(talker, @s_concentration_for_newbie); CastBuffForQuestReward(talker, @s_empower_for_newbie); ShowPage(talker, "br_vi_stevu007.htm"); } break; case 3: c0 = GetSummon(talker); if (talker.level <= 75) { ShowPage(talker, "br_vi_stevu011.htm"); } else if (IsNullCreature(c0) == 0 && IsInCategory(@summon_npc_group, c0.class_id) && IsInCategory(@pet_group, c0.class_id) == 0) { CastBuffForQuestReward(c0, @s_wind_walk_for_newbie); CastBuffForQuestReward(c0, @s_shield_for_newbie); CastBuffForQuestReward(c0, @s_magic_barrier_for_adventurer); CastBuffForQuestReward(c0, @s_bless_the_body_for_newbie); CastBuffForQuestReward(c0, @s_vampiric_rage_for_newbie); CastBuffForQuestReward(c0, @s_regeneration_for_newbie); CastBuffForQuestReward(c0, @s_bless_the_soul_for_newbie); CastBuffForQuestReward(c0, @s_acumen_for_newbie); CastBuffForQuestReward(c0, @s_concentration_for_newbie); CastBuffForQuestReward(c0, @s_empower_for_newbie); CastBuffForQuestReward(c0, @s_haste_for_adventurer); ShowPage(talker, "br_vi_stevu009.htm"); } else { ShowPage(talker, "br_vi_stevu010.htm"); } break; } } } } Another one is about the " br_vitality2010_event event".   GIVE_EVENT_DATA is likely the only one in the activity AI script that uses this handle.      
    • Offtopic, personal attacks, probably too old to use that much memes and what's YOUR actual contribution to L2J, in order I laugh aswell ?   The main poster quotes my pack so I answer accordingly, while you advertise L2JFrozen in both of your posts - discontinued since 2014 (? 1132 rev), with none taking back the open source lead while anyone could.   If you're somewhat affiliated to hopzone, you probably packed way more money than me. Packs don't make any type of money (barely 100e/month) and if you would follow me, you would know there are ways to handle it or even getting paid.   Hope I was short enough, 🧂🤡.
    • Hi guys, this is a CMS im sharing for lineage 2 servers, im tired of the crap i see on new release servers. Dont let me start on the IA developed ones lmao.   📋 Description Free and open source template to create landing pages for Lineage 2 private servers. Designed with a dark fantasy theme and modern animations. ✨ Current Features This FREE version includes: Complete Landing Page - Professional design ready to use Multi-language Support - Spanish, English, Portuguese Dark Fantasy Theme - With animated UI elements Server Information - Rates, features, and rules Olympiad Ranking - Rankings display Download Section - For game client Skins and Animations Gallery Streaming Widget - Twitch/Kick integration Fully Customizable - Via configuration files ❌ Not Included in Free Version ❌ User Registration System ❌ Online Players Counter ❌ Donation Panel 💎 Premium Integrations IntegrationPrice Registration System $50 USD Online Players Counter $50 USD Donation Panel $50 USD   📧 Contact: https://gh0tstudio.com 🛠️ Tech Stack Technology    Version    Description React              19.2.0       UI Library TypeScript       5.8.2        Static typing Vite                 6.2.0         Build tool TailwindCSS   CDNCSS    Framework Lucide React   0.554.0         Icons i18next           23.16.0       Internationalization react-i18next   15.1.0        React bindings for i18n All documentation provided for AI AGENTS to make changes on the ui texts and so on. u can have a look on the cms fully working with donation panel, online count and register via: https://crmlineage2.vercel.app/ https://github.com/6h0T/CRM-LINEAGE2-FREE If u are in the lookings to develop a unique website for ur projects, u can dm me or contact me throw my socials on my profile. all code has encrypted references so any type of rebranding, copying or selling without authorization will result in take downs
    • Hello dude, i can help u out, i reached to u via DM, my studio is https://gh0tstudio.com i have worked with almost 40 brands on developing Private Lineage and Mu online servers, dashboard for vote pages and more. I sent u some examples too
    • L2 TARTARUS - HTML DESIGN       L2 KOMBAT - ANIMATED BORDER   L2 SERENITY - ANIMATED LOGO   L2 ARCANE - COMMUNITY BOARD     L2 AMERIKA - ADVERTISING BANNER   L2 ZERON - ADVERTISING BANNER  
  • Topics

×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock