Loreansz
Member-
Content Count
7 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout Loreansz
-
Rank
Rookie
-
It still is not working. Same issue as before, sound isn't playing. It isn't giving me an error that it cannot find the file. Does the ogg file need to be a certain size? Have any special properties?
-
Note, I have looked everywhere for a solution. I've used the search function on this forum. I've tried multiple peoples advice on different websites that I found, and I have not found a solution. It's been about 2 hours now. In a quick summary, I'm making a hostage mission. The hostages are AI citizens that are static, they don't move, and Blufor comes and picks them up and brings them to the hostage extraction (Basically CSGO's version of the hostage gamemode.) Everythings gone pretty smooth, everythings working, I'm just making the final touches. I'm trying to add sounds for when you pick up the hostages. Sounds easy, huh? Yea, no. Either Arma 3 is broken or my client is, no matter what I try I just cannot get these sounds working. I have Cfgsounds set up in my description.ext, and I have tried using the following commands in the debug console to no effect hostage say "takehostage"; hostage playSound "takehostage"; Neither work. Here is my description.ext: class CfgSounds { sounds[] = {takehostages,drophostages,breathings}; class takehostages { name = "takehostage"; sound[] = {"sounds\takehostage.ogg", db+10, 0}; titles[] = {0,""}; }; class drophostages { name = "drophostage"; sound[] = {"sounds\drophostage.ogg", db+10, 0}; titles[] = {0,""}; }; class breathings { name = "breathing"; sound[] = {"sounds\drophostage.ogg", db+10, 0}; titles[] = {0,""}; }; }; enableDebugConsole = 1; saving = 0; disabledAI = 1; Whenever I attempt to play the sound, it says that it cannot find the file. Even when it does find the file, it doesn't play the sound. I've tried titles, the titles appear. This isn't the only one I've used, I've copy and pasted at least 3 or 4 different ones from other websites and tried using them. Still didn't work. I am using ogg files and have tried about 2 or 3 different converters, one straight from youtube into ogg, one from a wave file into ogg, and one in sony vegas pro rendered into ogg format. If anyone can help, such as giving me a copy of one of their missions that has working sounds, that was be great.
-
Arma 2 Teleport 2 People Limit
Loreansz replied to Loreansz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I've been playing around with conditions recently, still haven't found one that works very well. Still waiting on that condition; would be very happy c: Edit: Thank the holy lords of Marma. I had the bright idea to use Bluebloods concept and do it myself. triggerActivated act3 && player in thisList && count thisList == 1 for the teleport trigger and then put a trigger over that that has player in thisList && count thisList == 2 -
Arma 2 Teleport 2 People Limit
Loreansz replied to Loreansz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Anything about that condition? -
Arma 2 Teleport 2 People Limit
Loreansz replied to Loreansz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Sorry for late post, forgot to check this thread for 2-3 months because I got too lazy to make the mission. Thank you! That works almost to what I want it to work to, but I want it to only teleport you when two players are within' 10 meters of the pole. I was thinking maybe a trigger that adds the action to the pole once two people are within' it. I'll test it and post what happens. ---------- Post added at 06:55 ---------- Previous post was at 05:53 ---------- I got it working for when you walk in, it gives the player an option to teleport. Problem here, condition. Either I have to make a lot of triggers with I tried these, problem is that they don't work and I would have to continue it until there are no possibilities of units left Can someone give me a condition that may possibly work to teleport when a AND b are in the trigger? Sorry for sounding like such a noob with triggers, I don't use conditions very much unless using it to only activate a trigger when another trigger activates :P -
Arma 2 Teleport 2 People Limit
Loreansz replied to Loreansz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I've made the mission and all I need is this script. Can anyone please help me? -
Arma 2 Teleport 2 People Limit
Loreansz posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Hello, I'm currently trying to edit a script for my mission. Heres what I want: I want it so that only TWO players can use a teleport flagpole at a time. I'm trying to make a 1v1 mission for my friends and I and I don't want more than 2 people in the arena at once. What I was thinking was that I put a trigger down with a condition that will make it only activate when only two players are within' the trigger and it will teleport the two players to a marker. This is the teleport script I'm using: // To use: Add this script as an action on an item in it's init field. EG: // //this addAction ["Teleport - Talon","teleport.sqf",["FOB_Talon"]]; //this addAction ["Teleport - Base","teleport.sqf",["Base"]]; //this addAction ["Teleport - Airfield","teleport.sqf",["Airstrip"]]; // Where "Teleport - Base" is what the action will read and ["Base"] is the name of a pre-placed marker. // Get the destination. _dest = (_this select 3) select 0; // Get a random direction _dir = random 359; // Move the person 15 meters away from the destination (in the direction of _dir) player SetPos [(getMarkerPos _dest select 0)-10*sin(_dir),(getMarkerPos _dest select 1)-10*cos(_dir)]; The problem here is, I don't know what to put into the trigger to make it so that it teleports the players and what I have to put in the condition so that it ONLY teleports when TWO players are in it and no more than two. I'm don't know very much lua and help would be appreciated. Thanks.