Welcome to
Mod The Sims
Online: 2248
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 16 (Who?), Viewed: 6082 times.
Search this Thread
Old 27th Feb 2012, 06:07 PM DefaultNeighbourhood deco that lights up at night? #1
Bagfran
Original Poster

Lab Assistant

Join Date: May 2006
Posts: 81


I'm in the process of converting some TS3 buildings (the Late Night apartment building shells) into neighbourhood deco for TS2.

Ideally, I would like the buildings to light up at night, in the same way that the TS2 Nightlife apartment building does. Unfortunately, it does not seem to be as simple as cloning the Nightlife building - somehow the cloning process (specifically the fix integrity step I think) seems to break whatever causes the lit-up effect.

So, I just wondered whether anyone had any ideas what might be going wrong (is the lit effect somehow hard-coded for this particular object only?), and how I could achieve the effect I want?
Old 28th Feb 2012, 07:33 PM #2
maybesomethingdunno
Site Helper

Join Date: Apr 2005
Posts: 1,977
Thanks: 4867 in 16 Posts
23 Achievements

View My Journal


I really wish I could be more helpful because I've always wanted someone to do more with that building. I've looked into it at least once, but my object creation skills are lackluster at best.

If I recall correctly, there were two textures with one or two mesh groups: one for the day version and another for the night version. The game somehow knows to switch between the two. Again, IIRC, I think when I messed with it I managed to make a version that was perma-lit. I believe I deleted unnecessary mesh groups and kept the names without performing Fix Integrity. Perhaps try keeping the names the same and just changing the GUID wherever appropriate?

Hopefully someone more knowledgeable will chime in.

I don't mind if you call me "MSD" or something for short.
Perhaps someday I'll have leisure time back...
Old 28th Feb 2012, 08:30 PM #3
Bagfran
Original Poster

Lab Assistant

Join Date: May 2006
Posts: 81


Thanks for your reply! Yes, I saw the two textures for day and night (there are also two separate but identical model subsets), and replaced them with my own accordingly. And as you say, with the original building the game just seems to 'know' to switch between the two states.

As an experiment, I tried just changing the GUID and leaving the model names intact (no fix integrity), and that of course confused the game (the original building disappeared from the catalog), but it did work in that there was a lit state at night and unlit during the day. It's not a permanent fix though of course!

I'm wondering if this is just not possible!
Old 1st Mar 2012, 02:32 AM #4
buggybooz
Instructor

Join Date: Aug 2006
Posts: 554
Thanks: 80416 in 33 Posts
22 Achievements


Peform fix integrity and then have a look at the TEXT LISTS in the Material Names Tab . If "##0x1C050000!" is missing from the names of the strings add them manually, commit and save. Don't do a fix integrity after as it will just break this and you will have to start again.
Old 17th Mar 2012, 08:13 PM #5
buggybooz
Instructor

Join Date: Aug 2006
Posts: 554
Thanks: 80416 in 33 Posts
22 Achievements


So I guess my reply was not at all useful. Sorry about that.
Old 17th Mar 2012, 11:56 PM #6
simsample
'Death, death, death' Until the sun cries morning



Join Date: Feb 2005
Posts: 16,822
Thanks: 7865 in 83 Posts
18 Achievements

View My Journal


Probably the OP hasn't read this yet; doesn't mean to say it won't help others.

I will choose a path that's clear- I will choose free will
RUSH Headlong Flight Performing Arts Award Star Rush OC
Please check out my profile policies before PMing me! Thanks.
Old 20th Mar 2012, 01:37 PM #7
Gwenke33
Instructor

Join Date: Apr 2008
Posts: 533
Thanks: 15659 in 39 Posts
16 Achievements


Adding ##0x1C050000! did not seem to fix the issue - the building stubbornly refuses to use the 'day' texture and uses the 'night' texture night and day.
What I could do is repository the two window mesh groups to the original in-game building at SHPE level, using only 'neighborhoodbuildingres1_windows_day' and 'neighborhoodbuildingres1_windows_night' as the mat. def. file name.
This restored the ability to switch between night and day textures, but of course required much fiddling with the tiny pieces of mesh I used as windows. It also limits the "window" textures to those found in the original building. If you feel up to it, a default replacement texture could be created for the original building, with additional window shapes/textures added (and the original building would need to be remapped to use the new texture).
Unless someone comes up with a better idea?
Screenshots
Click image for larger version

Name:  LitUpBarn.jpg
Views: 0
Size:  26.7 KB  
Old 20th Mar 2012, 02:23 PM #8
Bagfran
Original Poster

