Browse Source

Adding ToonTown Example

Josh Engebretson 10 years ago
parent
commit
bd78918f06
100 changed files with 1436 additions and 0 deletions
  1. 12 0
      README.md
  2. 3 0
      ToonTown/LICENSE.md
  3. 275 0
      ToonTown/Resources/Components/AvatarController.js
  4. 26 0
      ToonTown/Resources/Components/Crate.js
  5. 36 0
      ToonTown/Resources/Components/LightFlicker.js
  6. 48 0
      ToonTown/Resources/Components/RoboMan.js
  7. 42 0
      ToonTown/Resources/Components/Scene.js
  8. 19 0
      ToonTown/Resources/Components/TouchInput.js
  9. 28 0
      ToonTown/Resources/Data/ScreenJoystick.xml
  10. 14 0
      ToonTown/Resources/Materials/Appentis_Texture.xml
  11. 14 0
      ToonTown/Resources/Materials/Awning_Texture.xml
  12. 14 0
      ToonTown/Resources/Materials/Barrel.xml
  13. 14 0
      ToonTown/Resources/Materials/Basin_Texture.xml
  14. 14 0
      ToonTown/Resources/Materials/Bed1_1_Texture.xml
  15. 14 0
      ToonTown/Resources/Materials/Bed1_2_Texture.xml
  16. 14 0
      ToonTown/Resources/Materials/Bed2_Texture.xml
  17. 14 0
      ToonTown/Resources/Materials/Bench1_Texture.xml
  18. 6 0
      ToonTown/Resources/Materials/BlueGrid.xml
  19. 14 0
      ToonTown/Resources/Materials/Books_Texture.xml
  20. 14 0
      ToonTown/Resources/Materials/Bottle_Texture.xml
  21. 14 0
      ToonTown/Resources/Materials/Box.xml
  22. 14 0
      ToonTown/Resources/Materials/Bucket1_Texture.xml
  23. 14 0
      ToonTown/Resources/Materials/Bucket2_Texture.xml
  24. 14 0
      ToonTown/Resources/Materials/Building1_1_Texture.xml
  25. 14 0
      ToonTown/Resources/Materials/Building2_1Texture.xml
  26. 14 0
      ToonTown/Resources/Materials/Building2bis_2_Texture.xml
  27. 14 0
      ToonTown/Resources/Materials/Building3_Texture.xml
  28. 14 0
      ToonTown/Resources/Materials/Building4_1_Texture.xml
  29. 14 0
      ToonTown/Resources/Materials/Building4_2_Texture.xml
  30. 14 0
      ToonTown/Resources/Materials/Building5_Texture.xml
  31. 14 0
      ToonTown/Resources/Materials/Carpet1_1_Texture.xml
  32. 14 0
      ToonTown/Resources/Materials/Carpet1_2_Texture.xml
  33. 14 0
      ToonTown/Resources/Materials/Carpet2_1_Texture.xml
  34. 14 0
      ToonTown/Resources/Materials/Chair1_Texture.xml
  35. 14 0
      ToonTown/Resources/Materials/Chest_Texture.xml
  36. 14 0
      ToonTown/Resources/Materials/Coffer.xml
  37. 14 0
      ToonTown/Resources/Materials/Coffer2.xml
  38. 4 0
      ToonTown/Resources/Materials/Crate.xml
  39. 9 0
      ToonTown/Resources/Materials/DemoTerrain.xml
  40. 14 0
      ToonTown/Resources/Materials/Door_Texture.xml
  41. 14 0
      ToonTown/Resources/Materials/Fire_Texture.xml
  42. 14 0
      ToonTown/Resources/Materials/FlourBags.xml
  43. 14 0
      ToonTown/Resources/Materials/Furniture1_Texture.xml
  44. 14 0
      ToonTown/Resources/Materials/Furniture2_1_Texture.xml
  45. 14 0
      ToonTown/Resources/Materials/Furniture3_1_Texture.xml
  46. 14 0
      ToonTown/Resources/Materials/Furniture3_2_Texture.xml
  47. 14 0
      ToonTown/Resources/Materials/Furniture4_Texture.xml
  48. 14 0
      ToonTown/Resources/Materials/Horseshoe_Texture.xml
  49. 14 0
      ToonTown/Resources/Materials/InkStand_Texture.xml
  50. 14 0
      ToonTown/Resources/Materials/Lantern.xml
  51. 14 0
      ToonTown/Resources/Materials/LightPost.xml
  52. 14 0
      ToonTown/Resources/Materials/LogPile.xml
  53. 14 0
      ToonTown/Resources/Materials/Optimized Bark Material.xml
  54. 14 0
      ToonTown/Resources/Materials/Optimized Leaf Material.xml
  55. 14 0
      ToonTown/Resources/Materials/Painting1_Texture.xml
  56. 14 0
      ToonTown/Resources/Materials/Painting2_Texture.xml
  57. 13 0
      ToonTown/Resources/Materials/Pallet.xml
  58. 14 0
      ToonTown/Resources/Materials/Pot3.xml
  59. 14 0
      ToonTown/Resources/Materials/Pots.xml
  60. 5 0
      ToonTown/Resources/Materials/Robot_01_Diffuse.xml
  61. 14 0
      ToonTown/Resources/Materials/Shelves1_Texture.xml
  62. 14 0
      ToonTown/Resources/Materials/Shield_Texture.xml
  63. 14 0
      ToonTown/Resources/Materials/Shutter1_Texture.xml
  64. 14 0
      ToonTown/Resources/Materials/Shutter2_Texture.xml
  65. 14 0
      ToonTown/Resources/Materials/Sign1_Texture.xml
  66. 14 0
      ToonTown/Resources/Materials/Sign2_Texture.xml
  67. 14 0
      ToonTown/Resources/Materials/Sign4_Texture.xml
  68. 14 0
      ToonTown/Resources/Materials/Stool1_Texture.xml
  69. 14 0
      ToonTown/Resources/Materials/Stool2_Texture.xml
  70. 14 0
      ToonTown/Resources/Materials/Table1_Texture.xml
  71. 14 0
      ToonTown/Resources/Materials/Table2_Texture.xml
  72. 14 0
      ToonTown/Resources/Materials/Table3_Texture.xml
  73. 14 0
      ToonTown/Resources/Materials/Table4_Texture.xml
  74. 14 0
      ToonTown/Resources/Materials/Tankard_Texture.xml
  75. 14 0
      ToonTown/Resources/Materials/Walls.xml
  76. 14 0
      ToonTown/Resources/Materials/Windows_Texture.xml
  77. 14 0
      ToonTown/Resources/Materials/WoodenBarrier.xml
  78. 14 0
      ToonTown/Resources/Materials/Woodensign_Texture.xml
  79. 14 0
      ToonTown/Resources/Materials/weathercock_Texture.xml
  80. BIN
      ToonTown/Resources/Models/Appentis_Appentis.mdl
  81. BIN
      ToonTown/Resources/Models/Awning_Awning.mdl
  82. BIN
      ToonTown/Resources/Models/Barrel_Barrel.mdl
  83. BIN
      ToonTown/Resources/Models/Basin_Basin.mdl
  84. BIN
      ToonTown/Resources/Models/Bed1_1_Bed1_1.mdl
  85. BIN
      ToonTown/Resources/Models/Bed1_2_Bed1_2.mdl
  86. BIN
      ToonTown/Resources/Models/Bed2_Bed2.mdl
  87. BIN
      ToonTown/Resources/Models/Bench1_Bench1.mdl
  88. BIN
      ToonTown/Resources/Models/Book1_Book1.mdl
  89. BIN
      ToonTown/Resources/Models/Book2_Book2.mdl
  90. BIN
      ToonTown/Resources/Models/Book4_Book4.mdl
  91. BIN
      ToonTown/Resources/Models/Book5_Book5.mdl
  92. BIN
      ToonTown/Resources/Models/Book6_Book6.mdl
  93. BIN
      ToonTown/Resources/Models/Book8_Book8.mdl
  94. BIN
      ToonTown/Resources/Models/Books1_Books1.mdl
  95. BIN
      ToonTown/Resources/Models/Books2_Books2.mdl
  96. BIN
      ToonTown/Resources/Models/Books3_Books3.mdl
  97. BIN
      ToonTown/Resources/Models/Books4_Books4.mdl
  98. BIN
      ToonTown/Resources/Models/Bottle_Bottle.mdl
  99. BIN
      ToonTown/Resources/Models/Box.mdl
  100. BIN
      ToonTown/Resources/Models/Box1_Box1.mdl

