Kuribo64
Views: 20,050,306 Home | Forums | Uploader | Wiki | Object databases | IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search
04-24-24 03:08 AM
Guest:

0 users reading MapParts and Path Variable Testing | 1 bot

Main - Archived forums - SMG documentations and tutorials - MapParts and Path Variable Testing Hide post layouts | New reply


mibts
Posted on 09-02-13 01:23 PM (rev. 2 of 09-02-13 01:23 PM) Link | #31647
I decided to test some variables under MapParts and here's what I found:

MapPartsInfo:
[1A691A84]=Activation (0=normal, 1=stepped on)
[D1DFFB8C]=Speed (higher=faster)
[D0E17418]=Degrees of rotation per stop (higher=more rotation)
[7217EFBC]=Axis of rotation (0=X, 1=Y, 2=Z)
[86AC8907]=Smoothness (0=sharp start/end, 1=smooth start/end)
[4558808A]=Wait time (higher=more wait between rotations)
[72209755]=Rotation controller (0=stops after rotating, 1=swings back and forth, 2=rotates in one direction)
[39FCC89A]=??? (2 for FlipTurnMoveStep)
[6D3E35CD]=Shaking (0=none, 1=shakes before each rotation)
[4137EDFD]=??? (Seems to be an integer)

CommonPathInfo:
path_arg2=Path outlined with orange dots (-1=No, 1=Yes)

CommonPathPointInfo.1:
1st field = speed of movement
6th field = wait time

Hope this helps.

____________________
Current hack: Excerpt from Super Mario 256

Any map on a flat torus can be colored with at most 7 colors.

shibboleet
Posted on 09-02-13 05:55 PM Link | #31673
Ah. Nice findings for this.
I'll put this stuff in for Whitehole. When you hover over the property it will show a box showing the possible values.


____________________
a

mibts
Posted on 09-02-13 09:35 PM Link | #31714
Thanks!

____________________
Current hack: Excerpt from Super Mario 256

Any map on a flat torus can be colored with at most 7 colors.

shibboleet
Posted on 09-04-13 06:09 PM Link | #31846
Actually, scratch that. I'll use a Combo Box for the choices and it'll put the value in there. Much more organized.

____________________
a

PaperplateismGuy
Posted on 09-11-13 11:27 PM Link | #32333
Great find! What about negative values? Would the object spin the opposite way?

____________________
Remember, every user has to start out somewhere,- Every time I look back at my old posts, I cringe.



shibboleet
Posted on 09-11-13 11:31 PM Link | #32334
umm
I've actually never tested Negative arguments for an object.

____________________
a

mibts
Posted on 09-12-13 11:24 AM Link | #32367
Posted by PaperplateismGuy
Great find! What about negative values? Would the object spin the opposite way?

Yes. A negative value for the speed variable makes it spin the other way.
To convert it to hex, though, you need to add 2^32 to it first.
Example: -8 = FFFFFFF8

____________________
Current hack: Excerpt from Super Mario 256

Any map on a flat torus can be colored with at most 7 colors.


Main - Archived forums - SMG documentations and tutorials - MapParts and Path Variable Testing Hide post layouts | New reply

Page rendered in 0.020 seconds. (2048KB of memory used)
MySQL - queries: 27, rows: 208/208, time: 0.012 seconds.
[powered by Acmlm] Acmlmboard 2.064 (2018-07-20)
© 2005-2008 Acmlm, Xkeeper, blackhole89 et al.