OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: tate on 12 Jun 2005, 01:52:32
-
can someoe tell e how to change the acuracy of the kozliceshell but not the kozliceball
-
you cant do it with normal scripting, you can only do it by decompiling the config.bin file and changing it that way.
but... by doing this you will be kicked/banned from online servers as it will be a cheat!
-
Yes you can do it with scripting, quite easily...
What you need is to use the fired eventHandler to 'catch' the fired kozliceshell and execute a script that then changes the 'catched' bullets velocity making it more inaccurate...
There's a base for this kind of script laying somewhere in the scripting ideas or scripting beta testing boards... (very very old post)
-
could you put up the script if you have it
-
yes it is very possible with scripting theres one in the editors depot wich does it with law's and rpg's so i supose its possible to modify to fit your needs plus you could do it with other weapons to make the game have longer fire fights ill have a go for you and me becuase its given me a good idea.
anyway would i need to authors permission ?
-
I have one, but it's for a mod I work for and it really doesn't fit your specific needs..
456820 is right, I remember seeing that script somewheres...
But, for bullets you would need to go a bit more different way than with RPGs and such due to the 'slight' muzzle velocity differences...
Also, the KozliceShell is not a single bullet but it infact fires 7 bullet 'burst' to simulate (badly) a shotgun...
So you would need to find a way to 'catch' all those 7 bullets and change their velocities individually...
-
what about H.D.
also would it help if i told you i have EU version, so its in the ADDONS file ?
-
heym just an idea, i wanna turn the accuracy of the static mg (m2) really bad so i dont get raped by it from thousands of metres away
Guy
-
ThEoNeAnDoNlY nice idea but already done in the editors depot search d day style m2 machine guns or something like that it basically does what you want