More Awesome Than You!
Welcome, Guest. Please login or register.
2024 March 28, 15:26:40

Login with username, password and session length
Search:     Advanced search
540270 Posts in 18066 Topics by 6511 Members
Latest Member: zheng
* Home Help Search Login Register
+  More Awesome Than You!
|-+  The Bowels of Trogdor
| |-+  The Small Intestines of Trogdor
| | |-+  Route-blocking flags and autonomous am I
0 Members and 1 Chinese Bot are viewing this topic. « previous next »
Pages: [1] THANKS THIS IS GREAT Print
Author Topic: Route-blocking flags and autonomous am I  (Read 5666 times)
Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Route-blocking flags and autonomous am I
« on: 2006 February 16, 11:51:06 »
THANKS THIS IS GREAT

I think "Autonomous - am I?" in a portal test breaks route-blocking flag 3.  If I put it in, my sims know about things the other side of the door even though they can't get through, and if I take it out, they become blind again.
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
tunaisafish
Axe Murderer
Exasperating Eyesore
*
Posts: 245



View Profile
Re: Route-blocking flags and autonomous am I
« Reply #1 on: 2006 February 17, 04:22:53 »
THANKS THIS IS GREAT

I just got out of bed with this brainwave, so I hope you appreciate it.

I was getting a flashing icon with my doors too, and couldn't figure where it was coming from.
I removed the 'Autonomous - Am I?' check, and the flashing icons disappeared. Good find.

I just got up to do some testing, and it looks like you cannot rely on the autonomy flags being correctly set when the sim is 'just scanning the routes to objects'.
In the just scan mode, param 8 is set to 1, and param 9 holds what looks like some flags.
I've written down a bunch of param 9 values, I'll have a look at them later to see if I can figure any out.
Perhaps the autonomy flags are in param 9 in this case? or maybe it's completely unrelated.
Logged

tunaisafish
Axe Murderer
Exasperating Eyesore
*
Posts: 245



View Profile
Re: Route-blocking flags and autonomous am I
« Reply #2 on: 2006 February 17, 06:45:01 »
THANKS THIS IS GREAT

Update, I think this is working fine now.

I'm assuming that if param 8 == 1, then autonomy is implied.
I still don't know what p9 is.

Might be an issue if a macro uses the 'find best action for' thing.
Inge, I remember you saying something about that a while back.
Logged

tunaisafish
Axe Murderer
Exasperating Eyesore
*
Posts: 245



View Profile
Re: Route-blocking flags and autonomous am I
« Reply #3 on: 2006 February 17, 09:01:44 »
THANKS THIS IS GREAT

Edit: Added some more text so this looks less like some random numbers.

For door Portal and portal TEST

Parameters fed to the door semiglobal Entry Points. 0x2009, 0x200A

0 - Room on approaching side
1 - Room on departing side
2 - approach level (1 is ground floor, 2 for on foundation)
3 - depart level
4 - approach tile objID \ These are same
5 - depart tile objID   / for diag doors
6 - 1 when exiting (same direction as arrows)  else 0 (to do with set door open animation)
7 - 1 when entering (oppo direction as arrows) else 0
8 - 0 normally. no soft start effect when 1, (used in "privacy set?") suppress thought bubble
9 - ? seen  0  18  1,135 (has values when p8 = 1)

P8 seems only to be set to 1 when the route blocking flags are set on the door.
Then, occasionally, sims will run the Portal TEST a number of times (what seems like once for each object) to see if they can route to the object, or whether it should be hidden.

I guess the stair objects may have some similar calling convention.
Lockable stairs without the need for a lobby?

Below was just me trying to figure out what P9 was for.
These are just a bunch of sample values that I saw in P9.
the numbers are decimal - hex - binary
I didn't spot any patterns here, and the numbers did not cross-ref to anything in a lot dumplog.

Param 8 = 1
Param 9 values - sim always autonomous (no duplicates shown)

Standing, then went to pinball

3895 - 0f37 - 0 1111 0011 0111
3820 - 0eec - 0 1110 1110 1100
3193 - 0c79 - 0 1100 0111 1001
3184 - 0c70 - 0 1100 0111 0000
3203 - 0c83 - 0 1100 1000 0011

Routed to computer

4058 - 0fda - 0 1111 1101 1010
5694 - 163e - 1 0110 0011 1110
2255 - 08cf - 0 1000 1100 1111
4035 - 0fc3 - 0 1111 1100 0011
3021 - 0bcd - 0 1011 1100 1101
3223 - 0c97 - 0 1100 1001 0111
4031 - 0fbf - 0 1111 1011 1111
5852 - 16dc - 1 0110 1101 1100
5813 - 16b5 - 1 0110 1011 0101

while chatting online

5887 - 16ff - 1 0110 1111 1111
3214 - 0c8e - 0 1100 1000 1110
5834 - 16ca - 1 0110 1100 1010
5726 - 165e - 1 0110 0101 1110
3914 - 0f4a - 0 1111 0100 1010

Making some food.

3068 - 0bfc - 0 1011 1111 1100
5702 - 1646 - 1 0110 0100 0110
5860 - 16e4 - 1 0110 1110 0100
3111 - 0c27 - 0 1100 0010 0111

Still don't know what this last param means.
« Last Edit: 2006 February 17, 13:26:22 by tunaisafish » Logged

Inge
Round Mound of Gray Fatness
Senator
*
Posts: 4320


Senator Emeritus. Oh hold on, I am still a senator


View Profile WWW
Re: Route-blocking flags and autonomous am I
« Reply #4 on: 2006 February 17, 09:18:51 »
THANKS THIS IS GREAT

Where's the thank you button?
Logged


\"They\'re here, on the forum. A question riddled, spoiler giving, speculative cancer of sim evil\" -- redearth, Snooty Sims, 2009
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.048 seconds with 19 queries.