ChaosIV is a Chaos mod for Grand Theft Auto IV inspired by similar mods for GTA V and GTA:SA. The mod has been tested to work with 1.0.4.0 and 1.0.7.0, though it may likely also work with 1.0.8.0 and the Complete Edition.
A list of implemented effects can be found here: https://docs.google.com/spreadsheets/d/16mKSpQb9KH387viPWK97ejFQ6xchB1lvvpeXNYW66rI/edit?usp=sharing
- Infinite loop of connects/disconnects. It happen mostly than you have opened multiple tabs with dashboard and/or popout chat. So to avoid this open only one instance of dashboard/chat.
- Sometimes FFZ return error
Unable to create poll
(dunno why). So script waiting some time before next try creating poll. For that purpose used additional cooldown round. So it's not recommended to use lowffzPollCooldown
values.
- Install
ASI loader
(dinput8.dll) and.NET ScriptHook
(for Steam game version v1.7.1.7b worked for me). - For
Complete Edition
, install the Compatibility Patch: https://www.lcpdfr.com/downloads/gta4mods/g17media/26726-compatibility-patch-for-gta-iv-complete-edition/ - Install ChaosIVTwitchPollProxy.
- Unzip the ChaosIV-v.x.x.zip file into your GTA IV installation folder.
- Adjust settings in
ChaosIV.ini
. - Install FrankerFaceZ Chrome extension.
- Install FFZ
poll-shim
plugin:
Please note that you must be a Partner/Affiliate to use Twitch polls.
- Open Twitch dashboard.
- Fill out FFZ poll-shim settings:
- Make sure poll-shim is active:
- Start and load the game.
- Open ingame console (
~
). It shows loaded scripts: - Wait for FFZ connection. First cycle after connection and authentication is cooldown round.
- Play. Use
reloadscripts
console command to fix disconnects loop.
• If you have problems like you can't open FFZ in dashboard (no ffz icon) or poll-shim
is not active on dashboard then try using the following URL:
https://www.twitch.tv/popout/YOURUSERNAME/chat?ffz-settings=add_ons.poll_shim
(replace YOURUSERNAME with your own username).
Also you can add the Twitch Poll overlay which allow you to display the currently active Poll on your channel onto your stream.
Here CSS make widget visually similar with ChaosIV (in source settings width
: 360px
):
:root, #root {
--color-background-body: transparent;
--border-radius-large: 0em;
--color-background-overlay: transparent;
--progress-background-color: transparent;
--progress-winner-color: rgb(0 160 0 / 0.6);
--progress-votes-color: rgb(255 255 0 / 0.5);
}
#root p.tw-c-text-overlay-alt {
display: none !important;
}
#root p.tw-c-text-overlay.tw-font-size-4.tw-line-height-heading.tw-strong.tw-word-break-word {
display: none !important;
}
#root .tw-pd-b-05.tw-pd-t-05 {
padding-bottom: 0.1rem !important;
padding-top: 0.1rem !important;
}
#root .choice-progress.container.tw-border-radius-large.tw-overflow-hidden {
height: 3.2rem;
text-shadow: 1px 1px 1px black,
-1px 1px 1px black,
1px -1px 1px black,
-1px -1px 1px black;
}
#root .tw-pd-2 {
padding: 0rem !important;
}
#root .tw-pd-1 {
padding: 0rem !important;
}
#root p.tw-font-size-5.tw-line-height-heading.tw-semibold.tw-title.tw-title--inherit {
font-weight: 600 !important;
font-size: 15px !important;
}
#root .choice-progress__fill.choice-progress__fill--default.container__progress.tw-block {
background: var(--progress-votes-color);
}
#root .tw-progress-bar {
display: none !important;
}
/* votes values */
#root .tw-mg-r-1 {
/*margin-right: 0rem!important;*/
white-space: nowrap;
margin-left: 0.5rem!important;
display: none; /* remove this line to show user votes */
}
#root .tw-mg-l-1 {
margin-left: 0.5rem!important;
}
#root .tw-root--theme-dark .choice-progress,
#root .choice-progress__fill.container__progress--background.tw-block
{
background: var(--progress-background-color) !important;
}
#root .choice-progress__fill.choice-progress__fill--winner.container__progress.tw-block {
background: var(--progress-winner-color) !important;
}
Make sure you have your ASI loader
and .NET ScriptHook
installed, and then clone the repo into the for Developers
folder within the scripts
folder.
When you build the mod (or it crashes), you don't need to restart the game. Open the console (~
button) and type reloadscripts
. It reloads and start scripts from the disk.
Type abortscripts
to stop scripts.