Lab Assistant

Join Date: May 2006
Posts: 81


Thank you, buggybooz for your reply - sorry I didn't respond sooner, but I've not been well and hadn't had a chance to try your suggestion.

And thank you also, Gwenke! I had already wondered about slaving my new buildings to the NL one (nice to know we were on the same lines), but I hadn't worked out the details of it. I'm happy to try editing the original NL building as you suggest, so I think I'll give that a go.

Could I possibly have a look at the package for your lit-up barn, just so that I understand how you did it?
Old 20th Mar 2012, 02:57 PM #9
HugeLunatic
Not Suitable for Minors



Join Date: Mar 2006
Posts: 4,606
Thanks: 116485 in 144 Posts
42 Achievements

View My Journal


If this building is similar to lights, then there is also a line or two in the BHAVs for each state.
Old 20th Mar 2012, 03:13 PM #10
Gwenke33
Instructor

Join Date: Apr 2008
Posts: 533
Thanks: 15659 in 39 Posts
16 Achievements


CuriousB: Certainly

HL: The package does not have BHAVs at all, unfortunately, so it does not work by having states in that sense.
I was disapointed to see that the 'light' only comes from the TXMT, there is no real light in the package. It would have been nice to make other lit-up hood deco.
Download - please read all instructions before downloading any files!
File Type: zip Gwenke_LitUpBarn05.zip (47.5 KB, 7 downloads) - View custom content
Old 20th Mar 2012, 03:33 PM #11
HugeLunatic
Not Suitable for Minors



Join Date: Mar 2006
Posts: 4,606
Thanks: 116485 in 144 Posts
42 Achievements

View My Journal


hrmm. So what is the name of this building and where can I find it in SimPE? When having just NL enabled in the file table I see no buildings in Other/Neighborhood section.
Old 20th Mar 2012, 04:32 PM #12
Gwenke33
Instructor

Join Date: Apr 2008
Posts: 533
Thanks: 15659 in 39 Posts
16 Achievements


It's in Other/Neighbourhood/Misc, called 'Building', and it's the first item in the list in my SimPE (all EPs/SPs enabled)
Old 20th Mar 2012, 06:02 PM #13
HugeLunatic
Not Suitable for Minors



Join Date: Mar 2006
Posts: 4,606
Thanks: 116485 in 144 Posts
42 Achievements

View My Journal


Thanks Gwen. I noticed that when cloned the Text Lists becomes empty. Maybe try adding three lines (0,1,2), with the first line as Building, second empty, and third 0. The XNGB resource is labeled Building, so maybe the Text List needs this reference.

EDIT: Gwen what does the version 05 and version 06 reference in your barn?
Old 20th Mar 2012, 07:10 PM #14
Gwenke33
Instructor

Join Date: Apr 2008
Posts: 533
Thanks: 15659 in 39 Posts
16 Achievements


When I cloned the Text List had 'Building' in line 0, nothing in line 1 and '0' in line 2. Anyway, these lines only change the description that shows up for the hood deco, I've changed them many times in my hood decos.
The version number is just that, a version number to keep track of the mesh versions I used. (The version number in line 1 is what shows up in game, the version number in line 2 is just a left-over from my first try when I did not remember where to put the descriptive text.)

Also, sorry about the flashing groundshadow in the uploaded barn - I originally used the same mesh group names as in the original building and changed the group names to be descriptive of the barn mesh groups before uploading. It seems I messed up with the groundshadow and now I can't seem to fix it :/
It's really a pain that you can't do fix integrity on hood deco and Fix TGI also only seemed to work once.
Old 20th Mar 2012, 08:22 PM #15
Bagfran
Original Poster

Lab Assistant

Join Date: May 2006
Posts: 81


Thanks, Gwenke, for uploading your file - I'm going to try your suggestion.

I wish there was a simpler way! :p
Old 22nd Mar 2012, 01:05 AM #16
Gwenke33
Instructor

Join Date: Apr 2008
Posts: 533
Thanks: 15659 in 39 Posts
16 Achievements


If you go the way of default replacing the original texture, could you please make the new texture huge and leave space in it for me? I think I need to make a monster that only shows up at night and has bright yellow eyes
Old 4th Apr 2012, 08:11 PM #17
buggybooz
Instructor

Join Date: Aug 2006
Posts: 554
Thanks: 80416 in 33 Posts
22 Achievements


I'm so glad that something good happened in this thread. Way to go.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.