Blanco 0 Posted July 22, 2004 I've modified Vektorboson's old Satellite script. #CHANGED - Satellite activated via addaction and mapclick - NV goggles overlay during the night whether the Satellite user has an NV goggles or not. #NEW - Added more than 20 sounds (female computer voice) - Custom blinking text (preparation time) - Hostile/ Friendly / Empty indicator (via voice) - Satellite action can be aded to a person or vehicle. #Usage ====== - Copy all files (except mission.sqm) to your mission directory; - Copy content of description.ext and init.sqs into YOUR description.ext- and init.sqs-file! - Create a game logic with name "camlogic"! - Create a empty marker named "SATmarker" - Create a Trigger with following settings: o Axis a and Axis b as big as your map  o Activation: Anybody  o Name : SAT_LIST  o Once  o Present  o Condition: this  o On Activation: [] exec "satellite\copyObjects.sqs"  - now create an addaction to the player or a vehicle : SATCLICK = this addaction ["~ Use satellite ~","satellite\SATclick.sqs"] #SETTINGS ========= In the Init.sqs you have to set the Satellite DIPLOMACY to 0,1,2 or 3 to make the Hostile/Friendly/empty indicator work properly! Use : SAT_DIPLOMACY = 0 Resistance is friendly against WEST and Hostile against EAST , Default. SAT_DIPLOMACY = 1 Resistance is hostile against WEST and EAST SAT_DIPLOMACY = 2 Resistance is friendly against WEST and EAST SAT_DIPLOMACY = 3 Resistance is friendly against EAST and Hostile against WEST #### DON'T FORGET TO CHANGE THESE SETTINGS IN THE INTELL WINDOW IN THE EDITOR!!! #### #MORE SETTINGS To manipulate other settings of the satellite-script look into the "satellite\init.sqs" #CREDITS Original satellite script was made by Vektorboson <vektorboson@gmx.de> http://home.arcor.de/vektorboson DOWNLOAD : http://www.dbrweb.co.uk/hosted/modSatellite1.2.Intro.zip Filesize : 2.25Mb Addons : NONE This is only meant for Betatesting Needs feedback and suggestions. Share this post Link to post Share on other sites
Parker Hale 0 Posted July 22, 2004 I am very interested in testing this wonderful script Blanco but how do you create a game logic ? I have never really understood what it is. PH Share this post Link to post Share on other sites
Blanco 0 Posted July 22, 2004 With "create" I mean "place" a gamelogic  You can find a gamelogic in Empty\Gamelogic ... At least I think it's in empty ... I don't have OFP with me right now A gamelogic is just a dead object with no AI. Share this post Link to post Share on other sites
Parker Hale 0 Posted July 23, 2004 Hey Blanco, I love this idea and it works very well but i was wondering if the sat could relay the actual position of the vehicle etc that you are tracking or at least display the co-ordinates on the sat screen ? I am "trying" to put together a bit of a bond mission at the minute and this would be great to assign to his car but what changes do i need to make to do this ? (sorry i am rather crap at scripting ) In using this it reminded me of the map system in ProjectIGI which was quite groundbreaking stuff at the time. Anyway well done there Blanco PH Share this post Link to post Share on other sites
Blanco 0 Posted July 23, 2004 The script should work when you assign it to a vehicle. Just add the action to the vehicle instead of the player. When the 2 actions (view & abort satellite) Â doesn't show up, open the init.sqs and change SATradius = 3.5 In a higher value. Something like 5 or so. I hate it when you can click an action attached to an object or vehicle when you are still 10m away from it. 3.5m is default, works great for cars and jeeps, but too short for ships or trucks. Increase the value when your vehicle is bigger. James Bond...huh... Is James Bond a civilian unit? Than you have a problem, because the satellite script does not work properly when the SATuser is CIVILIAN or RESISTANCE. It's possible but I have to redo some code. Yes, it's possible to show the coordinates of the tracked unit on screen. Actually the coords of the satellite are already displayed in a sidechat. I'm still learning dialogs but I'm already working on a new monitor for the satellite with a new interface. Here is a sample : http://img75.photobucket.com/albums/v228/blanco2/SAT/Satmonitor2.jpg That pic was made in Photoshop. An attemp to replace the red tracking dot with a flickering lamp. The red lamp is already on the frame, the red glow is a layer. The vertical rectangle above the lamp is were the slider should come, below the lamp are the directions buttons (N-E-W-S) I'm having a problem with putting the red glow on top of the lamp. It always apears under the frame, Is there a way to arrange the different layers like you can in Photoshop? Anyway do you like the new layout? Share this post Link to post Share on other sites
Parker Hale 0 Posted July 23, 2004 Hi again Blanco, Bond is classed as west (i'm using the PC Spy addon released recently by Philcommando), i think your question is valid though because his car (White BMW M5) is classed as a civilian vehicle so the problem would be there. The solution would be to change the car from being civilian to west side but not sure until i test this out. As for the co-ordinates, i am not sure if it is something to do with my machine etc but i cannot see them displayed even in the sidechat. Yes i do like the new layout of the SAT screen but i don't know much about Photoshop etc to be able to help you. PH Share this post Link to post Share on other sites
Parker Hale 0 Posted July 24, 2004 Ok .... i changed the BMW so it now resides with west and everything was (i thought) going great then suddenly as i activated the satelite it displayed the message : Resource title click not found It seems i have lost the sidechat messages (related ?) I have been checking and rechecking for 3 hours now and cannot figure out what is happening. Any ideas Blanco ? PH Share this post Link to post Share on other sites
Parker Hale 0 Posted July 24, 2004 Solved the error and everything is running great now. PH Share this post Link to post Share on other sites
KeyCat 131 Posted July 25, 2004 Sounds great Blanco! The new monitor frame looks really nice... One question, will it work without issues in multiplayer??? /Christer (a.k.a KeyCat) Share this post Link to post Share on other sites
Blanco 0 Posted July 26, 2004 The coords of the tracked unit are now onscreen as well as the type of the unit. Trying to make iit green textcolor when it's friendly, red when it's hostile and yellow when it's empty @Keycat No, probably not. Without testing it in MP, I'm sure about at least 2 issues - The variable for the user is global (SATuser) - The Satellite voices can be heard by everybody (playsound issue) About the new monitor : Can't solve it, the red glow always appears under the frame Anybody? HELP! Share this post Link to post Share on other sites
Parker Hale 0 Posted July 26, 2004 Hi Blanco, Glad to see you have been able to get the coords to show up on the screen and a bonus by adding the type of vehicle tracked as well. I downloaded oyman's laptop addon yesterday and transfered the scripts easily to it (as a test) and it worked perfectly. Wish i could help with the problem of the red light but i don't know enough to give any advice. Hope someone can help with this as i would love to test the updated version when it is ready. PH Share this post Link to post Share on other sites
Blanco 0 Posted July 27, 2004 Solved the lamp problem Share this post Link to post Share on other sites
Parker Hale 0 Posted July 27, 2004 Quote[/b] ]Solved the lamp problem Hi Blanco, Good for you mate, what was causing the problem? PH Share this post Link to post Share on other sites
Blanco 0 Posted July 29, 2004 lol, I really don't know. I think I've placed the background controls in another order in the description.ext. About the Oyman's laptop : I tried it and looks realy nice. You can even change the screen, that a good thing. Now, what do you prefer? Lay the SATuser down and spawn the laptop in front of him once you click the "Use satellite" action? Or leave it like it is and just spawn him when you wanna view the satellite. Also... I got a request from Rok @ ofpec to integrate a set perimeter script (from Grendel) when the SATuser is the comander of a group. The SATuser is imobile anyway when the satellite is activated, so i would be a good thing when his mates cover his ass. It pretty easy to intergrate in the satellite script (I think) Oh, a dillema... DBR_ONIX is also working on a laptop addon... Related link : http://www.ofpec.com/yabbse....iew=all Share this post Link to post Share on other sites
Parker Hale 0 Posted August 25, 2004 Hi Blanco, Just recently got back from Germany and wanted to know how the updated satelite script is coming along. I would prefer that the scripts can be applied to any unit and not just the laptop (I assigned it in the mission to the BMW rather than the male unit (Bond) as it makes it seem more realistic that way). Glad that you managed to solve the lamp problem. Parker Hale Share this post Link to post Share on other sites
Blanco 0 Posted August 26, 2004 No problem, I have no plans to attach the actions to the laptop. When the satellite is running on the player and he activates it via the addaction, he will lie down and the laptop will appear (only when he's not in vehicle offcourse) in front of him. When he aborts the satellite he picks up the Oyman's laptop (read : deletevehicle) and stands up. So, when the action is attached to your BMW there is no laptop at all. Also , you can run the script without having the laptop addon, all you have to do is to set a SAT_laptop bolean to FALSE Share this post Link to post Share on other sites
Parker Hale 0 Posted August 27, 2004 Hi Blanco, I would have replied earlier but my HD packed up this morning and i had to replace it....good job i regularly back up my critical files etc. Anyway do you have any idea when you will be releasing the updated version of the script as i am going to try and put some hours in to adding more to my mission this weekend? Parker Hale Share this post Link to post Share on other sites
djukel 0 Posted August 27, 2004 HI! I have a question: How did you make female voices? Suggestion: disable chat and sound when using satellite. Thanks Share this post Link to post Share on other sites
Blanco 0 Posted August 27, 2004 Parker, It won't be finished this weekend, I'm not in the mood right now, I just lost my job... This weekend I won't be in the mood for OFP brainstorming, I think gonna smoke hugh amounts of pot this weekend @djukel Search the net for coolspeech 5.0, and find a way to get the full version (kuchkuch) I've used Mary's voice. It's impossible with no sound, how are gonna hear the voices then?? (no chat is possible) Share this post Link to post Share on other sites
djukel 0 Posted August 27, 2004 Parker, It won't be finished this weekend, I'm not in the mood right now, I just lost my job...This weekend I won't be in the mood for OFP brainstorming, I think gonna smoke hugh amounts of pot this weekend @djukel Search the net for coolspeech 5.0, and find a way to get the full version (kuchkuch) I've used Mary's voice. It's impossible with no sound, how are gonna hear the voices then?? (no chat is possible) It is working. I use this when sat activated: enableRadio false 3 fadeSound 0 and this when deactivated: enableRadio true 3 fadeSound 1 It seems "playsound" is not effected buy fadeSound command. Thanks info about voice! Share this post Link to post Share on other sites
jolivan77 0 Posted September 13, 2004 Hi Blanco! What you think it is possible to build this dialog to resouce.cpp and satellite can be used in any missions? Share this post Link to post Share on other sites