+ 12 - 0
README.md

@@ -1,6 +1,18 @@
 # Atomic Game Engine Examples
 Examples for the Atomic Game Engine
 
+## License Information
+
+### Source Code
+
+Example source code is placed under the MIT license
+
+### Art Assets
+
+Many of the art assets used in the examples are available from [OpenGameArt.org](http://opengameart.org)
+
+The **ToonTown Example** art assets are from the Frogame Village Pack and require a license for any usage.  A license can be obtained from the [Frogames Content Pack Store](http://www.frogames.net/content-packs/frogames-village.html)
+
 [WelcomeScreen]: https://github.com/AtomicGameEngine/AtomicExamples/wiki/images/WelcomeScreen.png
 
 ![alt text][WelcomeScreen]

+ 3 - 0
ToonTown/LICENSE.md

@@ -0,0 +1,3 @@
+**IMPORTANT LICENSE INFORMATION**
+
+The **ToonTown Example** art assets are from the Frogame Village Pack and require a license for any usage.  A license can be obtained from the [Frogames Content Pack Store](http://www.frogames.net/content-packs/frogames-village.html)

+ 275 - 0
ToonTown/Resources/Components/AvatarController.js

@@ -0,0 +1,275 @@
+// Atomic Component
+
+var glmatrix = require("gl-matrix");
+var quat = glmatrix.quat;
+var vec3 = glmatrix.vec3;
+
+var game = Atomic.game;
+var node = self.node;
+
+var cameraNode = game.cameraNode;
+
+var onGround = true;
+var okToJump = true;
+var inAirTime = 0;
+
+var MOVE_FORCE = 1.8;
+var INAIR_MOVE_FORCE = 0.02;
+var BRAKE_FORCE = 0.2;
+var JUMP_FORCE = 7.0;
+var YAW_SENSITIVITY = 0.1;
+var INAIR_THRESHOLD_TIME = 0.1;
+
+var cameraMode = 0;
+
+var yaw = 0;
+var pitch = 0;
+
+var moveForward = false;
+var moveBackwards = false;
+var moveLeft = false;
+var moveRight = false;
+var mouseMoveX = 0.0;
+var mouseMoveY = 0.0;
+var button0 = false;
+var button1 = false;
+
+var lastButton0 = false;
+var lastButton1 = false;
+
+self.idle = true;
+
+function start() {
+
+    // Create rigidbody, and set non-zero mass so that the body becomes dynamic
+    var body = node.createComponent("RigidBody");
+    body.mass = 1.0;
+
+    // Set zero angular factor so that physics doesn't turn the character on its own.
+    // Instead we will control the character yaw manually
+    body.angularFactor = [0, 0, 0];
+
+    // Set the rigidbody to signal collision also when in rest, so that we get ground collisions properly
+    body.collisionEventMode = Atomic.COLLISION_ALWAYS;
+
+    // Set a capsule shape for collision
+    var shape = node.createComponent("CollisionShape");
+    shape.setCapsule(2, 4, [0, 2, 0]);
+}
+
+function fixedUpdate(timestep) {
+
+    var body = node.getComponent("RigidBody");
+
+    // Update the in air timer. Reset if grounded
+    if (!onGround)
+        inAirTimer += timeStep;
+    else
+        inAirTimer = 0.0;
+
+    // When character has been in air less than 1/10 second, it's still interpreted as being on ground
+    var softGrounded = inAirTimer < INAIR_THRESHOLD_TIME;
+
+    var rot = node.getRotation();
+
+    var moveDir = [0, 0, 0];
+
+    // Update movement & animation
+    var velocity = body.getLinearVelocity();
+
+    // Velocity on the XZ plane
+    var planeVelocity = [velocity[0], 0.0, velocity[2]];
+
+    if (cameraMode != 2) {
+        if (moveForward) {
+            vec3.add(moveDir, moveDir, [0, 0, 1])
+        }
+        if (moveBackwards) {
+            vec3.add(moveDir, moveDir, [0, 0, -1])
+        }
+        if (moveLeft) {
+            vec3.add(moveDir, moveDir, [-1, 0, 0])
+        }
+        if (moveRight) {
+            vec3.add(moveDir, moveDir, [1, 0, 0])
+        }
+    }
+
+    if (vec3.length(moveDir) > 0.0)
+        vec3.normalize(moveDir, moveDir);
+
+    vec3.transformQuat(moveDir, moveDir, [rot[1], rot[2], rot[3], rot[0]]);
+    vec3.scale(moveDir, moveDir, (softGrounded ? MOVE_FORCE : INAIR_MOVE_FORCE));
+    body.applyImpulse(moveDir);
+
+    if (softGrounded) {
+
+        // When on ground, apply a braking force to limit maximum ground velocity
+        vec3.negate(planeVelocity, planeVelocity);
+        vec3.scale(planeVelocity, planeVelocity, BRAKE_FORCE);
+        body.applyImpulse(planeVelocity);
+
+        // Jump. Must release jump control inbetween jumps
+        if (button1) {
+            if (okToJump) {
+                var jumpforce = [0, 1, 0];
+                vec3.scale(jumpforce, jumpforce, JUMP_FORCE);
+                body.applyImpulse(jumpforce);
+                okToJump = false;
+            }
+        } else
+            okToJump = true;
+    }
+
+
+    if (softGrounded && vec3.length(moveDir) > 0.0)
+        self.idle = false;
+    else
+        self.idle = true;
+
+
+    // Reset grounded flag for next frame
+    onGround = true;
+
+
+}
+
+function MoveCamera(timeStep) {
+
+    // Movement speed as world units per second
+    var MOVE_SPEED = 10.0;
+    // Mouse sensitivity as degrees per pixel
+    var MOUSE_SENSITIVITY = 0.1;
+
+    yaw = yaw + MOUSE_SENSITIVITY * mouseMoveX;
+    pitch = pitch + MOUSE_SENSITIVITY * mouseMoveY;
+
+    if (pitch < -90)
+        pitch = -90;
+
+    if (pitch > 90)
+        pitch = 90;
+
+    // Construct new orientation for the camera scene node from yaw and pitch. Roll is fixed to zero
+    cameraNode.rotation = QuatFromEuler(pitch, yaw, 0.0);
+
+    var speed = MOVE_SPEED * timeStep;
+
+    if (moveForward)
+        cameraNode.translate([0.0, 0.0, speed])
+    if (moveBackwards)
+        cameraNode.translate([0.0, 0.0, -speed])
+    if (moveLeft)
+        cameraNode.translate([-speed, 0.0, 0.0])
+    if (moveRight)
+        cameraNode.translate([speed, 0.0, 0.0])
+
+}
+
+function UpdateControls() {
+
+    var input = game.input;
+
+    moveForward = false;
+    moveBackwards = false;
+    moveLeft = false;
+    moveRight = false;
+    mouseMoveX = 0.0;
+    mouseMoveY = 0.0;
+    button0 = false;
+    button1 = false;
+
+    // Movement speed as world units per second
+    var MOVE_SPEED = 20.0;
+    // Mouse sensitivity as degrees per pixel
+    var MOUSE_SENSITIVITY = 0.1;
+
+    if (input.getKeyDown(Atomic.KEY_W))
+        moveForward = true;
+    if (input.getKeyDown(Atomic.KEY_S))
+        moveBackwards = true;
+    if (input.getKeyDown(Atomic.KEY_A))
+        moveLeft = true;
+    if (input.getKeyDown(Atomic.KEY_D))
+        moveRight = true;
+
+    if (input.getKeyPress(Atomic.KEY_F))
+        button0 = true;
+    if (input.getKeyPress(Atomic.KEY_SPACE))
+        button1 = true;
+
+    mouseMoveX = input.getMouseMoveX();
+    mouseMoveY = input.getMouseMoveY();
+
+
+
+}
+
+function update(timeStep) {
+
+    UpdateControls();
+
+    if (cameraMode != 2) {
+        yaw += mouseMoveX * YAW_SENSITIVITY;
+        pitch += mouseMoveY * YAW_SENSITIVITY;
+    }
+
+    if (pitch < -80)
+        pitch = -80;
+    if (pitch > 80)
+        pitch = 80;
+
+
+    if (button0) {
+        cameraMode++;
+        if (cameraMode == 3)
+            cameraMode = 0;
+    }
+
+}
+
+function postUpdate(timestep) {
+
+    // Get camera lookat dir from character yaw + pitch
+    var rot = node.getRotation();
+
+    dir = quat.create();
+    quat.setAxisAngle(dir, [1, 0, 0], (pitch * Math.PI / 180.0));
+
+    quat.multiply(dir, [rot[1], rot[2], rot[3], rot[0]], dir);
+
+    var headNode = node.getChild("Head_Tip", true);
+
+    if (cameraMode == 1) {
+
+        var headPos = headNode.getWorldPosition();
+        var offset = [0.0, 0.15, 0.2];
+        vec3.add(headPos, headPos, vec3.transformQuat(offset, offset, [rot[1], rot[2], rot[3], rot[0]]));
+        cameraNode.setPosition(headPos);
+        cameraNode.setRotation([dir[3], dir[0], dir[1], dir[2]]);
+        quat.setAxisAngle(dir, [0, 1, 0], (yaw * Math.PI / 180.0));
+        node.setRotation([dir[3], dir[0], dir[1], dir[2]]);
+
+    }
+    if (cameraMode == 0) {
+        var aimPoint = node.getPosition();
+        var aimOffset = [0, 1.7, 0];
+        vec3.transformQuat(aimOffset, aimOffset, dir);
+        vec3.add(aimPoint, aimPoint, aimOffset);
+
+        var rayDir = vec3.create();
+        vec3.transformQuat(rayDir, [0, 0, -1], dir);
+        vec3.scale(rayDir, rayDir, 12);
+
+        vec3.add(aimPoint, aimPoint, rayDir);
+
+        cameraNode.setPosition(aimPoint);
+        cameraNode.setRotation([dir[3], dir[0], dir[1], dir[2]]);
+        quat.setAxisAngle(dir, [0, 1, 0], (yaw * Math.PI / 180.0));
+        node.setRotation([dir[3], dir[0], dir[1], dir[2]]);
+
+    } else
+        MoveCamera(timestep);
+
+
+}

+ 26 - 0
ToonTown/Resources/Components/Crate.js

@@ -0,0 +1,26 @@
+// Atomic Component
+
+var game = Atomic.game;
+var node = self.node;
+
+function start() {
+
+    var cache = game.cache;
+
+    var model = node.createComponent("StaticModel");
+    model.setModel(cache.getResource("Model", "Models/Crate.mdl"));
+    model.setMaterial(cache.getResource("Material", "Materials/Crate.xml"));
+    model.castShadows = true;
+    
+    var body = node.createComponent("RigidBody");
+    body.mass = 1;
+    body.friction = 1;
+    body.collisionEventMode = Atomic.COLLISION_NEVER;
+    var shape = node.createComponent("CollisionShape");
+    shape.setBox([2, 2, 2]);
+    
+}
+
+function update(timeStep) {
+
+}

+ 36 - 0
ToonTown/Resources/Components/LightFlicker.js

@@ -0,0 +1,36 @@
+// a flickering light component
+
+var node = self.node;
+self.light = node.getComponent("Light");
+var baseRange = 45;
+var targetValue = baseRange;
+
+flicker = "mmmaaaammmaaaabcdefgabcdefg";
+var index = Math.random() * (flicker.length - 1);
+
+// make sure first update catches
+time = 100;
+
+function update(timestep) {
+
+	time += timestep;
+	if (time > .05)
+	{
+		index++;
+		time = 0.0;
+		if (index >= flicker.length)
+			index = 0;
+
+		targetValue = baseRange * (flicker.charCodeAt(index)/255);
+		
+	}
+		
+	if (self.light.range < targetValue)
+		self.light.range += timestep * 10;
+
+	if (self.light.range > targetValue)
+		self.light.range -= timestep * 10;
+
+}
+
+

+ 48 - 0
ToonTown/Resources/Components/RoboMan.js

@@ -0,0 +1,48 @@
+
+var game = Atomic.game;
+var node = self.node;
+
+RoboMan = self;
+
+var controller = node.createJSComponent("AvatarController");
+var animCtrl = node.createComponent("AnimationController");
+
+var idle = true;
+
+node.scale = [.5, .5, .5];
+
+function start() {
+
+    var cache = game.cache;
+
+    var model = node.createComponent("AnimatedModel");
+    model.setModel(cache.getResource("Model", "Models/RoboMan.mdl"));
+    model.setMaterial(cache.getResource("Material", "Materials/Robot_01_Diffuse.xml"));
+
+    model.castShadows = true;
+    
+    animCtrl.playExclusive("Models/RoboMan_Normal_Idle.ani", 0, true, 0.0);
+
+    game.cameraNode.position = [0, 5.5, -10];
+    game.cameraNode.pitch(20);
+    
+}
+
+// we need an update or it doesn't run the start, fix in JSVM
+function update(timeStep) {
+
+    if (idle != controller.idle) {
+    
+        idle = controller.idle;
+        
+        if (idle)
+            animCtrl.playExclusive("Models/RoboMan_Normal_Idle.ani", 0, true, 0.1);
+        else
+            animCtrl.playExclusive("Models/RoboMan_Normal_Run.ani", 0, true, 0.1);
+        
+    
+    }
+
+    
+
+}

+ 42 - 0
ToonTown/Resources/Components/Scene.js

@@ -0,0 +1,42 @@
+var game = Atomic.game;
+var node = self.node;
+
+var time = 12;
+
+function start() {
+
+    var scene = game.scene;
+    
+    var procSky = self.procSky = scene.createComponent("ProcSky");
+    procSky.setDayTime(time); 
+    
+    var lightNodes = scene.getChildrenWithComponent("Light", true); 
+    for (var i = 0; i < lightNodes.length; i++)  {
+        lightNodes[i].createJSComponent("LightFlicker");  
+    } 
+
+    /*
+    // If we're running on android tweak the shadows
+    if (Atomic.platform == "Android") {
+
+        light.setShadowCascade(20.0, 50.0, 200.0, 0.0, 0.9);
+        light.shadowIntensity = 0.33;
+    } else {
+        light.setShadowCascade(10.0, 50.0, 200.0, 0.0, 0.8);
+    }
+
+    light.setShadowBias(0.00025, 0.5);
+    */
+
+    // add the roboman
+    var roboman = node.createChild("TheRoboMan");
+    roboman.createJSComponent("RoboMan");
+    roboman.position = [0, 40, 0];
+
+}
+
+function update(timeStep) {
+
+    time += timeStep * .1;
+    self.procSky.setDayTime(time); 
+}

+ 19 - 0
ToonTown/Resources/Components/TouchInput.js

@@ -0,0 +1,19 @@
+
+// Atomic Component
+
+var game = Atomic.game;
+var node = self.node;
+var input = game.input;
+
+function start() {
+
+	// input.setTouchEmulation(true);
+    var layout = game.cache.getResource("XMLFile", "Data/ScreenJoystick.xml");
+    var uiStyle = game.cache.getResource("XMLFile", "UI/DefaultStyle.xml");    
+    input.addScreenJoystick(layout, uiStyle);
+
+}
+
+function update(timeStep) {
+
+}

+ 28 - 0
ToonTown/Resources/Data/ScreenJoystick.xml

@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<element inherit="UI/ScreenJoystick.xml">
+    <replace sel="/element/element[./attribute[@name='Name' and @value='Button0']]/element[./attribute[@name='Name' and @value='Label']]/attribute[@name='Text']/@value">Jump</replace>
+    <add sel="/element/element[./attribute[@name='Name' and @value='Button0']]">
+        <attribute name="Is Visible" value="true" />
+        <element type="Text">
+        <attribute name="Name" value="KeyBinding" />
+        <attribute name="Text" value="SPACE" />
+        </element>
+    </add>
+    <add sel="/element/element[./attribute[@name='Name' and @value='Button1']]">
+        <attribute name="Is Visible" value="false" />
+    </add>
+    <add sel="/element/element[./attribute[@name='Name' and @value='Button2']]">
+        <element type="Text">
+            <attribute name="Name" value="KeyBinding" />
+            <attribute name="Text" value="SELECT" />
+        </element>
+    </add>
+    <replace sel="/element/element[./attribute[@name='Name' and @value='Hat0']]/attribute[@name='Position']/@value">12 -76</replace>
+    <add sel="/element/element[./attribute[@name='Name' and @value='Hat0']]">
+        <attribute name="Is Visible" value="true" />
+        <element type="Text">
+            <attribute name="Name" value="KeyBinding" />
+            <attribute name="Text" value="WSAD" />
+                    </element>
+    </add>
+</element>

+ 14 - 0
ToonTown/Resources/Materials/Appentis_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Appentis_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Awning_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Awning_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Barrel.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Barrel.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Basin_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Basin_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bed1_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bed1_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bed1_2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bed1_2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bed2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bed2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bench1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bench1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 6 - 0
ToonTown/Resources/Materials/BlueGrid.xml

@@ -0,0 +1,6 @@
+<material>
+    <technique name="Techniques/Diff.xml" quality="0" />
+    <texture unit="diffuse" name="Textures/BlueGrid.png" />
+    <parameter name="UOffset" value="32 0 0 0" />
+    <parameter name="VOffset" value="0 32 0 0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Books_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Books_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bottle_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bottle_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Box.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Box.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bucket1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bucket1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Bucket2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Bucket2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building1_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building1_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building2_1Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building2_1Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building2bis_2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building2bis_2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building3_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building3_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building4_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building4_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building4_2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building4_2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Building5_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Building5_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Carpet1_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Carpet1_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Carpet1_2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Carpet1_2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Carpet2_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Carpet2_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Chair1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Chair1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Chest_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Chest_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Coffer.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Coffer.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Coffer2.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Coffer2.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 4 - 0
ToonTown/Resources/Materials/Crate.xml

@@ -0,0 +1,4 @@
+<material>
+    <technique name="Techniques/Diff.xml" />
+    <texture unit="diffuse" name="Textures/Crate.png" />
+</material>

+ 9 - 0
ToonTown/Resources/Materials/DemoTerrain.xml

@@ -0,0 +1,9 @@
+<material>
+    <technique name="Techniques/TerrainBlend.xml" />
+    <texture unit="0" name="Textures/TerrainWeights.png" />
+    <texture unit="1" name="Textures/Ground_Texture07.jpg" />
+    <texture unit="2" name="Textures/Ground_Texture03.jpg" />
+    <texture unit="3" name="Textures/Ground_Texture06.jpg" />
+    <parameter name="MatSpecColor" value="0.5 0.5 0.5 16" />
+    <parameter name="DetailTiling" value="64 64" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Door_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Door_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Fire_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Fire_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/FlourBags.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/FlourBags.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Furniture1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Furniture1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Furniture2_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Furniture2_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Furniture3_1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Furniture3_1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Furniture3_2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Furniture3_2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Furniture4_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Furniture4_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Horseshoe_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Horseshoe_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/InkStand_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/DiffAlphaMask.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/InkStand_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Lantern.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Lantern.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/LightPost.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/LightPost.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/LogPile.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/LogPile.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Optimized Bark Material.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/diffuse.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Optimized Leaf Material.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/DiffAlphaMask.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/diffuse.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Painting1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Painting1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Painting2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Painting2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 13 - 0
ToonTown/Resources/Materials/Pallet.xml

@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Pot3.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/DiffAlphaMask.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Pot3.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Pots.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Pots.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 5 - 0
ToonTown/Resources/Materials/Robot_01_Diffuse.xml

@@ -0,0 +1,5 @@
+<material>
+    <technique name="Techniques/Diff.xml" />
+    <texture unit="diffuse" name="Textures/Robot_01_Diffuse.png" />
+    <parameter name="MatSpecColor" value="0.1 0.1 0.1 16" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Shelves1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Shelves1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Shield_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Shield_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Shutter1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Shutter1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Shutter2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Shutter2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Sign1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Sign1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Sign2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Sign2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Sign4_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Sign4_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Stool1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Stool1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Stool2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Stool2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Table1_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Table1_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Table2_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Table2_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Table3_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Table3_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Table4_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Table4_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Tankard_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Tankard_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Walls.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Walls.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Windows_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Windows_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/WoodenBarrier.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/WoodenBarrier.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/Woodensign_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/Woodensign_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

+ 14 - 0
ToonTown/Resources/Materials/weathercock_Texture.xml

@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<material>
+	<technique name="Techniques/Diff.xml" quality="0" loddistance="0" />
+	<texture unit="diffuse" name="Textures/weathercock_Texture.png" />
+	<parameter name="UOffset" value="1 0 0 0" />
+	<parameter name="VOffset" value="0 1 0 0" />
+	<parameter name="MatDiffColor" value="1 1 1 1" />
+	<parameter name="MatEmissiveColor" value="0 0 0" />
+	<parameter name="MatEnvMapColor" value="1 1 1" />
+	<parameter name="MatSpecColor" value="0 0 0 1" />
+	<cull value="ccw" />
+	<shadowcull value="ccw" />
+	<depthbias constant="0" slopescaled="0" />
+</material>

BIN
ToonTown/Resources/Models/Appentis_Appentis.mdl


BIN
ToonTown/Resources/Models/Awning_Awning.mdl


BIN
ToonTown/Resources/Models/Barrel_Barrel.mdl


BIN
ToonTown/Resources/Models/Basin_Basin.mdl


BIN
ToonTown/Resources/Models/Bed1_1_Bed1_1.mdl


BIN
ToonTown/Resources/Models/Bed1_2_Bed1_2.mdl


BIN
ToonTown/Resources/Models/Bed2_Bed2.mdl


BIN
ToonTown/Resources/Models/Bench1_Bench1.mdl


BIN
ToonTown/Resources/Models/Book1_Book1.mdl


BIN
ToonTown/Resources/Models/Book2_Book2.mdl


BIN
ToonTown/Resources/Models/Book4_Book4.mdl


BIN
ToonTown/Resources/Models/Book5_Book5.mdl


BIN
ToonTown/Resources/Models/Book6_Book6.mdl


BIN
ToonTown/Resources/Models/Book8_Book8.mdl


BIN
ToonTown/Resources/Models/Books1_Books1.mdl


BIN
ToonTown/Resources/Models/Books2_Books2.mdl


BIN
ToonTown/Resources/Models/Books3_Books3.mdl


BIN
ToonTown/Resources/Models/Books4_Books4.mdl


BIN
ToonTown/Resources/Models/Bottle_Bottle.mdl


BIN
ToonTown/Resources/Models/Box.mdl


BIN
ToonTown/Resources/Models/Box1_Box1.mdl


Some files were not shown because too many files changed in this diff