VEH

From OHRRPGCE-Wiki

Jump to: navigation, search

.VEH holds data about vehicles. It is headerless with binary records 80 bytes in size.

[edit] Formal Specs

About Formal Specs

Offset Data Meaning
0-7VSTR(1b+15b == 16b) Name
8INT Speed
9-10INT Bitsets
11INT Random battles (-1 = disabled, 0 = enabled, n = formation set n)
12INT Use button (-2 = disabled, -1 = menu, 0 = dismount, 0 < plotscript to run)
13INT Menu button (see above)
14INT If riding tag # (0 = N/A, +n means "tag n=on", -n means "tag n=off" )
15INT On Mount (0 = N/A, +n = textbox n, -n = negated Plotscript Trigger)
16INT On Dismount (same values as on mount)
17INT Override Walls (0=default, 1=vehicle-A, 2=vehicle-B, 3=vehicle-A-and-B , 4= Vehicle-A-or-B, 5= not Vehicle-A, 6 = not Vehicle-B, 7=neither A nor B, 7 = Everywhere)
18INTBlocked by (see above)
19INTMount from (see above)
20INTDismount to (see above)
21INTElevation
22-39INT * 18Unused / reserved

Bitsets mean:

Bit # Meaning
0Pass through walls
1Pass through NPCs
2Enable NPC activation
3Enable door use
4Do not hide leader
5Do not hide party
6Dismount one space ahead
7Pass walls while dismounting
8Disable flying shadow
9 - 31Unused


ARCHINYM.LMP . BROWSE.TXT . ATTACK.BIN . BINSIZE.BIN . DEFPAL#.BIN . DEFPASS.BIN . FIXBITS.BIN . LOOKUP.BIN . MENUS.BIN . MENUITEM.BIN . PALETTES.BIN . PLOTSCR.LST . SFXDATA.BIN . SONGDATA.BIN . UICOLORS.BIN . GEN . BAM . Map Format . T . P . E . D . L . N . DOR . DOX . DT0 . DT1 . DT6 . EFS . FOR . FNT . HSP . HSZ . ITM . MAP . MAS . MN . MXS . PAL . PT0 . PT1 . PT2 . PT3 . PT4 . PT5 . PT6 . SAY . SHO . SNG . STF . STT . TAP . TIL . TMN . VEH

Personal tools