I'll gladly include those in my mod, so if you're interested, let's put some more details here, it may be usefull for the community:
I want all grenades to be Timefused:
-What Eventhandler line should I use for my units ?
I have my own 'nades P3D models, with their CPP, pic's & so on, working:
-Should I replace them ?
-Should I edit them to put my stuff in it ?
-I could put them inherited between class OFPGrenades and class MyModGrenades: will that works ?
-How much do I actually NEED your CPP-ammo definitions and Weapons definitions since I could replace it with my definitions, hence getting rid of standard ofp grenades ?
-So can I add your scripts to my grenades ?
-Wich way do you actually recommand ?
You got "KTE_Grenades" and "KTE_GrenadeLive" defined:
-Is it one that is visibly thrown, and the latter that actually explodes ?
I don't understand these lines. Could you detail them a bit for me ?
from the grenadeFuse script:
; Get the grenade we tamper with
_nade = nearestObject [_unit,_ammo]
; Pass the live-version of _ammo into _live
_live = format["%1live",_ammo]
Please say something. All credits will be given, Tags will remain, but with huge modifications inside as I
need to use my models: they are drastically different from the original ones.
Cheers - Nice work by the way - I've always wanted to be able to try to run when one pineapple is coming... Thrills thrills thrills.
Subsidiary question: Everybody will be using TF grenades inside the mod, hopefully if I achieve to implement them, so I'd like the AI to try to run and escape when used against them... Any Scripting Idea ?
Peacepunk Tanx & Bye.