|
- Open Tibia Server http://www.opentibiafans.pun.pl/index.php - Skrypty. http://www.opentibiafans.pun.pl/viewforum.php?id=4 - New item? http://www.opentibiafans.pun.pl/viewtopic.php?id=4 |
| Trojca - 2008-06-07 12:59:03 |
Proszę pomóżcie. Jak mam zrobić new item? |
| Suchy - 2008-06-09 07:44:56 |
Nic prostrzego. Wchodzisz do items.xml otwierasz za pomocą notatnika. Szukasz linijki np. Magic sword. Kod: <item id="2400" article="a" name="magic sword">
<attribute key="description" value="It is the Sword of Valor."/>
<attribute key="weight" value="4200"/>
<attribute key="defense" value="35"/>
<attribute key="attack" value="55"/>
<attribute key="weaponType" value="sword"/>
<attribute key="extradef" value="3"/>Jeżeli chcemy zrobić item o nazwie hmm... powiedzmy infernal sword robimy tak: Kod: <item id="2400" article="a" name="a infernal sword"> [b]NAZWA[/b]
<attribute key="description" value="Demon using this sword..."/> [b]OPIS[/b]
<attribute key="weight" value="4200"/> [b]WAGA[/b]
<attribute key="defense" value="45"/> [b]OBRONA[/b]
<attribute key="attack" value="60"/> [b]ATAK[/b]
<attribute key="weaponType" value="sword"/> [b]TYP BRONI[/b]
<attribute key="extradef" value="3"/>No to chyba na tyle ;) |
| Eth - 2008-06-10 13:15:55 |
@Up |