Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (NewbieZorro, Grant, TipmyPip, AndrewAMD), 13,346 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Lights and MDL files #223322
08/23/08 13:40
08/23/08 13:40
Joined: Oct 2007
Posts: 34
New York State
MutantCel Offline OP
Newbie
MutantCel  Offline OP
Newbie

Joined: Oct 2007
Posts: 34
New York State
I am sure this is something quite simple I am missing but for the life of me, I cannot get it to work!

I have a scene in WED and I have lights placed. It looks nice when I compile as all the light maps work fine. The problem I am having is when I 'Load Entity...' and pick an MDL file. The mesh loads in fine, but it does not receive any lighting, nor does it cast any shadows.

How do I do that?

I tried 'Shadow' and 'Cast' attributes for the MDLs properties. To no avail.


-Jay Young-
Mutant Cel Productions
Game Design/Freelance Grunt
A8 Commercial
update 8.30.5
SED v.8.10.1
MED v.6.922
WED v.6.961
Re: Lights and MDL files [Re: MutantCel] #223328
08/23/08 14:27
08/23/08 14:27
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
have you made sure you did tick the shadow flag?


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Lights and MDL files [Re: Blade280891] #223374
08/23/08 18:02
08/23/08 18:02
Joined: Oct 2007
Posts: 34
New York State
MutantCel Offline OP
Newbie
MutantCel  Offline OP
Newbie

Joined: Oct 2007
Posts: 34
New York State
Yes with both shadow AND cast ticked, and then just shadow ticked. The shadows are still not there.

I also switched my lighting to "high rez' and 'dynamic' thinking that would help.

it didn't


-Jay Young-
Mutant Cel Productions
Game Design/Freelance Grunt
A8 Commercial
update 8.30.5
SED v.8.10.1
MED v.6.922
WED v.6.961
Re: Lights and MDL files [Re: MutantCel] #223381
08/23/08 18:58
08/23/08 18:58
Joined: Aug 2007
Posts: 23
E
enclave Offline
Newbie
enclave  Offline
Newbie
E

Joined: Aug 2007
Posts: 23

I have exactly the same problem.
My models remain exactly the same no matter how much light in the environment.

Why is that? I have no script yet shader!

sorry for the bad english ...^^

Re: Lights and MDL files [Re: enclave] #223478
08/24/08 15:11
08/24/08 15:11
Joined: Oct 2007
Posts: 34
New York State
MutantCel Offline OP
Newbie
MutantCel  Offline OP
Newbie

Joined: Oct 2007
Posts: 34
New York State
I really do not know. If I find a solution, I definitely will post the answer so that other newbies can learn from my issue.


-Jay Young-
Mutant Cel Productions
Game Design/Freelance Grunt
A8 Commercial
update 8.30.5
SED v.8.10.1
MED v.6.922
WED v.6.961
Re: Lights and MDL files [Re: MutantCel] #223480
08/24/08 15:15
08/24/08 15:15
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
Have you tried adding a template script, to see if that solves it?


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Lights and MDL files [Re: Blade280891] #223508
08/24/08 18:24
08/24/08 18:24
Joined: Oct 2007
Posts: 34
New York State
MutantCel Offline OP
Newbie
MutantCel  Offline OP
Newbie

Joined: Oct 2007
Posts: 34
New York State
no but I just tried it and chose a few of the templates. They all gave me errors with defines. Like below.

If you are wondering, I am a teacher at Greater Southern Tier Boces. I am using a seat of their registered team edition, but it shows all of that in the image. wink I am legit! cool

It may still help but these defines stop it. Is a define declared with '#DEFINE' or just 'define' I thought they had to be capitalized behind the '#' but it is not here.




-Jay Young-
Mutant Cel Productions
Game Design/Freelance Grunt
A8 Commercial
update 8.30.5
SED v.8.10.1
MED v.6.922
WED v.6.961
Re: Lights and MDL files [Re: MutantCel] #223512
08/24/08 20:11
08/24/08 20:11
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
If these are template scripts, then they should not produce errors.
Have you changed them?

Last edited by Blade28081991; 08/24/08 20:12.

My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Lights and MDL files [Re: Blade280891] #223515
08/24/08 20:33
08/24/08 20:33
Joined: May 2005
Posts: 2,713
Lübeck
Slin Offline
Expert
Slin  Offline
Expert

Joined: May 2005
Posts: 2,713
Lübeck
Models don´t have shadows depending on static lights, just stencil shadows created by the sun or any other dynamic light if you explicitly set it to do so. The "dynamic" flag in WED does not work.
You will have to import the model as geometry into MED if you want the map compiler to create shadows for it.

Re: Lights and MDL files [Re: Slin] #223528
08/24/08 23:20
08/24/08 23:20
Joined: Oct 2007
Posts: 34
New York State
MutantCel Offline OP
Newbie
MutantCel  Offline OP
Newbie

Joined: Oct 2007
Posts: 34
New York State
I looked but did not see the option in MED to import as geometry but in WED, I used the File>Import>Import from MDL and every item you import this way is calculated into the lighting. Great for my project of a museum-type house. The only problem I have with this method id that it does not import animation. I am not sure if you can still animate these things in code or not. But as for environmental stuff, this gives you lights and shadows. Thank you Slin, do you think animated objects created with ent_create in code may use the dynamic lights to create shadows?


-Jay Young-
Mutant Cel Productions
Game Design/Freelance Grunt
A8 Commercial
update 8.30.5
SED v.8.10.1
MED v.6.922
WED v.6.961
Page 1 of 2 1 2

Gamestudio download | 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