[Fall Damage]
Code: Select all
--Disable Fall Damage
CAPI_Player.SetLandingDamageEnabled(player, 0);
--Enable Fall Damage
CAPI_Player.SetLandingDamageEnabled(player, 1);
[Force Credits]
Code: Select all
--Force Credits
PopUpEndOfGame(1);
Code: Select all
--Disable Fall Damage
CAPI_Player.SetLandingDamageEnabled(player, 0);
--Enable Fall Damage
CAPI_Player.SetLandingDamageEnabled(player, 1);
Code: Select all
--Force Credits
PopUpEndOfGame(1);
Are there files missing? Seems like a lot of the lua files they depend on are missing.
I had mentioned this to Sunbeam, and he said he couldn't locate the other files that are referenced.JDimensional wrote: ↑Sun Apr 08, 2018 8:04 amAre there files missing? Seems like a lot of the lua files they depend on are missing.
No worries it seems a lot of lua files are scattered between .dat files and some are still unamed in the unpacker and/or hidden somewhere so I am sure they will come up at some point. Still unpacking .dat files myself.gir489 wrote: ↑Sun Apr 08, 2018 2:09 pmI had mentioned this to Sunbeam, and he said he couldn't locate the other files that are referenced.JDimensional wrote: ↑Sun Apr 08, 2018 8:04 amAre there files missing? Seems like a lot of the lua files they depend on are missing.
Release here as soon as possible dudeJDimensional wrote: ↑Sun Apr 08, 2018 5:06 pmNo worries it seems a lot of lua files are scattered between .dat files and some are still unamed in the unpacker and/or hidden somewhere so I am sure they will come up at some point. Still unpacking .dat files myself.gir489 wrote: ↑Sun Apr 08, 2018 2:09 pmI had mentioned this to Sunbeam, and he said he couldn't locate the other files that are referenced.JDimensional wrote: ↑Sun Apr 08, 2018 8:04 amAre there files missing? Seems like a lot of the lua files they depend on are missing.
*EDIT* Finding a lot of the referenced files in installpkg.dat and common.dat
Added to thread, thanks for sharing.JDimensional wrote: ↑Fri Apr 06, 2018 12:30 pm[Ammo]
Code: Select all
--Give Player set ammo in held weapon CAPI_Player.GiveAmmoToPlayer(player, 999)
[Flashlight]
Code: Select all
--Enable flashlight CAPI_Player.SetFlashlightEnable(player, 1);
Code: Select all
--Disable Flashlight CAPI_Player.SetFlashlightEnable(player, 0);
[Set Player Money]
Change 999999 to amount you want.Code: Select all
CAPI_Player.SetPlayerMoney(player, 999999);
[Fall Damage]
Code: Select all
--Disable Fall Damage CAPI_Player.SetLandingDamageEnabled(player, 0);
Code: Select all
--Enable Fall Damage CAPI_Player.SetLandingDamageEnabled(player, 1);
[Force Credits]
Game breaking, DO NOT DO.Code: Select all
--Force Credits PopUpEndOfGame(1);
[Extinguish Fire]
Code: Select all
--Remove fire from player. CAPI_Pawn.ExtinguishFire(player, 1);
Code: Select all
--Extinguish All Fires ExtinguishAllFires(1);
[Inventory]
*USE WITH CAUTION*More inventory scripts to come as and when I find them.Code: Select all
--Remove All Inventory (This also removes fists etc) CAPI_Pawn.RemoveAllInventory(player, 1);
[Out Of Bounds]
*EDIT* Turns out it does not remove already implemented OOB but is used to remove ones you add yourself.Code: Select all
--Mark a Zone as out of bounds MarkOutOfBounds(1); --Mark a Zone as not out of bounds MarkOutOfBounds(0);
[Oxygen]
Code: Select all
-- Disable Death at 0 Oxygen CAPI_Pawn.SetDieOnOxygenDepletion(player, 0);
Code: Select all
-- Enable Death at 0 Oxygen CAPI_Pawn.SetDieOnOxygenDepletion(player, 1);
*EDIT* Added all my scripts into this one post and put in code tags.[Visuals]
Just visual stuff for the lulz.Code: Select all
--Change size of the moon. SetOverrideMoonSize(1); -- Tiny Moon --Change to whatever size you want to see the difference.
Code: Select all
cboxRes:RegisterBox("Domino/System/CHEAT_SetEnvironmentTimeScale.lua")
Code: Select all
C:\lua_decompiled\domino\user\gyms\gym_sha_dlc_mars_benchmark\mars_benchmark_initilization.mars_gravitybelt.lua (1 hit)
[0] = "cheat_belt 0"
Code: Select all
04/08/2018 03:02 84,079 lib_vietnam_activities.dlcv_brick_aagun_double.debug.lua
04/08/2018 03:02 39,172 lib_vietnam_activities.dlcv_brick_aagun_double.lua
04/08/2018 03:02 63,050 lib_vietnam_activities.dlcv_brick_aagun_single.debug.lua
04/08/2018 03:02 31,190 lib_vietnam_activities.dlcv_brick_aagun_single.lua
04/08/2018 03:02 53,058 lib_vietnam_activities.dlcv_brick_artillerybomb.debug.lua
04/08/2018 03:02 24,979 lib_vietnam_activities.dlcv_brick_artillerybomb.lua
04/08/2018 03:02 200,831 lib_vietnam_activities.dlcv_brick_outpost.debug.lua
04/08/2018 03:02 92,155 lib_vietnam_activities.dlcv_brick_outpost.lua
04/08/2018 03:02 115,606 lib_vietnam_activities.dlcv_brick_outpost_cinematic.debug.lua
04/08/2018 03:02 54,196 lib_vietnam_activities.dlcv_brick_outpost_cinematic.lua
04/08/2018 03:02 29,656 lib_vietnam_activities.dlcv_brick_outpost_success.debug.lua
04/08/2018 03:02 14,701 lib_vietnam_activities.dlcv_brick_outpost_success.lua
04/08/2018 03:02 102,265 lib_vietnam_activities.dlcv_brick_pow_american.debug.lua
04/08/2018 03:02 47,084 lib_vietnam_activities.dlcv_brick_pow_american.lua
04/08/2018 03:02 84,238 lib_vietnam_activities.dlcv_brick_pow_southvietnam.debug.lua
04/08/2018 03:02 38,899 lib_vietnam_activities.dlcv_brick_pow_southvietnam.lua
04/08/2018 03:02 65,615 lib_vietnam_activities.dlcv_brick_warningfailingzone.debug.lua
04/08/2018 03:02 29,708 lib_vietnam_activities.dlcv_brick_warningfailingzone.lua
04/08/2018 03:02 12,930 lib_vietnam_openworld.dlcv_brick_breakablebuildings.debug.lua
04/08/2018 03:02 6,261 lib_vietnam_openworld.dlcv_brick_breakablebuildings.lua
04/08/2018 03:02 59,861 lib_vietnam_openworld.dlcv_brick_hannah.debug.lua
04/08/2018 03:02 28,985 lib_vietnam_openworld.dlcv_brick_hannah.lua
04/08/2018 03:02 108,712 lib_vietnam_openworld.dlcv_brick_mapprogresscheck.debug.lua
04/08/2018 03:02 40,725 lib_vietnam_openworld.dlcv_brick_mapprogresscheck.lua
04/08/2018 03:02 33,531 lib_vietnam_openworld.dlcv_brick_worldzonetrigger.debug.lua
04/08/2018 03:02 16,177 lib_vietnam_openworld.dlcv_brick_worldzonetrigger.lua
Code: Select all
04/08/2018 03:02 121,846 lib_mars_activities.dlcm_brick_antenna_cinematic.debug.lua
04/08/2018 03:02 57,283 lib_mars_activities.dlcm_brick_antenna_cinematic.lua
04/08/2018 03:02 57,976 lib_mars_activities.dlcm_brick_antenna_liberate.debug.lua
04/08/2018 03:02 25,769 lib_mars_activities.dlcm_brick_antenna_liberate.lua
04/08/2018 03:02 36,347 lib_mars_activities.dlcm_brick_interact_with_terminal.debug.lua
04/08/2018 03:02 17,251 lib_mars_activities.dlcm_brick_interact_with_terminal.lua
04/08/2018 03:02 12,883 lib_mars_activities.dlcm_brick_safehouse_postcompletion.debug.lua
04/08/2018 03:02 6,181 lib_mars_activities.dlcm_brick_safehouse_postcompletion.lua
04/08/2018 03:02 120,031 lib_mars_activities.dlcm_brick_safehouse_rebootsequence.debug.lua
04/08/2018 03:02 53,711 lib_mars_activities.dlcm_brick_safehouse_rebootsequence.lua
04/08/2018 03:02 10,655 lib_mars_activities.dlcm_brick_vo_manager.debug.lua
04/08/2018 03:02 5,418 lib_mars_activities.dlcm_brick_vo_manager.lua
04/08/2018 03:02 104,418 lib_mars_brick_nest.brick_nest_destroyeggs_v1.debug.lua
04/08/2018 03:02 49,646 lib_mars_brick_nest.brick_nest_destroyeggs_v1.lua
04/08/2018 03:02 59,553 lib_mars_brick_nest.brick_nest_phase1_enragequeen_v2.debug.lua
04/08/2018 03:02 28,928 lib_mars_brick_nest.brick_nest_phase1_enragequeen_v2.lua
04/08/2018 03:02 193,028 lib_mars_brick_nest.brick_nest_phase2_eliminatequeen_v2.debug.lua
04/08/2018 03:02 88,557 lib_mars_brick_nest.brick_nest_phase2_eliminatequeen_v2.lua
04/08/2018 03:02 34,423 lib_mars_brick_nest.brick_nest_phase3_rebootterminal.debug.lua
04/08/2018 03:02 16,774 lib_mars_brick_nest.brick_nest_phase3_rebootterminal.lua
04/08/2018 03:02 53,662 lib_mars_brick_nest.brick_nest_queenspawningfx.debug.lua
04/08/2018 03:02 25,886 lib_mars_brick_nest.brick_nest_queenspawningfx.lua
04/08/2018 03:02 85,239 lib_mars_brick_nest.dlcm_brick_sh_reboot_v0.debug.lua
04/08/2018 03:02 38,104 lib_mars_brick_nest.dlcm_brick_sh_reboot_v0.lua
04/08/2018 03:02 13,623 lib_mars_common.checkvaluevalidity.debug.lua
04/08/2018 03:02 6,845 lib_mars_common.checkvaluevalidity.lua
04/08/2018 03:02 19,001 lib_mars_common.compareentitymultiple.debug.lua
04/08/2018 03:02 8,598 lib_mars_common.compareentitymultiple.lua
04/08/2018 03:02 212 lib_mars_common.globals.lua
04/08/2018 03:02 102,158 lib_mars_common.gp_arachnidreinforcementspawning_v2.debug.lua
04/08/2018 03:02 46,087 lib_mars_common.gp_arachnidreinforcementspawning_v2.lua
04/08/2018 03:02 56,466 lib_mars_common.gp_autodoor_v1.debug.lua
04/08/2018 03:02 25,897 lib_mars_common.gp_autodoor_v1.lua
04/08/2018 03:02 27,041 lib_mars_common.gp_flashlighttod_v1.debug.lua
04/08/2018 03:02 12,789 lib_mars_common.gp_flashlighttod_v1.lua
04/08/2018 03:02 44,285 lib_mars_common.gp_genericrandomspawner.debug.lua
04/08/2018 03:02 20,231 lib_mars_common.gp_genericrandomspawner.lua
04/08/2018 03:02 52,636 lib_mars_common.gp_gravitybelt_switch_v1.debug.lua
04/08/2018 03:02 21,819 lib_mars_common.gp_gravitybelt_switch_v1.lua
04/08/2018 03:02 16,526 lib_mars_common.gp_playdialog_anne.debug.lua
04/08/2018 03:02 8,245 lib_mars_common.gp_playdialog_anne.lua
04/08/2018 03:02 143,456 lib_mars_common.gp_queenspawning_distance_v1.debug.lua
04/08/2018 03:02 64,316 lib_mars_common.gp_queenspawning_distance_v1.lua
SunBeam wrote: ↑Mon Apr 09, 2018 8:46 pmHere's my feedback from browsing the decompiled .lua files in farcry5.dat:
• considering missions end with a 'completed' message and a slow motion effect, this is why:
• there are Lua files for all 3 upcoming DLCs from which you can learn quite a bunch of stuff:Code: Select all
cboxRes:RegisterBox("Domino/System/CHEAT_SetEnvironmentTimeScale.lua")
- there's going to be a gravity belt in the Lost on Mars DLC:
- the Hours of Darkness DLC takes place in VietnamCode: Select all
C:\lua_decompiled\domino\user\gyms\gym_sha_dlc_mars_benchmark\mars_benchmark_initilization.mars_gravitybelt.lua (1 hit) [0] = "cheat_belt 0"
- the Lost on Mars DLC has various challenges/missions where you're supposed to kill a queen, destroy some eggs, etc.; just check the name of the Lua files in domino\library\spCode: Select all
04/08/2018 03:02 84,079 lib_vietnam_activities.dlcv_brick_aagun_double.debug.lua 04/08/2018 03:02 39,172 lib_vietnam_activities.dlcv_brick_aagun_double.lua 04/08/2018 03:02 63,050 lib_vietnam_activities.dlcv_brick_aagun_single.debug.lua 04/08/2018 03:02 31,190 lib_vietnam_activities.dlcv_brick_aagun_single.lua 04/08/2018 03:02 53,058 lib_vietnam_activities.dlcv_brick_artillerybomb.debug.lua 04/08/2018 03:02 24,979 lib_vietnam_activities.dlcv_brick_artillerybomb.lua 04/08/2018 03:02 200,831 lib_vietnam_activities.dlcv_brick_outpost.debug.lua 04/08/2018 03:02 92,155 lib_vietnam_activities.dlcv_brick_outpost.lua 04/08/2018 03:02 115,606 lib_vietnam_activities.dlcv_brick_outpost_cinematic.debug.lua 04/08/2018 03:02 54,196 lib_vietnam_activities.dlcv_brick_outpost_cinematic.lua 04/08/2018 03:02 29,656 lib_vietnam_activities.dlcv_brick_outpost_success.debug.lua 04/08/2018 03:02 14,701 lib_vietnam_activities.dlcv_brick_outpost_success.lua 04/08/2018 03:02 102,265 lib_vietnam_activities.dlcv_brick_pow_american.debug.lua 04/08/2018 03:02 47,084 lib_vietnam_activities.dlcv_brick_pow_american.lua 04/08/2018 03:02 84,238 lib_vietnam_activities.dlcv_brick_pow_southvietnam.debug.lua 04/08/2018 03:02 38,899 lib_vietnam_activities.dlcv_brick_pow_southvietnam.lua 04/08/2018 03:02 65,615 lib_vietnam_activities.dlcv_brick_warningfailingzone.debug.lua 04/08/2018 03:02 29,708 lib_vietnam_activities.dlcv_brick_warningfailingzone.lua 04/08/2018 03:02 12,930 lib_vietnam_openworld.dlcv_brick_breakablebuildings.debug.lua 04/08/2018 03:02 6,261 lib_vietnam_openworld.dlcv_brick_breakablebuildings.lua 04/08/2018 03:02 59,861 lib_vietnam_openworld.dlcv_brick_hannah.debug.lua 04/08/2018 03:02 28,985 lib_vietnam_openworld.dlcv_brick_hannah.lua 04/08/2018 03:02 108,712 lib_vietnam_openworld.dlcv_brick_mapprogresscheck.debug.lua 04/08/2018 03:02 40,725 lib_vietnam_openworld.dlcv_brick_mapprogresscheck.lua 04/08/2018 03:02 33,531 lib_vietnam_openworld.dlcv_brick_worldzonetrigger.debug.lua 04/08/2018 03:02 16,177 lib_vietnam_openworld.dlcv_brick_worldzonetrigger.lua
Will post more once digging is completeCode: Select all
04/08/2018 03:02 121,846 lib_mars_activities.dlcm_brick_antenna_cinematic.debug.lua 04/08/2018 03:02 57,283 lib_mars_activities.dlcm_brick_antenna_cinematic.lua 04/08/2018 03:02 57,976 lib_mars_activities.dlcm_brick_antenna_liberate.debug.lua 04/08/2018 03:02 25,769 lib_mars_activities.dlcm_brick_antenna_liberate.lua 04/08/2018 03:02 36,347 lib_mars_activities.dlcm_brick_interact_with_terminal.debug.lua 04/08/2018 03:02 17,251 lib_mars_activities.dlcm_brick_interact_with_terminal.lua 04/08/2018 03:02 12,883 lib_mars_activities.dlcm_brick_safehouse_postcompletion.debug.lua 04/08/2018 03:02 6,181 lib_mars_activities.dlcm_brick_safehouse_postcompletion.lua 04/08/2018 03:02 120,031 lib_mars_activities.dlcm_brick_safehouse_rebootsequence.debug.lua 04/08/2018 03:02 53,711 lib_mars_activities.dlcm_brick_safehouse_rebootsequence.lua 04/08/2018 03:02 10,655 lib_mars_activities.dlcm_brick_vo_manager.debug.lua 04/08/2018 03:02 5,418 lib_mars_activities.dlcm_brick_vo_manager.lua 04/08/2018 03:02 104,418 lib_mars_brick_nest.brick_nest_destroyeggs_v1.debug.lua 04/08/2018 03:02 49,646 lib_mars_brick_nest.brick_nest_destroyeggs_v1.lua 04/08/2018 03:02 59,553 lib_mars_brick_nest.brick_nest_phase1_enragequeen_v2.debug.lua 04/08/2018 03:02 28,928 lib_mars_brick_nest.brick_nest_phase1_enragequeen_v2.lua 04/08/2018 03:02 193,028 lib_mars_brick_nest.brick_nest_phase2_eliminatequeen_v2.debug.lua 04/08/2018 03:02 88,557 lib_mars_brick_nest.brick_nest_phase2_eliminatequeen_v2.lua 04/08/2018 03:02 34,423 lib_mars_brick_nest.brick_nest_phase3_rebootterminal.debug.lua 04/08/2018 03:02 16,774 lib_mars_brick_nest.brick_nest_phase3_rebootterminal.lua 04/08/2018 03:02 53,662 lib_mars_brick_nest.brick_nest_queenspawningfx.debug.lua 04/08/2018 03:02 25,886 lib_mars_brick_nest.brick_nest_queenspawningfx.lua 04/08/2018 03:02 85,239 lib_mars_brick_nest.dlcm_brick_sh_reboot_v0.debug.lua 04/08/2018 03:02 38,104 lib_mars_brick_nest.dlcm_brick_sh_reboot_v0.lua 04/08/2018 03:02 13,623 lib_mars_common.checkvaluevalidity.debug.lua 04/08/2018 03:02 6,845 lib_mars_common.checkvaluevalidity.lua 04/08/2018 03:02 19,001 lib_mars_common.compareentitymultiple.debug.lua 04/08/2018 03:02 8,598 lib_mars_common.compareentitymultiple.lua 04/08/2018 03:02 212 lib_mars_common.globals.lua 04/08/2018 03:02 102,158 lib_mars_common.gp_arachnidreinforcementspawning_v2.debug.lua 04/08/2018 03:02 46,087 lib_mars_common.gp_arachnidreinforcementspawning_v2.lua 04/08/2018 03:02 56,466 lib_mars_common.gp_autodoor_v1.debug.lua 04/08/2018 03:02 25,897 lib_mars_common.gp_autodoor_v1.lua 04/08/2018 03:02 27,041 lib_mars_common.gp_flashlighttod_v1.debug.lua 04/08/2018 03:02 12,789 lib_mars_common.gp_flashlighttod_v1.lua 04/08/2018 03:02 44,285 lib_mars_common.gp_genericrandomspawner.debug.lua 04/08/2018 03:02 20,231 lib_mars_common.gp_genericrandomspawner.lua 04/08/2018 03:02 52,636 lib_mars_common.gp_gravitybelt_switch_v1.debug.lua 04/08/2018 03:02 21,819 lib_mars_common.gp_gravitybelt_switch_v1.lua 04/08/2018 03:02 16,526 lib_mars_common.gp_playdialog_anne.debug.lua 04/08/2018 03:02 8,245 lib_mars_common.gp_playdialog_anne.lua 04/08/2018 03:02 143,456 lib_mars_common.gp_queenspawning_distance_v1.debug.lua 04/08/2018 03:02 64,316 lib_mars_common.gp_queenspawning_distance_v1.lua
BR,
Sun
Users browsing this forum: admantx, AmazonBot