MartinPC4K
Member-
Content Count
14 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout MartinPC4K
-
Rank
Private First Class
-
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yea once again, Thanks for your help. -
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yea I found out about the meters :) Anyway ty so much for this. You helped me a lot. I never found out how to put the addaction on a player... I put a name on a soldier and change the trigger name to this: -
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm going to test It now. ---------- Post added at 22:46 ---------- Previous post was at 22:24 ---------- WOW it really works great!! How am I able to set the range of the music up to fit another building?... I notited 1 last thing - Is it possible to make a "block" somehow, so people cant spam speakers with the same song... Make it so the song need to be done before the can activate it again? :) -
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Wow Thanks mate. I tested it and it works, but there is one thing there need to be change or something. Don't really know how. First of all I want to use this for Altis Life, but it seems like the "Play First Song, Play Second Song, Stop Music" is everywhere. It need only to be directed to 1 person. I saw that I could look in the ground and put the song on. Also I noticed that I could play the songs even if I deleted all the triggers and the Call radio man. Is it possible to make it on only 1 person and make the music only be in a certain area? Fx is it possible to put the range down, so you can only hear the music inside a building? :) I really appreciate your help and you done more than enough already, I thank you for that. Hope you can help me out with this one. -
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Okay I will test It. What would be the line I need to put in-game on an object, so they can interact with it? :) I tried your script but no luck. I got the addaction menu yes and I pay for the song, but how would it even know what trigger it need to activate etc? :) Also It seems like you made it so the play button (addaction) is on everything now :/ -
Need help! Member already defined in function.h
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yea I found the issue and you were right waltenberg, so ty. There were two packupSpikes in Functions.h -
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well the whole script I posted is pretty much useless, well because it sucks and I'm not the best... What I just want is someone to help me to make a simple script to make this happen and it is hard to get help from people who know how to do it. The concept behind it is: Go to a "store = soundbot", buy with "life_cash <20000" for the song. After that the "track1" you bought will be "triggered" by you as a person when you bought the song with life_cash. Problem in you script you sended me is that it tells you that you bought a song for 20000 and it will put track1 on true, but that's it. I need to understand have to make it play and be triggered buy you buying it & also make the trigger where the music will be played. Track1 is a file meant to be the the song that will be triggered by life_cash, but it is not working etc. -
Need help! Member already defined in function.h
MartinPC4K posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I am trying to put in a script, but it's not working... Error: arma 3 member already defined in function.h line 150. class packupSpikes {}; class packupholzgross {}; I don't understand, because it should be to different class :/ This is the the message I get every time: --------------------------- Arma 3 --------------------------- File C:\Users\Name\Documents\Arma 3 - Other Profiles\Name\missions\New%20Project.Altis\Functions.h, line 150: /CfgFunctions/Life_Client_Core/Actions.packupSpikes: Member already defined. --------------------------- OK --------------------------- -
I'm a really dummy when it comes to scripts, so I'm sry about that.
-
Need help with soundbot
MartinPC4K replied to MartinPC4K's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sounds like no one knows how to do this :/ Really hope someone can help me out with this script.... -
- Problem about this script is that is a trigger which is okay, but I need some kind of "addaction" to put in a object... I walk to a object, pay 20.000 cash and the object will addaction to trigger the trigger so it will play a sound/song.
-
I'm trying to make a soundbot in-game and I haven't found anyone who made something like this before. I'm a noob when it comes to scripting, but really need help to make this one. Hope you guys can help me. - This script is only an example from arma 2 - Radio and loudspeaker script. Concept: You go to a table choose a song, pay 20000 and the song will play by using say3d, so everyone in a certain area can hear it. http://i.imgur.com/aZUo7Nz.jpg (672 kB) soundbot _store = SoundBot; _denied1 = false; _price = 20000; if(life_cash < _price) exitWith {hint "You do not have enough money to play the song! You need atleast $20000 or the soundbot won't sing";}; life_cash = life_cash - _price; removeAllActions soundbot; while {true} do { //Timer display (TO BE REPLACED WITH A NICE GUI LAYER) track1 = true; publicVariable "track1"; sleep 1; track1 = false; publicVariable "track1"; sleep 171; deleteVehicle radio_H; }; track1 radio_H = "HeliHEmpty" createVehicle (position soundbot); radio_H attachTo [soundbot,[0,0,0]]; if (local player) then { radio_H say3D ["track1",1,1]; }; description class CfgSounds { sounds[] = {}; class track1 { name="track1"; sound[]={"sounds\track1.ogg",db-5,1.0}; titles[]={}; }; }; init playlist_started = true; publicVariable "playlist_started";
-
I'm trying to make a soundbot in-game and I haven't found anyone who made something like this before. I'm a noob when it comes to scripting, but really need help to make this one. Hope you guys can help me. - This script is only an example from arma 2 - Radio and loudspeaker script. Concept: You go to a table choose a song, pay 20000 and the song will play by using say3d, so everyone in a certain area can hear it. http://i.imgur.com/aZUo7Nz.jpg (672 kB) soundbot track1 description init
-
CSAT Retexture project (WIP)
MartinPC4K replied to Vasilyevich's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
I can't seems to find the plane paa file in arma 3. Can someone help me plz