Post by ubiquitous on Aug 5, 2011 21:02:55 GMT -5
Decided to try and break down the locker a little more and found out how to unlock the clothes that are already in there. It is not hard to unlock them and I'm surprised I missed it before but at least now we got a starting point to solve how to insert more clothes in there
In data/datafile.big/items.txt, Unlock = "#" is the magic line in this case and it applies to cClothingDispenserItem
Example:
Coding entry before unlock code inserted
Coding entry after unlock code inserted
By simply inserting Unlock = "7" whenever you use that clothing dispenser it will unlock the clothing item that corresponds to predefined value 7
Here are the values I have found right now:
Unlock = "X"
Where X = Value
1 = Unknown (Nothing appeared could be DLC?)
2 = Unknown (Nothing appeared could be DLC?)
3 = Unknown (Nothing appeared could be DLC?)
4 = Unknown (Nothing appeared could be DLC?)
5 = Champion Jacket
6 = TIR Helmet
7 = TIR Uniform
8 = Arthur Helmet
9 = Full Beard Moustache
10 = Knight Armor
11 = Knight Boots
12 = Willamette Mall Security Uniform
13 = Orange Prisoner Outfit
14 = Hockey Mask
15 = Tattered Clothes
16 = Dealer Outfit
I haven't played much with these new findings but I know you can only have 1 unlock per clothing dispenser otherwise only the last value will be unlocked. So if you have Unlock 10-16 in one only 16th will be unlocked in the locker. I will be trying other things when I get more ideas
In data/datafile.big/items.txt, Unlock = "#" is the magic line in this case and it applies to cClothingDispenserItem
Example:
Coding entry before unlock code inserted
cClothingDispenserItem TirOutfitDispenser
{
AchievementCategory = "-1"
AssetFilename = "data/models/interactables/clothesbox"
ChangeEntireOutfit = "false"
ClothingEmote = "3"
ClothingIconName = "TIR_Outfit.bct"
CollidableQuality = "0"
CollisionType = "3"
Description = "9023"
DisplayName = "50888"
DR2 = "true"
DR2PRO = "false"
InteractDistance = "2"
IsChest = "true"
IsFacewear = "false"
IsFeet = "true"
IsHands = "true"
IsHead = "false"
IsHeadwear = "false"
IsLegs = "true"
MergedFilename = "data/dynamicprops/clothesbox"
OutfitId = "5"
Restitution = "0.05"
RestrictedByRegion = "false"
Unmoveable = "true"
Weight = "100"
}
Coding entry after unlock code inserted
cClothingDispenserItem TirOutfitDispenser
{
AchievementCategory = "-1"
AssetFilename = "data/models/interactables/clothesbox"
ChangeEntireOutfit = "false"
ClothingEmote = "3"
ClothingIconName = "TIR_Outfit.bct"
CollidableQuality = "0"
CollisionType = "3"
Description = "9023"
DisplayName = "50888"
DR2 = "true"
DR2PRO = "false"
InteractDistance = "2"
IsChest = "true"
IsFacewear = "false"
IsFeet = "true"
IsHands = "true"
IsHead = "false"
IsHeadwear = "false"
IsLegs = "true"
MergedFilename = "data/dynamicprops/clothesbox"
OutfitId = "5"
Restitution = "0.05"
RestrictedByRegion = "false"
Unlock = "7"
Unmoveable = "true"
Weight = "100"
}
By simply inserting Unlock = "7" whenever you use that clothing dispenser it will unlock the clothing item that corresponds to predefined value 7
Here are the values I have found right now:
Unlock = "X"
Where X = Value
1 = Unknown (Nothing appeared could be DLC?)
2 = Unknown (Nothing appeared could be DLC?)
3 = Unknown (Nothing appeared could be DLC?)
4 = Unknown (Nothing appeared could be DLC?)
5 = Champion Jacket
6 = TIR Helmet
7 = TIR Uniform
8 = Arthur Helmet
9 = Full Beard Moustache
10 = Knight Armor
11 = Knight Boots
12 = Willamette Mall Security Uniform
13 = Orange Prisoner Outfit
14 = Hockey Mask
15 = Tattered Clothes
16 = Dealer Outfit
I haven't played much with these new findings but I know you can only have 1 unlock per clothing dispenser otherwise only the last value will be unlocked. So if you have Unlock 10-16 in one only 16th will be unlocked in the locker. I will be trying other things when I get more ideas