Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (degenerate_762, AndrewAMD, Ayumi), 1,321 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
x3000 error #107037
01/16/07 00:34
01/16/07 00:34
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline OP
Senior Developer
Daedelus  Offline OP
Senior Developer

Joined: Jan 2003
Posts: 1,142
California
Hi,

In my .fx file, I get the error: "x3000- Unexpected Integer Constant"
Can someone please help me correct this or tell me how to fix? Thanks

Here's the .fx file:
------------------------
extern texture entSkin1;
extern texture entSkin2;
extern texture entSkin3;
extern texture entSkin4;
extern texture mtlSkin1;
extern texture mtlSkin2;
extern texture mtlSkin3;
extern texture mtlSkin4;

extern float4x4 matMtl;
extern float4x4 matViewInv;

technique 21plane //Author: formula_games
{
pass p0
{
//TEXTURE STAGE [0]
Texture[0] = <entSkin1>;
//TEXTURE STAGE [1]
Texture[1] = <mtlSkin2>;
ColorOp[1] = Modulate2X;
TextureTransform[1] = <matViewInv>;
TextureTransformFlags[1] = Count3;
TexCoordIndex[1] = cameraSpaceReflectionVector;
}
};


Formula Games - A place to buy and sell Indie games.
Re: x3000 error [Re: Daedelus] #107038
01/16/07 02:22
01/16/07 02:22
Joined: Dec 2003
Posts: 1,097
Maryland, USA
Steempipe Offline
Serious User
Steempipe  Offline
Serious User

Joined: Dec 2003
Posts: 1,097
Maryland, USA
Remove the digits from the Technique name. Try, for example, plane. Instead of 21plane.

Re: x3000 error [Re: Steempipe] #107039
01/16/07 02:45
01/16/07 02:45
Joined: Jan 2003
Posts: 1,142
California
Daedelus Offline OP
Senior Developer
Daedelus  Offline OP
Senior Developer

Joined: Jan 2003
Posts: 1,142
California
Yep. That was the problem.
Thanks!


Formula Games - A place to buy and sell Indie games.

Moderated by  Blink, Hummel, Superku 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1