Unified Artillery For VTE

VTE - The most detailed and comprehensive Vietnam modification for OFP

Moderators: Lone Wolf, Snake Man

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

Unified Artillery For VTE

Post by FuLLMeTaLJaCKeT » 2005-12-15 19:07:36

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

User avatar
MI_Fred
1st Lt
Posts: 145
Joined: 2004-08-13 18:35:11
Contact:

Re: Unified Artillery For VTE

Post by MI_Fred » 2005-12-15 23:24:23

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 » 2005-12-16 17:15:26

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 » 2007-08-14 20:01:15

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: 9338
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
Contact:

Post by Snake Man » 2007-08-15 09:55:31

I believe anywhere in the mission start, most common place is init.sqs script.
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

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 » 2007-08-23 05:58:45

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: 9338
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
Contact:

Post by Snake Man » 2007-08-23 07:02:13

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 New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

bigstone
1st Lt
Posts: 101
Joined: 2005-07-24 22:01:01
Location: San Diego

Post by bigstone » 2007-08-23 07:06:54

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: 9338
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
Contact:

Post by Snake Man » 2007-08-23 22:52:17

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

Code: Select all

[] exec "ScriptName.sqs";
PMC Tactical Forum New User Registration please read new info here.

PMC since 1984

Editing knowledge, visit PMC Editing Wiki
The leading, most detailed and comprehensive modification made for the Vietnam War - Vietnam: The Experience homepage
View our videos in PMC Youtube channel

PMC Tactical forum Advanced Search is power.

"ALPHA BLACK TO PAPA BEAR. ALL RUSSIANS ARE TOAST. OVER."

Post Reply

Return to “Vietnam: The Experience (OFP)”

Who is online

Users browsing this forum: No registered users and 11 guests