Template:Object infobox 2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
(added fields for behaviorCode, behaviorscript, modelID, and animation folder) |
||
Line 6: | Line 6: | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group|}}}{{{tangibility|}}}{{{draw|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Technical Constants</span>''' | {{#if:{{{group|}}}{{{group2|}}}{{{modelID|}}}{{{tangibility|}}}{{{draw|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Technical Constants</span>''' | ||
|}} | |}} | ||
|- | |- | ||
Line 17: | Line 17: | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{modelID|}}} | | |||
{{!}} '''Model ID''' {{!!}} {{{modelID}}} | |||
{{!}}-}} | |||
|- | |- | ||
{{#if: {{{tangibility|}}} | | {{#if: {{{tangibility|}}} | | ||
Line 66: | Line 69: | ||
{{#if: {{{offset|}}} | | {{#if: {{{offset|}}} | | ||
{{!}} '''Down Offset''' {{!!}} {{{offset}}} | {{!}} '''Down Offset''' {{!!}} {{{offset}}} | ||
{{!}}-}} | |||
|- | |||
{{#if:{{{behaviorScript|}}}{{{behaviorCode|}}}{{{animationFile|}}}{{{height|}}}{{{offset|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''[[Code Data|<span style="color:white;">Code</span>]]''' | |||
|}} | |||
|- | |||
{{#if: {{{behaviorScript|}}} | | |||
{{!}} '''Initialization Behavior Script''' {{#tag:ref|{{{behaviorScript}}}|name=behavScript}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{behaviorCode|}}} | | |||
{{!}} '''Behavior Code''' {{#tag:ref|{{{behaviorCode}}}|name=behavCode}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{animationFile|}}} | | |||
{{!}} '''Animation File''' {{#tag:ref|{{{animationFile}}}|name=animFile}} | |||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
Line 87: | Line 105: | ||
|group=General Actor | |group=General Actor | ||
|group2=Test | |group2=Test | ||
|modelID=0x39 | |||
|tangibility=20000 | |tangibility=20000 | ||
|draw=4000 | |draw=4000 | ||
Line 98: | Line 117: | ||
|height=525 | |height=525 | ||
|offset=0 | |offset=0 | ||
|behaviorScript=[https://github.com/n64decomp/sm64/blob/master/src/game/behaviors/boulder.inc.c Boulder Behavior Code] | |||
|behaviorCode=[https://github.com/n64decomp/sm64/blob/master/data/behavior_data.c#L4547 Boulder Initialization Code] | |||
|animationFile=[https://github.com/n64decomp/sm64/tree/master/actors Animation Folder] | |||
|foundIn= <!-- Courses this is found in, maybe also use a list (using the *) --> | |foundIn= <!-- Courses this is found in, maybe also use a list (using the *) --> | ||
|related= <!-- Related articles --> | |related= <!-- Related articles --> | ||
Line 106: | Line 128: | ||
|group= | |group= | ||
|group2= | |group2= | ||
|modelID= | |||
|tangibility= | |tangibility= | ||
|draw= | |draw= | ||
Line 117: | Line 140: | ||
|height= | |height= | ||
|offset= | |offset= | ||
|behaviorScript= | |||
|behaviorCode= | |||
|animationFile | |||
|foundIn= | |foundIn= | ||
|related= | |related= |
Revision as of 17:18, 11 October 2023
Boulder | |
Technical Constants | |
Object Group | General Actor |
Actor Group | Test |
Model ID | 0x39 |
Tangibility Radius | 20000 |
Draw Distance | 4000 |
Physical Constants | |
Gravity | 8 |
Friction | 0.999 |
Buoyancy | 2 |
Hitbox | |
Interaction Type | Hurtbox 1 |
Damage | 3 |
Health | 0 |
Radius | 315 |
Height | 525 |
Down Offset | 0 |
Code | |
Initialization Behavior Script [1] | |
Behavior Code [2] | |
Animation File [3] |
{{Object_infobox_2 |title= |image= |group= |group2= |modelID= |tangibility= |draw= |gravity= |friction= |buoyancy= |interaction= |damage= |health= |radius= |height= |offset= |behaviorScript= |behaviorCode= |animationFile |foundIn= |related= }}