2 registered members (AndrewAMD, TipmyPip),
12,709
guests, and 5
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Lights and MDL files
#223322
08/23/08 13:40
08/23/08 13:40
|
Joined: Oct 2007
Posts: 34 New York State
MutantCel
OP
Newbie
|
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
Serious User
|
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
OP
Newbie
|
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: enclave]
#223478
08/24/08 15:11
08/24/08 15:11
|
Joined: Oct 2007
Posts: 34 New York State
MutantCel
OP
Newbie
|
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
Serious User
|
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
OP
Newbie
|
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.  I am legit! 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
Serious User
|
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: Slin]
#223528
08/24/08 23:20
08/24/08 23:20
|
Joined: Oct 2007
Posts: 34 New York State
MutantCel
OP
Newbie
|
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
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|