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

Форум администраторов игровых серверов (https://forum.zone-game.info/TT.php)
-   Серверная часть (https://forum.zone-game.info/forumdisplay.php?f=148)
-   -   Собственные скиллы (https://forum.zone-game.info/showthread.php?t=10754)

xobotyi 26.10.2010 16:30

Собственные скиллы
 
Народ, никто не прбовал собственные скиллы делать?
у меня че-то не получается..
например хочу сделать своих самонов,
на сервере:

skill_templates.xml
Код:

<skill_template skill_id="50100" name="STR_SKILL_EL_Light_Glad_Spirit_G1" nameId="1819999" stack="SKILL_EL_LIGHT_SUMMON_FIREELEMENTAL" lvl="1" skilltype="MAGICAL" skillsubtype="SUMMON" tslot="NONE" activation="ACTIVE" cooldown="50" duration="4500" cancel_rate="30">
                <startconditions>
                        <mp value="2500" delta="0"/>
                </startconditions>
                <setproperties>
                        <firsttarget value="ME"/>
                        <firsttargetrange value="1"/>
                        <targetrange value="ONLYONE"/>
                        <targetrelation value="FRIEND"/>
                </setproperties>
                <useconditions>
                        <playermove allow="false"/>
                </useconditions>
                <effects>
                        <summon npc_id="201034" e="1" element="FIRE" hoptype="SKILLLV" hopb="2054"/>
                </effects>
                <actions>
                        <mpuse value="2500" delta="0"/>
                </actions>
        </skill_template>


в клиенте:
client_skills.xml
Код:

<skill_base_client>
    <id>50100</id>
    <name>EL_Light_Glad_Spirit_G1</name>
    <desc>STR_SKILL_EL_Light_Glad_Spirit_G1</desc>
    <desc_long>STR_SKILL_EL_Light_Glad_Spirit_G1_DESC</desc_long>
    <type>Magical</type>
    <sub_type>Summon</sub_type>
    <skill_category>SKILLCTG_NONE</skill_category>
    <ultra_skill>0</ultra_skill>
    <ultra_transfer>0</ultra_transfer>
    <self_flying_restriction>Ground</self_flying_restriction>
    <target_flying_restriction>Ground</target_flying_restriction>
    <chain_category_level>1</chain_category_level>
    <chain_category_priority>EL_Light_Summon_FireElemental</chain_category_priority>
    <skillicon_name>CBT_EL_Light_Summon_FireElemental_G4.dds</skillicon_name>
    <delay_id>1045</delay_id>
    <activation_attribute>Active</activation_attribute>
    <cost_parameter>MP</cost_parameter>
    <cost_end>2500</cost_end>
    <target_slot>None</target_slot>
    <target_stop>0</target_stop>
    <hostile_type>Indirect</hostile_type>
    <delay_type>0</delay_type>
    <delay_time>5000</delay_time>
    <first_target>Me</first_target>
    <first_target_valid_distance>1</first_target_valid_distance>
    <target_range>OnlyOne</target_range>
    <target_species_restriction>All</target_species_restriction>
    <target_relation_restriction>Friend</target_relation_restriction>
    <cancel_rate>30</cancel_rate>
    <obstacle>4</obstacle>
    <add_wpn_range>0</add_wpn_range>
    <casting_delay>4500</casting_delay>
    <auto_attack>maintain</auto_attack>
    <peace_skill>1</peace_skill>
    <motion_name>elsummon2</motion_name>
    <target_marker_radius>0</target_marker_radius>
    <cast_fx>FC_cast_summon.summon.fire</cast_fx>
    <cast_fx_bone>ground</cast_fx_bone>
    <cast_voice>b_attack_sfire_b</cast_voice>
    <show_weapon>0</show_weapon>
    <fire_fx>FC_fire_summon.summon.fire</fire_fx>
    <fire_fx_bone>ground</fire_fx_bone>
    <hit_fx_attacker_oriented>0</hit_fx_attacker_oriented>
    <effect1_type>Summon</effect1_type>
    <effect1_noresist>1</effect1_noresist>
    <effect1_target_type>Target_Only</effect1_target_type>
    <effect1_reserved1>1</effect1_reserved1>
    <effect1_reserved2>0</effect1_reserved2>
    <effect1_reserved9>Light_Summon_FireElemental_G4</effect1_reserved9>
    <effect1_reserved10>Fire</effect1_reserved10>
    <effect1_hop_type>SkillLV</effect1_hop_type>
    <effect1_hop_a>0</effect1_hop_a>
    <effect1_hop_b>2054</effect1_hop_b>
    <effect3_hop_a>0</effect3_hop_a>
    <effect3_hop_b>0</effect3_hop_b>
    <effect4_hop_a>0</effect4_hop_a>
    <effect4_hop_b>0</effect4_hop_b>
  </skill_base_client>

client_strings.xml
Код:

<string>
    <id>910000</id>
    <name>STR_SKILL_EL_Light_Glad_Spirit_G1</name>
    <body>Призыв: Дух падшего гладиатора I</body>
  </string>
  <string>
    <id>910000</id>
    <name>STR_SKILL_EL_Light_Glad_Spirit_G1_DESC</name>
    <body>Призывает дух некогда падшего гладиатора.</body>
  </string>

когда добавляю скилл командой //addskill 50100 мне пишет: "добавлен скилл "???" (1уровень)"

и в списке выученных скиллов ничего не появляется ни пустого квадратика, ни чего

ALeKsIuS 26.10.2010 17:11

Re: Собственныйе скиллы
 
xobotyi Для них ещё нужно будет добавлять картинки, описание.

xobotyi 26.10.2010 19:53

Re: Собственныйе скиллы
 
Цитата:

Сообщение от ALeKsIuS (Сообщение 93523)
xobotyi Для них ещё нужно будет добавлять картинки, описание.

я знаю, описание и картинки есть, я не понимаю почему новый скилл вообще не отображается нигде..

Snion 27.10.2010 23:39

Re: Собственныйе скиллы
 
Цитата:

Сообщение от xobotyi (Сообщение 93547)
я знаю, описание и картинки есть, я не понимаю почему новый скилл вообще не отображается нигде..

ЕСЛИ ЕГО В КЛИЕНТЕ НЕТ КАК он будет отображаться?

xobotyi 28.10.2010 01:05

Re: Собственныйе скиллы
 
Цитата:

Сообщение от Snion (Сообщение 93689)
ЕСЛИ ЕГО В КЛИЕНТЕ НЕТ КАК он будет отображаться?

а почитать повнимательнее? яж написал что в клиенте тоже есть..


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

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