Jump to content

H5 NPC/ Monster Size


Finn

Recommended Posts

Is it possible to change npc / monster size? You can change it in dev mode by setting different values. But where is it defined clientside? In some dat files or is it the animation file itself? Is it possible to change them serverside?

Link to comment
Share on other sites

On server part ( I mean database or xml ) you can change the shear of npc / monster. Size of monster / npc you can change in editor ( need to edit model of monster, model is in *.ukx package ), next you can set translation of model. 

 

P.S In Lineage you can view LineageMonster.ol_mahum_warrior_50_bi on npcgrp.dat

 

_50bi => size of monster is 1.5 ( 1 = default size, 1.5 = increased by half ). bi - big, sm - small.

 

Another example:

 

LineageMonster.ol_mahum_40_sm => size = 0.4 ( ~ half at original size of npc / monster ), sm - small.

 

If you have npc / mob with style ( dat example )

 

25272    LineageMonster.ol_mahum_champion_50_bi    LineageMonsters.ol_mahum_champion_m00

 

25272- ID of monster / npc

 

LineageMonster.ol_mahum_champion_50_bi - script of npc / mob

 

LineageMonsters.ol_mahum_champion_m00 - package with model

 

If you change LineageMonster.ol_mahum_champion_50bi to LineageMonster.ol_mahum_40sm then your monster / npc will have 0.4 size at original. You can use this for all another monsters / npc, but you need to know what script use animations name ( wait, atk, walk, run ) and your npc can use ( wait_1H and etc... ) => your npc will not have anims. Try. :)

  • Like 1
Link to comment
Share on other sites

Thanks for your reply <3

 

But is it possible to do it on server side only? I remember an old c4 l2j server where they could spawn monsters in different sizes (adjustable serverside). They also had spawnable benches where people could sit on.^^

Link to comment
Share on other sites

It's client side. For spawn monster in any size you need to add him in client for 1st. Or need to use script with sizes: 0.2 0.5 0.7 1.0 1.5 and etc ( it's .u script ). Read my post #2, it's a idea.

Link to comment
Share on other sites

You can't set size at server side, only client side.

 

In server side you can mod. collision height and collision radius for mob / npc, you can edit speed, atk and etc.

 

 

P.s don't need to make another topic with this question...

Link to comment
Share on other sites

On 4/22/2018 at 4:21 AM, NevesOma said:

On server part ( I mean database or xml ) you can change the shear of npc / monster. Size of monster / npc you can change in editor ( need to edit model of monster, model is in *.ukx package ), next you can set translation of model. 

 

P.S In Lineage you can view LineageMonster.ol_mahum_warrior_50_bi on npcgrp.dat

 

_50bi => size of monster is 1.5 ( 1 = default size, 1.5 = increased by half ). bi - big, sm - small.

 

Another example:

 

LineageMonster.ol_mahum_40_sm => size = 0.4 ( ~ half at original size of npc / monster ), sm - small.

 

If you have npc / mob with style ( dat example )

 

25272    LineageMonster.ol_mahum_champion_50_bi    LineageMonsters.ol_mahum_champion_m00

 

25272- ID of monster / npc

 

LineageMonster.ol_mahum_champion_50_bi - script of npc / mob

 

LineageMonsters.ol_mahum_champion_m00 - package with model

 

If you change LineageMonster.ol_mahum_champion_50bi to LineageMonster.ol_mahum_40sm then your monster / npc will have 0.4 size at original. You can use this for all another monsters / npc, but you need to know what script use animations name ( wait, atk, walk, run ) and your npc can use ( wait_1H and etc... ) => your npc will not have anims. Try. :)

 

this is not true, just adding _xx_bi at the end WILL NOT WORK because the class IS NOT DEFINED 

ol_mahum_champion_50_bi is a separate script which has drawscale of 1.5 and is different from ol_mahum_champion

by making it to ol_mahum_champion_60_bi will not make it 60% (1.6 drawscale) because there is no class named ol_mahum_champion_60_bi



Link to comment
Share on other sites

Friend, IT'S TRUE, because it's example from Lineage 2, I mean, what if him don't know how to edit in Unreal, him can check classes in npcgrp, and if him will see ( for example _50bi or 40sm ... etc classes from npcgrp.dat ) him can use this.

 

I don't write what if him will make _10sm it will be for 0.1 size... I mean if he can't work in Unreal then him can check classes... my examples is from Lineage 2 and if him want monster at 0.4 size of original him can use this class LineageMonster.ol_mahum_40_sm and if him want what mob = 1.5 size him can use LineageMonster.ol_mahum_champion_50_bi, but need to check for animations.

 

I don't write if him will make _10sm or _70bi then him mob will have 0.1 or 0.7 size. Read correct my post. ;)

Edited by NevesOma
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Posts

    • Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11 Telegram : https://t.me/ultrastore1 Welcome to my store :  https://topestore.mysellix.io/fr/ 2015-2022 Aged Discord Account 2015 Discord Account : 50.99 $ 2016 Discord Account : 10$ 2017 Discord Account :3.99 $ 2018 Discord Account : 3.50$ 2019 Discord Account : 2.70 $ 2020 Discord Account :1.50$ 2021 Discord Account :0.99$ 2022 Discord Account :0.70$ Warranty :Lifetime Payment Methods : Crypto/ PayPal Contact Me On Discord Or Telegram Discord : @ultrasstore11
    • L2 ArenaWar: Low Rate PvP Server with Free Buffs & Autofarm [PVP]⚔️ [Free]🆓 Classic Interlude with  3x XP rates! Free starter pack(no grade) to kickstart your adventure! Autofarm for convenient grinding! Free buffs to keep you fighting fit! (2 job buffs) No experience loss on death! (Except with Karma) Clear Karma system to keep things fair! ⚖️ Active community of 800-1k players! Join our Discord to learn more! >> Discord <<     Server website: https://l2arenawar.com/en/    
    • This is dedication! 2 years working on a problem. Congratulations!
    • You indeed have to save player position over Enterworld to properly clean it up later (if you don't, even trying to delete packet content would eventually keep it up), that's what we do with debug packet (which is a reusable Map of ExServerPrimitive packets) on aCis.   It doesn't solve the FPS stuttering - more you draw/delete lines, more your client becomes laggy. It's like if client wasn't deleting drawn points/lines properly, but instead simply hide them and redrawn content above.   If you got a solution, I would happy to integrate it.   You should check aCis#Player _debug packet integration, it allows very big amount of lines/points to be drawn, it is also reusable.   https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/model/actor/Player.java?ref_type=heads https://gitlab.com/Tryskell/acis_public/-/blob/master/aCis_gameserver/java/net/sf/l2j/gameserver/network/clientpackets/EnterWorld.java?ref_type=heads  
    • we sell website templates, make websites to order. Great selection at very good prices. My contacts discord : advert1231 telegram : https://t.me/ggwpins  
  • Topics

×
×
  • Create New...