Unified Artillery For VTE

VTE - The most detailed and comprehensive Vietnam modification for OFP

Moderators: Lone Wolf, Snake Man

FuLLMeTaLJaCKeT
Newbie
Posts: 6
Joined: 2005-12-10 15:29:45

Unified Artillery For VTE

Post by FuLLMeTaLJaCKeT »

I have a problem... How can I use UA when playing as a VTE RTO? Without having to pick up a COC Radio off the ground? When I add a Enable Radio Gamelogic nothing happens.

Please help :-/

Thanks in advance
MI_Fred
1st Lt
Posts: 145
Joined: 2004-08-13 18:35:11

Re: Unified Artillery For VTE

Post by MI_Fred »

This was answered on the BI forums not too long ago but here goes:

Code: Select all

?CoC_RadioBridgeRunning:Exit
_radiotypes = ["VTE_prc25","VTE_typ63"]

CoC_RadioBridgeRunning = true


#NoRadio
?({_x in weapons player} count _RadioTypes>0):Goto "StartRadio"
~5
Goto "NoRadio"

#StartRadio
[player] exec "CoC_Artyscriptsopenmenu.sqs"
CoCIFRadioAlwaysOn = true
[] exec "CoC_ArtyscriptsRadioMonitor.sqs"
#HasRadio
?({_x in weapons player} count _RadioTypes == 0):Goto "StopRadio"
~2.5
goto "HasRadio"

#StopRadio
[player] exec "CoC_ArtyscriptsEndMenu.sqs"
CoCIFRadioAlwaysOn = false
CoCIFRadioChatter = false
goto "NoRadio"
Executed by: [] exec "nameofabovescript.sqs"
FuLLMeTaLJaCKeT
Newbie
Posts: 6
Joined: 2005-12-10 15:29:45

Re: Unified Artillery For VTE

Post by FuLLMeTaLJaCKeT »

Thank you, you are my scripting hero! But I am not a member of the BI forums so...
bigstone
1st Lt
Posts: 101
Joined: 2005-07-24 22:01:01
Location: San Diego

Re: Unified Artillery For VTE

Post by bigstone »

MI_Fred wrote:This was answered on the BI forums not too long ago but here goes:

Code: Select all

?CoC_RadioBridgeRunning:Exit
_radiotypes = ["VTE_prc25","VTE_typ63"]

CoC_RadioBridgeRunning = true


#NoRadio
?({_x in weapons player} count _RadioTypes>0):Goto "StartRadio"
~5
Goto "NoRadio"

#StartRadio
[player] exec "CoC_Artyscriptsopenmenu.sqs"
CoCIFRadioAlwaysOn = true
[] exec "CoC_ArtyscriptsRadioMonitor.sqs"
#HasRadio
?({_x in weapons player} count _RadioTypes == 0):Goto "StopRadio"
~2.5
goto "HasRadio"

#StopRadio
[player] exec "CoC_ArtyscriptsEndMenu.sqs"
CoCIFRadioAlwaysOn = false
CoCIFRadioChatter = false
goto "NoRadio"
Executed by: [] exec "nameofabovescript.sqs"
Where do you add this script into VTE4 for the above option to work?
Snake Man
Commander-In-Chief
Posts: 9832
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Post by Snake Man »

I believe anywhere in the mission start, most common place is init.sqs script.
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.

IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.

Support PMC

Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
bigstone
1st Lt
Posts: 101
Joined: 2005-07-24 22:01:01
Location: San Diego

I almost got the artillery support down

Post by bigstone »

When I made a mission with UA stuff in it. My forward observer can use a radio to call in Artillery Support and it works the 105 rounds land just fine. Now with the VTE RTO how as a player of that character have the option to call in artillery? I know that it has something to do with Enable Radio Weapons.<---But how do I do that??? Thank you
Snake Man
Commander-In-Chief
Posts: 9832
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Post by Snake Man »

As said in this topic, you need to run that script at the start of your mission, then the UA will be active and can be used.
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.

IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.

Support PMC

Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".
bigstone
1st Lt
Posts: 101
Joined: 2005-07-24 22:01:01
Location: San Diego

Post by bigstone »

Snake Man wrote:As said in this topic, you need to run that script at the start of your mission, then the UA will be active and can be used.
Sorry Snake Man, but I am a total noob...How do I run the script at the start of the mission???

Also you got me lost on this one for AI artillery fire:

http://www.thechainofcommand.net/cgi-bi ... f=20;t=678
Snake Man
Commander-In-Chief
Posts: 9832
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Post by Snake Man »

Create init.sqs file and place the script there like MI_Fred already explained.

Code: Select all

[] exec "ScriptName.sqs";
PMC TACTICAL FORUM AND OTHER WEBSITES GO DOWN SEPTEMBER 13TH 2025 IF WEB HOSTING YEARLY FEES ARE NOT PAID.

IF YOU WANT TO KEEP USING PMC WEBSITES INCLUDING THIS FORUM, DOWNLOAD ADDONS, READ TUTORIALS, ETC, PLEASE HELP BY SUPPORTING PMC.

Support PMC

Please help to keep PMC websites online, if domains are let to expire then it will be "game over, man!".

Return to “Vietnam: The Experience (OFP)”