Page 1 of 1

Only AI units having shadows?

Posted: Mon Jan 03, 2011 7:28 pm
by modmaster13
Hey!

In Zero Editor, I know how to add shadow and everything, but is there a way to add shadows to the AI units ONLY? :bdroid2:

Also If you think you have an answer to this topic, answer away!

forums/viewtopic.php?f=27&t=25125

Re: Lighting

Posted: Mon Jan 03, 2011 8:09 pm
by bobfinkl
No, it's not possible, even with extensive XSI work you won't only have shadows for AI.

Re: Lighting

Posted: Mon Jan 03, 2011 8:31 pm
by modmaster13
Well, I have noticed that only some odfs have shadows. Is there any way to remove or add shadows to the odfs?

P.S. Nice canyon map bobfinkl! :thumbs:

Re: Lighting

Posted: Mon Jan 03, 2011 11:05 pm
by bobfinkl
That is true, but the shadows are really determined by the .msh of the object which is only able to edited within XSI I myself don't dare go beyond minor changed in XSI, it'd be a truly grand project to remove all the object shadows from the objects in your modmap and you'd still end up with the human player having a shadow along with the AI having shadows (unchangeable unless the human player is forced to a team and has no AI).

And thank you.

Re: Lighting

Posted: Tue Jan 04, 2011 8:03 pm
by modmaster13
Well, I didn't know it would be that complicated, but this topic by Galaxy15 (if i'm correct) he got shadows for the AI only.

forums/viewtopic.php?f=27&t=25088

Re: Lighting

Posted: Tue Jan 04, 2011 9:03 pm
by Maveritchell
modmaster13 wrote:Well, I didn't know it would be that complicated, but this topic by Galaxy15 (if i'm correct) he got shadows for the AI only.

forums/viewtopic.php?f=27&t=25088
Galaxy15 wrote:I have a direction light in my map, but its not casting any object shadows. Player shadows and terrain shadows work fine but I really want some object shadows. How can I achieve this?

Re: Lighting

Posted: Tue Jan 04, 2011 9:15 pm
by Galaxy15
Yes, just to further clarify, this is terrain and character shadows, but ALL characters had shadows. Not just AI.

Re: Lighting

Posted: Tue Jan 04, 2011 9:23 pm
by THEWULFMAN
Well you could add a -noshadow line to the .msh.option file right? I have done that before.

Re: Lighting

Posted: Tue Jan 04, 2011 9:42 pm
by Fiodis
Then whatever uses that msh, whether player-controlled or not, won't have a shadow. I'm not sure you can remove shadows from playermeshes that way, anyway. Maybe you can.

Re: Lighting

Posted: Wed Jan 05, 2011 11:44 am
by Deathplayer
if it's possible to remove the shadows of one side (provided that's what bobfinkl means with "unchangeable unless the human player is forced to a team and has no AI"), you could try that and add a local side with shadows which helps the player...

Re: Lighting

Posted: Wed Jan 05, 2011 11:42 pm
by bobfinkl
Deathplayer wrote:if it's possible to remove the shadows of one side (provided that's what bobfinkl means with "unchangeable unless the human player is forced to a team and has no AI"), you could try that and add a local side with shadows which helps the player...
Exactly what I meant, however to elaborate further the player must be only able to play as certain unit types that the player and ONLY the player has access to, meaning no team choosing available.
Fiodis wrote:Then whatever uses that msh, whether player-controlled or not, won't have a shadow. I'm not sure you can remove shadows from playermeshes that way, anyway. Maybe you can.
90% sure you can and that I have used it once before, however regardless you still end up with the problem I mentioned before, unless you were doing a complex campaign mode it simply isn't possible nor practical.