• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

C++ TFS 1.3 Outfit/Addon Bonusses

Crobattis

New Member
Joined
Jul 27, 2012
Messages
10
Reaction score
0
Hello guys,

I have looked at several ways to include an bonus for outfits when a player wears both addons.
I would really like to have it like this: [Outfit] Adding bonus to your addons at WITHOUT BUG using sources functions! (https://otland.net/threads/outfit-adding-bonus-to-your-addons-at-without-bug-using-sources-functions.100186/)


XML:
    <outfit id="1">
        <list gender="0" lookType="136" name="Citizen">
        <attribute speed="5"/>
        <stats maxHealth="100"/>
            </list>
        <list gender="1" lookType="128" name="Citizen">
        <attribute speed="5"/>
        <stats maxHealth="100"/>
            </list>

However, I have looked into my outfit.cpp but there is no code lines with attributes, stats, etc.
Is there anybody who knows which files in the source I have to change and what those changes have to be?
I tried looking it up in other posts, but couldn't find it.

My outfit.cpp: melvinlorenzo/outfits.cpp (https://github.com/melvinlorenzo/outfits.cpp/blob/main/outfit.cpp)

Thanks in advance!
 
Back
Top