L2JMobius

Edit file config

tuannguyen · 12 · 5012

Offline tuannguyen

  • Heir
  • **
    • Posts: 14
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!



Offline tuannguyen

  • Heir
  • **
    • Posts: 14
Oh! this is the list of monsters in game.  Through which we can know the monster HP or MP



Offline tuannguyen

  • Heir
  • **
    • Posts: 14
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!


Offline Stayway

  • Duke
  • *****
    • Posts: 684
    • http://l2ahyura.com
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" />


Online Mobius

  • Distinguished King
  • *****
    • Posts: 16135
You try to make a custom monster?

Best way is to see the XML of an existing working monster.


Offline tuannguyen

  • Heir
  • **
    • Posts: 14
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.


Offline Stayway

  • Duke
  • *****
    • Posts: 684
    • http://l2ahyura.com
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




Offline tuannguyen

  • Heir
  • **
    • Posts: 14
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!