Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 21.02.2005, 09:20   #1
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default adding new items/recipes etc

总是用别人的东西也太不好意思了....� ��天俺也原创一个...

在recipe.txt下面的数据
recipe_begin
[mk_coarse_bone_powder] 制造物品的名称
48 编号,也就是在html格式下制作卷轴合� ��时的返回值,骨粉的返回值<a action="bypass -h recipe?id=48">
level=1 需要的物品制作等级
material={{[animal_bone];10}} 需要的材料,如果需要两个或两个以� �用分号隔开,没种物品用{}括起来,� �体也要用{}括起来
catalyst={} 似乎没有什么用处,所有的都是{}。。 。。不知道是干什么用的
product={{[coarse_bone_powder];1}}得到的材料
npc_fee={{[rp_coarse_bone_powder];1};{[adena];300}} 如果在npc那里做还需要的东西
mp_consume=10 mp的消耗
success_rate=100 制造成功率
item_id=2138 本卷轴的物品id
recipe_end


下面这个是制作卷轴在itemdata.txt中的� �据
item_begin
etcitem 2138 这个地方很重要,表明了这个是etcitem� ��物品id,etcitem应该是其他物品,制作 卷轴还有材料都属于这个
[rp_coarse_bone_powder] 这个是物品的名字,是颗粒状骨粉的� �作卷轴
item_type=etcitem 物品类型,卷轴
slot_bit_type={none} 以下没有注明照抄就可以,当然,可� �适当修改一下。。
armor_type=none
etcitem_type=recipe
blessed=0
weight=30
default_action=action_skill_maintain
consume_type=consume_type_normal
initial_count=1
maximum_count=1
soulshot_count=0
spiritshot_count=0
immediate_effect=1
price=0
default_price=680 物品价格可以适当修改
item_skill=[none]
critical_attack_skill=[none]
material_type=liquid
crystal_type=none
crystal_count=0
is_trade=1
is_drop=1
is_destruct=1
physical_damage=0
random_damage=0
weapon_type=none
can_penetrate=0
critical=0
hit_modify=0
avoid_modify=0
dual_fhit_rate=0
shield_defense=0
shield_defense_rate=0
attack_range=0
effective_range=0
damage_range={}
attack_speed=0
reuse_delay=0
mp_consume=0
magical_damage=0
durability=0
damaged=0
physical_defense=0
magical_defense=0
mp_bonus=0
category={}
enchanted=0
html=[rp_coarse_bone_powder.htm] 这里很重要,如果要添加新的卷轴,� �在html那个目录下新建一个.htm得文件� �这个就是文件名称
equip_pet={0}
magic_weapon=0
item_end



接着是制作卷轴的.htm文件
<html><head> 这里定义文件头

<body> 这里定义文件内容
<center>[颗粒状的骨粉的制造]</center> 居中显示

空一行


不仅用於武器的制造,还用於高级软� �、纯化的研磨剂的制造。


此物品属於第2阶段﹝depth2﹞,并适合� ��开始熟悉技术的矮人制造。




〈材料〉


动物的骨头10根




〈结果〉


颗粒状的骨粉1粒




消耗MP:10


成功组合的概率:100%






确定要组合吗?




<center><a action="bypass -h recipe?id=48">[组合]</a>

</center> 最重要的在这里了,拉到下面说
</body></html>

<a action="bypass -h recipe?id=48"> 这个就是组合的命令了。 只要id=后面的数字修改,就执行到repic e里面的那一个制作格式。
比如:<a action="bypass -h recipe?id=165"> 这个就是执行repice里面165得组合公式� �也就是军刀。

修改或添加新的制作卷轴和方法,也� �是改这些东西了。下面我们来看个修� ��的例子,添加制作闪耀弓的制作卷轴 。

先找到闪耀弓的物品名称,恩,找到� �,是shining_bow,那么要用什么做呢~闪� ��弓的柄。。可没这个东西啊。。
不要怕,可以自己做一个么。。看一� �冒险弓的柄,就用这个做摸板吧。冒� ��弓的柄id是4121,名字hazard_bow_shaft。� �这个物品找出来看看

