OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Jan on 23 Feb 2009, 12:29:40
-
Okay i got question.How can i make a Unit speak with a voice and speak with a voice from Radio.
Then i wanted to ask how i make PAPA_BEAR: to speak not some Foxtrot black or whatever heh.. :confused:
-
For a normal unit to speak you need to use the say command. For radio chat you need to use groupRadio, sideRadio (http://community.bistudio.com/wiki/sideRadio) or globalRadio in conjunction with a sound file defined in the description.ext file
All this should be explained in this sound tutorial from the Editors Depot (http://www.ofpec.com/ed_depot/index.php?action=details&id=488&game=OFP).
For Papa_Bear you need to use sideRadio in a special way, it is explained in the Biki. Furthermore you can have custom callsigns for any unit with the Custom Callsign Addon from Mapfact.net (http://www.mapfact.net/include.php?path=content/download_eng.php&contentid=322&PHPKITSID=da7075da71be5c69223db70d07eef3cb)
-
Thx :D
-
FYI to help other members out when searching it would be handy of your subject title contained what you were talking about. That way later on if someone has the same question and actually bothers to search it, the subject line will show up in their search.
Also adding the solution if you find one helps, I tend to forget to do that sometimes and I'm one of thoe guys that runs into posts that say "I found a solution, nevermind" and want to know what the solution was.
-
eegore,do you know where to get soldier (civils)?
-
Do you mean how to make a soldier be on the civilian side?
What I thinbk would work is making a civilian a higher rank than the soldier, then group the two together and type into the Initialization: of the Civilian
deletevehicle this
Or you can type:
setcaptive true
Into the soldiers init, but he will still fire at enemies unless you "removeallweapons this" on the guy.
-
Another option is to edit the side of the unit in the mission.sqm to "CIV", some people consider this a "hack" or "cheat" but in my opinion it is the most convenient way to get a unit to the side you want to. The only downside is that you cannot edit this unit in the editor again (it will be reverted to it's original side afterwards).
-
Okay....Il try :D
-
for PAPA_BEAR Just do the following script to your activation box:
[West,"base"] sideRadio "m07r01";