A Hat in Time

A Hat in Time

252 人が評価
Online Party Cosmetic Items (JSON Update)
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
39.352 MB
2020年3月24日 13時19分
9月5日 18時27分
85 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Online Party Cosmetic Items (JSON Update)

Shararamosh 作成の 1 件のコレクション
Shararamosh's Script-only Mods
9 アイテム
解説
Feeling sad that you're not able to see your friends wearing these glorious shades from Dead Bird Studio? Or you feel sad that your friend can't share you a cookie even though he has it on his side? Well, now this problem is in the past! With this mod you and your friends will be able to see each other's badges and other cosmetic items like shades, cookie and earrings. The only requirement is for you and your friends to have this mod installed! This mod works with all types of cosmetic items (except for body, legs and hats which are already synced by Argle's Online Party Plus).
Starting with version 2.0 mod uses JSON strings[json.org] to transfer information about cosmetics and fixes quite a lot of bugs from previous versions.
Let the world know how stylish you are!
37 件のコメント
Shararamosh  [作成者] 2022年7月23日 21時49分 
CheckPlayerClass from Hat_Collectible_Skin can't compare class of Online Player - you have to make your own function.
Hat_GhostPartyPlayer's Player Class is in variable called PlayerVisualClass. If it's None, then it's Hat_Player_HatKid.
So the following chunk should work:


local Hat_GhostPartyPlayer gpp;
gpp = Hat_GhostPartyPlayer(ActorInstigator);
if (gpp != None)
{
if (gpp.PlayerVisualClass == None || gpp.PlayerVisualClass == class'Hat_Player_HatKid)
{
\\Do stuff for HK Online Player.
}
else if (class<Hat_Player_CoPartner>(gpp.PlayerVisualClass) != None)
{
\\Do stuff for BK Online Player.
}
else
{
\\Do stuff for other Online Player.
}
}


If you still need help, you can contact me on Discord: Шарарамош#7170.
Genlis_Tin 2022年7月23日 15時39分 
Nope dosnt work either, dosnt sync up with other player.(also checkplayerclass is part of Collectible_Skin, not cosmetic_mics, had to copy function into my actor).

Is there really no way to fix the sync of "player skin color" value from your side?

Anyway sorry i wont bother you on the matter anymore, youre already did alot and im thankful, guess i will stick up with what i have.
Genlis_Tin 2022年7月21日 11時20分 
Hm, guess i could try to look into that, thanks for hint.
Shararamosh  [作成者] 2022年7月21日 11時16分 
If this doll is a Cosmetic Item, then you can change her appearance inside Tick function.
Just make it check Player Class and change its appearance if it's different.
Genlis_Tin 2022年7月21日 10時53分 
Thematically? Possesed doll that would float neat you. Technically - a model that would change based on if player hat girl or bow kid
Shararamosh  [作成者] 2022年7月21日 10時49分 
To be honest, I don't understand what you're trying to do.
Genlis_Tin 2022年7月21日 10時02分 
Anyway, yeah, dosnt seem to sync in the player skin. Tried to make a thing in material which would get player skin value, compare with what hatkid skin should be and based on that changes cape color + makes hat/bow invisible. As well as skin of doll ain changing.
Again, sorry, but be neat if it could work.
https://imgur.com/a/0M16JIA
Genlis_Tin 2022年7月19日 18時24分 
K, it is working now, thanks! Now actually feeling like trying to make something neat. :steamthumbsup:

only thing noticed was that player skin could not sync(was trying to make a silly shiva-like 6 hands), but weirdly didnt synced when switching to bow girl... not sure it will actually be needed, but be neat if that be synced too, up to you, ive asked plenty already and its already a good progress.
Genlis_Tin 2022年7月19日 11時15分 
Here the images again, where i wrote some explanation to certain cases https://imgur.com/a/0M16JIA
Genlis_Tin 2022年7月19日 11時08分 
K, it works... but only half of it. Seems like if player dye is a solid color it dosnt do anything and just makes it white, but when theres texture, like pizza dye or flames, THEN its working... It might actually be that "jank" i spoke of last time, since i only noticed it working when they changed to flames.