Jump to content

UnrealOni/Documentation: Difference between revisions

Dev console, Variables (notes)
m (Cheat code (notes), Carousel)
(Dev console, Variables (notes))
Line 91: Line 91:


If we really wanted to we could add a timeline node for a smooth transition.
If we really wanted to we could add a timeline node for a smooth transition.
Also, fast mode could probably be bundled with this function.




Line 96: Line 98:
[[Image:UnrealOni_cheat_codes_minime_behemoth_godzilla.png|right|thumb|Behemoth function with scaling parameter (recycled for other ''character scalings'')]]
[[Image:UnrealOni_cheat_codes_minime_behemoth_godzilla.png|right|thumb|Behemoth function with scaling parameter (recycled for other ''character scalings'')]]


This is basically one function with two free parameter, one for the scaling and one for the cheat name.
This is basically one function with two free parameters, one for the scaling and one for the cheat name.


The central property in this code is the '''Actor Scale 3D''' which we will set the scaling as following:
The central property in this code is the '''Actor Scale 3D''' for which we will set the scaling as following:
* minime (0.5)
* minime (0.5)
* behemoth (2)
* behemoth (2)
Line 110: Line 112:


The second parameter for the cheat name is purely decorative, it is only for the status message.
The second parameter for the cheat name is purely decorative, it is only for the status message.
Also, fast mode could probably be bundled with this function.




Line 120: Line 120:


That feature is very important for the "marypoppins" cheat.
That feature is very important for the "marypoppins" cheat.
==Debugging==
===Live scripting===
In Oni you can do some scripting with the developer console.
We probably should also allow for some manipulations of variables like '''''ai2_chump = 1'''''.
This requires a user widget and a key binding which will be ^ by default.
The = sign serves as separator. A select node can then link to the individual variables.
8,018

edits