item_begin
etcitem 4121
[hazard_bow_shaft]
item_type=etcitem
slot_bit_type={none}
armor_type=none
etcitem_type=material blessed=0 weight=60 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=45923 item_skill=[none] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end


其他的地方不用看,照抄,把前面etcit em 4121 [hazard_bow_shaft]这两个改一下好了,好像只有4231个物� ��,这个就改成4232了,名字么,改成sh ining_bow_shaft
item_begin
etcitem 4232
[shining_bow_shaft]
item_type=etcitem
slot_bit_type={none}
armor_type=none
etcitem_type=material blessed=0 weight=60 default_action=action_none consume_type=consume_type_stackable initial_count=1 maximum_count=20 soulshot_count=0 spiritshot_count=0 immediate_effect=1 price=0 default_price=45923 item_skill=[none] critical_attack_skill=[none] material_type=liquid crystal_type=none crystal_count=0 is_trade=1 is_drop=1 is_destruct=1 physical_damage=0 random_damage=0 weapon_type=none can_penetrate=0 critical=0 hit_modify=0 avoid_modify=0 dual_fhit_rate=0 shield_defense=0 shield_defense_rate=0 attack_range=0 effective_range=0 damage_range={} attack_speed=0 reuse_delay=0 mp_consume=0 magical_damage=0 durability=0 damaged=0 physical_defense=0 magical_defense=0 mp_bonus=0 category={} enchanted=0 html=[item_default.htm] equip_pet={0} magic_weapon=0 item_end
这样。。。闪耀弓的柄就做出来了。� �
然后开始做卷轴的这一行,物品id就改 成4233好了,恩,按照我上面说的修改� ��。。
item_begin
etcitem 4233
[rp_shining_bow]
item_type=etcitem
slot_bit_type={none}
armor_type=none
etcitem_type=recipe
blessed=0
weight=30
default_action=action_skill_maintain
consume_type=consume_type_normal
initial_count=1
maximum_count=1
soulshot_count=0
spiritshot_count=0
immediate_effect=1
price=0
default_price=166800
item_skill=[none]
critical_attack_skill=[none]
material_type=liquid
crystal_type=none
crystal_count=0
is_trade=1
is_drop=1
is_destruct=1
physical_damage=0
random_damage=0
weapon_type=none
can_penetrate=0
critical=0
hit_modify=0
avoid_modify=0
dual_fhit_rate=0
shield_defense=0
shield_defense_rate=0
attack_range=0
effective_range=0
damage_range={}
attack_speed=0
reuse_delay=0
mp_consume=0
magical_damage=0
durability=0
damaged=0
physical_defense=0
magical_defense=0
mp_bonus=0
category={}
enchanted=0
html=[rp_shining_bow.htm]
equip_pet={0}
magic_weapon=0
item_end
成了。。。
现在就是repice.txt里面的东西了。

恩,b级武器都分两种呢。。。1种80%,1� ��60%,s级当然就更要这样了。repice文� �里面最大是494,我们只好添加495 496了
分成两种:
第一种:
recipe_begin [mk_shining_bow_i] 495 level=7 material={{[rp_shining_bow];1};{[shining_bow_shaft];22};{[mithirl_alloy];400};{[compound_braid];60};{[high_grade_suede];80};{[enria];60};{[crystal_b];15500};{[gemstone_b];9800}} catalyst={} product={{[shining_bow];1}} npc_fee={} mp_consume=560 success_rate=60 item_id=4233 recipe_end
这个需要闪耀弓的柄22个,米索莉合金 400个,合成的绞线60根,高级软皮80个� ��恩尼亚60个,b级结晶15500个,b级宝石 9800个

recipe_begin [mk_shining_bow_ii] 496 level=7 material={{[rp_shining_bow];1};{[shining_bow_shaft];22};{[maestro_holder];6};{[mithirl_alloy];400};{[compound_braid];60};{[high_grade_suede];80};{[enria];60};{[crystal_b];25000};{[gemstone_b];9800}} catalyst={} product={{[shining_bow];1}} npc_fee={} mp_consume=560 success_rate=80 item_id=4233 recipe_end
这个需要闪耀弓的柄22个,巨匠骨链6� �,米索莉合金400个,合成的绞线60根� �高级软皮80个,恩尼亚60个,b级结晶25 000个,b级宝石9800个,mp消耗:560
ps:因为物品制作8级没有开放,就写个7 级上去吧,如果想8级,那么大家就改� ��8级,反正有的服务器已经改出来8级� ��
恩,这些写好了,就该制作卷轴的htm� �件了

