Jump to content

[Addon] DYOM Power-Ups


Toriality

Recommended Posts

Toriality
Posted (edited)

 DYOM Power-Ups

c6g0EFN.png

 

This mod introduces exciting new functionalities for various pickups, enhancing car chases and action scenes. The following is a comprehensive list of the available power-ups:

 

Power-Up Pickup Model ID Description
Wheel 1098 Fixes the vehicle
Fuel 1650 Boosts the vehicle speed
Nitro 1484 Gives nitro to the vehicle
Bullet 2061 Starts a bullet-time effect (can only be picked up while inside a vehicle)
BulletChar 1314 Starts a bullet-time effect (can only be picked up while on foot)
Ammo 2041 Gives weapon and ammo to player, also increasing ammo to all other weapons
Beer 1484 Makes the player drunk for a few seconds
Treasure 1276 Shakes the camera when picked up
DriveByAmmo 3016 Same as Ammo but for vehicles. Can enable drive-by
TNT 1252 Explodes a random vehicle nearby
Explosive 1225 Explodes your vehicle

 

(These pickup models can be accessed by using DYOM External Editor)

 

Download

 

> DYOM Power-Ups 0.2 <

Demo Mission

Source code

 

 

Instructions

 

To ensure proper functionality, install the DYOM_PU.cs file into your cleo folder. By default, all power-ups are disabled. To enable them, create a new file called pu.ini in your SD folder (GTA San Andreas User Files/SD/<YOUR_SD_CODE>/).

 

This approach allows for different configurations for each mission without compatibility issues with various versions and missions. The designer should include the DYOM_PU.cs file and the SD folder containing the pu.ini file in the mission archive.

 

Here's a example of pu.ini. Tweak the settings as you wish:

Spoiler

 

; Here you can enable/disable power-ups individually
; Use 1 to enable, or 0 to disable (default)
[POWER_UPS]
useWheel=1
useFuel=1
useBeer=1
usePoison=1
useNitro=1
useBullet=1
useBulletChar=1
useTreasure=1
useAmmo=1
useDriveByAmmo=1
useTNT=1
useExplosive=1

; Below there are all the possible settings for each power-up.

[PU_TNT]
; Explodes a random vehicle nearby
; If forceExplode is set to 0, it will create a explosion in the location of the vehicle
; If its set to 1, it will explode the vehicle no matter what
forceExplode=0

[PU_EXPLOSIVE]
; Explodes your vehicle
; If instakill is set to 0, it will create a explosion in the location of the vehicle
; If its set to 1, it will explode the vehicle no matter what
instakill=0

[PU_WHEEL]
; This regenerates the vehicle's health when picked up
; You can also cure the player and the rest of the crew inside the car
; extraCarHealth: this will fix the car and give it 2500 health. Use 0 to give only 1000 health (default)
; curePlayer: this will cure the player if he's injuried
; curePlayerAmour: this will give armour to the player, but won't cure his health
; cureGang: this will cure everyone inside the car, giving 250 of health
; cureGangExtra: this will cure everyone inside the car, giving 2500 of health
extraCarHealth=1
curePlayer=1
curePlayerArmour=0
cureGang=1
cureGangExtra=0

[PU_AMMO]
; This grants the player more ammo to all his current weapons.
; It also gives the player a defined weapon with a defined amount of ammo, you can customize them
; Check the list of Weapon IDs here: http://hotmist.ddo.jp/id/weapon.html
persistGun=22
persistAmmo=100

[PU_DRIVEBYAMMO]
; Only pickable inside vehicle
; This behaves similar to the Ammo pickup
; You can force the player to start drive-by, even if he's the driver
persistGun=28
persistAmmo=100
forceDriveBy=0

[PU_TREASURE]
; This just shakes the screen with given intensity.
shakeAmount=200

[PU_BULLETCHAR]
; Only pickable on foot
; This enables slowmotion and increases fov by default
; time: amount of time in ms the effect will stay on screen
; fov: field of view
; speed: game speed
; For the "speed" and "fov" properties, you should insert float values (not integers)
time=10000
fov=100.0
time=0.5

[PU_BULLETCHAR]
; Only pickable inside vehicle
; This enables slowmotion and increases fov by default
; time: amount of time in ms the effect will stay on screen
; fov: field of view
; speed: game speed
; For the "speed" and "fov" properties, you should insert float values (not integers)
time=10000
fov=100.0
time=0.5

[PU_BEER]
; Applies a drunk effect on screen with given intensity
; time: amount of time in ms the effect will stay on screen
time=10000
drunkAmount=500

