Jump to content
Terrev

Component Type Cheat Sheet

2 posts in this topic

Terrev    6,826
Terrev

Put this on Pastebin a few years back and had it in my bookmarks since then but just thought I'd post it here for easier access. It's a table from the database in a beta version of the game (excluded in the final version; see the DBExclude table in the final database) that lists what component types have what IDs - handy for quick reference. Since it's from beta it's missing some of the component types introduced later, but it's got most stuff covered.

 

At a glance, the component types added after that seem to have more irregular IDs, often skipping numbers (or maybe there's a lot of unused/deprecated component types) - there's objects with components of types 75, 77, 78, 79, 95, 97, 100, 102, 103, 104, 105, 106, 108, 113, 114, 116... Not sure if there's anything higher than that, I was just quickly checking with manual searches in Notepad++, too lazy to automate it lol. Does anyone else have a more complete list? If not I guess I could look at the objects using the newer component types and try to figure out what sorta functionality they have.

 

	<table name="mapComponentType">
		<columns>
			<column name="id" type="int" />
			<column name="label" type="varchar" />
			<column name="table" type="varchar" />
		</columns>
		<rows>
			<row id="-1" label="Invalid" table="" />
			<row id="1" label="Controllable Physics" table="PhysicsComponent" />
			<row id="2" label="Render" table="RenderComponent" />
			<row id="3" label="Simple Physics" table="PhysicsComponent" />
			<row id="4" label="Character" table="" />
			<row id="5" label="Script" table="ScriptComponent" />
			<row id="6" label="Bouncer" />
			<row id="7" label="Destroyable" table="DestructibleComponent" />
			<row id="8" label="Ghost" table="" />
			<row id="9" label="Skill" table="ObjectSkills, SkillBehavior" />
			<row id="10" label="Spawner" table="" />
			<row id="11" label="Item" table="" />
			<row id="12" label="Rebuild" table="RebuildComponent" />
			<row id="13" label="Rebuild Start" />
			<row id="14" label="Rebuild Activator" table="" />
			<row id="15" label="Icon Only" table="RenderComponent" />
			<row id="16" label="Vendor" table="" />
			<row id="17" label="Inventory" table="InventoryComponent" />
			<row id="18" label="Projectile Physics" table="PhysicsComponent" />
			<row id="19" label="Shooting Gallery" table="" />
			<row id="20" label="RigidBodyPhantomPhysics" table="PhysicsComponent" />
			<row id="21" label="DropEffect" table="" />
			<row id="22" label="Chest" table="" />
			<row id="23" label="Collectible" table="" />
			<row id="24" label="Blueprint" table="Blueprints" />
			<row id="25" label="MovingPlatform" />
			<row id="26" label="Pet" table="PetComponent" />
			<row id="27" label="PlatformBoundary" />
			<row id="28" label="Module" />
			<row id="29" label="Arcade" />
			<row id="30" label="VehiclePhysics" />
			<row id="31" label="MovementAI" />
			<row id="32" label="Exhibit" />
			<row id="33" label="OverheadIcon" table="mapIcon, NpcIcons" />
			<row id="34" label="PetControl" table="" />
			<row id="35" label="Minifig" table="" />
			<row id="36" label="Property" table="" />
			<row id="37" label="PetCreator" />
			<row id="38" label="ModelBuilder" />
			<row id="39" label="Scripted Activity" />
			<row id="40" label="PhantomPhysics" table="PhysicsComponent" />
			<row id="41" label="Springpad" />
			<row id="42" label="B3Behaviors" />
			<row id="43" label="PropertyEntrance" />
			<row id="44" label="FX" />
			<row id="45" label="PropertyManagement" />
			<row id="46" label="VehiclePhysics" table="PhysicsComponent" />
			<row id="47" label="PhysicsSystem" table="PhysicsComponent" />
			<row id="48" label="QuickBuild" table="RebuildComponent" />
			<row id="49" label="Switch" />
			<row id="50" label="Minigame" />
			<row id="51" label="Changling" />
			<row id="52" label="Choice Build" table="ChoiceBuildComponent" />
			<row id="53" label="PackageComponent" table="PackageComponent" />
			<row id="54" label="SoundRepeaterComponent" />
			<row id="55" label="SoundAmbient2DComponent" />
			<row id="56" label="SoundAmbient3DComponent" />
			<row id="57" label="Precondition" />
			<row id="58" label="Player Flags" />
			<row id="59" label="Custom Build Assembly" />
			<row id="60" label="BaseCombatAIComponent" table="BaseCombatAIComponent" />
			<row id="61" label="ModuleAssembly" table="ModularBuildComponent" />
			<row id="62" label="ShowcaseModelHandler" />
			<row id="63" label="RacingModule" />
			<row id="64" label="GenericActivator" />
			<row id="65" label="PropertyVendor" />
			<row id="66" label="HFLightDirectionGadget" />
			<row id="67" label="Rocket Launch" />
			<row id="68" label="Rocket Landing" />
			<row id="69" label="Trigger" />
			<row id="70" label="Dropped Loot" />
			<row id="71" label="Racing Control" />
			<row id="72" label="Faction Trigger" />
			<row id="73" label="Mission Offer" />
			<row id="74" label="Racing Stats" />
		</rows>
	</table>

 

Share this post


Link to post
Share on other sites
lcdr    49
lcdr

Here's the version I use. It's the same table as yours, but from a client with version 1.0.8 - which doesn't have DBExclude applied yet. It's still incomplete, as it's not the most recent version, so I'm interested in any client more recent than this one.

 

1: Controllable Physics
2: Render
3: Simple Physics
4: Character
5: Script
6: Bouncer
7: Destroyable
8: Ghost
9: Skill
10: Spawner
11: Item
12: Rebuild
13: Rebuild Start
14: Rebuild Activator
15: Icon Only
16: Vendor
17: Inventory
18: Projectile Physics
19: Shooting Gallery
20: RigidBodyPhantomPhysics
21: DropEffect
22: Chest
23: Collectible
24: Blueprint
25: MovingPlatform
26: Pet
27: PlatformBoundary
28: Module
29: Arcade
30: VehiclePhysics
31: MovementAI
32: Exhibit
33: OverheadIcon
34: PetControl
35: Minifig
36: Property
37: PetCreator
38: ModelBuilder
39: Scripted Activity
40: PhantomPhysics
41: Springpad
42: ModelBehaviors
43: PropertyEntrance
44: FX
45: PropertyManagement
46: VehiclePhysics
47: PhysicsSystem
48: QuickBuild
49: Switch
50: Minigame
51: Changling
52: Choice Build
53: PackageComponent
54: SoundRepeaterComponent
55: SoundAmbient2DComponent
56: SoundAmbient3DComponent
57: Precondition
58: Player Flags
59: Custom Build Assembly
60: BaseCombatAIComponent
61: ModuleAssembly
62: ShowcaseModelHandler
63: RacingModule
64: GenericActivator
65: PropertyVendor
66: HFLightDirectionGadget
67: Rocket Launch
68: Rocket Landing
69: Trigger
70: Dropped Loot
71: Racing Control
72: Faction Trigger
73: Mission Offer
74: Racing Stats
75: LUP Exhibit
76: BBB Component
77: SoundTriggerComponent
78: Proximity Monitor Component
79: RacingSoundTriggerComponent
80: Chat
81: Friends List
82: Guild
83: Local System
84: Mission
85: Mutable Model Behaviors
86: Pathfinding Control
87: Pet Taming Control
88: Property Editor
89: Skinned Render
90: Slash Command
91: Status Effect
92: Teams
93: Text Effect
94: Trade
95: User Control
96: UNUSED
97: UNUSED

 

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×