Renegade Creativity!
Welcome to Renegadeskins! You'll need to login in order to use all the features, like downloads, and view all the sections of this site.
[SSGM 4.0 Plugin] Custom Flip Kill Joinus10

Registration is free and will only take a few seconds of your time.
Features of a registered account:
-Your allowed to post and comment Skins.
-No Ads.
And much more
Renegade Creativity!
Welcome to Renegadeskins! You'll need to login in order to use all the features, like downloads, and view all the sections of this site.
[SSGM 4.0 Plugin] Custom Flip Kill Joinus10

Registration is free and will only take a few seconds of your time.
Features of a registered account:
-Your allowed to post and comment Skins.
-No Ads.
And much more
Renegade Creativity!
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Renegade Creativity!

Forum Statistics: 2766 Threads | 19061 Posts | 1536 Users | Welcome to our newest member https://renegadeskins.forumieren.de/u1562
 
HomeSearchLatest imagesRegisterStaffLog in
We're attempting to expand to support more games, please post skinable games suggestions and tell your friends!

Share | 
 

 [SSGM 4.0 Plugin] Custom Flip Kill

View previous topic View next topic Go down 
AuthorMessage
marcin205  
  
marcin205
   Active Member


Number of posts : 986

Age : 40

Reputation : 38

Registration date : 2008-11-11


[SSGM 4.0 Plugin] Custom Flip Kill _
PostSubject: [SSGM 4.0 Plugin] Custom Flip Kill   [SSGM 4.0 Plugin] Custom Flip Kill EmptyMon Jun 11, 2012 12:13 pm

Quote :
This plugin contains my implementation of vehicle flip killing, my code checks if the absolute value of the Y rotation of a vehicle (in radians) is more than 1.3 and will then attach a script to destroy the vehicle after a few seconds if the vehicle doesn't "unflip" itself. I've included the following features:

-You can have a list of presets that should not be killed when they flip over
-You can have a list of presets that will be flipped back up ("unflipped") when they flip
-You can configure the multiple intervals used between the flip kill checkings.

You can contact me under the nick "iRANian" on renforums.com

To install, open or create the file "tt.ini" in the FDS' Data folder and add "[General]" and on a new line add "DisableVehicleFlipKill=true" if they don't exist. Then open up SSGM.ini in the main FDS folder and add an entry for 'CustomFlipKill.dll' under the [Plugins] section of the file, then at the bottom of the file add:

[CustomFlipKill]
CheckInterval = 3 ; Interval to wait before checking if all vehicles are flipped again
ScriptCheckingInterval = 1.f ; If a vehicle is detected to be flipped a script gets attached that checks every interval
ChecksCount = 4 ; When the script reaches this amount of checks done it'll destroy the vehicle if it's still flipped

[CustomFlipKill_DontFlipKillPresets]
; You can configure a list of vehicles to not flip kill here, e.g. if you don't want flying vehicles to flip kill
;01= CnC_GDI_Orca
;02 = Cnc_Nod_Apache
;03 = CnC_GDI_Transport
;04 = CnC_Nod_Transport

[CustomFlipKill_RotateUpwardsPresets]
; The presets listed here won't be killed when they're flipped, instead they will be rotated back upwards

;01=CnC_Nod_Buggy
;02=CnC_Nod_Light_Tank
;03=CnC_GDI_Mammoth_Tank

Creator:Iranian

===Download===
Back to top Go down
 

[SSGM 4.0 Plugin] Custom Flip Kill

View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Renegade Creativity! :: Video Game Skins :: Renegade Skins :: -Other Downloads- :: ServerSide Plugins :: Plugins SSGM :: Plugins SSGM 4.0-
Jump to: