- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Research & Development >
- Discussion: Lot Size, Orientation, Rotation, etc.
- Site Map >
- Modding and Creation >
- Sims 2 Creation >
- Modding Discussion >
- Research & Development >
- Discussion: Lot Size, Orientation, Rotation, etc.
Alchemist
#1326
22nd Nov 2007 at 2:56 AM
Posts: 2,894
Thanks: 17927 in 66 Posts
Quote: Originally posted by Mootilda
the ones that were crashing LE were from Aussietopenders. Was anyone using these? |
Niol, the lot worked fine on re-entry, terrains and all. I'm letting a sim live there for a while now. Is there anything specific you'd like me to look for?
Advertisement
#1327
22nd Nov 2007 at 3:35 AM
Last edited by Mootilda : 22nd Nov 2007 at 3:18 PM.
Reason: Added lot number
Internal data structures: OBJT
Quote: Originally posted by Inge Jones
Right, I am getting a suspicion that the "rotation" field is actually just the 2nd half of some ghastly quaternian array. Mootilda, using your handy automated field stripper, please can you check whether any of the fields I have labelled "8 BYTEs - Unk (always 0)" actually have non-zero values? |
Quote: Originally posted by Inge Jones
Also let me know if any of those unlisted "rotation codes" *are* in the main coords (the first coord and rotation set in each OBJT) |
#1328
22nd Nov 2007 at 6:28 AM
Last edited by niol : 22nd Nov 2007 at 1:11 PM.
Posts: 4,403
Thanks: 10659 in 115 Posts
[LA/LE - UI & versions tests][Lot -shrinking]
[LA/LE - UI & versions tests]Mootilda,
I've to add that the lots i made and tested are all plain lots.
The attached is some exported copies of the lots I had play-tested with crashy results.
May use a completely new neighbourhood generated by the game to play-test it coz these lots are obviously troublesome.
[Lot -shrinking]
aelflaed,
Lumpy_C_Shrunk has its modular/connecting stair's lowest step disconnected from the ground for either the ground was lowered too much for the 7th step or the last step (the 8th step?) was trimmed.
No other problem noticed.
Those 1x1 lots were manually editted according to andi's guidelines and Mootilda's hints. Since they're all in the 10x scheme, I tend to believe they're pretty stable, just the way in my own play-tests. But since I'm not a good player. I don't normally play the game at all, so you can guess how well I can play-test them. I used to build lots mostly. Now, I mod mostly and build occasionally and play only in testings!
Just test it in whatever way you feel like coz I have no idea what to specifically test.
Probably,
1. try to see if the services are all working?
2. any difference in building properties or terrain painting?
3. any shadowing problem?
4. any suggestion... say doing some nefarious experiments on it :D
Attached files:
Moi_rowhouse.rar (63.8 KB, 3 downloads) - View custom content | ||||||||||||||||||||||||||||||||||||||||||||||||||
Packaged file type: Lot Game Version: Original
Packaged file type: Lot Game Version: Original
Packaged file type: Lot Game Version: Original
Packaged file type: Lot Game Version: Original Size Packed Ratio Date Time Attr CRC Meth Ver ------------------------------------------------------------------------------- Moi_lot10x20_LightFromBotmLeft.Sims2Pack 82380 32754 39% 22-11-07 12:03 .....A. C27D80BD m5e 2.9 Moi_lot10x20_LightFromBotmRite.Sims2Pack 81633 11331 13% 22-11-07 12:03 .....A. 5BCDBF8A m5e 2.9 Moi_lot10x20_LightFromTopLeft.Sims2Pack 82278 10760 13% 22-11-07 12:03 .....A. 216C4F18 m5e 2.9 Moi_lot10x20_LightFromTopRight.Sims2Pack 82626 8837 10% 22-11-07 12:03 .....A. 981D4468 m5e 2.9 ------------------------------------------------------------------------------- 4 328917 63682 19% |
#1329
22nd Nov 2007 at 8:01 AM
Posts: 11,682
Thanks: 9680 in 11 Posts
Quote: Originally posted by Mootilda
Finally found one. Nonzero in 112 Riverbend Road in Riverblossom Hills, OBJT Instance 2 entry 13. |
Can you give me the lot package filename please?
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1330
22nd Nov 2007 at 3:27 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
Lot 6, thanks. I can't see the street addresses from the directory without opening them all you see
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1331
22nd Nov 2007 at 4:41 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
Hmm not seeing non-zero values here. Have you played the lot you were looking at? Can you send it to me?
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1332
22nd Nov 2007 at 5:50 PM
Last edited by Mootilda : 22nd Nov 2007 at 7:54 PM.
Internal data structure: OBJT
Quote: Originally posted by Inge Jones
Hmm not seeing non-zero values here. Have you played the lot you were looking at? Can you send it to me? |
Attached files:
G001_Lot6.zip (856.8 KB, 6 downloads) - View custom content | ||||||||||
1079544 01-25-07 21:11 G001_Lot6.package -------- ------- 1079544 1 file |
#1333
22nd Nov 2007 at 6:24 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
Just to make sure we're looking at the same thing, can you give me the position in the OBJT file?
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1334
22nd Nov 2007 at 7:49 PM
Last edited by Mootilda : 22nd Nov 2007 at 7:53 PM.
Reason: Added string.
Internal data structure: OBJT
Quote: Originally posted by Inge Jones
Just to make sure we're looking at the same thing, can you give me the position in the OBJT file? |
#1335
23rd Nov 2007 at 12:02 AM
Last edited by Mootilda : 23rd Nov 2007 at 1:07 AM.
Internal data structure: OBJT
Quote: Originally posted by Inge Jones
So in the light of this new information my recommended course of action at this point for the LA is to only touch the first set of coords for each object (in the ped portal example that would be the ones immediately following "So straight on with the coords..."), and maybe the one for the _objt entry if it happened to be the same as the main coords. |
Looks like there are an additional three sets of coordinates for cAnimatable (as opposed to cObject) - all of which look like absolute values on the lot, when they aren't zero.
#1336
23rd Nov 2007 at 4:42 AM
Posts: 4,403
Thanks: 10659 in 115 Posts
[chit-chat]
Quote: Originally posted by Mootilda
Is there something that you are asking me to do with these at this time? |
the lots are for your request on some old crash-prone lots.
#1337
23rd Nov 2007 at 9:46 AM
Posts: 11,682
Thanks: 9680 in 11 Posts
Quote: Originally posted by Mootilda
Do you believe that the rotations for all OBJT entries except the first one are also relative? Looks like there are an additional three sets of coordinates for cAnimatable (as opposed to cObject) - all of which look like absolute values on the lot, when they aren't zero. |
As I said, I haven't finished analyzing the animatables. That's why I issued an interrim analysis with the portals which are just cObject. The structure of the overall file is different with the animatables. Are you yet in a position to tell me whether my breakdown seems ok for the car portals as well as the pedestrian portals?
This is a very slow process, so if you're waiting for the analysis to be complete, we need to come to terms with the LA not progressing as rapidly as it had been doing. I have to keep going in and out of the game to move things - only one aspect at a time (eg turn 45 deg on one loadup, raise by 3 clicks on the next loadup, test things with one recolourable subset, two recolourable subsets...) Then do it all over after finding an object that creates a different version of the file.
I can run a test to verify this - manually change just the main coords of an object, then look to see if it was functioning correctly in a new position, and if so what effect it had on the values in the file after saving.
But all this takes time, and I am also renovating my kitchen so try not to have unreal expectations of the timescale
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1338
23rd Nov 2007 at 4:20 PM
Quote: Originally posted by Inge Jones
Are you yet in a position to tell me whether my breakdown seems ok for the car portals as well as the pedestrian portals? |
Quote: Originally posted by Inge Jones
This is a very slow process, so if you're waiting for the analysis to be complete, we need to come to terms with the LA not progressing as rapidly as it had been doing. |
Quote: Originally posted by Inge Jones
But all this takes time, and I am also renovating my kitchen so try not to have unreal expectations of the timescale |
#1339
23rd Nov 2007 at 4:36 PM
Last edited by Mootilda : 23rd Nov 2007 at 5:06 PM.
Quote: Originally posted by niol
I've to add that the lots i made and tested are all plain lots. The attached is some exported copies of the lots I had play-tested with crashy results. May use a completely new neighbourhood generated by the game to play-test it coz these lots are obviously troublesome. [...] the lots are for your request on some old crash-prone lots. |
Your comment about play-testing threw me off - I'm not play-testing any lots right now.
#1340
23rd Nov 2007 at 6:24 PM
Posts: 4,403
Thanks: 10659 in 115 Posts
chit-chat
Mootilda,I didn't mean to ask you to test lots when you don't feel like. only the following.
Lol, right now. I suggest people to use a new copy of neighbourhood folder for testing or using testing lots.
As you said all neighbourhood packages will get written, so I assume removing all neighbourhoods for a new experiment is a more ideal way to test lots.
This can further reduce interference between different tests.
However, I'm unsure of the memory dumps and not sure if the game also save on the the game programme files by chance or "accidients".
#1341
23rd Nov 2007 at 8:30 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
One thing I do think is that you can pretty much ignore XOBJs other than to check the GUID is an object you're into moving (such as a portal). I don't think the LA needs the OBJM at all! The coords in the XOBJ don't change when you move the object, and I don't think they get deleted if you delete the object (not 100% sure yet) but you can find the OBJT from the XOBJ anyway, and then check if it exists. If not, it was probably deleted. The changes in the MOBJT can be made, again, simply checking the GUIDs or the coords. Or carry on using the OBJM to cross reference the MOBJT to the OBJT and ignore the XOBJ altogether.
You could use the "type" in the MOBJT to work out which objects are physical maybe.
Anyway this is just thinking out loud really.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
You could use the "type" in the MOBJT to work out which objects are physical maybe.
Anyway this is just thinking out loud really.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1342
24th Nov 2007 at 12:13 AM
Posts: 11,682
Thanks: 9680 in 11 Posts
Mootilda, I think it is looking safe to say that the only OBJT coords - including rotation - you need to worry about are the first lot, the second lot (the ones in the objectname_objt entry) and, in the case of the cAnimatable OBJT, there are some numbers I have not yet fully analysed *after* the last entry, which also happen to include coords and rotations. Those change too when an object is moved. All the others like slot entries don't appear to change when the object is moved.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Alchemist
#1343
26th Nov 2007 at 12:24 PM
Posts: 2,894
Thanks: 17927 in 66 Posts
I've made a shop, shrunk on two sides. It is owned by a (Maxis-made) sim, and seems to work fine. It was shrunk on the left and rear to make a 2x1 lot, built to the edges on those sides, two stories on a foundation.
One NPC (somebody Tinker) got stuck on the lot when the shop was first opened, and got stuck again next time he visited. He wandered back and forth for a while, not browsing the displays correctly, and then froze in the middle of the room. I had to delete him eventually.
It hasn't happened to any other sims, so I don't know that it is down to the shrinking. No crashes, but that's nothing new for me.
I'm playing this in my full game, up to Seasons, no Pets.
One NPC (somebody Tinker) got stuck on the lot when the shop was first opened, and got stuck again next time he visited. He wandered back and forth for a while, not browsing the displays correctly, and then froze in the middle of the room. I had to delete him eventually.
It hasn't happened to any other sims, so I don't know that it is down to the shrinking. No crashes, but that's nothing new for me.
I'm playing this in my full game, up to Seasons, no Pets.
#1344
26th Nov 2007 at 5:19 PM
Posts: 4,403
Thanks: 10659 in 115 Posts
[Definitions of Safe Lots]
What I think for the definitions of safe lots:simply in the range of working lot that we've played so far.
But, we need to analyse all these lots to get the ranges we want to regard them as the safety standard,
Then it'd better to make an analyser to collect the limit data for the ranges and probably also for statistics.
#1345
27th Nov 2007 at 2:56 AM
Last edited by Mootilda : 30th Nov 2007 at 4:47 PM.
Reason: Added title
Internal data structures: OBJT, XOBJ, XMTO
Quote: Originally posted by Inge Jones
One thing I do think is that you can pretty much ignore XOBJs other than to check the GUID is an object you're into moving (such as a portal). |
[Update:]
Looks like some objects also require a corresponding change in the XMTO.
#1346
27th Nov 2007 at 9:03 AM
Posts: 11,682
Thanks: 9680 in 11 Posts
Quote: Originally posted by Mootilda
Looks like some objects also require a corresponding change in the XMTO. |
XMTO! There's a new one :D
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
#1347
27th Nov 2007 at 4:39 PM
Last edited by Mootilda : 27th Nov 2007 at 11:46 PM.
Reason: Clarification
Internal data structures: OBJT, XOBJ, XMTO
Quote: Originally posted by Inge Jones
XMTO! There's a new one :D |
Unfortunately, I've also started to see the window problem that aelflaed documents in her thread "Lumpy Shrinker - Basegame, LA 0.1.3, LA 015". At this time, I suspect non-flat terrain, so this may not be too serious. [Update:] Forgot that the window issue is solved by saving, exiting the lot, and then reentering.
In the interim, I have applied the same code changes to all three of the Animatable OBJT coordinates, even though I'm occasionally seeing some very odd "coordinates" with some lots and objects - I suspect that the LA isn't parsing those correctly.
#1348
27th Nov 2007 at 5:03 PM
Posts: 11,682
Thanks: 9680 in 11 Posts
I have nearly finished the cAnimatable and cObject OBJT analysis. One of those coordinate and rotation sets appears to refer to the *previously* saved position of the object! Others don't change, while others change as expected to reflect current position. What I will do is upload as a doc here again, and not update the Wiki until you are satisfied (by having tried it on the LA) that the breakdown is not contrary to something you can see happening in front of your nose as you test.
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
"You can do refraction by raymarching through the depth buffer" (c. Reddeyfish 2017)
Alchemist
#1349
28th Nov 2007 at 1:16 AM
Posts: 2,894
Thanks: 17927 in 66 Posts
shrinking, missing windows
Quote: Originally posted by Mootilda
Unfortunately, I've also started to see the window problem that aelflaed documents in her thread "Lumpy Shrinker - Basegame, LA 0.1.3, LA 015". At this time, I suspect non-flat terrain, so this may not be too serious. [Update:] Forgot that the window issue is solved by saving, exiting the lot, and then reentering. |
#1350
28th Nov 2007 at 2:28 AM
Last edited by Mootilda : 28th Nov 2007 at 6:13 AM.
Internal data structures: WGRA, FPL
Looks like the "move objects back onto the lot" logic won't work for WGRA - the game gets terribly confused and removes all of the walls that were touched. I wonder whether the correct thing is to delete the excess wall units.[Update:]Somewhat similar problems with FPL (fence post layer). The fence posts are moved back onto the lot correctly, but seem to become undeletable, possibly because they are disconnected from the fence rails. The fences themselves remain off-world. The Trellis fence, in particular, seems to stay undeletable even if the lot is subsequently re-expanded. So, perhaps all FPL and WGRA which are moved off-world should be deleted instead.
Note that the walls and fences seem to maintain their off-world position, so that expanding them later leaves them where expected, unlike the object logic.
In any case, we can try the object off-world logic without making any change to the wall and fence logic - although ultimately we may need a solution to avoid crashes.
Who Posted
|