[V] IdolNinja
Volition Staff
There are a few new things in the latest patch that aren't in the patch notes:
Modded files will now load from a ..\mods subfolder, if present. This is now the preferred method of installation since a player can keep all mods self-contained here so they don't interfere with the vanilla game files in the root.
..\mods\tables also works for animation tables just like the old method of ..\tables off the root.
WARNING! Files in the root will still take load precedence! Make sure to warn users to delete all mods from the root so that they won't inadvertently overwrite the files in memory that are loading from ..\mods!
--
The following lua functions are exposed for modders to use:
Change player height
player_change_default_size([player], [size], x)
Example to slightly increase the height for the host player.
player_change_default_size(LOCAL_PLAYER, 1.1, false)
Example to slightly decrease the height for the client player.
player_change_default_size(REMOTE_PLAYER, 0.9, false)
NOTE: 1.0 is default normal height:
--
Slew mode (free camera controlled by either mouse and wasd or the analog sticks on a controller)
slew_mode([bool])
Example to turn on slew:
slew_mode(true)
--
NOTE: Not working correctly yet, but feel free to experiment!
Start a mission
mission_start([name, x]
Example to start the first intro mission.
mission_start("m00", true)
See the following thread for mission naming/numbering:
http://www.saintsrowmods.com/forum/threads/mission-names-and-numbering.3223/
NOTE: Some missions work with some saves, and some don't. We're looking into why.
--
NOTE: Not working correctly yet, but feel free to experiment!
NPC Morph for the player
player_change_preset([player], [npc])
Example to morph the host player into Professor Genki:
player_change_preset(LOCAL_PLAYER, "GenkiGood")
The following table entries are the list of characters you can use with this function:
misc_tables.vpp_pc\character.xtbl
NOTE: Currently using this with Sandbox+ crashes the game. In an early test debug build, I had a similar issue where I had to enable slew mode first, do the morph, then deactivate slew mode. That method doesn't seem to be currently working though. I have only tried it with a couple of npcs though, so feel free to try some out.
--
* Any parameters denoted by "x" are something I need to confirm with Mark Allender and Mike Wilson. This Thread will be updated once I know what the bools are for. We are also working to fix the last 2 new functions, and that will likely happen. Also, new build of Sandbox+ is coming shortly with these features.
* Slew mode is pretty basic, but an actual machinma mode function is also planned for exposure that will allow a player to control the camera with one 360 controller, and the player movement with the other. It also will let you "tag" a moving object (npc, car, etc) and have the camera automatically follow it.
Modded files will now load from a ..\mods subfolder, if present. This is now the preferred method of installation since a player can keep all mods self-contained here so they don't interfere with the vanilla game files in the root.
..\mods\tables also works for animation tables just like the old method of ..\tables off the root.
WARNING! Files in the root will still take load precedence! Make sure to warn users to delete all mods from the root so that they won't inadvertently overwrite the files in memory that are loading from ..\mods!
--
The following lua functions are exposed for modders to use:
Change player height
player_change_default_size([player], [size], x)
Example to slightly increase the height for the host player.
player_change_default_size(LOCAL_PLAYER, 1.1, false)
Example to slightly decrease the height for the client player.
player_change_default_size(REMOTE_PLAYER, 0.9, false)
NOTE: 1.0 is default normal height:
--
Slew mode (free camera controlled by either mouse and wasd or the analog sticks on a controller)
slew_mode([bool])
Example to turn on slew:
slew_mode(true)
--
NOTE: Not working correctly yet, but feel free to experiment!
Start a mission
mission_start([name, x]
Example to start the first intro mission.
mission_start("m00", true)
See the following thread for mission naming/numbering:
http://www.saintsrowmods.com/forum/threads/mission-names-and-numbering.3223/
NOTE: Some missions work with some saves, and some don't. We're looking into why.
--
NOTE: Not working correctly yet, but feel free to experiment!
NPC Morph for the player
player_change_preset([player], [npc])
Example to morph the host player into Professor Genki:
player_change_preset(LOCAL_PLAYER, "GenkiGood")
The following table entries are the list of characters you can use with this function:
misc_tables.vpp_pc\character.xtbl
NOTE: Currently using this with Sandbox+ crashes the game. In an early test debug build, I had a similar issue where I had to enable slew mode first, do the morph, then deactivate slew mode. That method doesn't seem to be currently working though. I have only tried it with a couple of npcs though, so feel free to try some out.
--
* Any parameters denoted by "x" are something I need to confirm with Mark Allender and Mike Wilson. This Thread will be updated once I know what the bools are for. We are also working to fix the last 2 new functions, and that will likely happen. Also, new build of Sandbox+ is coming shortly with these features.
* Slew mode is pretty basic, but an actual machinma mode function is also planned for exposure that will allow a player to control the camera with one 360 controller, and the player movement with the other. It also will let you "tag" a moving object (npc, car, etc) and have the camera automatically follow it.
Last edited: