OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dabitup on 19 Jan 2005, 04:32:09

Title: Using addons in support pack
Post by: dabitup on 19 Jan 2005, 04:32:09
hello guys. Please dont get mad at me for starting a thread like this. I have searched, posted in the official thread, pmed Snypir, and even made a thread on another forum! None of which were replied.

so is there a way to use addons on snypir's support map for evac, CVAS, etc.

thanx in advance!  :)
Title: Re:Using addons in support pack
Post by: Mattheus on 19 Jan 2005, 08:32:15
You can do it by editing the init_XXX.sqs in the SNYSptpack file.
I've made it for example for French Army units (in init_extraction.sqs):

Code: [Select]
; INDEX =>                      0               1 2 3       4        5     6  7
;--------------------------------------------------------------------------------------------------------------------
_res_mission_one_puma        =  ["1 x Puma",1,0,[35,40],["OFrP_Puma_Tgun"],false,60,[]]
_res_mission_one_puma_rappel =  ["1 x Puma",1,0,[35,40],["OFrP_Puma_T_trl"],false,60,[getMarkerPos "rappel_point","RAPPEL"]]


Of course, I've modified de local variables (to resistance side, if you want to do this, do forget to harmonize all the local variables in all the scripts). But you have only to replace the standard chopper by your addon ("OFrP_Puma_Tgun"). And it works.

You can also define your own operation name (here "Puma").

I hope I answered to your question.

Title: Re:Using addons in support pack
Post by: macguba on 19 Jan 2005, 12:42:22
We won't get mad because questions like this are EXACTLY what this place is for.   ;)

Oh, and

Welcome to the forum!
Title: Re:Using addons in support pack
Post by: dabitup on 19 Jan 2005, 22:50:51
It doesn't exactly answer it but thankyou both.

and thanks for the warm welcome  :)