SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: rjaap on September 25, 2010, 02:15:08 PM

Title: Help needed - problem with BAT nightlight
Post by: rjaap on September 25, 2010, 02:15:08 PM
Hello,

I have a problem with nightlighting in bat.

The day version of the model renders ok:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg580.imageshack.us%2Fimg580%2F8236%2Fclipboard02c.png&hash=4d4d816a2313593ca310112e92a1a6c3e7287445)

However the nightversion is not ok:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg827.imageshack.us%2Fimg827%2F3956%2Fclipboard04i.png&hash=68226c853edd4fd3b5928de6e9e600bf6beec0ca)

It looks like only a part of the nightmodel has been rendered. I haven't got a clue why. Any ideas?

Title: Re: Help needed - problem with BAT nightlight
Post by: cogeo on September 25, 2010, 03:16:19 PM
Really strange! Do you have objects named "nitewindow..." ?
Title: Re: Help needed - problem with BAT nightlight
Post by: rjaap on September 25, 2010, 06:09:52 PM
No, I don't have any. It gets even weirder. When I leave out the nitelite prefix and render the bat it lights out and renders the model ok.  ()what()
Title: Re: Help needed - problem with BAT nightlight
Post by: cogeo on September 26, 2010, 03:53:59 AM
Your scene file maybe have been corrupted (as a result of editing). Try this:
- Backup your scene file (make a copy).
- Open gmax. In the new (empty) scene put a new Omni (or any other type) light, and then delete it. This should create the yellow ray lines.
- In the menu select File->Merge and select your scene.
- In the list displayed select all objects except "TB2CameraHandle" and click OK. This will import all objects.
- Save the file under another, or even the same filename (overwrite - you have created a backup, haven't you?).

This will "cleanup" your scene, eg remove the material views created while exporting, and fix aother problems too, like materials getting lost in exported models (looking white). I do so every time I'm about to export a large BAT. The procedure takes 1-2 minutes, while problems in the exported model would require exporting the model again.

If this doesn't fix the problem, send me the exported model and the BAT (along with its textures) to take a look (my email is public),
Title: Re: Help needed - problem with BAT nightlight
Post by: rjaap on September 26, 2010, 07:13:23 AM
Thanks! Let see if that fixes the problem.