Poll

Will you consider making a cusom hat pack?

Yes
191 (30.2%)
No
84 (13.3%)
Where is the bathroom?
358 (56.6%)

Total Members Voted: 628

Author Topic: Simple Well Hat Mod v3 [PH]  (Read 79563 times)

Okay, I got it working, but..
It doesn't use my Bonk.dts model.
It just uses the regular Cap. Note: Straw, Soda Bottle, Soda Bottle Holders are not textured.
Exported as Torque Game Engine DTS
Code: [Select]
AddHAT("Bonk Helmet","Bonk Helm",0);

datablock ShapeBaseImageData(MinerImage)
{
shapeFile = "./SHAPES/Bonk.dts";
emap = true;
mountPoint = $HeadSlot;
offset = "0 0.02 0.3";
eyeOffset = "0 0 0.4";
rotation = eulerToMatrix("0 0 0");
scale = "0.1 0.1 0.1";
doColorShift = false;
colorShiftColor = "0.392 0.196 0.0 1.000";
};

For some obscure reason it requires you to extract SimpleWell_HatMod and then insert the files in the ITEMS folder instead of allowing for other Hat Add-Ons.

EDIT: Oh - change "MinerImage" and "Bonk Helm" in the function to "BonkHelmImage".

For some obscure reason it requires you to extract SimpleWell_HatMod and then insert the files in the ITEMS folder instead of allowing for other Hat Add-Ons.

EDIT: Oh - change "MinerImage" and "Bonk Helm" in the function to "BonkHelmImage".
Doesn't work, just makes all hats disappear from the list.



Okay, I got it working, but..
It doesn't use my Bonk.dts model.
It just uses the regular Cap. Note: Straw, Soda Bottle, Soda Bottle Holders are not textured.
Exported as Torque Game Engine DTS
Code: [Select]
AddHAT("Bonk Helmet","BonkHelm",0);

datablock ShapeBaseImageData(BonkHelmImage)
{
shapeFile = "./SHAPES/Bonk.dts";
emap = true;
mountPoint = $HeadSlot;
offset = "0 0.02 0.3";
eyeOffset = "0 0 0.4";
rotation = eulerToMatrix("0 0 0");
scale = "0.1 0.1 0.1";
doColorShift = false;
colorShiftColor = "0.392 0.196 0.0 1.000";
};

Fixed your code there.

-do want-
Woah, if you want that included with the hat mod. Just let me know.
Ill add you to the credits.

Which would have to be done by you. So stop shoveling this stuff on me. People are complaining about it.
And i tell them to talk to you. Why? Because i can't change around your stuff. Only you can.
Actually you can fix it. Packages.

I think packs would be great.

I think packs would be great.
Doom gave me a example hat pack zip.
but, he forgeted it up. So, ill have the sample hat pack out later tonight.

I guess that I'll release a hat pack later, later tonight.

I guess that I'll release a hat pack later, later tonight.
:D


Pandan, will it need the default grey color in MS3D for each hat put into a .png file?
The code you gave me still uses the regular Cap model.
Anything wrong with this model?
« Last Edit: September 05, 2009, 06:08:28 PM by Lil Robot »

I wait 25 min and no hat! do i have to be in mini?
it works sorry
« Last Edit: September 05, 2009, 06:38:56 PM by XaMNasapuppy »

-MISSION SUCCESS-

Good job Pandan!

I reccomend that there would be a command /granthat[Hat Type][Name].

:D