Danikov

This is one of my very first functional scripts,and thought this one could be a nice thing to share with you all while I am learning how to script.

This script enhances the explosions of cars,in terms of making them launch higher to the air than they originally do.

The values of the forces that 'launch' the car are in a specific range,meaning that each car explosion is different.

I really want to thank ThirteenAG for teaching and helping me with scripting,Manfred Von Karma for introducing me DK_'s new opcodes and showing me how to make use of them,methodunderg for his configuration suggestion,aStiffSausagewho helped me to get this script configurable,and of course,_DK for his new opcodes which made this script possible.

It is highly advisable to use Funtion-X's OverDose Effects v1.5 while using this script!

Requires : DK_'s new opcodes,included in the file in the download link above.

How to install : Just move the two files into your CLEO folder and you're good to go.

Issues :

-Destroyed cars that are not in the current frame are supposedly on all their wheels,which is one of the conditions in the script and yet the destroyed car is affected by the script when its on the current frame again,will try to fix.

As for screenshots :

Please report about any other issues that you find while using this script and/or if you have anything to suggest for this script,please do .

TJGM

-Slightly reduced Z-axis force values since it sometimes made the car go a little too high up in the air.

Awww.. I loved sending cars flying.. I took this screenshot recently of CJ shooting a cop car with a double barrel twice and it went sky high! Perhaps you could do two versions? One that is extremely overdone and one that is more realistic? Just a thought.

DK22Pac

The reason why "_" is presented in my nickname is that any nick-name must include 3 characters as minimum.
So you don't need to write it if you want to address @ me, especially when you don't know where to put it.

Danikov

I don't even think in overdose'd hollywood movies they even go that high .. make it configurable from ini

In the movie "Green Hornet" there was a scene where a dozer has been blown up away from a missile blast underneath it

Anyways,I thought about making the values configurable from the start,yet I don't know how to make use of the opcode that creates an .ini and the opcode which reads the values in the .ini ,I will look into this furtherly.

Danikov

Thanks for the fix script, works perfectly with the script missile.cs on Cleo 4 (v4.1.1.30f)

ow,wow,nice caps.

Again,even after the fix that car in the 2nd screenshot went up too high into the air,I guess I'll have to reduce the height again,and also,as suggested here,will try to add an .ini file that will allow you to modify the force values.

Right now trying to understand how an .ini can be added and used,also going to add an additional particle that will show up once the car blows up,only if I manage to get it the way I want.

-Added a configuration file( ECE.ini ) which allows you to edit the different force values that are used in the script in the way you want. -Thanks alot to aStiffSausage for showing me how to do so and methondunderg for the suggestion!

aStiffSausage

I noticed one "flaw" in your script. To randomize the forces for individual cars instead of having only once randomly selected forces, I'd recommend inserting all your opcodes 0208 before opcode 07D5. That way, every car won't have same amount of force applied to them.

Danikov

I noticed one "flaw" in your script. To randomize the forces for individual cars instead of having only once randomly selected forces, I'd recommend inserting all your opcodes 0208 before opcode 07D5. That way, every car won't have same amount of force applied to them.

Yep,that's definetely something I noticed,though I didn't know how to change,I asked ThirteenAG about this just about 20-30 minutes ago,yet I haven't done what he asked me to do,since I am unable to use the computer now,and now you come up with this solution.
Thanks,I'll see if it works.

Danikov

After noticing that there's something wrong with the float values randomization and also was informed about it,it appears to be that I have made an inappropriate use of Opcode 0208 which does the randomizing,and now it should randomize properly different float values to each car that is affected by the script.

Thanks again to aStiffSausage for his contribution and help .

v1.2-R2 Changelog

-Usage of the Randomization opcode has been changed in the script so now it should randomize different float values for each and every car that is affected by the script.

Danikov

So,thanks to James,I finally got reminded of uploading the fixed version of this,sorry for making you all wait for a fixed version for of this. I was distracted with other stuff and also couldn't realize what to change in order to make it functional again until not long ago. I'd like to give a big thanks to Silent fixing its functionality,without his help,I guess it would've been kept this way,as I really had no idea what was the problem.

On top of that,he made the script execute only once for each car,that means that there will be no "bouncing" car wrecks.

I do not know whether I might work on this further with some brand new features at the moment,but one thing for sure,I am willing to add more in the future.