What's new

-Łatwy Dodawanie wygl?d?w potwor?w do listy wygl?d?w podstawowych

Talented

Active User
Joined
Dec 12, 2009
Messages
51
Reaction score
6
My?l?, ?e w nazwie tematu jest ju? wszystko na temat tego tematu a wi?c od razu zabierzmy si? do pracy ;)

Aby doda? wygl?d na przyk?ad Wyznawcy Cult'u do naszych podstawowych wygl?d?w, patrzymy ID jego wygl?du...
Wchodzimy do .../data/monster/ i szukamy nowicjusza Cult'u czyli: Novice of the Cult otwieramy go i widzi takie co?:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Novice Of The Cult" nameDescription="a novice of the cult" race="blood" experience="100" speed="210" manacost="0">
<health now="285" max="285"/>
<look type="133" head="114" body="95" legs="114" feet="114" corpse="6080"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="1"/>
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag staticattack="90"/>
<flag targetdistance="1"/>
<flag runonhealth="40"/>
</flags>

<attacks>
<attack name="melee" interval="2000" skill="35" attack="35"/>

<attack name="lifedrain" interval="2000" chance="17" range="7" radius="4" target="1" min="-30" max="-40">
<attribute key="areaEffect" value="redshimmer"/>
</attack>

<attack name="poison" interval="1000" chance="17" range="7" radius="1" target="1" min="-30" max="-75">
<attribute key="shootEffect" value="poison"/>
<attribute key="areaEffect" value="poison"/>
</attack>

</attacks>
<defenses armor="15" defense="10">
<defense name="healing" interval="1000" chance="12" min="25" max="49">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>

<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="1"/>
<immunity lifedrain="1"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="0"/>
</immunities>

<summons maxSummons="3">
<summon name="Chicken" interval="2000" chance="10000"/>
</summons>

<voices interval="5000" chance="10">
<voice sentence="Fear us!"/>
<voice sentence="You will not tell anyone what you have seen."/>
<voice sentence="Your curiosity will be punished!"/>
</voices>

<loot>
<item id="2148" countmax="20" chance1="100000" chancemax="0"/>
<item id="2661" chance="2000"/>
<item id="2145" countmax="3" chance1="5000" chancemax="0"/>
<item id="5810" chance="555"/>
<item id="2213" chance="1666"/>
<item id="2478" chance="6666"/>
<item id="2398" chance="18427"/>
<item id="1987" chance="100000">
<inside>
<item id="2199" chance="1818"/>
<item id="2190" chance="1538"/>
<item id="6087" chance="5000"/>
</inside>
</item>
</loot>
</monster>
Obja?nienie:
look type="xx" = ID wygl?du
head="xx" = Kolor g?owy/w?os?w
body="xx" = Kolor bluzy/torsu/tu?owia
legs="xx" = Kolor spodni/n?g
feet="xx" = Kolor but?w/st?p

Oczywi?cie w miejsce xx wpisujemy numer koloru:
123ju2.png


Nam jest teraz potrzebna tylko ta cz???:
Code:
look type="133"
a dok?adniej to ten numerek czyli w moim przypadku 133
I dodajemy tak? linijk? do naszego pliku outfits.xml kt?ry znajduj? si? w .../data/outfits.xml lub .../data/XML/outfits.xml:
<!-- Male outfits -->
<outfit type="1" looktype="128" addons="3" name="Citizen" premium="0"/>
<outfit type="1" looktype="129" addons="3" name="Hunter" premium="0"/>
<outfit type="1" looktype="130" addons="3" name="Mage" premium="0"/>
<outfit type="1" looktype="131" addons="3" name="Knight" premium="0"/>
<outfit type="1" looktype="132" addons="3" name="Nobleman" premium="1"/>
<outfit type="1" looktype="133" addons="3" name="Summoner" premium="1"/>
<outfit type="1" looktype="134" addons="3" name="Warrior" premium="1"/>
<outfit type="1" looktype="143" addons="3" name="Barbarian" premium="1"/>
<outfit type="1" looktype="144" addons="3" name="Druid" premium="1"/>
<outfit type="1" looktype="145" addons="3" name="Wizard" premium="1"/>
<outfit type="1" looktype="146" addons="3" name="Oriental" premium="1"/>
<outfit type="1" looktype="151" addons="3" name="Pirate" premium="1"/>
<outfit type="1" looktype="152" addons="3" name="Assassin" premium="1"/>
<outfit type="1" looktype="153" addons="3" name="Beggar" premium="1"/>
<outfit type="1" looktype="154" addons="3" name="Shaman" premium="1"/>
<outfit type="1" looktype="251" addons="3" name="Norseman" premium="1"/>
<outfit type="1" looktype="268" addons="3" name="Nightmare" premium="1"/>
<outfit type="1" looktype="133" addons="0" name="Cult" premium="1"/>[/COLOR]
<outfit type="1" looktype="273" addons="3" name="Jester" premium="1"/>
<outfit type="1" looktype="278" addons="3" name="Brotherhood" premium="1"/>
Obja?nienie:
<outfit type="1" looktype="133" addons="0" name="Cult" premium="1"/>
Typ outfitu (0 = Dziewczyna 1 = Ch?opak)
ID naszego wygl?du (W moim przypadku 133)
Ilo?? addon?w (Je?li jest to wygl?d potwora, to zazwyczaj nie ma on addon?w, a wi?c ustawiamy na 0)
Nazwa naszego wygl?du (W moim przypadku "Cult")
Czy wymagany jest PACC (0 - Nie 1 - Tak)

!!!WA?NA NOTKA!!!
Nigdy nie dawajcie wygl?du na ko?cu, bo nie b?dzie on dzia?a?!!!
Jest to m?j pierwszy post a tak?e poradnik (Nie licz?c Powitalni... ; * )
Pozdrawiam,
Talented

 

Arvannion

Advanced User
Joined
Oct 2, 2008
Messages
385
Reaction score
110
Odp: Dodawanie wygl?d?w potwor?w do listy wygl?d?w podstawowych

No, ca?kiem przyjemny, jasny i og?lnie dobry poradnik. Mam tylko jedn? rzecz kt?ra mnie doprowadza do negatywnej pasji podczas czytania tego poradniku, a mianowicie - oczojebne kolorki. Prawie dosta?em oczopl?su od mixu tych wszystkich jaskrawych kolor?w. Nast?pnym razem prosz? u?ywaj jakich? bardziej bagatelnych kolork?w.
9.5/10
 

Talented

Active User
Joined
Dec 12, 2009
Messages
51
Reaction score
6
Odp: Dodawanie wygl?d?w potwor?w do listy wygl?d?w podstawowych

~bump~ komentowa? please? :(
 

Talented

Active User
Joined
Dec 12, 2009
Messages
51
Reaction score
6
Odp: Dodawanie wygl?d?w potwor?w do listy wygl?d?w podstawowych

~Refresh~ :(
~Od?wie?am~ :(
 

Dubler

Lua Factory =)
Joined
Apr 8, 2009
Messages
1,874
Reaction score
112
Odp: Dodawanie wygl?d?w potwor?w do listy wygl?d?w podstawowych

ladnie tylko male ale:
jak masz np klient 8.54
to jest looktypow 351... i to nic nie da ze w potworku moze masz 352 ale /newtypow jest tylko 351...
 
Top