OFPEC Forum
Addons & Mods Depot => ArmA - O2 and Models/Modelling => ArmA - Texturing => Topic started by: Alloy007p on 20 Jun 2008, 02:49:36
-
EDIT:
I jsut tried deleting the addon and everything related to it and I am still getting the error, it wont even let me start arma :dunno:
Just tried going through a tutorial here on the site for normal mapping; all went well untill the end. Now when I trie to start arma up it gives me this error
tutorial-
http://www.ofpec.com/ed_depot/index.php?action=details&id=462&page=0&cat=xyz
(http://i194.photobucket.com/albums/z149/Alloy007P/Capture.jpg)
My config
#define ReadAndWrite 0
#define ReadAndCreate 1
#define ReadOnly 2
#define ReadOnlyVerified 3
#define private 0
#define protected 1
#define public 2
#define true 1
#define false 0
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
class CfgPatches
{
class Linker_test1
{
units[] = {"BOX_BOX"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class cfgVehicleClasses
{
class Simple_box_class
{
displayName = "SIMPLE BOX";
};
};
class CfgDestroy
{
class BuildingHit
{
sound[] = {};
};
};
class CfgTextureToMaterial
{
class BOX_material
{
textures[] = {"BOX\tex1_co.paa"};
material = "#BOX_material";
};
};
class CfgMaterials
{
class BOX_material
{a
mbient[] = {1.0, 1.0, 1.0, 1.0};
diffuse[] = {0.0, 0.0, 0.0, 1.0};
forcedDiffuse[] = {0.0, 0.0, 0.0, 1.0};
emmisive[] = {0.0, 0.0, 0.0, 1.0};
specular[] = {0.0, 0.0, 0.0, 1.0};
specularPower = 0.0;
PixelShaderID = "NormalMapDetailSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
texture = "BOX\tex1_nohq.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
class Stage2
{
texture = "BOX\tex1_co.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
class Stage3
{
texture = "BOX\tex1_smdi.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
};
};
class CfgVehicles
{
class Thing;
class Building;
class Strategic;
class NonStrategic : Building{class DestructionEffects;};
class HouseBase;
class Land_VASICore;
class House : HouseBase{class DestructionEffects;};
class BOX_BOX : House
{
scope = public;
simulation = "house";
vehicleClass = "Simple_box_class";
model = "\BOX\box.p3d";
displayName = "Simple box!";
};
};
I noticed, I think on line 37 ambeint is spelt without the a but when I tried changeing it, it still gave me the error. Also i am useing arma vers 1.14
-
Ambient is being good now I hope!
#define ReadAndWrite 0
#define ReadAndCreate 1
#define ReadOnly 2
#define ReadOnlyVerified 3
#define private 0
#define protected 1
#define public 2
#define true 1
#define false 0
#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7
class CfgPatches
{
class Linker_test1
{
units[] = {"BOX_BOX"};
weapons[] = {};
requiredVersion = 0.1;
requiredAddons[] = {};
};
};
class cfgVehicleClasses
{
class Simple_box_class
{
displayName = "SIMPLE BOX";
};
};
class CfgDestroy
{
class BuildingHit
{
sound[] = {};
};
};
class CfgTextureToMaterial
{
class BOX_material
{
textures[] = {"BOX\tex1_co.paa"};
material = "#BOX_material";
};
};
class CfgMaterials
{
class BOX_material
{
ambient[] = {1.0, 1.0, 1.0, 1.0};
diffuse[] = {0.0, 0.0, 0.0, 1.0};
forcedDiffuse[] = {0.0, 0.0, 0.0, 1.0};
emmisive[] = {0.0, 0.0, 0.0, 1.0};
specular[] = {0.0, 0.0, 0.0, 1.0};
specularPower = 0.0;
PixelShaderID = "NormalMapDetailSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
texture = "BOX\tex1_nohq.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
class Stage2
{
texture = "BOX\tex1_co.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
class Stage3
{
texture = "BOX\tex1_smdi.paa";
uvSource = "tex";
class uvTransform
{
aside[] = {1.0, 0.0, 0.0};
up[] = {0.0, 1.0, 0.0};
dir[] = {0.0, 0.0, 0.0};
pos[] = {0.0, 0.0, 0.0};
};
};
};
};
class CfgVehicles
{
class Thing;
class Building;
class Strategic;
class NonStrategic : Building
{
class DestructionEffects;
};
class HouseBase;
class Land_VASICore;
class House : HouseBase
{
class DestructionEffects;
};
class BOX_BOX : House
{
scope = public;
simulation = "house";
vehicleClass = "Simple_box_class";
model = "\BOX\box.p3d";
displayName = "Simple box!";
};
};
The problem was that ambient was all there, but the a was on a line by itself and the rest 'mbient' was on the next line.
The game came across the a and thought 'aha a variable called a', and then expected to find the '=' sign follwed by a value.
Instead it found an 'm' ... the beginning of 'mbient', so it threw up its digital hands and resigned.
Planck
-
I forgot to mention I already tried that, and mabey it would work but I can't possibly confirm it becuase even though I deleted everypossible thing realted to this file I am still getting the same error; its not even leting me start arma. The only possible explantion I could think of was mabey I had overwritten a different addon in the folder, so I restored my folder from what it was yesterday but still I get the error. Now I don't have a clue of what the hell is going on. >:(
-
Have you checked all your addon or Mod folders, including the default Addon folder?
There isn't another copy laying around ?
-
It turns out I had a copy of the file named something completely differnt from what I thoguh I had saved, although I thoguht it would have been removed when I restored my addons folder from a few days ago. Everyhting works fine now thanks for the help.