Talk:Action: Difference between revisions

From Ukikipedia
Jump to navigation Jump to search
(Created page with "what would be a case with restricted movement? ~~~~")
 
(avoid misinformation)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
what would be a case with restricted movement? [[User:Tranman64|Tranman64]] ([[User talk:Tranman64|talk]]) 16:39, 13 July 2020 (UTC)
what would be a case with restricted movement? [[User:Tranman64|Tranman64]] ([[User talk:Tranman64|talk]]) 16:39, 13 July 2020 (UTC)
== How to create an action article ==
For example, [[Eaten By Bubba]].
First, search up the action: https://github.com/search?q=repo%3An64decomp%2Fsm64%20eaten%20by%20bubba&type=code
We see from https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/include/sm64.h#L355 that
<code>#define ACT_EATEN_BY_BUBBA            0x00021317 // (0x117 | ACT_FLAG_STATIONARY | ACT_FLAG_INTANGIBLE | ACT_FLAG_INVULNERABLE)</code>
A comment above and the [[Template:Actions]] infobox say that this is a Cutscene action.
So fill out this infobox like so and copy paste it at the top of your new page:
<syntaxhighlight>
{{Action_infobox
|title= Eaten by [[Bubba]]
|image=
|official name=
|hex= 0x00021317
|flags= stationary | intangible | invulnerable
|group= Cutscene
|id= 0x117
|into=
|out of=
|animation=
|related=
}}
</syntaxhighlight>
In this case I've wikilinked Bubba.
And now you can look at the other uses of the action to fill out the "into", "out of", and "animation" parts, as well as describing the function code

Latest revision as of 18:29, 2 June 2023

what would be a case with restricted movement? Tranman64 (talk) 16:39, 13 July 2020 (UTC)

How to create an action article

For example, Eaten By Bubba.

First, search up the action: https://github.com/search?q=repo%3An64decomp%2Fsm64%20eaten%20by%20bubba&type=code

We see from https://github.com/n64decomp/sm64/blob/66018e9f3caaa67399218971d61366cb3f7ba7d7/include/sm64.h#L355 that

#define ACT_EATEN_BY_BUBBA 0x00021317 // (0x117 | ACT_FLAG_STATIONARY | ACT_FLAG_INTANGIBLE | ACT_FLAG_INVULNERABLE)

A comment above and the Template:Actions infobox say that this is a Cutscene action.

So fill out this infobox like so and copy paste it at the top of your new page:

{{Action_infobox
|title= Eaten by [[Bubba]]
|image=
|official name= 
|hex= 0x00021317
|flags= stationary | intangible | invulnerable
|group= Cutscene
|id= 0x117
|into= 
|out of=
|animation=
|related=
}}

In this case I've wikilinked Bubba.

And now you can look at the other uses of the action to fill out the "into", "out of", and "animation" parts, as well as describing the function code