577
edits
(Adding some constants, WIP) |
m (forgot to remove part of an if) |
||
(16 intermediate revisions by 6 users not shown) | |||
Line 3: | Line 3: | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
{{!}}- | {{!}}- | ||
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}} | {{!}} colspan=2 style="text-align:center;" {{!}} [[File:{{{image}}}]] | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{group|}}}|{{!}}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>''' | ||
|}} | |}} | ||
|- | |- | ||
{{#if: {{{group|}}} | | {{#if: {{{group|}}} | | ||
{{!}} '''Object Group''' {{!!}} | {{!}} '''[[Object Group]]''' {{!!}} {{{group}}} | ||
{{!}}-}} | |||
|- | |||
{{#if: {{{group2|}}} | | |||
{{!}} '''[[Actor groups|Actor Group]]''' {{!!}} {{{group2}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{modelID|}}} | | |||
{{!}} '''Model ID''' {{!!}} {{{modelID}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{tangibility|}}} | | |||
{{!}} '''Tangibility Radius''' {{!!}} {{{tangibility}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{draw|}}} | | |||
{{!}} '''Draw Distance''' {{!!}} {{{draw}}} | |||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
Line 17: | Line 33: | ||
|- | |- | ||
{{#if: {{{gravity|}}} | | {{#if: {{{gravity|}}} | | ||
{{!}} '''Gravity''' {{!!}} | {{!}} '''[[Gravity]]''' {{!!}} {{{gravity}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{friction|}}} | | {{#if: {{{friction|}}} | | ||
{{!}} '''Friction''' {{!!}} | {{!}} '''Friction''' {{!!}} {{{friction}}} | ||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
{{#if: {{{buoyancy|}}} | | {{#if: {{{buoyancy|}}} | | ||
{{!}} '''Buoyancy''' {{!!}} [[{{{ | {{!}} '''Buoyancy''' {{!!}} {{{buoyancy}}} | ||
{{!}}-}} | |||
|- | |||
{{#if:{{{interaction|}}}{{{damage|}}}{{{health|}}}{{{radius|}}}{{{height|}}}{{{offset|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''[[Hitbox|<span style="color:white;">Hitbox</span>]]''' | |||
|}} | |||
|- | |||
{{#if: {{{interaction|}}} | | |||
{{!}} '''[[Interaction Type]]''' {{!!}} [[Interaction Type#{{{interaction}}}|{{{interaction}}}]] | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{damage|}}} | | |||
{{!}} '''Damage''' {{!!}} {{{damage}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{health|}}} | | |||
{{!}} '''Health''' {{!!}} {{{health}}} | |||
{{!}}-}} | {{!}}-}} | ||
|- | |- | ||
|}{{#ifeq:{{NAMESPACENUMBER}}|0| | {{#if: {{{radius|}}} | | ||
[[Category:Objects]]}}</includeonly> | {{!}} '''Radius''' {{!!}} {{{radius}}} | ||
< | {{!}}-}} | ||
|- | |||
{{#if: {{{height|}}} | | |||
{{!}} '''Height''' {{!!}} {{{height}}} | |||
{{!}}-}} | |||
|- | |||
{{#if: {{{offset|}}} | | |||
{{!}} '''Down Offset''' {{!!}} {{{offset}}} | |||
{{!}}-}} | |||
|- | |||
{{#if:{{{behaviorScript|}}}{{{behaviorCode|}}}{{{animationFile|}}}|{{!}}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}} | |||
{{!}}-}} | |||
|- | |||
{{#if:{{{foundIn|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Found in</span>''' | |||
|}} | |||
|- | |||
{{#if: {{{foundIn|}}} | | |||
{{!}} {{{foundIn}}} | |||
{{!}}-}} | |||
|- | |||
{{#if:{{{related|}}}|{{!}}align="center" colspan="2" bgcolor="#10274c" style="font-size:125%;" {{!}} '''<span style="color:white;">Related Articles</span>''' | |||
|}} | |||
|- | |||
{{#if: {{{related|}}} | | |||
{{!}} {{{related}}} | |||
{{!}}-}} | |||
|- | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:Objects]]}}</includeonly><noinclude>{{Object_infobox_2 | |||
|title=Boulder | |||
|image=STROOP- Rolling Rock.png | |||
|group=General Actor | |||
|group2=Test | |||
|modelID=0x39 | |||
|tangibility=20000 | |||
|draw=4000 | |||
|gravity=8 | |||
|friction=0.999 | |||
|buoyancy=2 | |||
|interaction=Hurtbox 1 | |||
|damage=3 | |||
|health=0 | |||
|radius=315 | |||
|height=525 | |||
|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 *) --> | |||
|related= <!-- Related articles --> | |||
}} | |||
<div style="float:right"><pre>{{Object_infobox_2 | |||
|title= | |title= | ||
|image= | |image= | ||
| | |group= | ||
| | |group2= | ||
| | |modelID= | ||
| | |tangibility= | ||
|draw= | |||
|gravity= | |||
|friction= | |||
|buoyancy= | |||
|interaction= | |||
|damage= | |damage= | ||
| | |health= | ||
| | |radius= | ||
| | |height= | ||
| | |offset= | ||
|behaviorScript= | |||
|behaviorCode= | |||
|animationFile= | |||
|foundIn= | |||
|related= | |related= | ||
}}</pre></div> | }}</pre></div> | ||
[[Category:Infobox templates|{{PAGENAME}}]] | |||
edits