OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: remo on 18 Feb 2004, 09:56:44
-
Hi,
I am presently trying to convert the great sp/mp support pack to make it compatible with OFrP (http://ofrp.free.fr/en/index.php) (I'm not a member of the team) I succeed into remplacing US unit by OFrP one, but as long as OFrP put their french units on the resistance side, I don't manage to call support from them despite the fact it works perfectly by calling it with a US soldier with the OFrP radio, I have a "no support avaible" when calling support with resistance-sided OFrP unit. If someone or eve snypir would give some hint to make it possible I would be grateful
Best regards
Remo
-
Could you post a link to your mission ?
I think i can help you but from your describtion i am not able to find your Problem.
Greatings
Kuro
-
As already mentioned, you did not provide enough info to solve your problem here and now but I do know for a fact that it is possible to use the Support Pack for the resistance units. I have made a template of sorts for BAS Tonal Government units that I could post so you could see how it was done. I did have problems at first but I tracked the problem down and corrected it ( I think that I either referenced an un-named marker or I did not allow the res side to use or call a support function). When I get home I will check this thread and if you have not made the pack work with OFrP, I will post one of the scripts that I have modified. You can then just replace the Tonal units with your OFrP units. 8)
-
Thanks for your reply
you can download the mission here :
http://perso.club-internet.fr/kaikomiya/spt_pack_OFrP.Intro.rar
when as a US soldier I kill and take the radio from the OFrP soldier I am able to call support with no pbm. But when I play the OFrP radio soldier and call for support I have a "support not avaible" in the radio selection msg.
Remo
-
Hey remo!
I think that I found your problem! In the init_closeair.sqs, you have not defined that the resistance side can call in support. Change index number two in this line from "west":
_west_base_close_fixed_wing = ["CAS - Fixed Wing",[west],1,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing" ]
to "resistance" like this:
_west_base_close_fixed_wing = ["CAS - Fixed Wing",[resistance],1,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing" ]
or even:
_west_base_close_fixed_wing = ["CAS - Fixed Wing",[west,resistance],1,getMarkerPos "mCAS_FixedWing_West","mCAS_FixedWing_West","SNY_fixedwing" ]
and it should work! :P
Of course you will need to change this in every support _init_....sqs to affect whatever support function that you intend to request. Enjoy! 8)
Wadmann
-
Great, it works perfectly thank you very much :)
Remo