L2JMobius

Public Development => General Discussion => Topic started by: tuannguyen on December 10, 2016, 03:52:04 PM

Title: Edit file config
Post by: tuannguyen on December 10, 2016, 03:52:04 PM
Hi Mobius!
I have two issues to ask Mobius:

1. How to activate automatic mod attack in the config file?
2. I want to know the ID and parameters of the mod, I have to find information about where they are in SQL.

Thanks!
Title: Re: Edit file config
Post by: Mobius on December 10, 2016, 04:06:31 PM
What mod?
Title: Re: Edit file config
Post by: tuannguyen on December 10, 2016, 04:28:23 PM
Oh! this is the list of monsters in game.  Through which we can know the monster HP or MP
Title: Re: Edit file config
Post by: Liamxroy on December 11, 2016, 01:46:03 AM
Data/stats/
Title: Re: Edit file config
Post by: tuannguyen on December 13, 2016, 03:34:42 PM
Thanks LiamXroy

Quote
Data/stats/

But I just want to know how to the monster can automatically attack players. Can you tell me know how to change it.
Plz help me!
Title: Re: Edit file config
Post by: Stayway on December 13, 2016, 06:26:57 PM
Thanks LiamXroy

Quote
Data/stats/

But I just want to know how to the monster can automatically attack players. Can you tell me know how to change it.
Plz help me!

You need add this parameter or change the existent one
Quote
      <ai aggroRange="300" isAggressive="true" clanHelpRange="300" />
Title: Re: Edit file config
Post by: Mobius on December 13, 2016, 08:39:04 PM
You try to make a custom monster?

Best way is to see the XML of an existing working monster.
Title: Re: Edit file config
Post by: tuannguyen on December 14, 2016, 03:55:22 PM
Hi guys!

Quote
You try to make a custom monster?

Yes, i really want to make a custom monster.
And I also have to follow the instructions, like this:

Quote
<ai aggroRange="300" isAggressive="true" clanHelpRange="300" />

But it does not work.
Title: Re: Edit file config
Post by: Stayway on December 14, 2016, 06:35:18 PM
Hi guys!

Quote
You try to make a custom monster?

Yes, i really want to make a custom monster.
And I also have to follow the instructions, like this:

Quote
<ai aggroRange="300" isAggressive="true" clanHelpRange="300" />

But it does not work.

sent me the file or files you want modify
Title: Re: Edit file config
Post by: tuannguyen on December 15, 2016, 03:23:16 PM
OK, Stayway!

It here:

http://www.mediafire.com/file/o94ku63nfuc9iiu/20900-20999.xml

Thank you very much!
Title: Re: Edit file config
Post by: Stayway on December 16, 2016, 03:43:44 AM
OK, Stayway!

It here:

http://www.mediafire.com/file/o94ku63nfuc9iiu/20900-20999.xml

Thank you very much!

Which npc ID you want to change? make it aggressive?
Title: Re: Edit file config
Post by: tuannguyen on December 17, 2016, 05:46:48 PM
Ok, Stayway.

NPC name is Binder.

Code: [Select]
<npc id="20983" level="73" type="L2Monster" name="Binder">
<!-- Confirmed CT2.5 -->
<parameters>
<param name="MoveAroundSocial" value="90" />
<param name="MoveAroundSocial1" value="74" />
<param name="MoveAroundSocial2" value="90" />
<minions name="Privates">
<npc id="21074" count="1" respawnTime="0" weightPoint="1" />
<npc id="20984" count="1" respawnTime="0" weightPoint="1" />
<npc id="20985" count="1" respawnTime="0" weightPoint="1" />
</minions>
<param name="SoulShot" value="100" />
<param name="SoulShotRate" value="10" />
<param name="SpiritShot" value="100" />
<param name="SpiritShotRate" value="5" />
<param name="LongRangeGuardRate" value="5" />
<skill name="PhysicalSpecial" id="4032" level="7" />
</parameters>
<race>DIVINE</race>
<sex>MALE</sex>
<equipment rhand="147" /> <!-- Tear of Darkness -->
<acquire exp="44681" sp="10" />
<stats str="79" int="34" dex="42" wit="66" con="75" men="12">
<vitals hp="2586.66898" hpRegen="8.5" mp="1442.4" mpRegen="3" />
<attack physical="752.73928" magical="514.02335" random="10" critical="4" accuracy="5" attackSpeed="253" type="SWORD" range="40" distance="80" width="120" />
<defence physical="310.02959" magical="226.8662" />
<speed>
<walk ground="50" />
<run ground="170" />
</speed>
<hit_time>560</hit_time>
<abnormalResist physical="10" magical="10" />
</stats>
<status undying="false" canBeSown="true" />
<skill_list>
<skill id="4073" level="7" /> <!-- Stun -->
<skill id="4408" level="10" /> <!-- HP Increase (2x) -->
<skill id="4409" level="1" /> <!-- MP Increase (1x) -->
<skill id="4410" level="12" /> <!-- Slightly Strong P. Atk. -->
<skill id="4411" level="12" /> <!-- Slightly Strong M. Atk. -->
<skill id="4412" level="12" /> <!-- Slightly Strong P. Def. -->
<skill id="4413" level="11" /> <!-- Average M. Def. -->
<skill id="4414" level="2" /> <!-- Standard Type -->
<skill id="4415" level="3" /> <!-- One-handed Sword -->
<skill id="4416" level="8" /> <!-- Angels -->
</skill_list>
<shots shotChance="30" spiritChance="30" />
<ex_crt_effect>true</ex_crt_effect>
<s_npc_prop_hp_rate>2</s_npc_prop_hp_rate>
<ai aggroRange="300" clanHelpRange="300" isAggressive="true">
<clan_list>
<clan>TOWER_GUARD</clan>
</clan_list>
</ai>
<collision>
<radius normal="19" />
<height normal="48" />
</collision>
</npc>

Thank you!