Skip to content

m0b-x/SA-MixSets

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SA MixSets v4.3.8 Release

As you may know, GTA: San Andreas has a default 2D gunflash system. This mod replaces the 2D object with a 3D effect and adds drive-by(shooting while in a vehicle) support.

This release includes improvements and fixes for the gunflash system, in addition to the features found in the regular MixSets version. The latest update adds option to configure internal variables like offsets, time multipliers and surfing speed detection.

All offset and multipliers can be changed seamlessly by reloading Mixsets (i.e.: typing sets in game)

The currently changed game features are:

  • Muzzle flashes when onfoot
  • Muzzle flashes when drive-by shooting as a driver
  • Muzzle flashes when drive-by shooting as a passenger

Before: 2D Gunflashes

sa-mp-037

After: 3D Gunflash Particle Effects

sa-mp-030

Features Examples - Videos

Introduction Video - long

Changing Weapon Moving Offsets - short

Changing Weapon Particle - short

Changing Weapon Particle Speed Multiplier - short

For SA-MP Users

Also, the version has been adapted to SA-MP. There is no need to reload Mixsets for the gunflashes to appear.

Warning:

Always backup your files before replacing anything! For this case, make a zip out of your Mixsets.asi and Mixsets.ini.

Installation Instructions:

  1. If you are using IMFX, open imfx.dat, then set ENABLE_GUNFLASHES to NO.

  2. Replace your existing Mixsets.asi with the one provided in this release.

  3. In your Mixsets.ini file, navigate to the section titled # Special effects.. Set No3DGunflash and Fix2DGunflash options to 1.

  4. In the same Mixsets.ini, navigate to the section titled # Special effects. and go to it's last variable (DisplayDialogAnyAR).

  5. Add the one of the following settings below the mentioned section:

60 fps/Unlocked Configuration

#m0b's gunflashes system
ExperimentalGunFlash = 1		# (0|1) Adds m0b's gunflash fixes, to be used along with No3DGunflash Fix2DGunflash
#Additional Effects
GunflashLowerLight 	 = 1 		# (0|1) Adds light and shadow effects under the muzzle flash (Credits go to DK22Pac's GTA IV Lights)
#Offsets for m0b's gunflashes system
OnFootOffset 		 = 2.15		# (2.0) Moving offset distance multiplier for firing weapon while on foot (needs ExperimentalGunFlash = 1)
CarDriverOffset		 = 2.0		# (2.0) Moving offset distance multiplier for firing weapon while driving a car (needs ExperimentalGunFlash = 1)
CarPassengerOffset	 = 1.15		# (1.15 Moving offset distance multiplier for firing weapon while being in a car passenger seat (needs ExperimentalGunFlash = 1)
BikeDriverOffset	 = 2.0		# (2.0) Moving offset distance multiplier for firing weapon while driving a bike  (needs ExperimentalGunFlash = 1)		
BikePassengerOfffset = 1.15		# (1.15) Moving offset distance multiplier for firing weapon while being in a bike passenger seat  (needs ExperimentalGunFlash = 1)
#Time multipliers for m0b's gunflashes system
InVehicleTimeMult	 = 1.35     # (1.35) Speed multiplier for gunflash particle when shooting from a vehicle (the higher, the less the particle will last)
DualWeildingTimeMult = 1.35     # (1.25) Speed multiplier for gunflash particle when moving while shooting with dual weilding weapons (the higher, the less the particle will last)
SingleWeaponTimeMult = 1.15     # (1.15) Speed multiplier for gunflash particle when moving while shooting with a single weapon that can be dual weilded(the higher, the less the particle will last)
SurfingSpeed 		 = 0.1      # (0.1) Surfing speed detection (sitting on a moving vehicle), when surfing, the mod will not draw the gunflash partticle