先写rp_shining_bow.htm

有范本照抄,改一下就好:
<html><head>

<body>
<center>【闪耀弓的制作卷轴】</center>

作为新开发东西,适用于高级的弓手� �
需要非常非常高的级的技能。制造有� �值的物品有时会带来失败。




<a action="link rp_shining_bow_i.htm"> ==========================请注意,这个地方 需要改成rp_shining_bow_i.htm否则,你会看 到原本的东西

<font color="LEVEL">制造方法 - I</font></a>
使用简单的道具制造。破碎的机率较� �,制作卷轴与成功与否都会消失。



<a action="link rp_shining_bow_ii.htm"> ==========================当然,这个地方也 要改,就是ii了

<font color="LEVEL">制造方法 - II</font></a>
使用较好的道具制造。较好的道具会� �低破碎的机率。制作卷轴与成功与否� ��会消失。
</body></html>

好,然后写rp_shining_bow_i.htm

<html><head>

<body>
<center>【闪耀弓的制造】</center>


<font color="LEVEL">材料</font>
闪耀弓的柄22个,米索莉合金400个,合 成的绞线60根,高级软皮80个,恩尼亚6 0个,B级结晶25000个,B级宝石9800个

<font color="LEVEL">结果</font>
闪耀弓1把

消耗MP:560
成功组合的概率:60%


确定要组合吗?

<center><a action="bypass -h recipe?id=495">[组合]</a>

</center></body></html>


下面是rp_shining_bow_ii.htm
<html><head>

<body>
<center>【闪耀弓的制造】</center>


<font color="LEVEL">材料</font>
闪耀弓的柄22个,巨匠骨链6个,米索� �合金400个,合成的绞线60根,高级软� �80个,恩尼亚60个,B级结晶25000个,B� �宝石9800个

<font color="LEVEL">结果</font>
闪耀弓1把

消耗MP:560
成功组合的概率:80%


确定要组合吗?

<center><a action="bypass -h recipe?id=496">[组合]</a>

</center></body></html>

ok,现在就弄完了~~
把卷轴和材料添加的某个怪物身上吧� �。。这样就可以了。。。。
Digital is offline  
Old 21.02.2005, 09:21   #2
Digital
Архивный участник
 
Join Date: Nov 2004
Posts: 1,405
Default

对不起,各位.....
少写了一个步骤...
抱歉啊抱歉......
要解开客户端的etcitemgrp.txt
添加一个4232的柄的一行....
item_begin
object_id=4232
object_name=[shining_bow_shaft]
drop_type=0
drop_anim_type=3
drop_radius=18.1
drop_height=4
drop_mesh={[dropitems.drop_cross_stick_m00]}
drop_texture={[dropitemstex.drop_cross_stick_t00]}
icon={[icon.etc_branch_gold_i00]}
mesh={[none]}
texture={[none]}
crystallizable=0
drop_sound=[none]
equip_sound=[none]
etcitem_type=material
weight=60
consume_type=consume_type_stackable
material_type=liquid
crystal_type=none
durability=0
item_end
然后添加卷轴的一行...
item_begin
object_id=4333
object_name=[rp_shining_bow]
drop_type=0
drop_anim_type=3
drop_radius=6.7
drop_height=3.5
drop_mesh={[dropitems.drop_scroll_m00]}
drop_texture={[dropitemstex.drop_scroll_t00]}
icon={[icon.etc_recipe_blue_i00]}
mesh={[none]} texture={[none]}
crystallizable=0
drop_sound=[ItemSound.itemdrop_etc_paper]
equip_sound=[none]
etcitem_type=recipe
weight=30
consume_type=consume_type_normal
material_type=liquid
crystal_type=none
durability=0
item_end
反正材料,卷轴外观什么的看起来都一� ��...so...随便找个改一下就成了....
Digital is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 16:36.