Home   Help Search Login Register  

Author Topic: Radio Trigger  (Read 1546 times)

0 Members and 1 Guest are viewing this topic.

Offline Rezki

  • Members
  • *
  • Gita Gutawa :D
Radio Trigger
« on: 23 Feb 2008, 05:26:26 »
hello i'm .new here...i wanna ask somthin...

how to make radio command disabled until a unit reach a certain trigger,

i've just trying by "enableradio false",but what happened is that i still can press 0-0-1 (radio alpha) but the text not appeared
- means only the radio text is disabled-

i try search the forum and found this

Create a file called init.sqs and put there:

1 setradiomsg "null"

The number is the channel. 1 = alpha, 2 = bravo, etc

When you want to show the radio channel in order to be able to activate it, put in a script / trigger / waypoint or wherever you want:

1 setradiomsg "Text you want to appear"


but i don get with -1 setradiomsg "Text you want to appear"-

coz to do this i think just do a trigger that disable a radio and then make a trigger to enable it again...

thx b4.
I'm Fan Of Gita Gutawa :D
www.gitalovers.com

Offline wcrvieira

  • Former Staff
  • ****
Re: Radio Trigger
« Reply #1 on: 24 Feb 2008, 02:48:04 »
I never did that before but after some research over at the Editors Depot of OFPEC I found this:

Quote
Extra Bits
----------

A lot of times people ask how to use Papa_Bear or Base or Airbase, well its simple and the
answer is right here.

This is what you have to do.

[west, "Base"] sideRadio "black_02";
[west, "HQ"] sideRadio "02r1";       <- HQ, Base and Papa_Bear no matter what you'll type u
                   will always get Papa_Bear radio message.
[west, "AirBase"] sideRadio "R01v02";
aP globalRadio "R01v01";           <- these are simple commands on how to make someone
                   speak on the radio.
aP sideRadio "R01v02";            <- same here, but side radio is only for units on ur
                   side, enemy units won't recieve it.
- NavySeals

The full tutorial can be found in the Ed Depot here.

# # # # #

Another approach I am not sure it can work is if you SetIdentity to the "character" saying the radio chat it will work.


There are two ways to do this:

1) Set unit identity by its init field:

Quote
nameofunit setidentity "identityyouwant"

2) Set unit identity by init file

Quote
nameofunit setidentity "identityyouwant"

# # # # #

EDIT: With a little more research through the Ed Depot, there could be another approach.

Quote
14. Group Id

Alright lets make a group of lets say 5 men, and also name them with the Group ID Command,

Side  = West
Class = Men
Unit = Officer
Name = Bravo
Activation: Bravo setgroupid ["Bravo","groupcolor3"]; this set combatmode "YELLOW"; this setbehaviour "SAFE"

Side  = West
Class = Men
Unit = Soldier
Name = unit1

Side  = West
Class = Men
Unit = Soldier
Name = unit2

Side  = West
Class = Men
Unit = Law Soldier
Name = unit3

Side  = West
Class = Men
Unit = Sniper
Name = unit4
(Make sure this is the "player")

Once you have made the units group them with the Group (F2) button, by dragging a line to the officer. Now the group will be referred to as "Alpha"
- Abuu

The full tutorial can be found here.

I don't know if any of this will or can work as I am way to rusty in ArmA/OFP editing, but well, they can be of some help.

Cheers
« Last Edit: 24 Feb 2008, 03:06:16 by NBSVieiraPT »

Offline Rezki

  • Members
  • *
  • Gita Gutawa :D
Re: Radio Trigger
« Reply #2 on: 24 Feb 2008, 04:20:55 »
tq bro...

yup the papa_bear can't be changed...i've read i already...but i'm just curious about

-alpha black sidechat "Hello" -
(alpha black also as my soldier "name")

but when the chat is triggered it was set automatically as an "Golf Red 1" Huh?

like this :

Golf Red 1 (alpha black) :hello


ok.i'll study the abuu tutorial first...btw...i/ve finish my briefing.html..but i don't get it with cur_sp how to customized it ? tq ...see the pic

 
I'm Fan Of Gita Gutawa :D
www.gitalovers.com

Offline wcrvieira

  • Former Staff
  • ****
Re: Radio Trigger
« Reply #3 on: 24 Feb 2008, 04:38:02 »
That can easily be changed but not in the actual briefing.html file.
Inside the OFP editor in the top right part of the screen there is the box that changes the weather and what else, there you can set the name of the mission which will appear there.  :good:
« Last Edit: 24 Feb 2008, 04:41:34 by NBSVieiraPT »

Offline Rezki

  • Members
  • *
  • Gita Gutawa :D
Re: Radio Trigger
« Reply #4 on: 24 Feb 2008, 08:49:55 »
 i've done it thx :D too many seeing complex script..even i forget the simplest thing....

by the way i'm trying to make a machine gunner  dofire at few civilians by radio alpha....so i made a trigger

MG1               as  the Machine Gunner
C1,C2,..,C6     as   the civilians

MG1 dofire C1;MG1 dofire C2;MG1 dofire C3;MG1 dofire C4;MG1 dofire C5;MG1 dofire C6

so when i call the radio..what happened is...the MG only fire the civilians one by one...means i should call the radio six time repeatedly...

first call only make MG firing at C1...and i must do the 2nd call for MG to fire at C2..and so on.....i've trying by using  MG1 dofire [C1,C2,....,C6] syntax ,but it seems the syntax can't be in arrays form...

what i wanted is when i call radio alpha..MG will dofire at those six civilian continuously

next
i want to make a cutscene that 3 RPG soldiers firing at a civ bus simultaneously...i've tried make a by Radio alpha trigger,they do fire...but not simultaneously.

next (again :D)

i also want to make a cutscene with sniper rifle crosshair rather than TVset or binocular view...is there already avaible (cutrsc) in OFP Resistance ?


 
I'm Fan Of Gita Gutawa :D
www.gitalovers.com