[PU_FUEL]
; Boost the vehicle speed up by multiplying current speed by a given value
; For the "speed" property, you should insert float values (not integers)
speed=3.0

 

 

Edited by Toriality
Link to comment
Share on other sites

BobBobowski

Ok nice

 

Link to comment
Share on other sites

RedBaronFromTheUG
28 minutes ago, Toriality said:

 DYOM Power-Ups

c6g0EFN.png

 

This mod introduces exciting new functionalities for various pickups, enhancing car chases and action scenes. The following is a comprehensive list of the available power-ups:

 

Power-Up         Pickup Model ID Description
Wheel 1098 Fixes the vehicle
Fuel 1650 Boosts the vehicle speed
Nitro 1484 Gives nitro to the vehicle
Bullet 2061 Starts a bullet-time effect (can only be picked up while inside a vehicle)
BulletChar 1314 Starts a bullet-time effect (can only be picked up while on foot)
Ammo 2041 Gives specified weapon and ammo to the player and also increases ammo for all the other weapons
Beer 1484 Makes the player drunk for a few seconds
Treasure 1276 Shakes the camera when picked up

 

(All the models above are available using DYOM#, you can also use External DYOM Editor to manually select the IDs)

 

Download

Download DYOM Power-Ups

Source code

 

 

Instructions

 

To ensure proper functionality, install the DYOM_PU.cs file into your cleo folder. By default, all power-ups are disabled. To enable them, create a new file called pu.ini in your SD folder (GTA San Andreas User Files/SD/<YOUR_SD_CODE>/).

 

This approach allows for different configurations for each mission without compatibility issues with various versions and missions. The designer should include the DYOM_PU.cs file and the SD folder containing the pu.ini file in the mission archive.

 

Here's a example of pu.ini. Tweak the settings as you wish:

  Hide contents

 

; Here you can enable/disable power-ups individually
; Use 1 to enable, or 0 to disable (default)
[POWER_UPS]
useWheel=1
useFuel=1
useBeer=1
usePoison=1
useNitro=1
useBullet=1
useBulletChar=1
useTreasure=1
useAmmo=1

; Below there are all the possible settings for each power-up.

[PU_AMMO]
; This grants the player more ammo to all his current weapons.
; It also gives the player a defined weapon with a defined amount of ammo, you can customize them
; Check the list of Weapon IDs here: http://hotmist.ddo.jp/id/weapon.html
persistGun=22
persistAmmo=100

[PU_TREASURE]
; This just shakes the screen with given intensity.
shakeAmount=200

[PU_BULLETCHAR]
; Only pickable on foot
; This enables slowmotion and increases fov by default
; time: amount of time in ms the effect will stay on screen
; fov: field of view
; speed: game speed
; For the "speed" and "fov" properties, you should insert float values (not integers)
time=10000
fov=100.0
time=0.5

[PU_BULLETCHAR]
; Only pickable inside vehicle
; This enables slowmotion and increases fov by default
; time: amount of time in ms the effect will stay on screen
; fov: field of view
; speed: game speed
; For the "speed" and "fov" properties, you should insert float values (not integers)
time=10000
fov=100.0
time=0.5

[PU_BEER]
; Applies a drunk effect on screen with given intensity
; time: amount of time in ms the effect will stay on screen
time=10000
drunkAmount=500

[PU_FUEL]
; Boost the vehicle speed up by multiplying current speed by a given value
; For the "speed" property, you should insert float values (not integers)
speed=3.0

 

Amazing!! Mission complete, that right there is why you're the best boss. The one and only.

Thank you!

Link to comment
Share on other sites

AsphaltTracker

This some serious Mario Kart sh*t, could make a lot of missions better. Nice work!

Link to comment
Share on other sites

woah toriality on his dwom addon adventure let's gooo

Link to comment
Share on other sites

Toriality
Posted (edited)

Version 0.2 released!

  • Optimized the code
  • New power-up: TNT
  • New power-up: DriveByAmmo
  • New power-up: Explosive
  • New custom settings for Wheel power-up
  • New demo mission to showcase the new features

Read the main thread for more informations

 

Feel free to give feedback, new ideas and bug reports :)

Edited by Toriality
Link to comment
Share on other sites

  • 1 month later...
MrJeppe

Does this work for players without the addon, or do players need to install it to play the mission?

Link to comment
Share on other sites

Toriality
2 hours ago, MrJeppe said:

Does this work for players without the addon, or do players need to install it to play the mission?

Without the addon, the mission is playable but the pickups won't have any effects.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.