[IMFX_Gunflashes]
22 = gunflash 1 1 # (gunflash 1 1) particle for firing a pistol, then rotation and smoke
23 = gunflash 1 1 # (gunflash 1 1) particle for firing a silenced pistol, then rotation and smoke
24 = gunflash 1 1 # (gunflash 1 1) particle for firing a desert eagle, then rotation and smoke
25 = gunflash 1 1 # (gunflash 1 1) particle for firing a shotgun, then rotation and smoke
26 = gunflash 1 1 # (gunflash 1 1) particle for firing a sawn-off shotgun, then rotation and smoke
27 = gunflash 1 1 # (gunflash 1 1) particle for firing a spas-12, then rotation and smoke
28 = gunflash 1 1 # (gunflash 1 1) particle for firing a micro-uzi, then rotation and smoke
29 = gunflash 1 1 # (gunflash 1 1) particle for firing a mp5, then rotation and smoke
30 = gunflash 1 1 # (gunflash 1 1) particle for firing a ak47, then rotation and smoke
31 = gunflash 1 1 # (gunflash 1 1) particle for firing a m4 , then rotation and smoke
32 = gunflash 1 1 # (gunflash 1 1) particle for firing a tec9, then rotation and smoke
33 = gunflash 1 1 # (gunflash 1 1) particle for firing a country rifle, then rotation and smoke
34 = gunflash 1 1 # (gunflash 1 1) particle for firing a sniper rifle, then rotation and smoke
38 = gunflash 1 1 # (gunflash 1 1) particle for firing a minigun, then rotation and smoke

30 fps Configuration

#m0b's gunflashes system
ExperimentalGunFlash = 1		# (0|1) Adds m0b's gunflash fixes, to be used along with No3DGunflash Fix2DGunflash
#Additional Effects
GunflashLowerLight 	 = 1 		# (0|1) Adds light and shadow effects under the muzzle flash (Credits go to DK22Pac's GTA IV Lights)
#Offsets for m0b's gunflashes system
OnFootOffset 		 = 1.0		# (1.0) Moving offset distance multiplier for firing weapon while on foot (needs ExperimentalGunFlash = 1)
CarDriverOffset		 = 1.0		# (1.0) Moving offset distance multiplier for firing weapon while driving a car (needs ExperimentalGunFlash = 1)
CarPassengerOffset	 = 1.0		# (1.0) Moving offset distance multiplier for firing weapon while being in a car passenger seat (needs ExperimentalGunFlash = 1)
BikeDriverOffset	 = 1.0		# (1.0) Moving offset distance multiplier for firing weapon while driving a bike  (needs ExperimentalGunFlash = 1)		
BikePassengerOfffset = 1.0		# (1.0) Moving offset distance multiplier for firing weapon while being in a bike passenger seat  (needs ExperimentalGunFlash = 1)
#Time multipliers for m0b's gunflashes system
InVehicleTimeMult	 = 1.0     # (1.0) Speed multiplier for gunflash particle when shooting from a vehicle (the higher, the less the particle will last)
DualWeildingTimeMult = 1.0     # (1.0) Speed multiplier for gunflash particle when moving while shooting with dual weilding weapons (the higher, the less the particle will last)
SingleWeaponTimeMult = 1.0     # (1.0) Speed multiplier for gunflash particle when moving while shooting with a single weapon that can be dual weilded(the higher, the less the particle will last)
SurfingSpeed 		 = 0.3     # (0.1) Surfing speed detection (sitting on a moving vehicle), when surfing, the mod will not draw the gunflash partticle
#Additional Offset Fixes
MopedDriverOffsetFix = 2.5		# (2.5) Moving offset fix for mopeds while shooting left

[IMFX_Gunflashes]
22 = gunflash 1 1 # (gunflash 1 1) particle for firing a pistol, then rotation and smoke
23 = gunflash 1 1 # (gunflash 1 1) particle for firing a silenced pistol, then rotation and smoke
24 = gunflash 1 1 # (gunflash 1 1) particle for firing a desert eagle, then rotation and smoke
25 = gunflash 1 1 # (gunflash 1 1) particle for firing a shotgun, then rotation and smoke
26 = gunflash 1 1 # (gunflash 1 1) particle for firing a sawn-off shotgun, then rotation and smoke
27 = gunflash 1 1 # (gunflash 1 1) particle for firing a spas-12, then rotation and smoke
28 = gunflash 1 1 # (gunflash 1 1) particle for firing a micro-uzi, then rotation and smoke
29 = gunflash 1 1 # (gunflash 1 1) particle for firing a mp5, then rotation and smoke
30 = gunflash 1 1 # (gunflash 1 1) particle for firing a ak47, then rotation and smoke
31 = gunflash 1 1 # (gunflash 1 1) particle for firing a m4 , then rotation and smoke
32 = gunflash 1 1 # (gunflash 1 1) particle for firing a tec9, then rotation and smoke
33 = gunflash 1 1 # (gunflash 1 1) particle for firing a country rifle, then rotation and smoke
34 = gunflash 1 1 # (gunflash 1 1) particle for firing a sniper rifle, then rotation and smoke
38 = gunflash 1 1 # (gunflash 1 1) particle for firing a minigun, then rotation and smoke

After the addition, your Mixsets.ini should look like this:

image