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
1 registered members (AndrewAMD), 1,089 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: Help with Bump Maps [Re: acecombat] #41075
02/15/05 10:27
02/15/05 10:27
Joined: Feb 2005
Posts: 17
A
acecombat Offline OP
Newbie
acecombat  Offline OP
Newbie
A

Joined: Feb 2005
Posts: 17
Slight problem though. When running the BumpMap demo from acnex, it comes up with an error:
Quote:

Compiling DEMO.WDL - [Esc] to abort...
< d3d_automaterial=0>
DEMO.WDL 19:0 Error (63): Parameter unknown d3d_automaterial
Error in script



Whats wrong with it?

Re: Help with Bump Maps [Re: acecombat] #41076
02/16/05 00:37
02/16/05 00:37
Joined: Oct 2002
Posts: 815
NY USA
R
Red Ocktober Offline
Developer
Red Ocktober  Offline
Developer
R

Joined: Oct 2002
Posts: 815
NY USA
there's a bumpmap demo... from acknex ?????

hey... where is it...

i always miss the good stuff...


--Mike

Re: Help with Bump Maps [Re: Red Ocktober] #41077
02/16/05 00:39
02/16/05 00:39
Joined: Sep 2002
Posts: 8,177
Netherlands
PHeMoX Offline
Senior Expert
PHeMoX  Offline
Senior Expert

Joined: Sep 2002
Posts: 8,177
Netherlands
you should add " var d3d_automaterial = 0; " on top....


PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software
Re: Help with Bump Maps [Re: PHeMoX] #41078
02/17/05 21:06
02/17/05 21:06
Joined: Feb 2005
Posts: 17
A
acecombat Offline OP
Newbie
acecombat  Offline OP
Newbie
A

Joined: Feb 2005
Posts: 17
I tried that...if i take away the d3d_automaterial = 0 then it works...but with no bump maps

Re: Help with Bump Maps [Re: PHeMoX] #41079
02/17/05 23:27
02/17/05 23:27
Joined: Aug 2002
Posts: 375
Germany
Salva Offline
Senior Member
Salva  Offline
Senior Member

Joined: Aug 2002
Posts: 375
Germany
Hi!

You not need to declare the variable var d3d_automaterial, seen that is the professional release of 3dgs, like also in the commercial release, the variable is already in the engine! must be written in the function main!: -->


The main() function is started at game start
function main()
{
// set some common flags and variables
// warn_level = 2; // announce bad texture sizes and bad wdl code
tex_share = on; // map entities share their textures
d3d_automaterial = on; // here is your variable d3d!!


Greetings

Salva

Re: Help with Bump Maps [Re: Salva] #41080
02/18/05 07:49
02/18/05 07:49
Joined: Feb 2005
Posts: 17
A
acecombat Offline OP
Newbie
acecombat  Offline OP
Newbie
A

Joined: Feb 2005
Posts: 17
Still same thing though
Quote:

Compiling TEST.WDL - [Esc} to abort................................
<d3d_automaterial=on>
TEST.WDL 89:0 Error(63): Parameter unknown d3d_automaterial

Error in script

Engine shutdown



I tried the d3d = 1 and = on and it is still doing the same thing

Re: Help with Bump Maps [Re: acecombat] #41081
02/18/05 07:55
02/18/05 07:55
Joined: Oct 2003
Posts: 4,131
M
Matt_Aufderheide Offline
Expert
Matt_Aufderheide  Offline
Expert
M

Joined: Oct 2003
Posts: 4,131
at the begining of your code, outside of any function, just put this line:
var d3d_automaterial = 1;

if you set it to greater than 0 it's on, 0 means its off.
if this doesnt work, its because you are using the wrong version of gamestudio.

Re: Help with Bump Maps [Re: Matt_Aufderheide] #41082
02/18/05 20:08
02/18/05 20:08
Joined: Feb 2005
Posts: 17
A
acecombat Offline OP
Newbie
acecombat  Offline OP
Newbie
A

Joined: Feb 2005
Posts: 17
Sorry....im using 6.21. The d3d_auto is for 6.3/dx9 is it not? I thought 6 in general had dx9 support. Its ok, cause I wanted it for dx8 anyway...Is there anyway to use bumpmapping on 6.21 using dx8?

Page 2 of 2 1 2

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