Template:Object infobox 2: Difference between revisions

added fields for behaviorCode, behaviorscript, modelID, and animation folder
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=
577

edits