Initial Commit
17
.gitattributes
vendored
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
# Auto detect text files and perform LF normalization
|
||||||
|
* text=auto
|
||||||
|
|
||||||
|
# Custom for Visual Studio
|
||||||
|
*.cs diff=csharp
|
||||||
|
|
||||||
|
# Standard to msysgit
|
||||||
|
*.doc diff=astextplain
|
||||||
|
*.DOC diff=astextplain
|
||||||
|
*.docx diff=astextplain
|
||||||
|
*.DOCX diff=astextplain
|
||||||
|
*.dot diff=astextplain
|
||||||
|
*.DOT diff=astextplain
|
||||||
|
*.pdf diff=astextplain
|
||||||
|
*.PDF diff=astextplain
|
||||||
|
*.rtf diff=astextplain
|
||||||
|
*.RTF diff=astextplain
|
47
.gitignore
vendored
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
# Windows image file caches
|
||||||
|
Thumbs.db
|
||||||
|
ehthumbs.db
|
||||||
|
|
||||||
|
# Folder config file
|
||||||
|
Desktop.ini
|
||||||
|
|
||||||
|
# Recycle Bin used on file shares
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
|
||||||
|
# Windows Installer files
|
||||||
|
*.cab
|
||||||
|
*.msi
|
||||||
|
*.msm
|
||||||
|
*.msp
|
||||||
|
|
||||||
|
# Windows shortcuts
|
||||||
|
*.lnk
|
||||||
|
|
||||||
|
# =========================
|
||||||
|
# Operating System Files
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
# OSX
|
||||||
|
# =========================
|
||||||
|
|
||||||
|
.DS_Store
|
||||||
|
.AppleDouble
|
||||||
|
.LSOverride
|
||||||
|
|
||||||
|
# Thumbnails
|
||||||
|
._*
|
||||||
|
|
||||||
|
# Files that might appear in the root of a volume
|
||||||
|
.DocumentRevisions-V100
|
||||||
|
.fseventsd
|
||||||
|
.Spotlight-V100
|
||||||
|
.TemporaryItems
|
||||||
|
.Trashes
|
||||||
|
.VolumeIcon.icns
|
||||||
|
|
||||||
|
# Directories potentially created on remote AFP share
|
||||||
|
.AppleDB
|
||||||
|
.AppleDesktop
|
||||||
|
Network Trash Folder
|
||||||
|
Temporary Items
|
||||||
|
.apdisk
|
306
CSView.lua
Normal file
@ -0,0 +1,306 @@
|
|||||||
|
--function made by rbxbanland
|
||||||
|
function newWaitForChild(newParent,name)
|
||||||
|
local returnable = nil
|
||||||
|
if newParent:FindFirstChild(name) then
|
||||||
|
returnable = newParent:FindFirstChild(name)
|
||||||
|
else
|
||||||
|
repeat wait() returnable = newParent:FindFirstChild(name) until returnable ~= nil
|
||||||
|
end
|
||||||
|
return returnable
|
||||||
|
end
|
||||||
|
|
||||||
|
function LoadCharacterNew(playerApp,newChar)
|
||||||
|
local charparts = {[1] = newWaitForChild(newChar,"Head"),[2] = newWaitForChild(newChar,"Torso"),[3] = newWaitForChild(newChar,"Left Arm"),[4] = newWaitForChild(newChar,"Right Arm"),[5] = newWaitForChild(newChar,"Left Leg"),[6] = newWaitForChild(newChar,"Right Leg")}
|
||||||
|
for _,newVal in pairs(playerApp:GetChildren()) do
|
||||||
|
local customtype = newVal.CustomizationType.Value
|
||||||
|
if (customtype == 1) then
|
||||||
|
pcall(function()
|
||||||
|
charparts[newVal.ColorIndex.Value].BrickColor = newVal.Value
|
||||||
|
end)
|
||||||
|
elseif (customtype == 2) then
|
||||||
|
pcall(function()
|
||||||
|
local newHat = game.Workspace:InsertContent("rbxasset://../../../charcustom/hats/"..newVal.Value)
|
||||||
|
if newHat[1] then
|
||||||
|
if newHat[1].className == "Hat" then
|
||||||
|
newHat[1].Parent = newChar
|
||||||
|
else
|
||||||
|
newHat[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
elseif (customtype == 3) then
|
||||||
|
pcall(function()
|
||||||
|
local newTShirt = game.Workspace:InsertContent("rbxasset://../../../charcustom/tshirts/"..newVal.Value)
|
||||||
|
if newTShirt[1] then
|
||||||
|
if newTShirt[1].className == "ShirtGraphic" then
|
||||||
|
newTShirt[1].Parent = newChar
|
||||||
|
else
|
||||||
|
newTShirt[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
elseif (customtype == 4) then
|
||||||
|
pcall(function()
|
||||||
|
local newShirt = game.Workspace:InsertContent("rbxasset://../../../charcustom/shirts/"..newVal.Value)
|
||||||
|
if newShirt[1] then
|
||||||
|
if newShirt[1].className == "Shirt" then
|
||||||
|
newShirt[1].Parent = newChar
|
||||||
|
else
|
||||||
|
newShirt[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
elseif (customtype == 5) then
|
||||||
|
pcall(function()
|
||||||
|
local newPants = game.Workspace:InsertContent("rbxasset://../../../charcustom/pants/"..newVal.Value)
|
||||||
|
if newPants[1] then
|
||||||
|
if newPants[1].className == "Pants" then
|
||||||
|
newPants[1].Parent = newChar
|
||||||
|
else
|
||||||
|
newPants[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
elseif (customtype == 6) then
|
||||||
|
pcall(function()
|
||||||
|
local newFace = game.Workspace:InsertContent("rbxasset://../../../charcustom/faces/"..newVal.Value)
|
||||||
|
if newFace[1] then
|
||||||
|
if newFace[1].className == "Decal" then
|
||||||
|
newWaitForChild(charparts[1],"face"):remove()
|
||||||
|
newFace[1].Parent = charparts[1]
|
||||||
|
newFace[1].Face = "Front"
|
||||||
|
else
|
||||||
|
newFace[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
elseif (customtype == 7) then
|
||||||
|
pcall(function()
|
||||||
|
local newPart = game.Workspace:InsertContent("rbxasset://../../../charcustom/heads/"..newVal.Value)
|
||||||
|
if newPart[1] then
|
||||||
|
if newPart[1].className == "SpecialMesh" or newPart[1].className == "CylinderMesh" or newPart[1].className == "BlockMesh" then
|
||||||
|
newWaitForChild(charparts[1],"Mesh"):remove()
|
||||||
|
newPart[1].Parent = charparts[1]
|
||||||
|
else
|
||||||
|
newPart[1]:remove()
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
function InitalizeClientAppearance(Player,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID)
|
||||||
|
local newCharApp = Instance.new("IntValue",Player)
|
||||||
|
newCharApp.Name = "Appearance"
|
||||||
|
--BODY COLORS
|
||||||
|
for i=1,6,1 do
|
||||||
|
local BodyColor = Instance.new("BrickColorValue",newCharApp)
|
||||||
|
if (i == 1) then
|
||||||
|
if (HeadColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(HeadColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "HeadColor"
|
||||||
|
elseif (i == 2) then
|
||||||
|
if (TorsoColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(TorsoColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "TorsoColor"
|
||||||
|
elseif (i == 3) then
|
||||||
|
if (LeftArmColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(LeftArmColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "LeftArmColor"
|
||||||
|
elseif (i == 4) then
|
||||||
|
if (RightArmColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(RightArmColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "RightArmColor"
|
||||||
|
elseif (i == 5) then
|
||||||
|
if (LeftLegColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(LeftLegColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "LeftLegColor"
|
||||||
|
elseif (i == 6) then
|
||||||
|
if (RightLegColorID ~= nil) then
|
||||||
|
BodyColor.Value = BrickColor.new(RightLegColorID)
|
||||||
|
else
|
||||||
|
BodyColor.Value = BrickColor.new(1)
|
||||||
|
end
|
||||||
|
BodyColor.Name = "RightLegColor"
|
||||||
|
end
|
||||||
|
local indexValue = Instance.new("NumberValue")
|
||||||
|
indexValue.Name = "ColorIndex"
|
||||||
|
indexValue.Parent = BodyColor
|
||||||
|
indexValue.Value = i
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = BodyColor
|
||||||
|
typeValue.Value = 1
|
||||||
|
end
|
||||||
|
--HATS
|
||||||
|
for i=1,3,1 do
|
||||||
|
local newHat = Instance.new("StringValue",newCharApp)
|
||||||
|
if (i == 1) then
|
||||||
|
if (RightLegColorID ~= nil) then
|
||||||
|
newHat.Value = Hat1ID
|
||||||
|
newHat.Name = Hat1ID
|
||||||
|
else
|
||||||
|
newHat.Value = "NoHat.rbxm"
|
||||||
|
newHat.Name = "NoHat.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 2) then
|
||||||
|
if (RightLegColorID ~= nil) then
|
||||||
|
newHat.Value = Hat2ID
|
||||||
|
newHat.Name = Hat2ID
|
||||||
|
else
|
||||||
|
newHat.Value = "NoHat.rbxm"
|
||||||
|
newHat.Name = "NoHat.rbxm"
|
||||||
|
end
|
||||||
|
elseif (i == 3) then
|
||||||
|
if (RightLegColorID ~= nil) then
|
||||||
|
newHat.Value = Hat3ID
|
||||||
|
newHat.Name = Hat3ID
|
||||||
|
else
|
||||||
|
newHat.Value = "NoHat.rbxm"
|
||||||
|
newHat.Name = "NoHat.rbxm"
|
||||||
|
end
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newHat
|
||||||
|
typeValue.Value = 2
|
||||||
|
end
|
||||||
|
--T-SHIRT
|
||||||
|
local newTShirt = Instance.new("StringValue",newCharApp)
|
||||||
|
if (TShirtID ~= nil) then
|
||||||
|
newTShirt.Value = TShirtID
|
||||||
|
newTShirt.Name = TShirtID
|
||||||
|
else
|
||||||
|
newTShirt.Value = "NoTShirt.rbxm"
|
||||||
|
newTShirt.Name = "NoTShirt.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newTShirt
|
||||||
|
typeValue.Value = 3
|
||||||
|
--SHIRT
|
||||||
|
local newShirt = Instance.new("StringValue",newCharApp)
|
||||||
|
if (ShirtID ~= nil) then
|
||||||
|
newShirt.Value = ShirtID
|
||||||
|
newShirt.Name = ShirtID
|
||||||
|
else
|
||||||
|
newShirt.Value = "NoShirt.rbxm"
|
||||||
|
newShirt.Name = "NoShirt.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newShirt
|
||||||
|
typeValue.Value = 4
|
||||||
|
--PANTS
|
||||||
|
local newPants = Instance.new("StringValue",newCharApp)
|
||||||
|
if (PantsID ~= nil) then
|
||||||
|
newPants.Value = PantsID
|
||||||
|
newPants.Name = PantsID
|
||||||
|
else
|
||||||
|
newPants.Value = "NoPants.rbxm"
|
||||||
|
newPants.Name = "NoPants.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newPants
|
||||||
|
typeValue.Value = 5
|
||||||
|
--FACE
|
||||||
|
local newFace = Instance.new("StringValue",newCharApp)
|
||||||
|
if (FaceID ~= nil) then
|
||||||
|
newFace.Value = FaceID
|
||||||
|
newFace.Name = FaceID
|
||||||
|
else
|
||||||
|
newFace.Value = "DefaultFace.rbxm"
|
||||||
|
newFace.Name = "DefaultFace.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newFace
|
||||||
|
typeValue.Value = 6
|
||||||
|
--HEADS
|
||||||
|
local newHead = Instance.new("StringValue",newCharApp)
|
||||||
|
if (HeadID ~= nil) then
|
||||||
|
newHead.Value = HeadID
|
||||||
|
newHead.Name = HeadID
|
||||||
|
else
|
||||||
|
newHead.Value = "DefaultHead.rbxm"
|
||||||
|
newHead.Name = "DefaultHead.rbxm"
|
||||||
|
end
|
||||||
|
local typeValue = Instance.new("NumberValue")
|
||||||
|
typeValue.Name = "CustomizationType"
|
||||||
|
typeValue.Parent = newHead
|
||||||
|
typeValue.Value = 7
|
||||||
|
end
|
||||||
|
|
||||||
|
print("3DView loaded. Nerd.")
|
||||||
|
|
||||||
|
function CS3DView(UserID,PlayerName,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID)
|
||||||
|
settings().Rendering.FrameRateManager = 2
|
||||||
|
game:GetService("RunService"):run()
|
||||||
|
game:GetService("NetworkServer")
|
||||||
|
|
||||||
|
local plr = game.Players:CreateLocalPlayer(UserID)
|
||||||
|
plr.Name = PlayerName
|
||||||
|
plr:LoadCharacter()
|
||||||
|
pcall(function() plr:SetUnder13(false) end)
|
||||||
|
pcall(function() plr:SetSuperSafeChat(true) end)
|
||||||
|
pcall(function() plr:SetAccountAge(365) end)
|
||||||
|
|
||||||
|
plr.CharacterAppearance=0
|
||||||
|
game.GuiRoot.MainMenu:Remove()
|
||||||
|
game.GuiRoot.RightPalette:Remove()
|
||||||
|
game.GuiRoot.ChatMenuPanel:Remove()
|
||||||
|
game.GuiRoot.ScoreHud:Remove()
|
||||||
|
game.GuiRoot.ChatHud:Remove()
|
||||||
|
if (plr.PlayerGui:FindFirstChild("HealthGUI")) then
|
||||||
|
plr.PlayerGui.HealthGUI:Remove()
|
||||||
|
end
|
||||||
|
if (plr.Character:FindFirstChild("Animate")) then
|
||||||
|
plr.Character.Animate:Remove()
|
||||||
|
end
|
||||||
|
|
||||||
|
local target = game.Workspace.Base.SpawnLocation
|
||||||
|
local camera = game.Workspace.CurrentCamera
|
||||||
|
camera.CameraType = Enum.CameraType.Watch
|
||||||
|
camera.CameraSubject = target
|
||||||
|
|
||||||
|
i = true
|
||||||
|
|
||||||
|
local function fixJump(prop)
|
||||||
|
plr.Character.Torso.Velocity = plr.Character.Torso.Velocity * Vector3.new (1, 0, 1)
|
||||||
|
if i == true then
|
||||||
|
plr.Character.Torso.CFrame = plr.Character.Torso.CFrame - Vector3.new(0, 1.8, 0)
|
||||||
|
i = false
|
||||||
|
else
|
||||||
|
i = true
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
local human = plr.Character.Humanoid
|
||||||
|
|
||||||
|
human.WalkSpeed = 0
|
||||||
|
human.Jumping:connect(fixJump)
|
||||||
|
|
||||||
|
InitalizeClientAppearance(plr,Hat1ID,Hat2ID,Hat3ID,HeadColorID,TorsoColorID,LeftArmColorID,RightArmColorID,LeftLegColorID,RightLegColorID,TShirtID,ShirtID,PantsID,FaceID,HeadID)
|
||||||
|
LoadCharacterNew(newWaitForChild(plr,"Appearance"),plr.Character)
|
||||||
|
wait(1)
|
||||||
|
game:GetService("NetworkClient")
|
||||||
|
end
|
||||||
|
|
||||||
|
_G.CS3DView=CS3DView
|
BIN
Graphics/N.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
Graphics/NOVETUS.png
Normal file
After Width: | Height: | Size: 8.8 MiB |
BIN
Graphics/NOVETUS_small.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
Graphics/N_small.png
Normal file
After Width: | Height: | Size: 55 KiB |
BIN
Graphics/NovetusIcon.ico
Normal file
After Width: | Height: | Size: 130 KiB |
674
LICENCE.MD
Normal file
@ -0,0 +1,674 @@
|
|||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 3, 29 June 2007
|
||||||
|
|
||||||
|
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The GNU General Public License is a free, copyleft license for
|
||||||
|
software and other kinds of works.
|
||||||
|
|
||||||
|
The licenses for most software and other practical works are designed
|
||||||
|
to take away your freedom to share and change the works. By contrast,
|
||||||
|
the GNU General Public License is intended to guarantee your freedom to
|
||||||
|
share and change all versions of a program--to make sure it remains free
|
||||||
|
software for all its users. We, the Free Software Foundation, use the
|
||||||
|
GNU General Public License for most of our software; it applies also to
|
||||||
|
any other work released this way by its authors. You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
them if you wish), that you receive source code or can get it if you
|
||||||
|
want it, that you can change the software or use pieces of it in new
|
||||||
|
free programs, and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to prevent others from denying you
|
||||||
|
these rights or asking you to surrender the rights. Therefore, you have
|
||||||
|
certain responsibilities if you distribute copies of the software, or if
|
||||||
|
you modify it: responsibilities to respect the freedom of others.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must pass on to the recipients the same
|
||||||
|
freedoms that you received. You must make sure that they, too, receive
|
||||||
|
or can get the source code. And you must show them these terms so they
|
||||||
|
know their rights.
|
||||||
|
|
||||||
|
Developers that use the GNU GPL protect your rights with two steps:
|
||||||
|
(1) assert copyright on the software, and (2) offer you this License
|
||||||
|
giving you legal permission to copy, distribute and/or modify it.
|
||||||
|
|
||||||
|
For the developers' and authors' protection, the GPL clearly explains
|
||||||
|
that there is no warranty for this free software. For both users' and
|
||||||
|
authors' sake, the GPL requires that modified versions be marked as
|
||||||
|
changed, so that their problems will not be attributed erroneously to
|
||||||
|
authors of previous versions.
|
||||||
|
|
||||||
|
Some devices are designed to deny users access to install or run
|
||||||
|
modified versions of the software inside them, although the manufacturer
|
||||||
|
can do so. This is fundamentally incompatible with the aim of
|
||||||
|
protecting users' freedom to change the software. The systematic
|
||||||
|
pattern of such abuse occurs in the area of products for individuals to
|
||||||
|
use, which is precisely where it is most unacceptable. Therefore, we
|
||||||
|
have designed this version of the GPL to prohibit the practice for those
|
||||||
|
products. If such problems arise substantially in other domains, we
|
||||||
|
stand ready to extend this provision to those domains in future versions
|
||||||
|
of the GPL, as needed to protect the freedom of users.
|
||||||
|
|
||||||
|
Finally, every program is threatened constantly by software patents.
|
||||||
|
States should not allow patents to restrict development and use of
|
||||||
|
software on general-purpose computers, but in those that do, we wish to
|
||||||
|
avoid the special danger that patents applied to a free program could
|
||||||
|
make it effectively proprietary. To prevent this, the GPL assures that
|
||||||
|
patents cannot be used to render the program non-free.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
0. Definitions.
|
||||||
|
|
||||||
|
"This License" refers to version 3 of the GNU General Public License.
|
||||||
|
|
||||||
|
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||||
|
works, such as semiconductor masks.
|
||||||
|
|
||||||
|
"The Program" refers to any copyrightable work licensed under this
|
||||||
|
License. Each licensee is addressed as "you". "Licensees" and
|
||||||
|
"recipients" may be individuals or organizations.
|
||||||
|
|
||||||
|
To "modify" a work means to copy from or adapt all or part of the work
|
||||||
|
in a fashion requiring copyright permission, other than the making of an
|
||||||
|
exact copy. The resulting work is called a "modified version" of the
|
||||||
|
earlier work or a work "based on" the earlier work.
|
||||||
|
|
||||||
|
A "covered work" means either the unmodified Program or a work based
|
||||||
|
on the Program.
|
||||||
|
|
||||||
|
To "propagate" a work means to do anything with it that, without
|
||||||
|
permission, would make you directly or secondarily liable for
|
||||||
|
infringement under applicable copyright law, except executing it on a
|
||||||
|
computer or modifying a private copy. Propagation includes copying,
|
||||||
|
distribution (with or without modification), making available to the
|
||||||
|
public, and in some countries other activities as well.
|
||||||
|
|
||||||
|
To "convey" a work means any kind of propagation that enables other
|
||||||
|
parties to make or receive copies. Mere interaction with a user through
|
||||||
|
a computer network, with no transfer of a copy, is not conveying.
|
||||||
|
|
||||||
|
An interactive user interface displays "Appropriate Legal Notices"
|
||||||
|
to the extent that it includes a convenient and prominently visible
|
||||||
|
feature that (1) displays an appropriate copyright notice, and (2)
|
||||||
|
tells the user that there is no warranty for the work (except to the
|
||||||
|
extent that warranties are provided), that licensees may convey the
|
||||||
|
work under this License, and how to view a copy of this License. If
|
||||||
|
the interface presents a list of user commands or options, such as a
|
||||||
|
menu, a prominent item in the list meets this criterion.
|
||||||
|
|
||||||
|
1. Source Code.
|
||||||
|
|
||||||
|
The "source code" for a work means the preferred form of the work
|
||||||
|
for making modifications to it. "Object code" means any non-source
|
||||||
|
form of a work.
|
||||||
|
|
||||||
|
A "Standard Interface" means an interface that either is an official
|
||||||
|
standard defined by a recognized standards body, or, in the case of
|
||||||
|
interfaces specified for a particular programming language, one that
|
||||||
|
is widely used among developers working in that language.
|
||||||
|
|
||||||
|
The "System Libraries" of an executable work include anything, other
|
||||||
|
than the work as a whole, that (a) is included in the normal form of
|
||||||
|
packaging a Major Component, but which is not part of that Major
|
||||||
|
Component, and (b) serves only to enable use of the work with that
|
||||||
|
Major Component, or to implement a Standard Interface for which an
|
||||||
|
implementation is available to the public in source code form. A
|
||||||
|
"Major Component", in this context, means a major essential component
|
||||||
|
(kernel, window system, and so on) of the specific operating system
|
||||||
|
(if any) on which the executable work runs, or a compiler used to
|
||||||
|
produce the work, or an object code interpreter used to run it.
|
||||||
|
|
||||||
|
The "Corresponding Source" for a work in object code form means all
|
||||||
|
the source code needed to generate, install, and (for an executable
|
||||||
|
work) run the object code and to modify the work, including scripts to
|
||||||
|
control those activities. However, it does not include the work's
|
||||||
|
System Libraries, or general-purpose tools or generally available free
|
||||||
|
programs which are used unmodified in performing those activities but
|
||||||
|
which are not part of the work. For example, Corresponding Source
|
||||||
|
includes interface definition files associated with source files for
|
||||||
|
the work, and the source code for shared libraries and dynamically
|
||||||
|
linked subprograms that the work is specifically designed to require,
|
||||||
|
such as by intimate data communication or control flow between those
|
||||||
|
subprograms and other parts of the work.
|
||||||
|
|
||||||
|
The Corresponding Source need not include anything that users
|
||||||
|
can regenerate automatically from other parts of the Corresponding
|
||||||
|
Source.
|
||||||
|
|
||||||
|
The Corresponding Source for a work in source code form is that
|
||||||
|
same work.
|
||||||
|
|
||||||
|
2. Basic Permissions.
|
||||||
|
|
||||||
|
All rights granted under this License are granted for the term of
|
||||||
|
copyright on the Program, and are irrevocable provided the stated
|
||||||
|
conditions are met. This License explicitly affirms your unlimited
|
||||||
|
permission to run the unmodified Program. The output from running a
|
||||||
|
covered work is covered by this License only if the output, given its
|
||||||
|
content, constitutes a covered work. This License acknowledges your
|
||||||
|
rights of fair use or other equivalent, as provided by copyright law.
|
||||||
|
|
||||||
|
You may make, run and propagate covered works that you do not
|
||||||
|
convey, without conditions so long as your license otherwise remains
|
||||||
|
in force. You may convey covered works to others for the sole purpose
|
||||||
|
of having them make modifications exclusively for you, or provide you
|
||||||
|
with facilities for running those works, provided that you comply with
|
||||||
|
the terms of this License in conveying all material for which you do
|
||||||
|
not control copyright. Those thus making or running the covered works
|
||||||
|
for you must do so exclusively on your behalf, under your direction
|
||||||
|
and control, on terms that prohibit them from making any copies of
|
||||||
|
your copyrighted material outside their relationship with you.
|
||||||
|
|
||||||
|
Conveying under any other circumstances is permitted solely under
|
||||||
|
the conditions stated below. Sublicensing is not allowed; section 10
|
||||||
|
makes it unnecessary.
|
||||||
|
|
||||||
|
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||||
|
|
||||||
|
No covered work shall be deemed part of an effective technological
|
||||||
|
measure under any applicable law fulfilling obligations under article
|
||||||
|
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||||
|
similar laws prohibiting or restricting circumvention of such
|
||||||
|
measures.
|
||||||
|
|
||||||
|
When you convey a covered work, you waive any legal power to forbid
|
||||||
|
circumvention of technological measures to the extent such circumvention
|
||||||
|
is effected by exercising rights under this License with respect to
|
||||||
|
the covered work, and you disclaim any intention to limit operation or
|
||||||
|
modification of the work as a means of enforcing, against the work's
|
||||||
|
users, your or third parties' legal rights to forbid circumvention of
|
||||||
|
technological measures.
|
||||||
|
|
||||||
|
4. Conveying Verbatim Copies.
|
||||||
|
|
||||||
|
You may convey verbatim copies of the Program's source code as you
|
||||||
|
receive it, in any medium, provided that you conspicuously and
|
||||||
|
appropriately publish on each copy an appropriate copyright notice;
|
||||||
|
keep intact all notices stating that this License and any
|
||||||
|
non-permissive terms added in accord with section 7 apply to the code;
|
||||||
|
keep intact all notices of the absence of any warranty; and give all
|
||||||
|
recipients a copy of this License along with the Program.
|
||||||
|
|
||||||
|
You may charge any price or no price for each copy that you convey,
|
||||||
|
and you may offer support or warranty protection for a fee.
|
||||||
|
|
||||||
|
5. Conveying Modified Source Versions.
|
||||||
|
|
||||||
|
You may convey a work based on the Program, or the modifications to
|
||||||
|
produce it from the Program, in the form of source code under the
|
||||||
|
terms of section 4, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) The work must carry prominent notices stating that you modified
|
||||||
|
it, and giving a relevant date.
|
||||||
|
|
||||||
|
b) The work must carry prominent notices stating that it is
|
||||||
|
released under this License and any conditions added under section
|
||||||
|
7. This requirement modifies the requirement in section 4 to
|
||||||
|
"keep intact all notices".
|
||||||
|
|
||||||
|
c) You must license the entire work, as a whole, under this
|
||||||
|
License to anyone who comes into possession of a copy. This
|
||||||
|
License will therefore apply, along with any applicable section 7
|
||||||
|
additional terms, to the whole of the work, and all its parts,
|
||||||
|
regardless of how they are packaged. This License gives no
|
||||||
|
permission to license the work in any other way, but it does not
|
||||||
|
invalidate such permission if you have separately received it.
|
||||||
|
|
||||||
|
d) If the work has interactive user interfaces, each must display
|
||||||
|
Appropriate Legal Notices; however, if the Program has interactive
|
||||||
|
interfaces that do not display Appropriate Legal Notices, your
|
||||||
|
work need not make them do so.
|
||||||
|
|
||||||
|
A compilation of a covered work with other separate and independent
|
||||||
|
works, which are not by their nature extensions of the covered work,
|
||||||
|
and which are not combined with it such as to form a larger program,
|
||||||
|
in or on a volume of a storage or distribution medium, is called an
|
||||||
|
"aggregate" if the compilation and its resulting copyright are not
|
||||||
|
used to limit the access or legal rights of the compilation's users
|
||||||
|
beyond what the individual works permit. Inclusion of a covered work
|
||||||
|
in an aggregate does not cause this License to apply to the other
|
||||||
|
parts of the aggregate.
|
||||||
|
|
||||||
|
6. Conveying Non-Source Forms.
|
||||||
|
|
||||||
|
You may convey a covered work in object code form under the terms
|
||||||
|
of sections 4 and 5, provided that you also convey the
|
||||||
|
machine-readable Corresponding Source under the terms of this License,
|
||||||
|
in one of these ways:
|
||||||
|
|
||||||
|
a) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by the
|
||||||
|
Corresponding Source fixed on a durable physical medium
|
||||||
|
customarily used for software interchange.
|
||||||
|
|
||||||
|
b) Convey the object code in, or embodied in, a physical product
|
||||||
|
(including a physical distribution medium), accompanied by a
|
||||||
|
written offer, valid for at least three years and valid for as
|
||||||
|
long as you offer spare parts or customer support for that product
|
||||||
|
model, to give anyone who possesses the object code either (1) a
|
||||||
|
copy of the Corresponding Source for all the software in the
|
||||||
|
product that is covered by this License, on a durable physical
|
||||||
|
medium customarily used for software interchange, for a price no
|
||||||
|
more than your reasonable cost of physically performing this
|
||||||
|
conveying of source, or (2) access to copy the
|
||||||
|
Corresponding Source from a network server at no charge.
|
||||||
|
|
||||||
|
c) Convey individual copies of the object code with a copy of the
|
||||||
|
written offer to provide the Corresponding Source. This
|
||||||
|
alternative is allowed only occasionally and noncommercially, and
|
||||||
|
only if you received the object code with such an offer, in accord
|
||||||
|
with subsection 6b.
|
||||||
|
|
||||||
|
d) Convey the object code by offering access from a designated
|
||||||
|
place (gratis or for a charge), and offer equivalent access to the
|
||||||
|
Corresponding Source in the same way through the same place at no
|
||||||
|
further charge. You need not require recipients to copy the
|
||||||
|
Corresponding Source along with the object code. If the place to
|
||||||
|
copy the object code is a network server, the Corresponding Source
|
||||||
|
may be on a different server (operated by you or a third party)
|
||||||
|
that supports equivalent copying facilities, provided you maintain
|
||||||
|
clear directions next to the object code saying where to find the
|
||||||
|
Corresponding Source. Regardless of what server hosts the
|
||||||
|
Corresponding Source, you remain obligated to ensure that it is
|
||||||
|
available for as long as needed to satisfy these requirements.
|
||||||
|
|
||||||
|
e) Convey the object code using peer-to-peer transmission, provided
|
||||||
|
you inform other peers where the object code and Corresponding
|
||||||
|
Source of the work are being offered to the general public at no
|
||||||
|
charge under subsection 6d.
|
||||||
|
|
||||||
|
A separable portion of the object code, whose source code is excluded
|
||||||
|
from the Corresponding Source as a System Library, need not be
|
||||||
|
included in conveying the object code work.
|
||||||
|
|
||||||
|
A "User Product" is either (1) a "consumer product", which means any
|
||||||
|
tangible personal property which is normally used for personal, family,
|
||||||
|
or household purposes, or (2) anything designed or sold for incorporation
|
||||||
|
into a dwelling. In determining whether a product is a consumer product,
|
||||||
|
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||||
|
product received by a particular user, "normally used" refers to a
|
||||||
|
typical or common use of that class of product, regardless of the status
|
||||||
|
of the particular user or of the way in which the particular user
|
||||||
|
actually uses, or expects or is expected to use, the product. A product
|
||||||
|
is a consumer product regardless of whether the product has substantial
|
||||||
|
commercial, industrial or non-consumer uses, unless such uses represent
|
||||||
|
the only significant mode of use of the product.
|
||||||
|
|
||||||
|
"Installation Information" for a User Product means any methods,
|
||||||
|
procedures, authorization keys, or other information required to install
|
||||||
|
and execute modified versions of a covered work in that User Product from
|
||||||
|
a modified version of its Corresponding Source. The information must
|
||||||
|
suffice to ensure that the continued functioning of the modified object
|
||||||
|
code is in no case prevented or interfered with solely because
|
||||||
|
modification has been made.
|
||||||
|
|
||||||
|
If you convey an object code work under this section in, or with, or
|
||||||
|
specifically for use in, a User Product, and the conveying occurs as
|
||||||
|
part of a transaction in which the right of possession and use of the
|
||||||
|
User Product is transferred to the recipient in perpetuity or for a
|
||||||
|
fixed term (regardless of how the transaction is characterized), the
|
||||||
|
Corresponding Source conveyed under this section must be accompanied
|
||||||
|
by the Installation Information. But this requirement does not apply
|
||||||
|
if neither you nor any third party retains the ability to install
|
||||||
|
modified object code on the User Product (for example, the work has
|
||||||
|
been installed in ROM).
|
||||||
|
|
||||||
|
The requirement to provide Installation Information does not include a
|
||||||
|
requirement to continue to provide support service, warranty, or updates
|
||||||
|
for a work that has been modified or installed by the recipient, or for
|
||||||
|
the User Product in which it has been modified or installed. Access to a
|
||||||
|
network may be denied when the modification itself materially and
|
||||||
|
adversely affects the operation of the network or violates the rules and
|
||||||
|
protocols for communication across the network.
|
||||||
|
|
||||||
|
Corresponding Source conveyed, and Installation Information provided,
|
||||||
|
in accord with this section must be in a format that is publicly
|
||||||
|
documented (and with an implementation available to the public in
|
||||||
|
source code form), and must require no special password or key for
|
||||||
|
unpacking, reading or copying.
|
||||||
|
|
||||||
|
7. Additional Terms.
|
||||||
|
|
||||||
|
"Additional permissions" are terms that supplement the terms of this
|
||||||
|
License by making exceptions from one or more of its conditions.
|
||||||
|
Additional permissions that are applicable to the entire Program shall
|
||||||
|
be treated as though they were included in this License, to the extent
|
||||||
|
that they are valid under applicable law. If additional permissions
|
||||||
|
apply only to part of the Program, that part may be used separately
|
||||||
|
under those permissions, but the entire Program remains governed by
|
||||||
|
this License without regard to the additional permissions.
|
||||||
|
|
||||||
|
When you convey a copy of a covered work, you may at your option
|
||||||
|
remove any additional permissions from that copy, or from any part of
|
||||||
|
it. (Additional permissions may be written to require their own
|
||||||
|
removal in certain cases when you modify the work.) You may place
|
||||||
|
additional permissions on material, added by you to a covered work,
|
||||||
|
for which you have or can give appropriate copyright permission.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, for material you
|
||||||
|
add to a covered work, you may (if authorized by the copyright holders of
|
||||||
|
that material) supplement the terms of this License with terms:
|
||||||
|
|
||||||
|
a) Disclaiming warranty or limiting liability differently from the
|
||||||
|
terms of sections 15 and 16 of this License; or
|
||||||
|
|
||||||
|
b) Requiring preservation of specified reasonable legal notices or
|
||||||
|
author attributions in that material or in the Appropriate Legal
|
||||||
|
Notices displayed by works containing it; or
|
||||||
|
|
||||||
|
c) Prohibiting misrepresentation of the origin of that material, or
|
||||||
|
requiring that modified versions of such material be marked in
|
||||||
|
reasonable ways as different from the original version; or
|
||||||
|
|
||||||
|
d) Limiting the use for publicity purposes of names of licensors or
|
||||||
|
authors of the material; or
|
||||||
|
|
||||||
|
e) Declining to grant rights under trademark law for use of some
|
||||||
|
trade names, trademarks, or service marks; or
|
||||||
|
|
||||||
|
f) Requiring indemnification of licensors and authors of that
|
||||||
|
material by anyone who conveys the material (or modified versions of
|
||||||
|
it) with contractual assumptions of liability to the recipient, for
|
||||||
|
any liability that these contractual assumptions directly impose on
|
||||||
|
those licensors and authors.
|
||||||
|
|
||||||
|
All other non-permissive additional terms are considered "further
|
||||||
|
restrictions" within the meaning of section 10. If the Program as you
|
||||||
|
received it, or any part of it, contains a notice stating that it is
|
||||||
|
governed by this License along with a term that is a further
|
||||||
|
restriction, you may remove that term. If a license document contains
|
||||||
|
a further restriction but permits relicensing or conveying under this
|
||||||
|
License, you may add to a covered work material governed by the terms
|
||||||
|
of that license document, provided that the further restriction does
|
||||||
|
not survive such relicensing or conveying.
|
||||||
|
|
||||||
|
If you add terms to a covered work in accord with this section, you
|
||||||
|
must place, in the relevant source files, a statement of the
|
||||||
|
additional terms that apply to those files, or a notice indicating
|
||||||
|
where to find the applicable terms.
|
||||||
|
|
||||||
|
Additional terms, permissive or non-permissive, may be stated in the
|
||||||
|
form of a separately written license, or stated as exceptions;
|
||||||
|
the above requirements apply either way.
|
||||||
|
|
||||||
|
8. Termination.
|
||||||
|
|
||||||
|
You may not propagate or modify a covered work except as expressly
|
||||||
|
provided under this License. Any attempt otherwise to propagate or
|
||||||
|
modify it is void, and will automatically terminate your rights under
|
||||||
|
this License (including any patent licenses granted under the third
|
||||||
|
paragraph of section 11).
|
||||||
|
|
||||||
|
However, if you cease all violation of this License, then your
|
||||||
|
license from a particular copyright holder is reinstated (a)
|
||||||
|
provisionally, unless and until the copyright holder explicitly and
|
||||||
|
finally terminates your license, and (b) permanently, if the copyright
|
||||||
|
holder fails to notify you of the violation by some reasonable means
|
||||||
|
prior to 60 days after the cessation.
|
||||||
|
|
||||||
|
Moreover, your license from a particular copyright holder is
|
||||||
|
reinstated permanently if the copyright holder notifies you of the
|
||||||
|
violation by some reasonable means, this is the first time you have
|
||||||
|
received notice of violation of this License (for any work) from that
|
||||||
|
copyright holder, and you cure the violation prior to 30 days after
|
||||||
|
your receipt of the notice.
|
||||||
|
|
||||||
|
Termination of your rights under this section does not terminate the
|
||||||
|
licenses of parties who have received copies or rights from you under
|
||||||
|
this License. If your rights have been terminated and not permanently
|
||||||
|
reinstated, you do not qualify to receive new licenses for the same
|
||||||
|
material under section 10.
|
||||||
|
|
||||||
|
9. Acceptance Not Required for Having Copies.
|
||||||
|
|
||||||
|
You are not required to accept this License in order to receive or
|
||||||
|
run a copy of the Program. Ancillary propagation of a covered work
|
||||||
|
occurring solely as a consequence of using peer-to-peer transmission
|
||||||
|
to receive a copy likewise does not require acceptance. However,
|
||||||
|
nothing other than this License grants you permission to propagate or
|
||||||
|
modify any covered work. These actions infringe copyright if you do
|
||||||
|
not accept this License. Therefore, by modifying or propagating a
|
||||||
|
covered work, you indicate your acceptance of this License to do so.
|
||||||
|
|
||||||
|
10. Automatic Licensing of Downstream Recipients.
|
||||||
|
|
||||||
|
Each time you convey a covered work, the recipient automatically
|
||||||
|
receives a license from the original licensors, to run, modify and
|
||||||
|
propagate that work, subject to this License. You are not responsible
|
||||||
|
for enforcing compliance by third parties with this License.
|
||||||
|
|
||||||
|
An "entity transaction" is a transaction transferring control of an
|
||||||
|
organization, or substantially all assets of one, or subdividing an
|
||||||
|
organization, or merging organizations. If propagation of a covered
|
||||||
|
work results from an entity transaction, each party to that
|
||||||
|
transaction who receives a copy of the work also receives whatever
|
||||||
|
licenses to the work the party's predecessor in interest had or could
|
||||||
|
give under the previous paragraph, plus a right to possession of the
|
||||||
|
Corresponding Source of the work from the predecessor in interest, if
|
||||||
|
the predecessor has it or can get it with reasonable efforts.
|
||||||
|
|
||||||
|
You may not impose any further restrictions on the exercise of the
|
||||||
|
rights granted or affirmed under this License. For example, you may
|
||||||
|
not impose a license fee, royalty, or other charge for exercise of
|
||||||
|
rights granted under this License, and you may not initiate litigation
|
||||||
|
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||||
|
any patent claim is infringed by making, using, selling, offering for
|
||||||
|
sale, or importing the Program or any portion of it.
|
||||||
|
|
||||||
|
11. Patents.
|
||||||
|
|
||||||
|
A "contributor" is a copyright holder who authorizes use under this
|
||||||
|
License of the Program or a work on which the Program is based. The
|
||||||
|
work thus licensed is called the contributor's "contributor version".
|
||||||
|
|
||||||
|
A contributor's "essential patent claims" are all patent claims
|
||||||
|
owned or controlled by the contributor, whether already acquired or
|
||||||
|
hereafter acquired, that would be infringed by some manner, permitted
|
||||||
|
by this License, of making, using, or selling its contributor version,
|
||||||
|
but do not include claims that would be infringed only as a
|
||||||
|
consequence of further modification of the contributor version. For
|
||||||
|
purposes of this definition, "control" includes the right to grant
|
||||||
|
patent sublicenses in a manner consistent with the requirements of
|
||||||
|
this License.
|
||||||
|
|
||||||
|
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||||
|
patent license under the contributor's essential patent claims, to
|
||||||
|
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||||
|
propagate the contents of its contributor version.
|
||||||
|
|
||||||
|
In the following three paragraphs, a "patent license" is any express
|
||||||
|
agreement or commitment, however denominated, not to enforce a patent
|
||||||
|
(such as an express permission to practice a patent or covenant not to
|
||||||
|
sue for patent infringement). To "grant" such a patent license to a
|
||||||
|
party means to make such an agreement or commitment not to enforce a
|
||||||
|
patent against the party.
|
||||||
|
|
||||||
|
If you convey a covered work, knowingly relying on a patent license,
|
||||||
|
and the Corresponding Source of the work is not available for anyone
|
||||||
|
to copy, free of charge and under the terms of this License, through a
|
||||||
|
publicly available network server or other readily accessible means,
|
||||||
|
then you must either (1) cause the Corresponding Source to be so
|
||||||
|
available, or (2) arrange to deprive yourself of the benefit of the
|
||||||
|
patent license for this particular work, or (3) arrange, in a manner
|
||||||
|
consistent with the requirements of this License, to extend the patent
|
||||||
|
license to downstream recipients. "Knowingly relying" means you have
|
||||||
|
actual knowledge that, but for the patent license, your conveying the
|
||||||
|
covered work in a country, or your recipient's use of the covered work
|
||||||
|
in a country, would infringe one or more identifiable patents in that
|
||||||
|
country that you have reason to believe are valid.
|
||||||
|
|
||||||
|
If, pursuant to or in connection with a single transaction or
|
||||||
|
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||||
|
covered work, and grant a patent license to some of the parties
|
||||||
|
receiving the covered work authorizing them to use, propagate, modify
|
||||||
|
or convey a specific copy of the covered work, then the patent license
|
||||||
|
you grant is automatically extended to all recipients of the covered
|
||||||
|
work and works based on it.
|
||||||
|
|
||||||
|
A patent license is "discriminatory" if it does not include within
|
||||||
|
the scope of its coverage, prohibits the exercise of, or is
|
||||||
|
conditioned on the non-exercise of one or more of the rights that are
|
||||||
|
specifically granted under this License. You may not convey a covered
|
||||||
|
work if you are a party to an arrangement with a third party that is
|
||||||
|
in the business of distributing software, under which you make payment
|
||||||
|
to the third party based on the extent of your activity of conveying
|
||||||
|
the work, and under which the third party grants, to any of the
|
||||||
|
parties who would receive the covered work from you, a discriminatory
|
||||||
|
patent license (a) in connection with copies of the covered work
|
||||||
|
conveyed by you (or copies made from those copies), or (b) primarily
|
||||||
|
for and in connection with specific products or compilations that
|
||||||
|
contain the covered work, unless you entered into that arrangement,
|
||||||
|
or that patent license was granted, prior to 28 March 2007.
|
||||||
|
|
||||||
|
Nothing in this License shall be construed as excluding or limiting
|
||||||
|
any implied license or other defenses to infringement that may
|
||||||
|
otherwise be available to you under applicable patent law.
|
||||||
|
|
||||||
|
12. No Surrender of Others' Freedom.
|
||||||
|
|
||||||
|
If conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot convey a
|
||||||
|
covered work so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you may
|
||||||
|
not convey it at all. For example, if you agree to terms that obligate you
|
||||||
|
to collect a royalty for further conveying from those to whom you convey
|
||||||
|
the Program, the only way you could satisfy both those terms and this
|
||||||
|
License would be to refrain entirely from conveying the Program.
|
||||||
|
|
||||||
|
13. Use with the GNU Affero General Public License.
|
||||||
|
|
||||||
|
Notwithstanding any other provision of this License, you have
|
||||||
|
permission to link or combine any covered work with a work licensed
|
||||||
|
under version 3 of the GNU Affero General Public License into a single
|
||||||
|
combined work, and to convey the resulting work. The terms of this
|
||||||
|
License will continue to apply to the part which is the covered work,
|
||||||
|
but the special requirements of the GNU Affero General Public License,
|
||||||
|
section 13, concerning interaction through a network will apply to the
|
||||||
|
combination as such.
|
||||||
|
|
||||||
|
14. Revised Versions of this License.
|
||||||
|
|
||||||
|
The Free Software Foundation may publish revised and/or new versions of
|
||||||
|
the GNU General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the
|
||||||
|
Program specifies that a certain numbered version of the GNU General
|
||||||
|
Public License "or any later version" applies to it, you have the
|
||||||
|
option of following the terms and conditions either of that numbered
|
||||||
|
version or of any later version published by the Free Software
|
||||||
|
Foundation. If the Program does not specify a version number of the
|
||||||
|
GNU General Public License, you may choose any version ever published
|
||||||
|
by the Free Software Foundation.
|
||||||
|
|
||||||
|
If the Program specifies that a proxy can decide which future
|
||||||
|
versions of the GNU General Public License can be used, that proxy's
|
||||||
|
public statement of acceptance of a version permanently authorizes you
|
||||||
|
to choose that version for the Program.
|
||||||
|
|
||||||
|
Later license versions may give you additional or different
|
||||||
|
permissions. However, no additional obligations are imposed on any
|
||||||
|
author or copyright holder as a result of your choosing to follow a
|
||||||
|
later version.
|
||||||
|
|
||||||
|
15. Disclaimer of Warranty.
|
||||||
|
|
||||||
|
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||||
|
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||||
|
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||||
|
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||||
|
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||||
|
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
16. Limitation of Liability.
|
||||||
|
|
||||||
|
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||||
|
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||||
|
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||||
|
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||||
|
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||||
|
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||||
|
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||||
|
SUCH DAMAGES.
|
||||||
|
|
||||||
|
17. Interpretation of Sections 15 and 16.
|
||||||
|
|
||||||
|
If the disclaimer of warranty and limitation of liability provided
|
||||||
|
above cannot be given local legal effect according to their terms,
|
||||||
|
reviewing courts shall apply local law that most closely approximates
|
||||||
|
an absolute waiver of all civil liability in connection with the
|
||||||
|
Program, unless a warranty or assumption of liability accompanies a
|
||||||
|
copy of the Program in return for a fee.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
|
If you develop a new program, and you want it to be of the greatest
|
||||||
|
possible use to the public, the best way to achieve this is to make it
|
||||||
|
free software which everyone can redistribute and change under these terms.
|
||||||
|
|
||||||
|
To do so, attach the following notices to the program. It is safest
|
||||||
|
to attach them to the start of each source file to most effectively
|
||||||
|
state the exclusion of warranty; and each file should have at least
|
||||||
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
|
{one line to give the program's name and a brief idea of what it does.}
|
||||||
|
Copyright (C) {year} {name of author}
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
|
If the program does terminal interaction, make it output a short
|
||||||
|
notice like this when it starts in an interactive mode:
|
||||||
|
|
||||||
|
{project} Copyright (C) {year} {fullname}
|
||||||
|
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
|
This is free software, and you are welcome to redistribute it
|
||||||
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
|
parts of the General Public License. Of course, your program's commands
|
||||||
|
might be different; for a GUI interface, you would use an "about box".
|
||||||
|
|
||||||
|
You should also get your employer (if you work as a programmer) or school,
|
||||||
|
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||||
|
For more information on this, and how to apply and follow the GNU GPL, see
|
||||||
|
<http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
The GNU General Public License does not permit incorporating your program
|
||||||
|
into proprietary programs. If your program is a subroutine library, you
|
||||||
|
may consider it more useful to permit linking proprietary applications with
|
||||||
|
the library. If this is what you want to do, use the GNU Lesser General
|
||||||
|
Public License instead of this License. But first, please read
|
||||||
|
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
18
NovetusLauncher/NovetusLauncher.sln
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
|
# Visual Studio 2010
|
||||||
|
# SharpDevelop 4.4
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NovetusLauncher", "NovetusLauncher\NovetusLauncher.csproj", "{F92FFBED-2767-4676-9711-BB89CDA58A43}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{F92FFBED-2767-4676-9711-BB89CDA58A43}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
1123
NovetusLauncher/NovetusLauncher/CharacterCustomization.Designer.cs
generated
Normal file
663
NovetusLauncher/NovetusLauncher/CharacterCustomization.cs
Normal file
@ -0,0 +1,663 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 2/5/2017
|
||||||
|
* Time: 1:53 PM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.ComponentModel;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of CharacterCustomization.
|
||||||
|
/// </summary>
|
||||||
|
public partial class CharacterCustomization : Form
|
||||||
|
{
|
||||||
|
private string SelectedPart = "Head";
|
||||||
|
private string[,] ColorArray;
|
||||||
|
private bool StartedVIAURI = false;
|
||||||
|
private string hatdir = GlobalVars.BasePath + "\\charcustom\\hats";
|
||||||
|
private string facedir = GlobalVars.BasePath + "\\charcustom\\faces";
|
||||||
|
private string headdir = GlobalVars.BasePath + "\\charcustom\\heads";
|
||||||
|
private string tshirtdir = GlobalVars.BasePath + "\\charcustom\\tshirts";
|
||||||
|
private string shirtdir = GlobalVars.BasePath + "\\charcustom\\shirts";
|
||||||
|
private string pantsdir = GlobalVars.BasePath + "\\charcustom\\pants";
|
||||||
|
|
||||||
|
public CharacterCustomization(bool StartedURI = false)
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
StartedVIAURI = StartedURI;
|
||||||
|
|
||||||
|
ColorArray = new string[32, 2] {
|
||||||
|
{ "1", button7.BackColor.ToString() },
|
||||||
|
{ "208", button8.BackColor.ToString() },
|
||||||
|
{ "194", button9.BackColor.ToString() },
|
||||||
|
{ "199", button10.BackColor.ToString() },
|
||||||
|
{ "26", button14.BackColor.ToString() },
|
||||||
|
{ "21", button13.BackColor.ToString() },
|
||||||
|
{ "24", button12.BackColor.ToString() },
|
||||||
|
{ "226", button11.BackColor.ToString() },
|
||||||
|
{ "23", button18.BackColor.ToString() },
|
||||||
|
{ "107", button17.BackColor.ToString() },
|
||||||
|
{ "102", button16.BackColor.ToString() },
|
||||||
|
{ "11", button15.BackColor.ToString() },
|
||||||
|
{ "45", button22.BackColor.ToString() },
|
||||||
|
{ "135", button21.BackColor.ToString() },
|
||||||
|
{ "106", button20.BackColor.ToString() },
|
||||||
|
{ "105", button19.BackColor.ToString() },
|
||||||
|
{ "141", button26.BackColor.ToString() },
|
||||||
|
{ "28", button25.BackColor.ToString() },
|
||||||
|
{ "37", button24.BackColor.ToString() },
|
||||||
|
{ "119", button23.BackColor.ToString() },
|
||||||
|
{ "29", button30.BackColor.ToString() },
|
||||||
|
{ "151", button29.BackColor.ToString() },
|
||||||
|
{ "38", button28.BackColor.ToString() },
|
||||||
|
{ "192", button27.BackColor.ToString() },
|
||||||
|
{ "104", button34.BackColor.ToString() },
|
||||||
|
{ "9", button33.BackColor.ToString() },
|
||||||
|
{ "101", button32.BackColor.ToString() },
|
||||||
|
{ "5", button31.BackColor.ToString() },
|
||||||
|
{ "153", button38.BackColor.ToString() },
|
||||||
|
{ "217", button37.BackColor.ToString() },
|
||||||
|
{ "18", button36.BackColor.ToString() },
|
||||||
|
{ "125", button35.BackColor.ToString() }
|
||||||
|
};
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void CharacterCustomizationLoad(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//body
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
|
||||||
|
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
|
||||||
|
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
|
||||||
|
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
|
||||||
|
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
|
||||||
|
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
|
||||||
|
|
||||||
|
//hats
|
||||||
|
listBox1.Items.Clear();
|
||||||
|
listBox2.Items.Clear();
|
||||||
|
listBox3.Items.Clear();
|
||||||
|
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
DirectoryInfo dinfo = new DirectoryInfo(hatdir);
|
||||||
|
FileInfo[] Files = dinfo.GetFiles("*.rbxm");
|
||||||
|
foreach( FileInfo file in Files )
|
||||||
|
{
|
||||||
|
if (file.Name.Equals(String.Empty))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (file.Name.Equals("TeapotTurret.rbxm") && GlobalVars.AdminMode != true)
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
listBox1.Items.Add(file.Name);
|
||||||
|
listBox2.Items.Add(file.Name);
|
||||||
|
listBox3.Items.Add(file.Name);
|
||||||
|
}
|
||||||
|
listBox1.SelectedItem = GlobalVars.Custom_Hat1ID_Offline;
|
||||||
|
listBox2.SelectedItem = GlobalVars.Custom_Hat2ID_Offline;
|
||||||
|
listBox3.SelectedItem = GlobalVars.Custom_Hat3ID_Offline;
|
||||||
|
listBox1.Enabled = true;
|
||||||
|
listBox2.Enabled = true;
|
||||||
|
listBox3.Enabled = true;
|
||||||
|
Image icon1 = Image.FromFile(hatdir + @"\\" + GlobalVars.Custom_Hat1ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox1.Image = icon1;
|
||||||
|
Image icon2 = Image.FromFile(hatdir + @"\\" + GlobalVars.Custom_Hat2ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox2.Image = icon2;
|
||||||
|
Image icon3 = Image.FromFile(hatdir + @"\\" + GlobalVars.Custom_Hat3ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox3.Image = icon3;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
//discord
|
||||||
|
if (StartedVIAURI == false)
|
||||||
|
{
|
||||||
|
GlobalVars.presence.largeImageKey = GlobalVars.imagekey_large;
|
||||||
|
GlobalVars.presence.details = "Customizing " + GlobalVars.PlayerName;
|
||||||
|
GlobalVars.presence.state = "In Character Customization";
|
||||||
|
GlobalVars.presence.startTimestamp = SecurityFuncs.UnixTimeNow();
|
||||||
|
GlobalVars.presence.largeImageText = GlobalVars.PlayerName + " | In Character Customization";
|
||||||
|
DiscordRpc.UpdatePresence(ref GlobalVars.presence);
|
||||||
|
}
|
||||||
|
|
||||||
|
LauncherFuncs.ReloadLoadtextValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
void CharacterCustomizationClose(object sender, CancelEventArgs e)
|
||||||
|
{
|
||||||
|
if (StartedVIAURI == false)
|
||||||
|
{
|
||||||
|
GlobalVars.presence.largeImageKey = GlobalVars.imagekey_large;
|
||||||
|
GlobalVars.presence.state = "In Launcher";
|
||||||
|
GlobalVars.presence.details = "Selected " + GlobalVars.SelectedClient;
|
||||||
|
GlobalVars.presence.startTimestamp = SecurityFuncs.UnixTimeNow();
|
||||||
|
GlobalVars.presence.largeImageText = GlobalVars.PlayerName + " | In Launcher";
|
||||||
|
DiscordRpc.UpdatePresence(ref GlobalVars.presence);
|
||||||
|
}
|
||||||
|
|
||||||
|
LauncherFuncs.ReloadLoadtextValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
// hats
|
||||||
|
|
||||||
|
void ListBox1SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
GlobalVars.Custom_Hat1ID_Offline = listBox1.SelectedItem.ToString();
|
||||||
|
Image icon1 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat1ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox1.Image = icon1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListBox2SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline = listBox2.SelectedItem.ToString();
|
||||||
|
Image icon2 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat2ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox2.Image = icon2;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListBox3SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline = listBox3.SelectedItem.ToString();
|
||||||
|
Image icon3 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat3ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox3.Image = icon3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button41Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
Random random = new Random();
|
||||||
|
int randomHat1 = random.Next(listBox1.Items.Count);
|
||||||
|
listBox1.SelectedItem = listBox1.Items[randomHat1];
|
||||||
|
GlobalVars.Custom_Hat1ID_Offline = listBox1.SelectedItem.ToString();
|
||||||
|
Image icon1 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat1ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox1.Image = icon1;
|
||||||
|
int randomHat2 = random.Next(listBox2.Items.Count);
|
||||||
|
listBox2.SelectedItem = listBox1.Items[randomHat2];
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline = listBox2.SelectedItem.ToString();
|
||||||
|
Image icon2 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat2ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox2.Image = icon2;
|
||||||
|
int randomHat3 = random.Next(listBox3.Items.Count);
|
||||||
|
listBox3.SelectedItem = listBox1.Items[randomHat3];
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline = listBox3.SelectedItem.ToString();
|
||||||
|
Image icon3 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat3ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox3.Image = icon3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button42Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (Directory.Exists(hatdir))
|
||||||
|
{
|
||||||
|
listBox1.SelectedItem = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Hat1ID_Offline = listBox1.SelectedItem.ToString();
|
||||||
|
Image icon1 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat1ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox1.Image = icon1;
|
||||||
|
listBox2.SelectedItem = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline = listBox2.SelectedItem.ToString();
|
||||||
|
Image icon2 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat2ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox2.Image = icon2;
|
||||||
|
listBox3.SelectedItem = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline = listBox3.SelectedItem.ToString();
|
||||||
|
Image icon3 = Image.FromFile(hatdir + "\\" + GlobalVars.Custom_Hat3ID_Offline.Replace(".rbxm", "") + ".png");
|
||||||
|
pictureBox3.Image = icon3;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//body
|
||||||
|
|
||||||
|
void Button1Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Head";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button2Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Torso";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button3Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Right Arm";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button4Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Left Arm";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button5Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Right Leg";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button6Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedPart = "Left Leg";
|
||||||
|
label2.Text = SelectedPart;
|
||||||
|
}
|
||||||
|
|
||||||
|
Color ConvertStringtoColor(string CString)
|
||||||
|
{
|
||||||
|
var p = CString.Split(new char[]{',',']'});
|
||||||
|
|
||||||
|
int A = Convert.ToInt32(p[0].Substring(p[0].IndexOf('=') + 1));
|
||||||
|
int R = Convert.ToInt32(p[1].Substring(p[1].IndexOf('=') + 1));
|
||||||
|
int G = Convert.ToInt32(p[2].Substring(p[2].IndexOf('=') + 1));
|
||||||
|
int B = Convert.ToInt32(p[3].Substring(p[3].IndexOf('=') + 1));
|
||||||
|
|
||||||
|
return Color.FromArgb(A,R,G,B);
|
||||||
|
}
|
||||||
|
|
||||||
|
void ChangeColorOfPart(int ColorID, Color ButtonColor)
|
||||||
|
{
|
||||||
|
if (SelectedPart == "Head")
|
||||||
|
{
|
||||||
|
GlobalVars.HeadColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_HeadColor = ButtonColor.ToString();
|
||||||
|
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
|
||||||
|
}
|
||||||
|
else if (SelectedPart == "Torso")
|
||||||
|
{
|
||||||
|
GlobalVars.TorsoColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_TorsoColor = ButtonColor.ToString();
|
||||||
|
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
|
||||||
|
}
|
||||||
|
else if (SelectedPart == "Right Arm")
|
||||||
|
{
|
||||||
|
GlobalVars.RightArmColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_RightArmColor = ButtonColor.ToString();
|
||||||
|
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
|
||||||
|
}
|
||||||
|
else if (SelectedPart == "Left Arm")
|
||||||
|
{
|
||||||
|
GlobalVars.LeftArmColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_LeftArmColor = ButtonColor.ToString();
|
||||||
|
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
|
||||||
|
}
|
||||||
|
else if (SelectedPart == "Right Leg")
|
||||||
|
{
|
||||||
|
GlobalVars.RightLegColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_RightLegColor = ButtonColor.ToString();
|
||||||
|
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
|
||||||
|
}
|
||||||
|
else if (SelectedPart == "Left Leg")
|
||||||
|
{
|
||||||
|
GlobalVars.LeftLegColorID = ColorID;
|
||||||
|
GlobalVars.ColorMenu_LeftLegColor = ButtonColor.ToString();
|
||||||
|
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button7Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button7.BackColor;
|
||||||
|
int colorID = 1;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button8Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button8.BackColor;
|
||||||
|
int colorID = 208;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button9Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button9.BackColor;
|
||||||
|
int colorID = 194;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button10Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button10.BackColor;
|
||||||
|
int colorID = 199;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button14Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button14.BackColor;
|
||||||
|
int colorID = 26;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button13Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button13.BackColor;
|
||||||
|
int colorID = 21;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button12Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button12.BackColor;
|
||||||
|
int colorID = 24;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button11Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button11.BackColor;
|
||||||
|
int colorID = 226;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button18Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button18.BackColor;
|
||||||
|
int colorID = 23;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button17Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button17.BackColor;
|
||||||
|
int colorID = 107;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button16Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button16.BackColor;
|
||||||
|
int colorID = 102;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button15Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button15.BackColor;
|
||||||
|
int colorID = 11;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button22Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button22.BackColor;
|
||||||
|
int colorID = 45;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button21Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button21.BackColor;
|
||||||
|
int colorID = 135;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button20Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button20.BackColor;
|
||||||
|
int colorID = 106;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button19Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button19.BackColor;
|
||||||
|
int colorID = 105;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button26Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button26.BackColor;
|
||||||
|
int colorID = 141;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button25Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button25.BackColor;
|
||||||
|
int colorID = 28;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button24Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button24.BackColor;
|
||||||
|
int colorID = 37;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button23Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button23.BackColor;
|
||||||
|
int colorID = 119;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button30Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button30.BackColor;
|
||||||
|
int colorID = 29;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button29Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button29.BackColor;
|
||||||
|
int colorID = 151;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button28Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button28.BackColor;
|
||||||
|
int colorID = 38;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button27Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button27.BackColor;
|
||||||
|
int colorID = 192;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button34Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button34.BackColor;
|
||||||
|
int colorID = 104;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button33Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button33.BackColor;
|
||||||
|
int colorID = 9;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button32Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button32.BackColor;
|
||||||
|
int colorID = 101;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button31Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button31.BackColor;
|
||||||
|
int colorID = 5;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button38Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button38.BackColor;
|
||||||
|
int colorID = 153;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button37Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button37.BackColor;
|
||||||
|
int colorID = 217;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button36Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button36.BackColor;
|
||||||
|
int colorID = 18;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button35Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Color ButtonColor = button35.BackColor;
|
||||||
|
int colorID = 125;
|
||||||
|
ChangeColorOfPart(colorID, ButtonColor);
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button39Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Random rand = new Random();
|
||||||
|
int RandomColor;
|
||||||
|
|
||||||
|
for (int i=1; i <= 6; i++)
|
||||||
|
{
|
||||||
|
RandomColor = rand.Next(ColorArray.GetLength(0));
|
||||||
|
if (i == 1)
|
||||||
|
{
|
||||||
|
GlobalVars.HeadColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_HeadColor = ColorArray[RandomColor, 1];
|
||||||
|
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
|
||||||
|
}
|
||||||
|
else if (i == 2)
|
||||||
|
{
|
||||||
|
GlobalVars.TorsoColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_TorsoColor = ColorArray[RandomColor, 1];
|
||||||
|
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
|
||||||
|
}
|
||||||
|
else if (i == 3)
|
||||||
|
{
|
||||||
|
GlobalVars.RightArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_RightArmColor = ColorArray[RandomColor, 1];
|
||||||
|
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
|
||||||
|
}
|
||||||
|
else if (i == 4)
|
||||||
|
{
|
||||||
|
GlobalVars.LeftArmColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_LeftArmColor = ColorArray[RandomColor, 1];
|
||||||
|
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
|
||||||
|
}
|
||||||
|
else if (i == 5)
|
||||||
|
{
|
||||||
|
GlobalVars.RightLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_RightLegColor = ColorArray[RandomColor, 1];
|
||||||
|
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
|
||||||
|
}
|
||||||
|
else if (i == 6)
|
||||||
|
{
|
||||||
|
GlobalVars.LeftLegColorID = Convert.ToInt32(ColorArray[RandomColor, 0]);
|
||||||
|
GlobalVars.ColorMenu_LeftLegColor = ColorArray[RandomColor, 1];
|
||||||
|
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button40Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
GlobalVars.HeadColorID = 24;
|
||||||
|
GlobalVars.TorsoColorID = 23;
|
||||||
|
GlobalVars.LeftArmColorID = 24;
|
||||||
|
GlobalVars.RightArmColorID = 24;
|
||||||
|
GlobalVars.LeftLegColorID = 119;
|
||||||
|
GlobalVars.RightLegColorID = 119;
|
||||||
|
GlobalVars.ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
|
||||||
|
GlobalVars.ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
GlobalVars.ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
button1.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_HeadColor);
|
||||||
|
button2.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_TorsoColor);
|
||||||
|
button3.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightArmColor);
|
||||||
|
button4.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftArmColor);
|
||||||
|
button5.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_RightLegColor);
|
||||||
|
button6.BackColor = ConvertStringtoColor(GlobalVars.ColorMenu_LeftLegColor);
|
||||||
|
MessageBox.Show("Colors Reset!");
|
||||||
|
}
|
||||||
|
|
||||||
|
//3dview
|
||||||
|
|
||||||
|
void Button43Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
LauncherFuncs.ReloadLoadtextValue();
|
||||||
|
string luafile = "rbxasset://scripts\\\\CSView.lua";
|
||||||
|
string mapfile = GlobalVars.BasePath + "\\charcustom\\preview\\content\\fonts\\3DView.rbxl";
|
||||||
|
string rbxexe = GlobalVars.BasePath + "\\charcustom\\preview\\3DView.exe";
|
||||||
|
string quote = "\"";
|
||||||
|
string args = "";
|
||||||
|
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
||||||
|
{
|
||||||
|
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); _G.CS3DView(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "','" + GlobalVars.loadtext + ");" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
||||||
|
{
|
||||||
|
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); _G.CS3DView(" + GlobalVars.UserID + ",'Player','" + GlobalVars.loadtext + ");" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
||||||
|
{
|
||||||
|
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); _G.CS3DView(0,'" + GlobalVars.PlayerName + "','" + GlobalVars.loadtext + ");" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false )
|
||||||
|
{
|
||||||
|
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); _G.CS3DView(0,'Player','" + GlobalVars.loadtext + ");" + quote;
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Process client = new Process();
|
||||||
|
client.StartInfo.FileName = rbxexe;
|
||||||
|
client.StartInfo.Arguments = args;
|
||||||
|
client.Start();
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
DialogResult result2 = MessageBox.Show("Failed to launch Novetus. (Error: " + ex.Message + ")","Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2346
NovetusLauncher/NovetusLauncher/CharacterCustomization.resx
Normal file
256
NovetusLauncher/NovetusLauncher/ClientinfoCreator.Designer.cs
generated
Normal file
@ -0,0 +1,256 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL-Gaming
|
||||||
|
* Date: 11/28/2016
|
||||||
|
* Time: 7:55 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
partial class ClientinfoEditor
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Disposes resources used by the form.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing) {
|
||||||
|
if (components != null) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method is required for Windows Forms designer support.
|
||||||
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||||
|
/// not be able to load this method if it was changed manually.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ClientinfoEditor));
|
||||||
|
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox3 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label4 = new System.Windows.Forms.Label();
|
||||||
|
this.button4 = new System.Windows.Forms.Button();
|
||||||
|
this.checkBox4 = new System.Windows.Forms.CheckBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// checkBox1
|
||||||
|
//
|
||||||
|
this.checkBox1.Location = new System.Drawing.Point(9, 34);
|
||||||
|
this.checkBox1.Name = "checkBox1";
|
||||||
|
this.checkBox1.Size = new System.Drawing.Size(307, 24);
|
||||||
|
this.checkBox1.TabIndex = 0;
|
||||||
|
this.checkBox1.Text = "Allows players to set custom names";
|
||||||
|
this.checkBox1.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
|
||||||
|
//
|
||||||
|
// checkBox2
|
||||||
|
//
|
||||||
|
this.checkBox2.Location = new System.Drawing.Point(9, 53);
|
||||||
|
this.checkBox2.Name = "checkBox2";
|
||||||
|
this.checkBox2.Size = new System.Drawing.Size(307, 20);
|
||||||
|
this.checkBox2.TabIndex = 1;
|
||||||
|
this.checkBox2.Text = "Allows the launcher to set custom IDs";
|
||||||
|
this.checkBox2.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBox2.CheckedChanged += new System.EventHandler(this.CheckBox2CheckedChanged);
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(8, 237);
|
||||||
|
this.textBox1.Multiline = true;
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(310, 94);
|
||||||
|
this.textBox1.TabIndex = 4;
|
||||||
|
this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Location = new System.Drawing.Point(8, 218);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(92, 16);
|
||||||
|
this.label1.TabIndex = 5;
|
||||||
|
this.label1.Text = "Client Description";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.Location = new System.Drawing.Point(8, 9);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(307, 30);
|
||||||
|
this.label2.TabIndex = 6;
|
||||||
|
this.label2.Text = "Check the checkboxes corresponding to what your client supports.";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(166, 366);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(154, 30);
|
||||||
|
this.button1.TabIndex = 7;
|
||||||
|
this.button1.Text = "Save";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(8, 366);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(150, 30);
|
||||||
|
this.button2.TabIndex = 10;
|
||||||
|
this.button2.Text = "Load";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.Button2Click);
|
||||||
|
//
|
||||||
|
// checkBox5
|
||||||
|
//
|
||||||
|
this.checkBox5.Location = new System.Drawing.Point(9, 71);
|
||||||
|
this.checkBox5.Name = "checkBox5";
|
||||||
|
this.checkBox5.Size = new System.Drawing.Size(310, 20);
|
||||||
|
this.checkBox5.TabIndex = 11;
|
||||||
|
this.checkBox5.Text = "Loads assets from servers online";
|
||||||
|
this.checkBox5.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBox5.CheckedChanged += new System.EventHandler(this.CheckBox5CheckedChanged);
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(8, 337);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(312, 23);
|
||||||
|
this.button3.TabIndex = 12;
|
||||||
|
this.button3.Text = "New clientinfo.txt";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.Button3Click);
|
||||||
|
//
|
||||||
|
// checkBox3
|
||||||
|
//
|
||||||
|
this.checkBox3.Location = new System.Drawing.Point(9, 89);
|
||||||
|
this.checkBox3.Name = "checkBox3";
|
||||||
|
this.checkBox3.Size = new System.Drawing.Size(175, 20);
|
||||||
|
this.checkBox3.TabIndex = 13;
|
||||||
|
this.checkBox3.Text = "Client uses a single EXE to run";
|
||||||
|
this.checkBox3.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged);
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.Location = new System.Drawing.Point(8, 112);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(92, 13);
|
||||||
|
this.label3.TabIndex = 14;
|
||||||
|
this.label3.Text = "Client EXE MD5";
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(9, 128);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.ReadOnly = true;
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(311, 20);
|
||||||
|
this.textBox2.TabIndex = 15;
|
||||||
|
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
|
||||||
|
//
|
||||||
|
// textBox3
|
||||||
|
//
|
||||||
|
this.textBox3.Location = new System.Drawing.Point(8, 167);
|
||||||
|
this.textBox3.Name = "textBox3";
|
||||||
|
this.textBox3.ReadOnly = true;
|
||||||
|
this.textBox3.Size = new System.Drawing.Size(312, 20);
|
||||||
|
this.textBox3.TabIndex = 16;
|
||||||
|
this.textBox3.TextChanged += new System.EventHandler(this.TextBox3TextChanged);
|
||||||
|
//
|
||||||
|
// label4
|
||||||
|
//
|
||||||
|
this.label4.Location = new System.Drawing.Point(9, 151);
|
||||||
|
this.label4.Name = "label4";
|
||||||
|
this.label4.Size = new System.Drawing.Size(92, 13);
|
||||||
|
this.label4.TabIndex = 17;
|
||||||
|
this.label4.Text = "Client Script MD5";
|
||||||
|
//
|
||||||
|
// button4
|
||||||
|
//
|
||||||
|
this.button4.Location = new System.Drawing.Point(8, 193);
|
||||||
|
this.button4.Name = "button4";
|
||||||
|
this.button4.Size = new System.Drawing.Size(312, 22);
|
||||||
|
this.button4.TabIndex = 18;
|
||||||
|
this.button4.Text = "Get MD5s from client directory";
|
||||||
|
this.button4.UseVisualStyleBackColor = true;
|
||||||
|
this.button4.Click += new System.EventHandler(this.Button4Click);
|
||||||
|
//
|
||||||
|
// checkBox4
|
||||||
|
//
|
||||||
|
this.checkBox4.Location = new System.Drawing.Point(267, 89);
|
||||||
|
this.checkBox4.Name = "checkBox4";
|
||||||
|
this.checkBox4.Size = new System.Drawing.Size(53, 24);
|
||||||
|
this.checkBox4.TabIndex = 19;
|
||||||
|
this.checkBox4.Text = "Lock";
|
||||||
|
this.checkBox4.UseVisualStyleBackColor = true;
|
||||||
|
this.checkBox4.Visible = false;
|
||||||
|
this.checkBox4.CheckedChanged += new System.EventHandler(this.CheckBox4CheckedChanged);
|
||||||
|
//
|
||||||
|
// ClientinfoEditor
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.ClientSize = new System.Drawing.Size(332, 403);
|
||||||
|
this.Controls.Add(this.checkBox4);
|
||||||
|
this.Controls.Add(this.button4);
|
||||||
|
this.Controls.Add(this.label4);
|
||||||
|
this.Controls.Add(this.textBox3);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.checkBox3);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.checkBox5);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Controls.Add(this.checkBox2);
|
||||||
|
this.Controls.Add(this.checkBox1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.Name = "ClientinfoEditor";
|
||||||
|
this.Text = "Novetus Client SDK";
|
||||||
|
this.Load += new System.EventHandler(this.ClientinfoCreatorLoad);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
}
|
||||||
|
private System.Windows.Forms.CheckBox checkBox4;
|
||||||
|
private System.Windows.Forms.Button button4;
|
||||||
|
private System.Windows.Forms.Label label4;
|
||||||
|
private System.Windows.Forms.TextBox textBox3;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox3;
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox5;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox2;
|
||||||
|
private System.Windows.Forms.CheckBox checkBox1;
|
||||||
|
}
|
||||||
|
}
|
309
NovetusLauncher/NovetusLauncher/ClientinfoCreator.cs
Normal file
@ -0,0 +1,309 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL-Gaming
|
||||||
|
* Date: 11/28/2016
|
||||||
|
* Time: 7:55 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Threading;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of ClientinfoCreator.
|
||||||
|
/// </summary>
|
||||||
|
public partial class ClientinfoEditor : Form
|
||||||
|
{
|
||||||
|
//clientinfocreator
|
||||||
|
private bool UsesPlayerName = false;
|
||||||
|
private bool UsesID = false;
|
||||||
|
private bool LoadsAssetsOnline = false;
|
||||||
|
private string SelectedClientDesc = "";
|
||||||
|
private bool LegacyMode = false;
|
||||||
|
private string SelectedClientMD5 = "";
|
||||||
|
private string SelectedClientScriptMD5 = "";
|
||||||
|
private string SelectedClientInfoPath = "";
|
||||||
|
private bool Locked = false;
|
||||||
|
|
||||||
|
public ClientinfoEditor()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckBox1CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (checkBox1.Checked == true)
|
||||||
|
{
|
||||||
|
UsesPlayerName = true;
|
||||||
|
}
|
||||||
|
else if (checkBox1.Checked == false)
|
||||||
|
{
|
||||||
|
UsesPlayerName = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckBox2CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (checkBox2.Checked == true)
|
||||||
|
{
|
||||||
|
UsesID = true;
|
||||||
|
}
|
||||||
|
else if (checkBox2.Checked == false)
|
||||||
|
{
|
||||||
|
UsesID = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void TextBox1TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SelectedClientDesc = textBox1.Text;
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button2Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
using (var ofd = new OpenFileDialog())
|
||||||
|
{
|
||||||
|
ofd.Filter = "Text files (*.txt)|*.txt";
|
||||||
|
ofd.FilterIndex = 2;
|
||||||
|
ofd.FileName = "clientinfo.txt";
|
||||||
|
ofd.Title = "Load clientinfo.txt";
|
||||||
|
if (ofd.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
string line1;
|
||||||
|
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8;
|
||||||
|
|
||||||
|
using(StreamReader reader = new StreamReader(ofd.FileName))
|
||||||
|
{
|
||||||
|
SelectedClientInfoPath = Path.GetDirectoryName(ofd.FileName);
|
||||||
|
line1 = reader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!SecurityFuncs.IsBase64String(line1))
|
||||||
|
return;
|
||||||
|
|
||||||
|
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||||
|
string[] result = ConvertedLine.Split('|');
|
||||||
|
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||||
|
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||||
|
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||||
|
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||||
|
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||||
|
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||||
|
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||||
|
|
||||||
|
if (GlobalVars.AdminMode != true)
|
||||||
|
{
|
||||||
|
Boolean bline8 = Convert.ToBoolean(Decryptline8);
|
||||||
|
if (bline8 == true)
|
||||||
|
{
|
||||||
|
MessageBox.Show("This client is locked and therefore it cannot be loaded.","Novetus Launcher - Error when loading client", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Locked = bline8;
|
||||||
|
checkBox4.Checked = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Boolean bline8 = Convert.ToBoolean(Decryptline8);
|
||||||
|
Locked = bline8;
|
||||||
|
checkBox4.Checked = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch(IndexOutOfRangeException)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
Boolean bline1 = Convert.ToBoolean(Decryptline1);
|
||||||
|
UsesPlayerName = bline1;
|
||||||
|
|
||||||
|
Boolean bline2 = Convert.ToBoolean(Decryptline2);
|
||||||
|
UsesID = bline2;
|
||||||
|
|
||||||
|
Boolean bline3 = Convert.ToBoolean(Decryptline3);
|
||||||
|
LoadsAssetsOnline = bline3;
|
||||||
|
|
||||||
|
Boolean bline4 = Convert.ToBoolean(Decryptline4);
|
||||||
|
LegacyMode = bline4;
|
||||||
|
|
||||||
|
SelectedClientMD5 = Decryptline5;
|
||||||
|
|
||||||
|
SelectedClientScriptMD5 = Decryptline6;
|
||||||
|
|
||||||
|
SelectedClientDesc = Decryptline7;
|
||||||
|
|
||||||
|
checkBox1.Checked = UsesPlayerName;
|
||||||
|
checkBox2.Checked = UsesID;
|
||||||
|
checkBox5.Checked = LoadsAssetsOnline;
|
||||||
|
checkBox3.Checked = LegacyMode;
|
||||||
|
textBox3.Text = SelectedClientScriptMD5.ToUpper();
|
||||||
|
textBox2.Text = SelectedClientMD5.ToUpper();
|
||||||
|
textBox1.Text = SelectedClientDesc;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button1Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
using (var sfd = new SaveFileDialog())
|
||||||
|
{
|
||||||
|
sfd.Filter = "Text files (*.txt)|*.txt";
|
||||||
|
sfd.FilterIndex = 2;
|
||||||
|
sfd.FileName = "clientinfo.txt";
|
||||||
|
sfd.Title = "Save clientinfo.txt";
|
||||||
|
|
||||||
|
if (sfd.ShowDialog() == DialogResult.OK)
|
||||||
|
{
|
||||||
|
string[] lines = {
|
||||||
|
SecurityFuncs.Base64Encode(UsesPlayerName.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(UsesID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(LoadsAssetsOnline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(LegacyMode.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(SelectedClientMD5.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(SelectedClientScriptMD5.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(SelectedClientDesc.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(Locked.ToString())
|
||||||
|
};
|
||||||
|
File.WriteAllText(sfd.FileName, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void ClientinfoCreatorLoad(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (GlobalVars.AdminMode == true)
|
||||||
|
{
|
||||||
|
checkBox4.Visible = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
checkBox4.Visible = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckBox5CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (checkBox5.Checked == true)
|
||||||
|
{
|
||||||
|
LoadsAssetsOnline = true;
|
||||||
|
}
|
||||||
|
else if (checkBox5.Checked == false)
|
||||||
|
{
|
||||||
|
LoadsAssetsOnline = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button3Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
UsesPlayerName = false;
|
||||||
|
UsesID = false;
|
||||||
|
LoadsAssetsOnline = false;
|
||||||
|
LegacyMode = false;
|
||||||
|
SelectedClientDesc = "";
|
||||||
|
SelectedClientMD5 = "";
|
||||||
|
SelectedClientScriptMD5 = "";
|
||||||
|
checkBox1.Checked = UsesPlayerName;
|
||||||
|
checkBox2.Checked = UsesID;
|
||||||
|
checkBox5.Checked = LoadsAssetsOnline;
|
||||||
|
checkBox3.Checked = LegacyMode;
|
||||||
|
textBox3.Text = SelectedClientScriptMD5.ToUpper();
|
||||||
|
textBox2.Text = SelectedClientMD5.ToUpper();
|
||||||
|
textBox1.Text = SelectedClientDesc;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckBox3CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (checkBox3.Checked == true)
|
||||||
|
{
|
||||||
|
LegacyMode = true;
|
||||||
|
}
|
||||||
|
else if (checkBox3.Checked == false)
|
||||||
|
{
|
||||||
|
LegacyMode = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void TextBox2TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox2.Text = textBox2.Text.ToUpper();
|
||||||
|
SelectedClientMD5 = textBox2.Text.ToUpper();
|
||||||
|
}
|
||||||
|
|
||||||
|
void TextBox3TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox3.Text = textBox3.Text.ToUpper();
|
||||||
|
SelectedClientScriptMD5 = textBox3.Text.ToUpper();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button4Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string ClientName = "";
|
||||||
|
|
||||||
|
if (!LegacyMode)
|
||||||
|
{
|
||||||
|
ClientName = "\\RobloxApp_Client.exe";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ClientName = "\\RobloxApp.exe";
|
||||||
|
}
|
||||||
|
|
||||||
|
string ClientMD5 = File.Exists(SelectedClientInfoPath + ClientName) ? SecurityFuncs.CalculateMD5(SelectedClientInfoPath + ClientName) : "";
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(ClientMD5))
|
||||||
|
{
|
||||||
|
textBox2.Text = ClientMD5.ToUpper();
|
||||||
|
SelectedClientMD5 = textBox2.Text.ToUpper();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Cannot load '" + ClientName.Trim('/') + "'. Please make sure you selected the directory","Novetus Launcher - Error while generating MD5 for client", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
|
||||||
|
string ClientScriptMD5 = File.Exists(SelectedClientInfoPath + "\\content\\scripts\\CSMPFunctions.lua") ? SecurityFuncs.CalculateMD5(SelectedClientInfoPath + "\\content\\scripts\\CSMPFunctions.lua") : "";
|
||||||
|
|
||||||
|
if (!string.IsNullOrWhiteSpace(ClientScriptMD5))
|
||||||
|
{
|
||||||
|
textBox3.Text = ClientScriptMD5.ToUpper();
|
||||||
|
SelectedClientScriptMD5 = textBox3.Text.ToUpper();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
MessageBox.Show("Cannot load 'CSMPFunctions.lua'. Please make sure you selected the directory","Novetus Launcher - Error while generating MD5 for script", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
|
||||||
|
MessageBox.Show("MD5s generated.","Novetus Launcher - Novetus Client SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
|
||||||
|
void CheckBox4CheckedChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (checkBox4.Checked == true)
|
||||||
|
{
|
||||||
|
Locked = true;
|
||||||
|
}
|
||||||
|
else if (checkBox4.Checked == false && Locked == true)
|
||||||
|
{
|
||||||
|
Locked = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2346
NovetusLauncher/NovetusLauncher/ClientinfoCreator.resx
Normal file
139
NovetusLauncher/NovetusLauncher/ItemMaker.Designer.cs
generated
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 10/31/2018
|
||||||
|
* Time: 11:55 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
partial class ItemMaker
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Disposes resources used by the form.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing) {
|
||||||
|
if (components != null) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method is required for Windows Forms designer support.
|
||||||
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||||
|
/// not be able to load this method if it was changed manually.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ItemMaker));
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.label3 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(12, 27);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(212, 20);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(12, 93);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(212, 23);
|
||||||
|
this.button1.TabIndex = 1;
|
||||||
|
this.button1.Text = "Create!";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(38, 67);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(91, 20);
|
||||||
|
this.textBox2.TabIndex = 2;
|
||||||
|
//
|
||||||
|
// numericUpDown1
|
||||||
|
//
|
||||||
|
this.numericUpDown1.Location = new System.Drawing.Point(135, 67);
|
||||||
|
this.numericUpDown1.Maximum = new decimal(new int[] {
|
||||||
|
3,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0});
|
||||||
|
this.numericUpDown1.Name = "numericUpDown1";
|
||||||
|
this.numericUpDown1.Size = new System.Drawing.Size(69, 20);
|
||||||
|
this.numericUpDown1.TabIndex = 3;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Location = new System.Drawing.Point(59, 10);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(121, 14);
|
||||||
|
this.label1.TabIndex = 5;
|
||||||
|
this.label1.Text = "Item Name (No Spaces)";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.Location = new System.Drawing.Point(59, 50);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(46, 14);
|
||||||
|
this.label2.TabIndex = 6;
|
||||||
|
this.label2.Text = "Item ID";
|
||||||
|
//
|
||||||
|
// label3
|
||||||
|
//
|
||||||
|
this.label3.Location = new System.Drawing.Point(135, 50);
|
||||||
|
this.label3.Name = "label3";
|
||||||
|
this.label3.Size = new System.Drawing.Size(69, 14);
|
||||||
|
this.label3.TabIndex = 7;
|
||||||
|
this.label3.Text = "Item Version";
|
||||||
|
//
|
||||||
|
// ItemMaker
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.ClientSize = new System.Drawing.Size(236, 125);
|
||||||
|
this.Controls.Add(this.label3);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.numericUpDown1);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.Name = "ItemMaker";
|
||||||
|
this.Text = "Novetus Item SDK";
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
}
|
||||||
|
private System.Windows.Forms.Label label3;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.NumericUpDown numericUpDown1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
}
|
||||||
|
}
|
43
NovetusLauncher/NovetusLauncher/ItemMaker.cs
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 10/31/2018
|
||||||
|
* Time: 11:55 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Net;
|
||||||
|
using System.IO;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of ItemMaker.
|
||||||
|
/// </summary>
|
||||||
|
public partial class ItemMaker : Form
|
||||||
|
{
|
||||||
|
public ItemMaker()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button1Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
WebClient Client = new WebClient();
|
||||||
|
string version = (numericUpDown1.Value != 0) ? "&version=" + numericUpDown1.Value : "";
|
||||||
|
Client.DownloadFile("http://www.roblox.com/asset?id=" + textBox2.Text + version, GlobalVars.BasePath + "\\" + textBox1.Text + ".rbxm");
|
||||||
|
MessageBox.Show("Item downloaded into your Novetus directory! In order for the item to work in Novetus, you'll need to find an icon for your item (it must be a .png file), then name it the same name as your item.\n\nIf you want to create a local (offline) item, you'll have to download the meshes/textures from the links in the rbxm file, then replace the links in the file pointing to where they are using rbxasset://. Look at the directory in the 'charcustom' folder that best suits your item type, then look at the rbxm for any one of the items.","Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2346
NovetusLauncher/NovetusLauncher/ItemMaker.resx
Normal file
767
NovetusLauncher/NovetusLauncher/LauncherFuncs.cs
Normal file
@ -0,0 +1,767 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 6/13/2017
|
||||||
|
* Time: 10:24 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.IO;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using Microsoft.Win32;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security.Principal;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of LauncherFuncs.
|
||||||
|
/// </summary>
|
||||||
|
public class LauncherFuncs
|
||||||
|
{
|
||||||
|
public LauncherFuncs()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ReadConfigValues(string cfgpath)
|
||||||
|
{
|
||||||
|
string line1;
|
||||||
|
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8;
|
||||||
|
|
||||||
|
using(StreamReader reader = new StreamReader(cfgpath))
|
||||||
|
{
|
||||||
|
line1 = reader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!SecurityFuncs.IsBase64String(line1))
|
||||||
|
return;
|
||||||
|
|
||||||
|
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||||
|
string[] result = ConvertedLine.Split('|');
|
||||||
|
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||||
|
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||||
|
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||||
|
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||||
|
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||||
|
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||||
|
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||||
|
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||||
|
|
||||||
|
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||||
|
GlobalVars.CloseOnLaunch = bline1;
|
||||||
|
|
||||||
|
int iline2 = Convert.ToInt32(Decryptline2);
|
||||||
|
GlobalVars.UserID = iline2;
|
||||||
|
|
||||||
|
GlobalVars.PlayerName = Decryptline3;
|
||||||
|
|
||||||
|
GlobalVars.SelectedClient = Decryptline4;
|
||||||
|
|
||||||
|
GlobalVars.Map = Decryptline5;
|
||||||
|
|
||||||
|
int iline6 = Convert.ToInt32(Decryptline6);
|
||||||
|
GlobalVars.RobloxPort = iline6;
|
||||||
|
|
||||||
|
int iline7 = Convert.ToInt32(Decryptline7);
|
||||||
|
GlobalVars.PlayerLimit = iline7;
|
||||||
|
|
||||||
|
bool bline8 = Convert.ToBoolean(Decryptline8);
|
||||||
|
GlobalVars.DisableTeapotTurret = bline8;
|
||||||
|
|
||||||
|
ReadCustomizationValues(cfgpath.Replace(".txt","_customization.txt"));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void WriteConfigValues(string cfgpath)
|
||||||
|
{
|
||||||
|
string[] lines = {
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.CloseOnLaunch.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.UserID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.PlayerName.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.SelectedClient.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Map.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.RobloxPort.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.PlayerLimit.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.DisableTeapotTurret.ToString())
|
||||||
|
};
|
||||||
|
File.WriteAllText(cfgpath, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||||
|
WriteCustomizationValues(cfgpath.Replace(".txt","_customization.txt"));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ResetConfigValues()
|
||||||
|
{
|
||||||
|
GlobalVars.CloseOnLaunch = false;
|
||||||
|
GlobalVars.UserID = 0;
|
||||||
|
GlobalVars.PlayerName = "Player";
|
||||||
|
GlobalVars.SelectedClient = GlobalVars.DefaultClient;
|
||||||
|
GlobalVars.Map = "Baseplate.rbxl";
|
||||||
|
GlobalVars.RobloxPort = 53640;
|
||||||
|
GlobalVars.PlayerLimit = 12;
|
||||||
|
GlobalVars.DisableTeapotTurret = false;
|
||||||
|
ResetCustomizationValues();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ReadCustomizationValues(string cfgpath)
|
||||||
|
{
|
||||||
|
string line1;
|
||||||
|
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline8, Decryptline9, Decryptline10, Decryptline11, Decryptline12, Decryptline13, Decryptline14, Decryptline15, Decryptline16, Decryptline17, Decryptline18, Decryptline19, Decryptline20, Decryptline21;
|
||||||
|
|
||||||
|
using(StreamReader reader = new StreamReader(cfgpath))
|
||||||
|
{
|
||||||
|
line1 = reader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!SecurityFuncs.IsBase64String(line1))
|
||||||
|
return;
|
||||||
|
|
||||||
|
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||||
|
string[] result = ConvertedLine.Split('|');
|
||||||
|
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||||
|
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||||
|
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||||
|
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||||
|
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||||
|
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||||
|
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||||
|
Decryptline8 = SecurityFuncs.Base64Decode(result[7]);
|
||||||
|
Decryptline9 = SecurityFuncs.Base64Decode(result[8]);
|
||||||
|
Decryptline10 = SecurityFuncs.Base64Decode(result[9]);
|
||||||
|
Decryptline11 = SecurityFuncs.Base64Decode(result[10]);
|
||||||
|
Decryptline12 = SecurityFuncs.Base64Decode(result[11]);
|
||||||
|
Decryptline13 = SecurityFuncs.Base64Decode(result[12]);
|
||||||
|
Decryptline14 = SecurityFuncs.Base64Decode(result[13]);
|
||||||
|
Decryptline15 = SecurityFuncs.Base64Decode(result[14]);
|
||||||
|
Decryptline16 = SecurityFuncs.Base64Decode(result[15]);
|
||||||
|
Decryptline17 = SecurityFuncs.Base64Decode(result[16]);
|
||||||
|
Decryptline18 = SecurityFuncs.Base64Decode(result[17]);
|
||||||
|
Decryptline19 = SecurityFuncs.Base64Decode(result[18]);
|
||||||
|
Decryptline20 = SecurityFuncs.Base64Decode(result[19]);
|
||||||
|
Decryptline21 = SecurityFuncs.Base64Decode(result[20]);
|
||||||
|
|
||||||
|
GlobalVars.Custom_Hat1ID_Offline = Decryptline1;
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline = Decryptline2;
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline = Decryptline3;
|
||||||
|
|
||||||
|
int iline4 = Convert.ToInt32(Decryptline4);
|
||||||
|
GlobalVars.HeadColorID = iline4;
|
||||||
|
|
||||||
|
int iline5 = Convert.ToInt32(Decryptline5);
|
||||||
|
GlobalVars.TorsoColorID = iline5;
|
||||||
|
|
||||||
|
int iline6 = Convert.ToInt32(Decryptline6);
|
||||||
|
GlobalVars.LeftArmColorID = iline6;
|
||||||
|
|
||||||
|
int iline7 = Convert.ToInt32(Decryptline7);
|
||||||
|
GlobalVars.RightArmColorID = iline7;
|
||||||
|
|
||||||
|
int iline8 = Convert.ToInt32(Decryptline8);
|
||||||
|
GlobalVars.LeftLegColorID = iline8;
|
||||||
|
|
||||||
|
int iline9 = Convert.ToInt32(Decryptline9);
|
||||||
|
GlobalVars.RightLegColorID = iline9;
|
||||||
|
|
||||||
|
GlobalVars.ColorMenu_HeadColor = Decryptline10;
|
||||||
|
GlobalVars.ColorMenu_TorsoColor = Decryptline11;
|
||||||
|
GlobalVars.ColorMenu_LeftArmColor = Decryptline12;
|
||||||
|
GlobalVars.ColorMenu_RightArmColor = Decryptline13;
|
||||||
|
GlobalVars.ColorMenu_LeftLegColor = Decryptline14;
|
||||||
|
GlobalVars.ColorMenu_RightLegColor = Decryptline15;
|
||||||
|
|
||||||
|
GlobalVars.Custom_Face_Offline = Decryptline16;
|
||||||
|
GlobalVars.Custom_Head_Offline = Decryptline17;
|
||||||
|
GlobalVars.Custom_T_Shirt_Offline = Decryptline18;
|
||||||
|
GlobalVars.Custom_Shirt_Offline = Decryptline19;
|
||||||
|
GlobalVars.Custom_Pants_Offline = Decryptline20;
|
||||||
|
GlobalVars.Custom_Icon_Offline = Decryptline21;
|
||||||
|
|
||||||
|
ReloadLoadtextValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void WriteCustomizationValues(string cfgpath)
|
||||||
|
{
|
||||||
|
string[] lines = {
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat1ID_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat2ID_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Hat3ID_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.HeadColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.TorsoColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.LeftArmColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.RightArmColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.LeftLegColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.RightLegColorID.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_HeadColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_TorsoColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_LeftArmColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_RightArmColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_LeftLegColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.ColorMenu_RightLegColor.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Face_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Head_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_T_Shirt_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Shirt_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Pants_Offline.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.Custom_Icon_Offline.ToString())
|
||||||
|
};
|
||||||
|
File.WriteAllText(cfgpath, SecurityFuncs.Base64Encode(string.Join("|",lines)));
|
||||||
|
|
||||||
|
ReloadLoadtextValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ResetCustomizationValues()
|
||||||
|
{
|
||||||
|
GlobalVars.Custom_Hat1ID_Offline = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline = "NoHat.rbxm";
|
||||||
|
GlobalVars.Custom_Face_Offline = "DefaultFace.rbxm";
|
||||||
|
GlobalVars.Custom_Head_Offline = "DefaultHead.rbxm";
|
||||||
|
GlobalVars.Custom_T_Shirt_Offline = "NoTShirt.rbxm";
|
||||||
|
GlobalVars.Custom_Shirt_Offline = "NoShirt.rbxm";
|
||||||
|
GlobalVars.Custom_Pants_Offline = "NoPants.rbxm";
|
||||||
|
GlobalVars.Custom_Icon_Offline = "NBC";
|
||||||
|
GlobalVars.HeadColorID = 24;
|
||||||
|
GlobalVars.TorsoColorID = 23;
|
||||||
|
GlobalVars.LeftArmColorID = 24;
|
||||||
|
GlobalVars.RightArmColorID = 24;
|
||||||
|
GlobalVars.LeftLegColorID = 119;
|
||||||
|
GlobalVars.RightLegColorID = 119;
|
||||||
|
GlobalVars.ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
|
||||||
|
GlobalVars.ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
GlobalVars.ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
GlobalVars.ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
ReloadLoadtextValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ReloadLoadtextValue()
|
||||||
|
{
|
||||||
|
GlobalVars.loadtext = GlobalVars.Custom_Hat1ID_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Hat2ID_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Hat3ID_Offline + "'," +
|
||||||
|
GlobalVars.HeadColorID + "," +
|
||||||
|
GlobalVars.TorsoColorID + "," +
|
||||||
|
GlobalVars.LeftArmColorID + "," +
|
||||||
|
GlobalVars.RightArmColorID + "," +
|
||||||
|
GlobalVars.LeftLegColorID + "," +
|
||||||
|
GlobalVars.RightLegColorID + ",'" +
|
||||||
|
GlobalVars.Custom_T_Shirt_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Shirt_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Pants_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Face_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Head_Offline + "','" +
|
||||||
|
GlobalVars.Custom_Icon_Offline + "'";
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void ReadClientValues(string clientpath)
|
||||||
|
{
|
||||||
|
string line1;
|
||||||
|
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7;
|
||||||
|
|
||||||
|
using(StreamReader reader = new StreamReader(clientpath))
|
||||||
|
{
|
||||||
|
line1 = reader.ReadLine();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!SecurityFuncs.IsBase64String(line1))
|
||||||
|
return;
|
||||||
|
|
||||||
|
string ConvertedLine = SecurityFuncs.Base64Decode(line1);
|
||||||
|
string[] result = ConvertedLine.Split('|');
|
||||||
|
Decryptline1 = SecurityFuncs.Base64Decode(result[0]);
|
||||||
|
Decryptline2 = SecurityFuncs.Base64Decode(result[1]);
|
||||||
|
Decryptline3 = SecurityFuncs.Base64Decode(result[2]);
|
||||||
|
Decryptline4 = SecurityFuncs.Base64Decode(result[3]);
|
||||||
|
Decryptline5 = SecurityFuncs.Base64Decode(result[4]);
|
||||||
|
Decryptline6 = SecurityFuncs.Base64Decode(result[5]);
|
||||||
|
Decryptline7 = SecurityFuncs.Base64Decode(result[6]);
|
||||||
|
|
||||||
|
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||||
|
GlobalVars.UsesPlayerName = bline1;
|
||||||
|
|
||||||
|
bool bline2 = Convert.ToBoolean(Decryptline2);
|
||||||
|
GlobalVars.UsesID = bline2;
|
||||||
|
|
||||||
|
bool bline3 = Convert.ToBoolean(Decryptline3);
|
||||||
|
GlobalVars.LoadsAssetsOnline = bline3;
|
||||||
|
|
||||||
|
bool bline4 = Convert.ToBoolean(Decryptline4);
|
||||||
|
GlobalVars.LegacyMode = bline4;
|
||||||
|
|
||||||
|
GlobalVars.SelectedClientMD5 = Decryptline5;
|
||||||
|
|
||||||
|
GlobalVars.SelectedClientScriptMD5 = Decryptline6;
|
||||||
|
|
||||||
|
GlobalVars.SelectedClientDesc = Decryptline7;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void GeneratePlayerID()
|
||||||
|
{
|
||||||
|
CryptoRandom random = new CryptoRandom();
|
||||||
|
int randomID = 0;
|
||||||
|
int randIDmode = random.Next(0,7);
|
||||||
|
if (randIDmode == 0)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 99);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 1)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 2)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 9999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 3)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 99999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 4)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 999999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 5)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 9999999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 6)
|
||||||
|
{
|
||||||
|
randomID = random.Next(0, 99999999);
|
||||||
|
}
|
||||||
|
else if (randIDmode == 7)
|
||||||
|
{
|
||||||
|
randomID = random.Next();
|
||||||
|
}
|
||||||
|
//2147483647 is max id.
|
||||||
|
GlobalVars.UserID = randomID;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//Discord Rich Presence Integration :D
|
||||||
|
public class DiscordRpc
|
||||||
|
{
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void ReadyCallback();
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void DisconnectedCallback(int errorCode, string message);
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void ErrorCallback(int errorCode, string message);
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void JoinCallback(string secret);
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void SpectateCallback(string secret);
|
||||||
|
|
||||||
|
[UnmanagedFunctionPointer(CallingConvention.Cdecl)]
|
||||||
|
public delegate void RequestCallback(JoinRequest request);
|
||||||
|
|
||||||
|
public struct EventHandlers
|
||||||
|
{
|
||||||
|
public ReadyCallback readyCallback;
|
||||||
|
public DisconnectedCallback disconnectedCallback;
|
||||||
|
public ErrorCallback errorCallback;
|
||||||
|
public JoinCallback joinCallback;
|
||||||
|
public SpectateCallback spectateCallback;
|
||||||
|
public RequestCallback requestCallback;
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public struct RichPresence
|
||||||
|
{
|
||||||
|
public string state; /* max 128 bytes */
|
||||||
|
public string details; /* max 128 bytes */
|
||||||
|
public long startTimestamp;
|
||||||
|
public long endTimestamp;
|
||||||
|
public string largeImageKey; /* max 32 bytes */
|
||||||
|
public string largeImageText; /* max 128 bytes */
|
||||||
|
public string smallImageKey; /* max 32 bytes */
|
||||||
|
public string smallImageText; /* max 128 bytes */
|
||||||
|
public string partyId; /* max 128 bytes */
|
||||||
|
public int partySize;
|
||||||
|
public int partyMax;
|
||||||
|
public string matchSecret; /* max 128 bytes */
|
||||||
|
public string joinSecret; /* max 128 bytes */
|
||||||
|
public string spectateSecret; /* max 128 bytes */
|
||||||
|
public bool instance;
|
||||||
|
}
|
||||||
|
|
||||||
|
[System.Serializable]
|
||||||
|
public struct JoinRequest
|
||||||
|
{
|
||||||
|
public string userId;
|
||||||
|
public string username;
|
||||||
|
public string avatar;
|
||||||
|
}
|
||||||
|
|
||||||
|
public enum Reply
|
||||||
|
{
|
||||||
|
No = 0,
|
||||||
|
Yes = 1,
|
||||||
|
Ignore = 2
|
||||||
|
}
|
||||||
|
|
||||||
|
[DllImport("discord-rpc", EntryPoint = "Discord_Initialize", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void Initialize(string applicationId, ref EventHandlers handlers, bool autoRegister, string optionalSteamId);
|
||||||
|
|
||||||
|
[DllImport("discord-rpc", EntryPoint = "Discord_Shutdown", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void Shutdown();
|
||||||
|
|
||||||
|
[DllImport("discord-rpc", EntryPoint = "Discord_RunCallbacks", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void RunCallbacks();
|
||||||
|
|
||||||
|
[DllImport("discord-rpc", EntryPoint = "Discord_UpdatePresence", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void UpdatePresence(ref RichPresence presence);
|
||||||
|
|
||||||
|
[DllImport("discord-rpc", EntryPoint = "Discord_Respond", CallingConvention = CallingConvention.Cdecl)]
|
||||||
|
public static extern void Respond(string userId, Reply reply);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class TextLineRemover
|
||||||
|
{
|
||||||
|
public static void RemoveTextLines(IList<string> linesToRemove, string filename, string tempFilename)
|
||||||
|
{
|
||||||
|
// Initial values
|
||||||
|
int lineNumber = 0;
|
||||||
|
int linesRemoved = 0;
|
||||||
|
DateTime startTime = DateTime.Now;
|
||||||
|
|
||||||
|
// Read file
|
||||||
|
using (var sr = new StreamReader(filename))
|
||||||
|
{
|
||||||
|
// Write new file
|
||||||
|
using (var sw = new StreamWriter(tempFilename))
|
||||||
|
{
|
||||||
|
// Read lines
|
||||||
|
string line;
|
||||||
|
while ((line = sr.ReadLine()) != null)
|
||||||
|
{
|
||||||
|
lineNumber++;
|
||||||
|
// Look for text to remove
|
||||||
|
if (!ContainsString(line, linesToRemove))
|
||||||
|
{
|
||||||
|
// Keep lines that does not match
|
||||||
|
sw.WriteLine(line);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Ignore lines that DO match
|
||||||
|
linesRemoved++;
|
||||||
|
InvokeOnRemovedLine(new RemovedLineArgs { RemovedLine = line, RemovedLineNumber = lineNumber});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Delete original file
|
||||||
|
File.Delete(filename);
|
||||||
|
|
||||||
|
// ... and put the temp file in its place.
|
||||||
|
File.Move(tempFilename, filename);
|
||||||
|
|
||||||
|
// Final calculations
|
||||||
|
DateTime endTime = DateTime.Now;
|
||||||
|
InvokeOnFinished(new FinishedArgs {LinesRemoved = linesRemoved, TotalLines = lineNumber, TotalTime = endTime.Subtract(startTime)});
|
||||||
|
}
|
||||||
|
|
||||||
|
private static bool ContainsString(string line, IEnumerable<string> linesToRemove)
|
||||||
|
{
|
||||||
|
foreach (var lineToRemove in linesToRemove)
|
||||||
|
{
|
||||||
|
if(line.Contains(lineToRemove))
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static event RemovedLine OnRemovedLine;
|
||||||
|
public static event Finished OnFinished;
|
||||||
|
|
||||||
|
public static void InvokeOnFinished(FinishedArgs args)
|
||||||
|
{
|
||||||
|
Finished handler = OnFinished;
|
||||||
|
if (handler != null) handler(null, args);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void InvokeOnRemovedLine(RemovedLineArgs args)
|
||||||
|
{
|
||||||
|
RemovedLine handler = OnRemovedLine;
|
||||||
|
if (handler != null) handler(null, args);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public delegate void Finished(object sender, FinishedArgs args);
|
||||||
|
|
||||||
|
public class FinishedArgs
|
||||||
|
{
|
||||||
|
public int TotalLines { get; set; }
|
||||||
|
public int LinesRemoved { get; set; }
|
||||||
|
public TimeSpan TotalTime { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public delegate void RemovedLine(object sender, RemovedLineArgs args);
|
||||||
|
|
||||||
|
public class RemovedLineArgs
|
||||||
|
{
|
||||||
|
public string RemovedLine { get; set; }
|
||||||
|
public int RemovedLineNumber { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Description of SecurityFuncs.
|
||||||
|
/// </summary>
|
||||||
|
public class SecurityFuncs
|
||||||
|
{
|
||||||
|
public SecurityFuncs()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string Base64Decode(string base64EncodedData)
|
||||||
|
{
|
||||||
|
var base64EncodedBytes = System.Convert.FromBase64String(base64EncodedData);
|
||||||
|
return System.Text.Encoding.UTF8.GetString(base64EncodedBytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string Base64Encode(string plainText)
|
||||||
|
{
|
||||||
|
var plainTextBytes = System.Text.Encoding.UTF8.GetBytes(plainText);
|
||||||
|
return System.Convert.ToBase64String(plainTextBytes);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsBase64String(string s)
|
||||||
|
{
|
||||||
|
s = s.Trim();
|
||||||
|
return (s.Length % 4 == 0) && Regex.IsMatch(s, @"^[a-zA-Z0-9\+/]*={0,3}$", RegexOptions.None);
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void RegisterURLProtocol(string protocolName, string applicationPath, string description)
|
||||||
|
{
|
||||||
|
RegistryKey subKey = Registry.ClassesRoot.CreateSubKey(protocolName);
|
||||||
|
subKey.SetValue((string) null, (object) description);
|
||||||
|
subKey.SetValue("URL Protocol", (object) string.Empty);
|
||||||
|
Registry.ClassesRoot.CreateSubKey(protocolName + "\\Shell");
|
||||||
|
Registry.ClassesRoot.CreateSubKey(protocolName + "\\Shell\\open");
|
||||||
|
Registry.ClassesRoot.CreateSubKey(protocolName + "\\Shell\\open\\command").SetValue((string) null, (object) ("\"" + applicationPath + "\" \"%1\""));
|
||||||
|
}
|
||||||
|
|
||||||
|
public static long UnixTimeNow()
|
||||||
|
{
|
||||||
|
var timeSpan = (DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0));
|
||||||
|
return (long)timeSpan.TotalSeconds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool checkClientMD5(string client)
|
||||||
|
{
|
||||||
|
if (GlobalVars.AdminMode != true)
|
||||||
|
{
|
||||||
|
string rbxexe = "";
|
||||||
|
if (GlobalVars.LegacyMode == true)
|
||||||
|
{
|
||||||
|
rbxexe = GlobalVars.BasePath + "\\clients\\" + client + "\\RobloxApp.exe";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rbxexe = GlobalVars.BasePath + "\\clients\\" + client + "\\RobloxApp_client.exe";
|
||||||
|
}
|
||||||
|
using (var md5 = MD5.Create())
|
||||||
|
{
|
||||||
|
using (var stream = File.OpenRead(rbxexe))
|
||||||
|
{
|
||||||
|
byte[] hash = md5.ComputeHash(stream);
|
||||||
|
string clientMD5 = BitConverter.ToString(hash).Replace("-", "");
|
||||||
|
if (clientMD5.Equals(GlobalVars.SelectedClientMD5))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool checkScriptMD5(string client)
|
||||||
|
{
|
||||||
|
if (GlobalVars.AdminMode != true)
|
||||||
|
{
|
||||||
|
string rbxscript = GlobalVars.BasePath + "\\clients\\" + client + "\\content\\scripts\\CSMPFunctions.lua";
|
||||||
|
using (var md5 = MD5.Create())
|
||||||
|
{
|
||||||
|
using (var stream = File.OpenRead(rbxscript))
|
||||||
|
{
|
||||||
|
byte[] hash = md5.ComputeHash(stream);
|
||||||
|
string clientMD5 = BitConverter.ToString(hash).Replace("-", "");
|
||||||
|
if (clientMD5.Equals(GlobalVars.SelectedClientScriptMD5))
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static string CalculateMD5(string filename)
|
||||||
|
{
|
||||||
|
using (var md5 = MD5.Create())
|
||||||
|
{
|
||||||
|
using (var stream = File.OpenRead(filename))
|
||||||
|
{
|
||||||
|
return BitConverter.ToString(md5.ComputeHash(stream)).Replace("-","");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static bool IsElevated
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return WindowsIdentity.GetCurrent().Owner.IsWellKnown(WellKnownSidType.BuiltinAdministratorsSid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class RichTextBoxExtensions
|
||||||
|
{
|
||||||
|
public static void AppendText(this RichTextBox box, string text, Color color)
|
||||||
|
{
|
||||||
|
box.SelectionStart = box.TextLength;
|
||||||
|
box.SelectionLength = 0;
|
||||||
|
|
||||||
|
box.SelectionColor = color;
|
||||||
|
box.AppendText(text);
|
||||||
|
box.SelectionColor = box.ForeColor;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public class CryptoRandom : RandomNumberGenerator
|
||||||
|
{
|
||||||
|
private static RandomNumberGenerator r;
|
||||||
|
|
||||||
|
public CryptoRandom()
|
||||||
|
{
|
||||||
|
r = RandomNumberGenerator.Create();
|
||||||
|
}
|
||||||
|
|
||||||
|
///<param name=”buffer”>An array of bytes to contain random numbers.</param>
|
||||||
|
public override void GetBytes(byte[] buffer)
|
||||||
|
{
|
||||||
|
r.GetBytes(buffer);
|
||||||
|
}
|
||||||
|
|
||||||
|
public override void GetNonZeroBytes(byte[] data)
|
||||||
|
{
|
||||||
|
r.GetNonZeroBytes(data);
|
||||||
|
}
|
||||||
|
public double NextDouble()
|
||||||
|
{
|
||||||
|
byte[] b = new byte[4];
|
||||||
|
r.GetBytes(b);
|
||||||
|
return (double)BitConverter.ToUInt32(b, 0) / UInt32.MaxValue;
|
||||||
|
}
|
||||||
|
|
||||||
|
///<param name=”minValue”>The inclusive lower bound of the random number returned.</param>
|
||||||
|
///<param name=”maxValue”>The exclusive upper bound of the random number returned. maxValue must be greater than or equal to minValue.</param>
|
||||||
|
public int Next(int minValue, int maxValue)
|
||||||
|
{
|
||||||
|
return (int)Math.Round(NextDouble() * (maxValue - minValue - 1)) + minValue;
|
||||||
|
}
|
||||||
|
public int Next()
|
||||||
|
{
|
||||||
|
return Next(0, Int32.MaxValue);
|
||||||
|
}
|
||||||
|
|
||||||
|
///<param name=”maxValue”>The inclusive upper bound of the random number returned. maxValue must be greater than or equal 0</param>
|
||||||
|
public int Next(int maxValue)
|
||||||
|
{
|
||||||
|
return Next(0, maxValue);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public static class GlobalVars
|
||||||
|
{
|
||||||
|
public static string BasePath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
|
||||||
|
public static string ClientDir = (BasePath + "\\clients").Replace(@"\",@"\\");
|
||||||
|
public static string MapsDir = (BasePath + "\\maps").Replace(@"\",@"\\");
|
||||||
|
public static string CustomPlayerDir = (BasePath + "\\charcustom").Replace(@"\",@"\\");
|
||||||
|
public static string AddonDir = (BasePath + "\\addons").Replace(@"\",@"\\");
|
||||||
|
public static string IP = "localhost";
|
||||||
|
public static string Version = "";
|
||||||
|
public static string SharedArgs = "";
|
||||||
|
//vars for loader
|
||||||
|
public static bool ReadyToLaunch = false;
|
||||||
|
//server settings.
|
||||||
|
public static string Map = "Baseplate.rbxl";
|
||||||
|
public static int RobloxPort = 53640;
|
||||||
|
public static int DefaultRobloxPort = 53640;
|
||||||
|
public static int PlayerLimit = 12;
|
||||||
|
public static bool DisableTeapotTurret = false;
|
||||||
|
//player settings
|
||||||
|
public static int UserID = 0;
|
||||||
|
public static string PlayerName = "Player";
|
||||||
|
//launcher settings.
|
||||||
|
public static bool CloseOnLaunch = false;
|
||||||
|
public static bool LocalPlayMode = false;
|
||||||
|
//client shit
|
||||||
|
public static string SelectedClient = "";
|
||||||
|
public static string DefaultClient = "";
|
||||||
|
public static bool UsesPlayerName = false;
|
||||||
|
public static bool UsesID = true;
|
||||||
|
public static string SelectedClientDesc = "";
|
||||||
|
public static bool LoadsAssetsOnline = false;
|
||||||
|
public static bool LegacyMode = false;
|
||||||
|
public static string SelectedClientMD5 = "";
|
||||||
|
public static string SelectedClientScriptMD5 = "";
|
||||||
|
//charcustom
|
||||||
|
public static string Custom_Hat1ID_Offline = "NoHat.rbxm";
|
||||||
|
public static string Custom_Hat2ID_Offline = "NoHat.rbxm";
|
||||||
|
public static string Custom_Hat3ID_Offline = "NoHat.rbxm";
|
||||||
|
public static string Custom_Face_Offline = "DefaultFace.rbxm";
|
||||||
|
public static string Custom_Head_Offline = "DefaultHead.rbxm";
|
||||||
|
public static string Custom_T_Shirt_Offline = "NoTShirt.rbxm";
|
||||||
|
public static string Custom_Shirt_Offline = "NoShirt.rbxm";
|
||||||
|
public static string Custom_Pants_Offline = "NoPants.rbxm";
|
||||||
|
public static string Custom_Icon_Offline = "NBC";
|
||||||
|
public static int HeadColorID = 24;
|
||||||
|
public static int TorsoColorID = 23;
|
||||||
|
public static int LeftArmColorID = 24;
|
||||||
|
public static int RightArmColorID = 24;
|
||||||
|
public static int LeftLegColorID = 119;
|
||||||
|
public static int RightLegColorID = 119;
|
||||||
|
public static string loadtext = "";
|
||||||
|
//color menu.
|
||||||
|
public static string ColorMenu_HeadColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
public static string ColorMenu_TorsoColor = "Color [A=255, R=13, G=105, B=172]";
|
||||||
|
public static string ColorMenu_LeftArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
public static string ColorMenu_RightArmColor = "Color [A=255, R=245, G=205, B=47]";
|
||||||
|
public static string ColorMenu_LeftLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
public static string ColorMenu_RightLegColor = "Color [A=255, R=164, G=189, B=71]";
|
||||||
|
public static bool AdminMode = false;
|
||||||
|
public static string important = "";
|
||||||
|
//discord
|
||||||
|
public static DiscordRpc.RichPresence presence;
|
||||||
|
public static string appid = "505955125727330324";
|
||||||
|
public static string imagekey_large = "novetus_large";
|
||||||
|
}
|
||||||
|
}
|
94
NovetusLauncher/NovetusLauncher/LoaderForm.Designer.cs
generated
Normal file
@ -0,0 +1,94 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 6/13/2017
|
||||||
|
* Time: 11:45 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
partial class LoaderForm
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Disposes resources used by the form.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing) {
|
||||||
|
if (components != null) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method is required for Windows Forms designer support.
|
||||||
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||||
|
/// not be able to load this method if it was changed manually.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoaderForm));
|
||||||
|
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||||
|
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// pictureBox1
|
||||||
|
//
|
||||||
|
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||||
|
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||||
|
this.pictureBox1.Location = new System.Drawing.Point(12, 9);
|
||||||
|
this.pictureBox1.Name = "pictureBox1";
|
||||||
|
this.pictureBox1.Size = new System.Drawing.Size(57, 50);
|
||||||
|
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||||
|
this.pictureBox1.TabIndex = 0;
|
||||||
|
this.pictureBox1.TabStop = false;
|
||||||
|
//
|
||||||
|
// progressBar1
|
||||||
|
//
|
||||||
|
this.progressBar1.Location = new System.Drawing.Point(75, 33);
|
||||||
|
this.progressBar1.Name = "progressBar1";
|
||||||
|
this.progressBar1.Size = new System.Drawing.Size(291, 23);
|
||||||
|
this.progressBar1.TabIndex = 1;
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.label1.Location = new System.Drawing.Point(75, 9);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(291, 21);
|
||||||
|
this.label1.TabIndex = 2;
|
||||||
|
this.label1.Text = "Initializing...";
|
||||||
|
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||||
|
//
|
||||||
|
// LoaderForm
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.ClientSize = new System.Drawing.Size(378, 68);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.progressBar1);
|
||||||
|
this.Controls.Add(this.pictureBox1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Name = "LoaderForm";
|
||||||
|
this.Load += new System.EventHandler(this.LoaderFormLoad);
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
}
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.ProgressBar progressBar1;
|
||||||
|
private System.Windows.Forms.PictureBox pictureBox1;
|
||||||
|
}
|
||||||
|
}
|
139
NovetusLauncher/NovetusLauncher/LoaderForm.cs
Normal file
@ -0,0 +1,139 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 6/13/2017
|
||||||
|
* Time: 11:45 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.IO;
|
||||||
|
using System.Diagnostics;
|
||||||
|
using System.Threading;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of LoaderForm.
|
||||||
|
/// </summary>
|
||||||
|
public partial class LoaderForm : Form
|
||||||
|
{
|
||||||
|
public LoaderForm()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void LoaderFormLoad(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string[] defaultclient = File.ReadAllLines(Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\info.txt");
|
||||||
|
string defcl = defaultclient[1];
|
||||||
|
GlobalVars.DefaultClient = defcl;
|
||||||
|
QuickConfigure main = new QuickConfigure();
|
||||||
|
main.ShowDialog();
|
||||||
|
System.Threading.Timer timer = new System.Threading.Timer(new TimerCallback(CheckIfFinished), null, 1, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
void StartGame()
|
||||||
|
{
|
||||||
|
string ExtractedArg = GlobalVars.SharedArgs.Replace("novetus://", "").Replace("novetus", "").Replace(":", "").Replace("/", "").Replace("?", "");
|
||||||
|
string ConvertedArg = SecurityFuncs.Base64Decode(ExtractedArg);
|
||||||
|
string[] SplitArg = ConvertedArg.Split('|');
|
||||||
|
string ip = SecurityFuncs.Base64Decode(SplitArg[0]);
|
||||||
|
string port = SecurityFuncs.Base64Decode(SplitArg[1]);
|
||||||
|
string client = SecurityFuncs.Base64Decode(SplitArg[2]);
|
||||||
|
ReadClientValues(client);
|
||||||
|
string luafile = "rbxasset://scripts\\\\CSMPFunctions.lua";
|
||||||
|
string rbxexe = "";
|
||||||
|
if (GlobalVars.LegacyMode == true)
|
||||||
|
{
|
||||||
|
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + client + @"\\RobloxApp.exe";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rbxexe = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + client + @"\\RobloxApp_client.exe";
|
||||||
|
}
|
||||||
|
string quote = "\"";
|
||||||
|
string args = "";
|
||||||
|
string md5dir = SecurityFuncs.CalculateMD5(Assembly.GetExecutingAssembly().Location);
|
||||||
|
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true)
|
||||||
|
{
|
||||||
|
args = "-script " + quote + "dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + ip + "'," + port + ",'" + GlobalVars.PlayerName + "','" + GlobalVars.loadtext + ",'" + GlobalVars.SelectedClientMD5 + "','" + md5dir + "','" + GlobalVars.SelectedClientScriptMD5 + "');" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true)
|
||||||
|
{
|
||||||
|
args = "-script " + quote + "dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + ip + "'," + port + ",'Player','" + GlobalVars.loadtext + ",'" + GlobalVars.SelectedClientMD5 + "','" + md5dir + "','" + GlobalVars.SelectedClientScriptMD5 + "');" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false)
|
||||||
|
{
|
||||||
|
args = "-script " + quote + "dofile('" + luafile + "'); _G.CSConnect(0,'" + ip + "'," + port + ",'" + GlobalVars.PlayerName + "','" + GlobalVars.loadtext + ",'" + GlobalVars.SelectedClientMD5 + "','" + md5dir + "','" + GlobalVars.SelectedClientScriptMD5 + "');" + quote;
|
||||||
|
}
|
||||||
|
else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false)
|
||||||
|
{
|
||||||
|
args = "-script " + quote + "dofile('" + luafile + "'); _G.CSConnect(0,'" + ip + "'," + port + ",'Player','" + GlobalVars.loadtext + ",'" + GlobalVars.SelectedClientMD5 + "','" + md5dir + "','" + GlobalVars.SelectedClientScriptMD5 + "');" + quote;
|
||||||
|
}
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (SecurityFuncs.checkClientMD5(client) == true)
|
||||||
|
{
|
||||||
|
if (SecurityFuncs.checkScriptMD5(client) == true)
|
||||||
|
{
|
||||||
|
Process.Start(rbxexe, args);
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
label1.Text = "The client has been detected as modified.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
label1.Text = "The client has been detected as modified.";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void CheckIfFinished(object state)
|
||||||
|
{
|
||||||
|
if (GlobalVars.ReadyToLaunch == false)
|
||||||
|
{
|
||||||
|
System.Threading.Timer timer = new System.Threading.Timer(new TimerCallback(CheckIfFinished), null, 1, 0);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
label1.Text = "Launching Game...";
|
||||||
|
StartGame();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void ReadConfigValues()
|
||||||
|
{
|
||||||
|
LauncherFuncs.ReadConfigValues(GlobalVars.BasePath + "\\config.txt");
|
||||||
|
}
|
||||||
|
|
||||||
|
void ReadClientValues(string ClientName)
|
||||||
|
{
|
||||||
|
string clientpath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\clients\\" + ClientName + "\\clientinfo.txt";
|
||||||
|
|
||||||
|
if (!File.Exists(clientpath))
|
||||||
|
{
|
||||||
|
MessageBox.Show("No clientinfo.txt detected with the client you chose. The client either cannot be loaded, or it is not available.","Novetus Launcher - Error while loading client", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||||
|
GlobalVars.SelectedClient = GlobalVars.DefaultClient;
|
||||||
|
}
|
||||||
|
|
||||||
|
LauncherFuncs.ReadClientValues(clientpath);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
21843
NovetusLauncher/NovetusLauncher/LoaderForm.resx
Normal file
1235
NovetusLauncher/NovetusLauncher/MainForm.Designer.cs
generated
Normal file
1016
NovetusLauncher/NovetusLauncher/MainForm.cs
Normal file
67532
NovetusLauncher/NovetusLauncher/MainForm.resx
Normal file
122
NovetusLauncher/NovetusLauncher/NovetusLauncher.csproj
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ProjectGuid>{F92FFBED-2767-4676-9711-BB89CDA58A43}</ProjectGuid>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<RootNamespace>NovetusLauncher</RootNamespace>
|
||||||
|
<AssemblyName>NovetusLauncher</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
|
||||||
|
<TargetFrameworkProfile>
|
||||||
|
</TargetFrameworkProfile>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<ApplicationIcon>Resources\NovetusIcon.ico</ApplicationIcon>
|
||||||
|
<NoWin32Manifest>False</NoWin32Manifest>
|
||||||
|
<AllowUnsafeBlocks>False</AllowUnsafeBlocks>
|
||||||
|
<NoStdLib>False</NoStdLib>
|
||||||
|
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||||
|
<IntermediateOutputPath>obj\$(Configuration)\</IntermediateOutputPath>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<BaseAddress>4194304</BaseAddress>
|
||||||
|
<RegisterForComInterop>False</RegisterForComInterop>
|
||||||
|
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
|
||||||
|
<FileAlignment>4096</FileAlignment>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DebugSymbols>True</DebugSymbols>
|
||||||
|
<DebugType>Full</DebugType>
|
||||||
|
<Optimize>False</Optimize>
|
||||||
|
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DebugSymbols>False</DebugSymbols>
|
||||||
|
<DebugType>None</DebugType>
|
||||||
|
<Optimize>True</Optimize>
|
||||||
|
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<BaseIntermediateOutputPath>obj\</BaseIntermediateOutputPath>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Core">
|
||||||
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions">
|
||||||
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="System.Xml.Linq">
|
||||||
|
<RequiredTargetFramework>3.5</RequiredTargetFramework>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="CharacterCustomization.cs" />
|
||||||
|
<Compile Include="CharacterCustomization.Designer.cs">
|
||||||
|
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ClientinfoCreator.cs" />
|
||||||
|
<Compile Include="ClientinfoCreator.Designer.cs">
|
||||||
|
<DependentUpon>ClientinfoCreator.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ItemMaker.cs" />
|
||||||
|
<Compile Include="ItemMaker.Designer.cs">
|
||||||
|
<DependentUpon>ItemMaker.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="LauncherFuncs.cs" />
|
||||||
|
<Compile Include="LoaderForm.cs" />
|
||||||
|
<Compile Include="LoaderForm.Designer.cs">
|
||||||
|
<DependentUpon>LoaderForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="QuickConfigure.cs" />
|
||||||
|
<Compile Include="QuickConfigure.Designer.cs">
|
||||||
|
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ServerInfo.cs" />
|
||||||
|
<Compile Include="ServerInfo.Designer.cs">
|
||||||
|
<DependentUpon>ServerInfo.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="MainForm.cs" />
|
||||||
|
<Compile Include="MainForm.Designer.cs">
|
||||||
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<EmbeddedResource Include="CharacterCustomization.resx">
|
||||||
|
<DependentUpon>CharacterCustomization.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ClientinfoCreator.resx">
|
||||||
|
<DependentUpon>ClientinfoCreator.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ItemMaker.resx">
|
||||||
|
<DependentUpon>ItemMaker.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="LoaderForm.resx">
|
||||||
|
<DependentUpon>LoaderForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="MainForm.resx">
|
||||||
|
<DependentUpon>MainForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="QuickConfigure.resx">
|
||||||
|
<DependentUpon>QuickConfigure.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="ServerInfo.resx">
|
||||||
|
<DependentUpon>ServerInfo.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="app.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
47
NovetusLauncher/NovetusLauncher/Program.cs
Normal file
@ -0,0 +1,47 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL-Gaming
|
||||||
|
* Date: 10/7/2016
|
||||||
|
* Time: 3:01 PM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Class with program entry point.
|
||||||
|
/// </summary>
|
||||||
|
internal sealed class Program
|
||||||
|
{
|
||||||
|
static string ProcessInput(string s)
|
||||||
|
{
|
||||||
|
return s;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Program entry point.
|
||||||
|
/// </summary>
|
||||||
|
[STAThread]
|
||||||
|
private static void Main(string[] args)
|
||||||
|
{
|
||||||
|
Application.EnableVisualStyles();
|
||||||
|
Application.SetCompatibleTextRenderingDefault(false);
|
||||||
|
if (args.Length == 0)
|
||||||
|
{
|
||||||
|
Application.Run(new MainForm());
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
foreach (string s in args)
|
||||||
|
{
|
||||||
|
GlobalVars.SharedArgs = ProcessInput(s);
|
||||||
|
}
|
||||||
|
Application.Run(new LoaderForm());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
31
NovetusLauncher/NovetusLauncher/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
#region Using directives
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
// General Information about an assembly is controlled through the following
|
||||||
|
// set of attributes. Change these attribute values to modify the information
|
||||||
|
// associated with an assembly.
|
||||||
|
[assembly: AssemblyTitle("NovetusLauncher")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("NovetusLauncher")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright 2016")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// This sets the default COM visibility of types in the assembly to invisible.
|
||||||
|
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// The assembly version has following format :
|
||||||
|
//
|
||||||
|
// Major.Minor.Build.Revision
|
||||||
|
//
|
||||||
|
// You can specify all the values or you can use the default the Revision and
|
||||||
|
// Build Numbers by using the '*' as shown below:
|
||||||
|
[assembly: AssemblyVersion("1.0.*")]
|
143
NovetusLauncher/NovetusLauncher/QuickConfigure.Designer.cs
generated
Normal file
@ -0,0 +1,143 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 6/13/2017
|
||||||
|
* Time: 4:16 PM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
partial class QuickConfigure
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Disposes resources used by the form.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing) {
|
||||||
|
if (components != null) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method is required for Windows Forms designer support.
|
||||||
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||||
|
/// not be able to load this method if it was changed manually.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(QuickConfigure));
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.textBox2 = new System.Windows.Forms.TextBox();
|
||||||
|
this.label1 = new System.Windows.Forms.Label();
|
||||||
|
this.label2 = new System.Windows.Forms.Label();
|
||||||
|
this.button1 = new System.Windows.Forms.Button();
|
||||||
|
this.button2 = new System.Windows.Forms.Button();
|
||||||
|
this.button3 = new System.Windows.Forms.Button();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(55, 12);
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(217, 20);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
this.textBox1.Text = "Player";
|
||||||
|
this.textBox1.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.textBox1.TextChanged += new System.EventHandler(this.TextBox1TextChanged);
|
||||||
|
//
|
||||||
|
// textBox2
|
||||||
|
//
|
||||||
|
this.textBox2.Location = new System.Drawing.Point(55, 38);
|
||||||
|
this.textBox2.Name = "textBox2";
|
||||||
|
this.textBox2.Size = new System.Drawing.Size(217, 20);
|
||||||
|
this.textBox2.TabIndex = 1;
|
||||||
|
this.textBox2.Text = "0";
|
||||||
|
this.textBox2.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
||||||
|
this.textBox2.TextChanged += new System.EventHandler(this.TextBox2TextChanged);
|
||||||
|
//
|
||||||
|
// label1
|
||||||
|
//
|
||||||
|
this.label1.Location = new System.Drawing.Point(12, 15);
|
||||||
|
this.label1.Name = "label1";
|
||||||
|
this.label1.Size = new System.Drawing.Size(37, 17);
|
||||||
|
this.label1.TabIndex = 2;
|
||||||
|
this.label1.Text = "Name:";
|
||||||
|
//
|
||||||
|
// label2
|
||||||
|
//
|
||||||
|
this.label2.Location = new System.Drawing.Point(12, 38);
|
||||||
|
this.label2.Name = "label2";
|
||||||
|
this.label2.Size = new System.Drawing.Size(20, 16);
|
||||||
|
this.label2.TabIndex = 3;
|
||||||
|
this.label2.Text = "ID";
|
||||||
|
//
|
||||||
|
// button1
|
||||||
|
//
|
||||||
|
this.button1.Location = new System.Drawing.Point(12, 64);
|
||||||
|
this.button1.Name = "button1";
|
||||||
|
this.button1.Size = new System.Drawing.Size(124, 23);
|
||||||
|
this.button1.TabIndex = 4;
|
||||||
|
this.button1.Text = "Customize Character";
|
||||||
|
this.button1.UseVisualStyleBackColor = true;
|
||||||
|
this.button1.Click += new System.EventHandler(this.Button1Click);
|
||||||
|
//
|
||||||
|
// button2
|
||||||
|
//
|
||||||
|
this.button2.Location = new System.Drawing.Point(12, 93);
|
||||||
|
this.button2.Name = "button2";
|
||||||
|
this.button2.Size = new System.Drawing.Size(260, 23);
|
||||||
|
this.button2.TabIndex = 5;
|
||||||
|
this.button2.Text = "Launch";
|
||||||
|
this.button2.UseVisualStyleBackColor = true;
|
||||||
|
this.button2.Click += new System.EventHandler(this.Button2Click);
|
||||||
|
//
|
||||||
|
// button3
|
||||||
|
//
|
||||||
|
this.button3.Location = new System.Drawing.Point(148, 64);
|
||||||
|
this.button3.Name = "button3";
|
||||||
|
this.button3.Size = new System.Drawing.Size(124, 23);
|
||||||
|
this.button3.TabIndex = 6;
|
||||||
|
this.button3.Text = "Regenerate Player ID";
|
||||||
|
this.button3.UseVisualStyleBackColor = true;
|
||||||
|
this.button3.Click += new System.EventHandler(this.Button3Click);
|
||||||
|
//
|
||||||
|
// QuickConfigure
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.ClientSize = new System.Drawing.Size(284, 124);
|
||||||
|
this.Controls.Add(this.button3);
|
||||||
|
this.Controls.Add(this.button2);
|
||||||
|
this.Controls.Add(this.button1);
|
||||||
|
this.Controls.Add(this.label2);
|
||||||
|
this.Controls.Add(this.label1);
|
||||||
|
this.Controls.Add(this.textBox2);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.Name = "QuickConfigure";
|
||||||
|
this.Load += new System.EventHandler(this.QuickConfigureLoad);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
}
|
||||||
|
private System.Windows.Forms.Button button3;
|
||||||
|
private System.Windows.Forms.Button button2;
|
||||||
|
private System.Windows.Forms.Button button1;
|
||||||
|
private System.Windows.Forms.Label label2;
|
||||||
|
private System.Windows.Forms.Label label1;
|
||||||
|
private System.Windows.Forms.TextBox textBox2;
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
}
|
||||||
|
}
|
122
NovetusLauncher/NovetusLauncher/QuickConfigure.cs
Normal file
@ -0,0 +1,122 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 6/13/2017
|
||||||
|
* Time: 4:16 PM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Reflection;
|
||||||
|
using System.Security.Cryptography;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.IO;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of QuickConfigure.
|
||||||
|
/// </summary>
|
||||||
|
public partial class QuickConfigure : Form
|
||||||
|
{
|
||||||
|
public QuickConfigure()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void QuickConfigureLoad(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
string cfgpath = GlobalVars.BasePath + "\\config.txt";
|
||||||
|
if (!File.Exists(cfgpath))
|
||||||
|
{
|
||||||
|
LauncherFuncs.WriteConfigValues(cfgpath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ReadConfigValues(cfgpath);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button3Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
GeneratePlayerID();
|
||||||
|
}
|
||||||
|
|
||||||
|
void ReadConfigValues(string cfgpath)
|
||||||
|
{
|
||||||
|
LauncherFuncs.ReadConfigValues(cfgpath);
|
||||||
|
|
||||||
|
if (GlobalVars.UserID == 0)
|
||||||
|
{
|
||||||
|
GeneratePlayerID();
|
||||||
|
LauncherFuncs.WriteConfigValues(cfgpath);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textBox2.Text = GlobalVars.UserID.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
textBox1.Text = GlobalVars.PlayerName;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GeneratePlayerID()
|
||||||
|
{
|
||||||
|
LauncherFuncs.GeneratePlayerID();
|
||||||
|
textBox2.Text = GlobalVars.UserID.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
void TextBox1TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
GlobalVars.PlayerName = textBox1.Text;
|
||||||
|
}
|
||||||
|
|
||||||
|
void TextBox2TextChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
int parsedValue;
|
||||||
|
if (int.TryParse(textBox2.Text, out parsedValue))
|
||||||
|
{
|
||||||
|
if (textBox2.Text.Equals(""))
|
||||||
|
{
|
||||||
|
GlobalVars.UserID = 0;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GlobalVars.UserID = Convert.ToInt32(textBox2.Text);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
GlobalVars.UserID = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button1Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
CharacterCustomization ccustom = new CharacterCustomization(true);
|
||||||
|
ccustom.Show();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Button2Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
this.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
protected override void OnFormClosing(FormClosingEventArgs e)
|
||||||
|
{
|
||||||
|
string cfgpath = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location) + "\\config.txt";
|
||||||
|
base.OnFormClosing(e);
|
||||||
|
LauncherFuncs.WriteConfigValues(cfgpath);
|
||||||
|
GlobalVars.ReadyToLaunch = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2346
NovetusLauncher/NovetusLauncher/QuickConfigure.resx
Normal file
BIN
NovetusLauncher/NovetusLauncher/Resources/N.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
BIN
NovetusLauncher/NovetusLauncher/Resources/NOVETUS_small.png
Normal file
After Width: | Height: | Size: 2.6 MiB |
BIN
NovetusLauncher/NovetusLauncher/Resources/NovetusIcon.ico
Normal file
After Width: | Height: | Size: 130 KiB |
76
NovetusLauncher/NovetusLauncher/ServerInfo.Designer.cs
generated
Normal file
@ -0,0 +1,76 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 5/14/2017
|
||||||
|
* Time: 9:14 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
partial class ServerInfo
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Designer variable used to keep track of non-visual components.
|
||||||
|
/// </summary>
|
||||||
|
private System.ComponentModel.IContainer components = null;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Disposes resources used by the form.
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||||
|
protected override void Dispose(bool disposing)
|
||||||
|
{
|
||||||
|
if (disposing) {
|
||||||
|
if (components != null) {
|
||||||
|
components.Dispose();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
base.Dispose(disposing);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// This method is required for Windows Forms designer support.
|
||||||
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
||||||
|
/// not be able to load this method if it was changed manually.
|
||||||
|
/// </summary>
|
||||||
|
private void InitializeComponent()
|
||||||
|
{
|
||||||
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ServerInfo));
|
||||||
|
this.textBox1 = new System.Windows.Forms.TextBox();
|
||||||
|
this.SuspendLayout();
|
||||||
|
//
|
||||||
|
// textBox1
|
||||||
|
//
|
||||||
|
this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Left)
|
||||||
|
| System.Windows.Forms.AnchorStyles.Right)));
|
||||||
|
this.textBox1.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||||
|
this.textBox1.Location = new System.Drawing.Point(2, 3);
|
||||||
|
this.textBox1.Multiline = true;
|
||||||
|
this.textBox1.Name = "textBox1";
|
||||||
|
this.textBox1.ReadOnly = true;
|
||||||
|
this.textBox1.Size = new System.Drawing.Size(501, 256);
|
||||||
|
this.textBox1.TabIndex = 0;
|
||||||
|
//
|
||||||
|
// ServerInfo
|
||||||
|
//
|
||||||
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||||
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||||
|
this.AutoScroll = true;
|
||||||
|
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||||
|
this.ClientSize = new System.Drawing.Size(504, 262);
|
||||||
|
this.Controls.Add(this.textBox1);
|
||||||
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||||
|
this.MaximizeBox = false;
|
||||||
|
this.MinimumSize = new System.Drawing.Size(520, 300);
|
||||||
|
this.Name = "ServerInfo";
|
||||||
|
this.Text = "Server Info";
|
||||||
|
this.Load += new System.EventHandler(this.ServerInfoLoad);
|
||||||
|
this.ResumeLayout(false);
|
||||||
|
this.PerformLayout();
|
||||||
|
}
|
||||||
|
private System.Windows.Forms.TextBox textBox1;
|
||||||
|
}
|
||||||
|
}
|
86
NovetusLauncher/NovetusLauncher/ServerInfo.cs
Normal file
@ -0,0 +1,86 @@
|
|||||||
|
/*
|
||||||
|
* Created by SharpDevelop.
|
||||||
|
* User: BITL
|
||||||
|
* Date: 5/14/2017
|
||||||
|
* Time: 9:14 AM
|
||||||
|
*
|
||||||
|
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||||
|
*/
|
||||||
|
using System;
|
||||||
|
using System.Drawing;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using System.Net;
|
||||||
|
|
||||||
|
namespace NovetusLauncher
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Description of ServerInfo.
|
||||||
|
/// </summary>
|
||||||
|
public partial class ServerInfo : Form
|
||||||
|
{
|
||||||
|
public ServerInfo()
|
||||||
|
{
|
||||||
|
//
|
||||||
|
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||||
|
//
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
//
|
||||||
|
// TODO: Add constructor code after the InitializeComponent() call.
|
||||||
|
//
|
||||||
|
}
|
||||||
|
|
||||||
|
void ServerInfoLoad(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
textBox1.AppendText("Client: " + GlobalVars.SelectedClient);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText("IP: " + GetExternalIPAddress());
|
||||||
|
textBox1.AppendText("Port: " + GlobalVars.RobloxPort.ToString());
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText("Map: " + GlobalVars.Map);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText("Players: " + GlobalVars.PlayerLimit);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText("Version: Novetus " + GlobalVars.Version);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
string[] lines = {
|
||||||
|
SecurityFuncs.Base64Encode(GetExternalIPAddress()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.RobloxPort.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.SelectedClient)
|
||||||
|
};
|
||||||
|
string URI = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|",lines));
|
||||||
|
textBox1.AppendText("Online URI Link:");
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText(URI);
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
string[] lines2 = {
|
||||||
|
SecurityFuncs.Base64Encode("localhost"),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.RobloxPort.ToString()),
|
||||||
|
SecurityFuncs.Base64Encode(GlobalVars.SelectedClient)
|
||||||
|
};
|
||||||
|
string URI2 = "novetus://" + SecurityFuncs.Base64Encode(string.Join("|",lines2));
|
||||||
|
textBox1.AppendText("Local URI Link:");
|
||||||
|
textBox1.AppendText(Environment.NewLine);
|
||||||
|
textBox1.AppendText(URI2);
|
||||||
|
}
|
||||||
|
|
||||||
|
string GetExternalIPAddress()
|
||||||
|
{
|
||||||
|
string ipAddress;
|
||||||
|
using (WebClient wc = new WebClient())
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
ipAddress = wc.DownloadString("http://icanhazip.com/");
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
ipAddress = "localhost" + Environment.NewLine;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return ipAddress;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2346
NovetusLauncher/NovetusLauncher/ServerInfo.resx
Normal file
6
NovetusLauncher/NovetusLauncher/app.config
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<startup>
|
||||||
|
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0" />
|
||||||
|
</startup>
|
||||||
|
</configuration>
|
@ -0,0 +1,12 @@
|
|||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\bin\Release\NovetusLauncher.exe.config
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\bin\Release\NovetusLauncher.exe
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.csprojResolveAssemblyReference.cache
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.CharacterCustomization.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.ClientinfoEditor.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.LoaderForm.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.MainForm.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.QuickConfigure.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.ServerInfo.resources
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.csproj.GenerateResource.Cache
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.exe
|
||||||
|
C:\Users\BITL\Desktop\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\RBXLegacy-src-749b4965ca0c1d0e87b5902a59c70a68ab6942e1\NovetusLauncher\NovetusLauncher\obj\Release\NovetusLauncher.ItemMaker.resources
|
BIN
NovetusLauncher/NovetusLauncher/obj/Release/NovetusLauncher.exe
Normal file
51
NovetusSetup.iss
Normal file
@ -0,0 +1,51 @@
|
|||||||
|
; Script generated by the Inno Script Studio Wizard.
|
||||||
|
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
|
||||||
|
|
||||||
|
#define AppVer "1.0.0"
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
; NOTE: The value of AppId uniquely identifies this application.
|
||||||
|
; Do not use the same AppId value in installers for other applications.
|
||||||
|
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
|
||||||
|
AppId={{AC107FB8-A904-4D2C-8E4D-049808EB136E}
|
||||||
|
AppName=Novetus {#AppVer}
|
||||||
|
AppVersion={#AppVer}
|
||||||
|
AppVerName=Novetus {#AppVer}
|
||||||
|
AppPublisher=Bitl
|
||||||
|
DefaultDirName=C:\Novetus\{#AppVer}
|
||||||
|
DefaultGroupName=Novetus\{#AppVer}
|
||||||
|
AllowNoIcons=yes
|
||||||
|
OutputDir=.
|
||||||
|
OutputBaseFilename=NovetusSetup_{#AppVer}
|
||||||
|
SetupIconFile=Novetus\NovetusIcon.ico
|
||||||
|
Compression=lzma2/ultra64
|
||||||
|
SolidCompression=yes
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "Create a icon on your Desktop"; GroupDescription: "Icons"
|
||||||
|
Name: "quicklaunchicon"; Description: "Create a icon on your Quick Start Menu"; GroupDescription: "Icons"; Flags: unchecked; OnlyBelowVersion: 0,6.1
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "Novetus\NovetusLauncher.exe"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "Novetus\NovetusLauncher.exe.config"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "Novetus\README.TXT"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "Novetus\changelog.txt"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "Novetus\info.txt"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "Novetus\clients\*"; DestDir: "{app}\clients"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "Novetus\maps\*"; DestDir: "{app}\maps"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "Novetus\models\*"; DestDir: "{app}\models"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
Source: "Novetus\charcustom\*"; DestDir: "{app}\charcustom"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{group}"; Filename: "{app}\NovetusLauncher.exe"
|
||||||
|
Name: "{group}"; Filename: "{uninstallexe}"
|
||||||
|
Name: "{commondesktop}\Novetus {#AppVer}"; Filename: "{app}\NovetusLauncher.exe"; Tasks: desktopicon
|
||||||
|
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Novetus {#AppVer}"; Filename: "{app}\NovetusLauncher.exe"; Tasks: quicklaunchicon
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\NovetusLauncher.exe"; Description: "Play Novetus"; Flags: nowait postinstall skipifsilent
|
||||||
|
Filename: "{app}\README.TXT"; Description: "View the README file"; Flags: postinstall shellexec skipifsilent unchecked
|
||||||
|
Filename: "{app}\changelog.txt"; Description: "View the changelog"; Flags: postinstall shellexec skipifsilent unchecked
|
3
README.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
![Logo](https://github.com/Bitl/Novetus_src/raw/master/Graphics/NOVETUS_small.png)
|
||||||
|
|
||||||
|
Source code for Novetus' launcher, installer, LUA scripts, and server. All of these source files are under the GPL licence.
|
4
charcustom/faces/DefaultFace.rbxm
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/2007RobloxVisor.png
Normal file
After Width: | Height: | Size: 46 KiB |
118
charcustom/hats/2007RobloxVisor.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.0900000036</Y>
|
||||||
|
<Z>0.180000007</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">RobloxVisor</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-54.5893402</X>
|
||||||
|
<Y>1.7905935</Y>
|
||||||
|
<Z>10.173811</Z>
|
||||||
|
<R00>0.990246177</R00>
|
||||||
|
<R01>-6.40412909e-005</R01>
|
||||||
|
<R02>-0.139328629</R02>
|
||||||
|
<R10>5.6671106e-005</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-5.68651376e-005</R12>
|
||||||
|
<R20>0.139328644</R20>
|
||||||
|
<R21>4.84145821e-005</R21>
|
||||||
|
<R22>0.990246177</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.400000006</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/visor.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.01999998</X>
|
||||||
|
<Y>1.01999998</Y>
|
||||||
|
<Z>1.01999998</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/ROBLOXVisor.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/2008RobloxVisor.png
Normal file
After Width: | Height: | Size: 49 KiB |
116
charcustom/hats/2008RobloxVisor.rbxm
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.0900000036</Y>
|
||||||
|
<Z>0.180000007</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">BlueROBLOXVisor</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-55.5893402</X>
|
||||||
|
<Y>3.39059353</Y>
|
||||||
|
<Z>-2.82618904</Z>
|
||||||
|
<R00>0.990246177</R00>
|
||||||
|
<R01>-6.40412909e-005</R01>
|
||||||
|
<R02>-0.139328629</R02>
|
||||||
|
<R10>5.6671106e-005</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-5.68651376e-005</R12>
|
||||||
|
<R20>0.139328644</R20>
|
||||||
|
<R21>4.84145821e-005</R21>
|
||||||
|
<R22>0.990246177</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.400000006</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/visor.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.01999998</X>
|
||||||
|
<Y>1.01999998</Y>
|
||||||
|
<Z>1.01999998</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/BlueROBLOXVisor.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/2009RobloxVisor.png
Normal file
After Width: | Height: | Size: 50 KiB |
116
charcustom/hats/2009RobloxVisor.rbxm
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.0900000036</Y>
|
||||||
|
<Z>0.180000007</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">YellowROBLOXVisor</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-55.5893402</X>
|
||||||
|
<Y>3.39059353</Y>
|
||||||
|
<Z>-2.82618904</Z>
|
||||||
|
<R00>0.990246177</R00>
|
||||||
|
<R01>-6.40412909e-005</R01>
|
||||||
|
<R02>-0.139328629</R02>
|
||||||
|
<R10>5.6671106e-005</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-5.68651376e-005</R12>
|
||||||
|
<R20>0.139328644</R20>
|
||||||
|
<R21>4.84145821e-005</R21>
|
||||||
|
<R22>0.990246177</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.400000006</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/visor.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.01999998</X>
|
||||||
|
<Y>1.01999998</Y>
|
||||||
|
<Z>1.01999998</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/YellowROBLOXVisor.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/ArrowHat.png
Normal file
After Width: | Height: | Size: 14 KiB |
140
charcustom/hats/ArrowHat.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX9CB6CE7E37DA43E999DBB82725551845">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>-0.200000003</X>
|
||||||
|
<Y>0.5</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>-0</R02>
|
||||||
|
<R10>-0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">ArrowHat</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBXFDCBF3E3306344A4A7BEE9219F011B83">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-14.3394747</X>
|
||||||
|
<Y>0.797211528</Y>
|
||||||
|
<Z>52.6908569</Z>
|
||||||
|
<R00>-0.251784325</R00>
|
||||||
|
<R01>0.00272286031</R01>
|
||||||
|
<R02>-0.967779458</R02>
|
||||||
|
<R10>0.000115611641</R10>
|
||||||
|
<R11>0.999996126</R11>
|
||||||
|
<R12>0.00278342376</R12>
|
||||||
|
<R20>0.967783272</R20>
|
||||||
|
<R21>0.000588936033</R21>
|
||||||
|
<R22>-0.251783669</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>4</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX205EB93583054BBDA0C0A02ED3F8E753">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/ArrowHat.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.600000024</X>
|
||||||
|
<Y>0.600000024</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/ArrowHat.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX0AF1CFCB065342A1A48284DD133B38A3">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-0.199999988</X>
|
||||||
|
<Y>0.599999905</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/BCHardHat.png
Normal file
After Width: | Height: | Size: 50 KiB |
118
charcustom/hats/BCHardHat.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.349999994</Y>
|
||||||
|
<Z>0.150000006</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">4</int>
|
||||||
|
<string name="Name">HardHat</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-3.60424042</X>
|
||||||
|
<Y>5.74905539</Y>
|
||||||
|
<Z>-29.0172787</Z>
|
||||||
|
<R00>-0.916252911</R00>
|
||||||
|
<R01>-2.77620595e-021</R01>
|
||||||
|
<R02>-0.400600582</R02>
|
||||||
|
<R10>-3.90117441e-021</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>1.99264861e-021</R12>
|
||||||
|
<R20>0.400600582</R20>
|
||||||
|
<R21>3.38858254e-021</R21>
|
||||||
|
<R22>-0.916252911</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>-2.42862883e-023</X>
|
||||||
|
<Y>3.62439101e-022</Y>
|
||||||
|
<Z>-1.39473558e-023</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>3.65625818e-020</X>
|
||||||
|
<Y>0.0075033661</Y>
|
||||||
|
<Z>3.64011588e-020</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/hardhat.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/hardhat_bc.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/BiggerHead.png
Normal file
After Width: | Height: | Size: 47 KiB |
178
charcustom/hats/BiggerHead.rbxm
Normal file
@ -0,0 +1,178 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX1A9AEA3C65904F7BA98880BB2BDF2D22">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.100000001</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">BiggerHead</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBXE71D3EBF04D64920A1D3738B020F6B3E">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>0.0956699997</X>
|
||||||
|
<Y>17.9791546</Y>
|
||||||
|
<Z>21.3052826</Z>
|
||||||
|
<R00>-0.146556064</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0.98920238</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>-0.98920238</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>-0.146556079</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>3</X>
|
||||||
|
<Y>2</Y>
|
||||||
|
<Z>3</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX0A2B34AADAE54BBC8EB8A6763672CDCC">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/head.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.20000005</X>
|
||||||
|
<Y>1.20000005</Y>
|
||||||
|
<Z>1.20000005</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/BiggerHead.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBXEE82820C673D486498C4ADD7F96B83C1">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65838956e-09</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-09</R01>
|
||||||
|
<R02>-3.26223034e-24</R02>
|
||||||
|
<R10>-7.87137555e-09</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-16</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-16</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
<Item class="Camera" referent="RBX72f709580c6f4e57ad16b5f85c7be795">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-3.69429398</X>
|
||||||
|
<Y>18.9349079</Y>
|
||||||
|
<Z>23.4477196</Z>
|
||||||
|
<R00>0.492105782</R00>
|
||||||
|
<R01>0.18666546</R01>
|
||||||
|
<R02>-0.850286961</R02>
|
||||||
|
<R10>-0</R10>
|
||||||
|
<R11>0.976740241</R11>
|
||||||
|
<R12>0.214426041</R12>
|
||||||
|
<R20>0.870535433</R20>
|
||||||
|
<R21>-0.105520293</R21>
|
||||||
|
<R22>0.480659485</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<Ref name="CameraSubject">null</Ref>
|
||||||
|
<token name="CameraType">0</token>
|
||||||
|
<float name="FieldOfView">70</float>
|
||||||
|
<CoordinateFrame name="Focus">
|
||||||
|
<X>-1.99372005</X>
|
||||||
|
<Y>18.5060558</Y>
|
||||||
|
<Z>22.4864006</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="HeadLocked">true</bool>
|
||||||
|
<float name="HeadScale">1</float>
|
||||||
|
<string name="Name">ThumbnailCamera</string>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/Bighead.png
Normal file
After Width: | Height: | Size: 38 KiB |
140
charcustom/hats/Bighead.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX01219CB8867C408AB68C3EC14E5E5382">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">Bighead</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX5D0E16ED0883470F95F217CEC69EBF11">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>57.0543022</X>
|
||||||
|
<Y>1.19939876</Y>
|
||||||
|
<Z>-65.1173859</Z>
|
||||||
|
<R00>-0.86764586</R00>
|
||||||
|
<R01>5.43082569e-005</R01>
|
||||||
|
<R02>-0.497182906</R02>
|
||||||
|
<R10>-1.16321849e-006</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0.000111261907</R12>
|
||||||
|
<R20>0.497182935</R20>
|
||||||
|
<R21>9.71142581e-005</R21>
|
||||||
|
<R22>-0.8676458</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>1.60000002</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBXEB543232E4C74BE2B29B97F2466603E9">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/head.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/Bighead.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX3B1A9B31A2B64D35AD1233A90C5C8083">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65838956e-009</X>
|
||||||
|
<Y>0.0999999046</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/BlueBaseballCap.png
Normal file
After Width: | Height: | Size: 81 KiB |
118
charcustom/hats/BlueBaseballCap.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.200000003</Y>
|
||||||
|
<Z>0.150000006</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">BlueBaseballCap</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-9.5</X>
|
||||||
|
<Y>0.600000024</Y>
|
||||||
|
<Z>16.5</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.400000006</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/BaseballCap.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/BlueBaseballCap.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/BlueSteelBatHelm.png
Normal file
After Width: | Height: | Size: 72 KiB |
118
charcustom/hats/BlueSteelBatHelm.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.280000001</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">BlueSteelBatHelm</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-91</X>
|
||||||
|
<Y>5.79844189</Y>
|
||||||
|
<Z>41.5</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>1.20000005</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/BlueSteelBatHelm.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/BlueSteelBatHelm.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/BusinessFedora.png
Normal file
After Width: | Height: | Size: 60 KiB |
140
charcustom/hats/BusinessFedora.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBXD665B35905664379808D22A9AAFB6ACA">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.25</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>0.995037198</R11>
|
||||||
|
<R12>0.0995037183</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>-0.0995037183</R21>
|
||||||
|
<R22>0.995037198</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">BusinessFedora</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX57C09833F5F54C2A9F2BFF17689AC432">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>4</Y>
|
||||||
|
<Z>274</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBXB4353A38C8154FDE811D8B693B8C0A02">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/BusinessFedora.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/BusinessFedora.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX5F3CBA78A5E644CF97E9454AE7723297">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65748007e-009</X>
|
||||||
|
<Y>-0.150523663</Y>
|
||||||
|
<Z>-0.0102213025</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137289e-009</R01>
|
||||||
|
<R02>4.24105195e-014</R02>
|
||||||
|
<R10>-7.83231258e-009</R10>
|
||||||
|
<R11>0.995037198</R11>
|
||||||
|
<R12>0.0995037183</R12>
|
||||||
|
<R20>7.83188625e-010</R20>
|
||||||
|
<R21>-0.0995037183</R21>
|
||||||
|
<R22>0.995037198</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/ChristmasBaseballCap.png
Normal file
After Width: | Height: | Size: 87 KiB |
140
charcustom/hats/ChristmasBaseballCap.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX09D6A33EE2C94FA48C3403922338DAC0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.200000003</Y>
|
||||||
|
<Z>0.150000006</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">ChristmasBaseballCap</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX32C9868CE8444CA5A3A68FFF9C721D26">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-169.5</X>
|
||||||
|
<Y>4.59435844</Y>
|
||||||
|
<Z>16.5</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.16600587e-017</R01>
|
||||||
|
<R02>6.05396395e-022</R02>
|
||||||
|
<R10>1.16600587e-017</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.16603532e-017</R12>
|
||||||
|
<R20>-6.05396395e-022</R20>
|
||||||
|
<R21>1.16603532e-017</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.400000006</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX0091398A7D6D46FE933C4F6141879347">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/BaseballCap.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/ChristmasBaseballCap.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX74C3B2B3FF024DF9B2E704904F3F489F">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65748007e-009</X>
|
||||||
|
<Y>-0.0999999046</Y>
|
||||||
|
<Z>0.149727762</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/CrimsonCatseye.png
Normal file
After Width: | Height: | Size: 42 KiB |
140
charcustom/hats/CrimsonCatseye.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX822083D4A83E4A66BDF44085C439A4F7">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>0.315927833</R00>
|
||||||
|
<R01>0.948783219</R01>
|
||||||
|
<R02>-0</R02>
|
||||||
|
<R10>-0.948783219</R10>
|
||||||
|
<R11>0.315927833</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">CrimsonCatseye</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBXD713D4F639204359AB493D9D39BAC154">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-145.192429</X>
|
||||||
|
<Y>5.39913511</Y>
|
||||||
|
<Z>-13.2564058</Z>
|
||||||
|
<R00>-0.297082156</R00>
|
||||||
|
<R01>0.892186522</R01>
|
||||||
|
<R02>0.340213925</R02>
|
||||||
|
<R10>0.948783219</R10>
|
||||||
|
<R11>0.315927833</R11>
|
||||||
|
<R12>4.50383647e-021</R12>
|
||||||
|
<R20>-0.107483052</R20>
|
||||||
|
<R21>0.322789252</R21>
|
||||||
|
<R22>-0.940348148</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>-1.37522897e-021</X>
|
||||||
|
<Y>3.39070542e-022</Y>
|
||||||
|
<Z>-1.37556985e-021</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>3.92317321e-020</X>
|
||||||
|
<Y>0.00677233888</Y>
|
||||||
|
<Z>3.37289422e-020</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">0</token>
|
||||||
|
<token name="shape">0</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX0F260B1D0F79401583352CFF252559FA">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/Eye.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>3.3499999</X>
|
||||||
|
<Y>3.3499999</Y>
|
||||||
|
<Z>3.3499999</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/CrimsonCatseye.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBXB37214ED110E41508D0BAE8383354A6E">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>0.0948781967</X>
|
||||||
|
<Y>0.0315927267</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>0.315927833</R00>
|
||||||
|
<R01>0.948783219</R01>
|
||||||
|
<R02>-3.93215802e-016</R02>
|
||||||
|
<R10>-0.948783219</R10>
|
||||||
|
<R11>0.315927833</R11>
|
||||||
|
<R12>-1.30933824e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/Darkseed.png
Normal file
After Width: | Height: | Size: 54 KiB |
116
charcustom/hats/Darkseed.rbxm
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.100000001</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">Darkseed</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-98</X>
|
||||||
|
<Y>9.39844799</Y>
|
||||||
|
<Z>-4</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">0</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">0</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/pumpkin.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.5</X>
|
||||||
|
<Y>0.5</Y>
|
||||||
|
<Z>0.5</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/Darkseed.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/DominoCrown.png
Normal file
After Width: | Height: | Size: 106 KiB |
118
charcustom/hats/DominoCrown.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.449999988</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">DominoCrown</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-12.5</X>
|
||||||
|
<Y>1.59906554</Y>
|
||||||
|
<Z>38.5</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-2.3695262e-017</R01>
|
||||||
|
<R02>2.34151298e-018</R02>
|
||||||
|
<R10>2.3695262e-017</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.97234252e-017</R12>
|
||||||
|
<R20>-2.34151298e-018</R20>
|
||||||
|
<R21>1.97234252e-017</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/DominoCrown.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.10000002</X>
|
||||||
|
<Y>1.10000002</Y>
|
||||||
|
<Z>1.10000002</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/DominoCrown.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/EeriePumpkinHead.png
Normal file
After Width: | Height: | Size: 78 KiB |
118
charcustom/hats/EeriePumpkinHead.rbxm
Normal file
@ -0,0 +1,118 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.100000001</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">GreenPumpkinHead</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-91</X>
|
||||||
|
<Y>1.79844737</Y>
|
||||||
|
<Z>-4</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<bool name="CastsShadows">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="Cullable">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">0</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">0</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/pumpkin.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.5</X>
|
||||||
|
<Y>0.5</Y>
|
||||||
|
<Z>0.5</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/GreenPumpkinHead.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/EmeraldEye.png
Normal file
After Width: | Height: | Size: 128 KiB |
178
charcustom/hats/EmeraldEye.rbxm
Normal file
@ -0,0 +1,178 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0C592D9F237140F891E9ACF5B8381B7D">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.100000001</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">EmeraldEye</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBXEE80E42F233C42B0B8AF68C6BBAF1654">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-0.130005002</X>
|
||||||
|
<Y>20.6384449</Y>
|
||||||
|
<Z>22.4799995</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">0</token>
|
||||||
|
<token name="shape">0</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBXA297D6CFE8BF4B2E82650813BD125D75">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/Eye.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>3.20000005</X>
|
||||||
|
<Y>3.20000005</Y>
|
||||||
|
<Z>3.20000005</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/EmeraldEye.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX8D8C832C1601426092AADBBCAD8B82E3">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65838956e-009</X>
|
||||||
|
<Y>0.199999809</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
<Item class="Camera" referent="RBXF04C36DDE35A4733A5A2BB6F19E88D44">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-0.903261542</X>
|
||||||
|
<Y>20.882246</Y>
|
||||||
|
<Z>20.2210979</Z>
|
||||||
|
<R00>-0.946103156</R00>
|
||||||
|
<R01>0.0328994915</R01>
|
||||||
|
<R02>-0.322190195</R02>
|
||||||
|
<R10>1.86264537e-009</R10>
|
||||||
|
<R11>0.994827032</R11>
|
||||||
|
<R12>0.101583786</R12>
|
||||||
|
<R20>0.323865592</R20>
|
||||||
|
<R21>0.0961087421</R21>
|
||||||
|
<R22>-0.941208899</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<Ref name="CameraSubject">null</Ref>
|
||||||
|
<token name="CameraType">0</token>
|
||||||
|
<float name="FieldOfView">70</float>
|
||||||
|
<CoordinateFrame name="Focus">
|
||||||
|
<X>-0.130005002</X>
|
||||||
|
<Y>20.6384449</Y>
|
||||||
|
<Z>22.4799995</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="HeadLocked">true</bool>
|
||||||
|
<float name="HeadScale">1</float>
|
||||||
|
<string name="Name">ThumbnailCamera</string>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/EvilDuck.png
Normal file
After Width: | Height: | Size: 49 KiB |
140
charcustom/hats/EvilDuck.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0D7B27EE32C6448A9B2BA83C9E0F45D4">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.5</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">EvilDuck</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX222B877572C347C492DCFB09C738190C">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>4</Y>
|
||||||
|
<Z>526</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">0</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX56CD7F80872D4F3EBC93B71544190BE9">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/EvilDuck.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/EvilDuck.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBX310AD395FAEC447683FAD37AE3BC77CC">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65838956e-009</X>
|
||||||
|
<Y>-0.400000095</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/FirefighterHat.png
Normal file
After Width: | Height: | Size: 46 KiB |
140
charcustom/hats/FirefighterHat.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX240526B7F82443B9B8360AE25DD345C3">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.25</Y>
|
||||||
|
<Z>-0.349999994</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>-0</R02>
|
||||||
|
<R10>-0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">FirefighterHat</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX4FED9D57C1A042108F0EAA951D584EA6">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>7.50342607</X>
|
||||||
|
<Y>12.3970766</Y>
|
||||||
|
<Z>57</Z>
|
||||||
|
<R00>-0.999996185</R00>
|
||||||
|
<R01>0.00272532669</R01>
|
||||||
|
<R02>1.94437707e-005</R02>
|
||||||
|
<R10>0.00272532669</R10>
|
||||||
|
<R11>0.999996305</R11>
|
||||||
|
<R12>-2.93517542e-006</R12>
|
||||||
|
<R20>-1.94516979e-005</R20>
|
||||||
|
<R21>-2.8821737e-006</R21>
|
||||||
|
<R22>-0.999999881</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX6B793B26287C483484DA0708C8A8130B">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/FirefighterHat.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1.20000005</X>
|
||||||
|
<Y>1.20000005</Y>
|
||||||
|
<Z>1.20000005</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/FirefighterHat.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBXD7BA2C5D05C84FD1875D8D3E76318E5C">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65748007e-009</X>
|
||||||
|
<Y>-0.150000095</Y>
|
||||||
|
<Z>-0.350272238</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/FlashingBolt.png
Normal file
After Width: | Height: | Size: 44 KiB |
123
charcustom/hats/FlashingBolt.rbxm
Normal file
@ -0,0 +1,123 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.200000003</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">BoltHelm</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-193</X>
|
||||||
|
<Y>13.4000006</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2.4000001</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/BlackLotus.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.899999976</X>
|
||||||
|
<Y>0.899999976</Y>
|
||||||
|
<Z>0.899999976</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/Bolt.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/FrozenNorth.png
Normal file
After Width: | Height: | Size: 76 KiB |
116
charcustom/hats/FrozenNorth.rbxm
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.200000003</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">HelmOfIce</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-205</X>
|
||||||
|
<Y>13.4000006</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2.4000001</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/HelmOfIce.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.899999976</X>
|
||||||
|
<Y>0.899999976</Y>
|
||||||
|
<Z>0.899999976</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/HelmOfIce.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/GoldTeapot.png
Normal file
After Width: | Height: | Size: 58 KiB |
140
charcustom/hats/GoldTeapot.rbxm
Normal file
@ -0,0 +1,140 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX97B5B99B58EC4E8691DD8AEDAEB9D553">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0.300000012</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">GoldTeapot</string>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBXB0948690E8AF4E7CBF67C0B6DC162225">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-150</X>
|
||||||
|
<Y>20.3984299</Y>
|
||||||
|
<Z>30</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<PhysicalProperties name="CustomPhysicalProperties">
|
||||||
|
<CustomPhysics>false</CustomPhysics>
|
||||||
|
</PhysicalProperties>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<token name="formFactorRaw">2</token>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX76230F0881564653852D6E8540F92C9B">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/GoldTeapot.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/GoldTeapot.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
<Item class="Attachment" referent="RBXDBB8D3064B7F4B9089B096EACE539BA6">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>8.65838956e-009</X>
|
||||||
|
<Y>0.400000095</Y>
|
||||||
|
<Z>-0.000272244215</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>7.87137555e-009</R01>
|
||||||
|
<R02>-3.26223034e-024</R02>
|
||||||
|
<R10>-7.87137555e-009</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-4.1444221e-016</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>4.1444221e-016</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<string name="Name">HatAttachment</string>
|
||||||
|
<bool name="Visible">false</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/GreatTree.png
Normal file
After Width: | Height: | Size: 61 KiB |
124
charcustom/hats/GreatTree.rbxm
Normal file
@ -0,0 +1,124 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.200000003</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">TreeHelm</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-213</X>
|
||||||
|
<Y>15.8000002</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<token name="Material">256</token>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>2.4000001</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<token name="LODX">2</token>
|
||||||
|
<token name="LODY">2</token>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/LeafHelm.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Offset">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>0.899999976</X>
|
||||||
|
<Y>0.899999976</Y>
|
||||||
|
<Z>0.899999976</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/LeafHelm.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/GreenTopHat.png
Normal file
After Width: | Height: | Size: 37 KiB |
116
charcustom/hats/GreenTopHat.rbxm
Normal file
@ -0,0 +1,116 @@
|
|||||||
|
<roblox xmlns:xmime="http://www.w3.org/2005/05/xmlmime" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.roblox.com/roblox.xsd" version="4">
|
||||||
|
<External>null</External>
|
||||||
|
<External>nil</External>
|
||||||
|
<Item class="Hat" referent="RBX0">
|
||||||
|
<Properties>
|
||||||
|
<CoordinateFrame name="AttachmentPoint">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>-0.25</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>0</R01>
|
||||||
|
<R02>0</R02>
|
||||||
|
<R10>0</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>0</R12>
|
||||||
|
<R20>0</R20>
|
||||||
|
<R21>0</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<int name="BackendAccoutrementState">2</int>
|
||||||
|
<string name="Name">GreenTopHat</string>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
<Item class="Part" referent="RBX1">
|
||||||
|
<Properties>
|
||||||
|
<bool name="Anchored">false</bool>
|
||||||
|
<float name="BackParamA">-0.5</float>
|
||||||
|
<float name="BackParamB">0.5</float>
|
||||||
|
<token name="BackSurface">0</token>
|
||||||
|
<token name="BackSurfaceInput">0</token>
|
||||||
|
<float name="BottomParamA">-0.5</float>
|
||||||
|
<float name="BottomParamB">0.5</float>
|
||||||
|
<token name="BottomSurface">0</token>
|
||||||
|
<token name="BottomSurfaceInput">0</token>
|
||||||
|
<int name="BrickColor">194</int>
|
||||||
|
<CoordinateFrame name="CFrame">
|
||||||
|
<X>-23</X>
|
||||||
|
<Y>1.598441</Y>
|
||||||
|
<Z>12</Z>
|
||||||
|
<R00>1</R00>
|
||||||
|
<R01>-1.28136491e-018</R01>
|
||||||
|
<R02>2.70646879e-019</R02>
|
||||||
|
<R10>1.28136491e-018</R10>
|
||||||
|
<R11>1</R11>
|
||||||
|
<R12>-1.67646949e-018</R12>
|
||||||
|
<R20>-2.70646879e-019</R20>
|
||||||
|
<R21>1.67646949e-018</R21>
|
||||||
|
<R22>1</R22>
|
||||||
|
</CoordinateFrame>
|
||||||
|
<bool name="CanCollide">true</bool>
|
||||||
|
<token name="Controller">0</token>
|
||||||
|
<bool name="ControllerFlagShown">true</bool>
|
||||||
|
<bool name="DraggingV1">false</bool>
|
||||||
|
<float name="Elasticity">0.5</float>
|
||||||
|
<token name="FormFactor">2</token>
|
||||||
|
<float name="Friction">0.300000012</float>
|
||||||
|
<float name="FrontParamA">-0.5</float>
|
||||||
|
<float name="FrontParamB">0.5</float>
|
||||||
|
<token name="FrontSurface">0</token>
|
||||||
|
<token name="FrontSurfaceInput">0</token>
|
||||||
|
<float name="LeftParamA">-0.5</float>
|
||||||
|
<float name="LeftParamB">0.5</float>
|
||||||
|
<token name="LeftSurface">0</token>
|
||||||
|
<token name="LeftSurfaceInput">0</token>
|
||||||
|
<bool name="Locked">true</bool>
|
||||||
|
<string name="Name">Handle</string>
|
||||||
|
<float name="Reflectance">0</float>
|
||||||
|
<float name="RightParamA">-0.5</float>
|
||||||
|
<float name="RightParamB">0.5</float>
|
||||||
|
<token name="RightSurface">0</token>
|
||||||
|
<token name="RightSurfaceInput">0</token>
|
||||||
|
<Vector3 name="RotVelocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<float name="TopParamA">-0.5</float>
|
||||||
|
<float name="TopParamB">0.5</float>
|
||||||
|
<token name="TopSurface">0</token>
|
||||||
|
<token name="TopSurfaceInput">0</token>
|
||||||
|
<float name="Transparency">0</float>
|
||||||
|
<Vector3 name="Velocity">
|
||||||
|
<X>0</X>
|
||||||
|
<Y>0</Y>
|
||||||
|
<Z>0</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
<token name="shape">1</token>
|
||||||
|
<Vector3 name="size">
|
||||||
|
<X>2</X>
|
||||||
|
<Y>0.800000012</Y>
|
||||||
|
<Z>2</Z>
|
||||||
|
</Vector3>
|
||||||
|
</Properties>
|
||||||
|
<Item class="SpecialMesh" referent="RBX2">
|
||||||
|
<Properties>
|
||||||
|
<Content name="MeshId"><url>rbxasset://../../../charcustom/hats/fonts/tophat.mesh</url></Content>
|
||||||
|
<token name="MeshType">5</token>
|
||||||
|
<string name="Name">Mesh</string>
|
||||||
|
<Vector3 name="Scale">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<Content name="TextureId"><url>rbxasset://../../../charcustom/hats/textures/GreenTopHat.png</url></Content>
|
||||||
|
<Vector3 name="VertexColor">
|
||||||
|
<X>1</X>
|
||||||
|
<Y>1</Y>
|
||||||
|
<Z>1</Z>
|
||||||
|
</Vector3>
|
||||||
|
<bool name="archivable">true</bool>
|
||||||
|
</Properties>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</Item>
|
||||||
|
</roblox>
|
BIN
charcustom/hats/HalloweenBaseballCap.png
Normal file
After Width: | Height: | Size: 84 KiB |