gunny1979
Member-
Content Count
330 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by gunny1979
-
Ok so here goes newsfeed_init.sqf of which is called, by whatever method you wish for example radio action. This finds the dialog set with the idd value, in this case 981100. In my example I am getting the current map, mission name and playername as variables and passing it into my url, to by used by php. I have also included an offline url, of which is linked to a local html file, in case of no internet connection. I then use the htmlload command to load the php file into the dialog with an idc of 10042. private ["_display", "_map", "_mission", "_player", "_newsOnline", "_newsOffline", "_ctrlHTML", "_htmlLoaded"]; disableSerialization; createDialog "newsfeed_dialog"; _display = (findDisplay 981100); _map = worldname; _mission = missionName; _player = name player; _newsOnline = "http://www.yourdomain/phppage.php?map=" + _map + "&mission=" + _mission + "&player=" + _player; _newsOffline = "news.html"; //Load the correct HTML into the control _ctrlHTML = _display displayCtrl 10042; _ctrlHTML htmlLoad _newsOnline; In the hpp file I create the main dialog with idd 981100. In the dialog I have a class of which uses the main RscHTML Class, of whcih refernces the different parts of the php page, for ecample the Headers (H1,H2,H3) and the paragraphs. class newsfeed_dialog { idd = 981100; movingEnable = 1; enableSimulation = 1; enableDisplay = 1; onLoad = ""; class controls { class NewsTitle: RscText { colorBackground[] = {0.69,0.75,0.5,0.8}; idc = 10032; x = "0 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y = "0 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "15 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; class NewsBackgroundDate: RscText { idc = 10022; x = "0 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y = "1.1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "15 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h = "1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; colorBackground[] = {0,0,0,0.4}; }; class NewsBackground: RscText { idc = 10052; x = "0 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y = "2.2 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "15 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h = "17.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; colorBackground[] = {0,0,0,0.4}; }; class NewsText: RscHTML { idc = 10042; shadow = 0; class H1 { font = "PuristaMedium"; fontBold = "PuristaLight"; sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; }; class H2: H1 { sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1.2)"; font = "PuristaLight"; }; class P: H1 { sizeEx = "( ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25) * 1)"; fontBold = "PuristaLight"; }; colorBold[] = {0.6,0.6,0.6,1}; colorLink[] = {0.69,0.75,0.5,1}; colorLinkActive[] = {0.69,0.75,0.5,1}; x = "0.5 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; y = "-0.1 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; w = "14 * ( ((safezoneW / safezoneH) min 1.2) / 40)"; h = "19.5 * ( ( ((safezoneW / safezoneH) min 1.2) / 1.2) / 25)"; }; }; }; I hope this is enough to get you started :o
-
I am currently at work at the moment, I will post something up later on.
-
Yes they can, I have a working dialog created for an up and coming project. It actually pulls data from an external php webpage, and displays dynamic data on the dialog depending on what variables are contained in the url, of which are supplied by in game variables.
-
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Sorry Guy's, totally manic with RL work at the minute! If there are still people with issues out there let me know! -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Hi Guys, Those of you with questions, issues etc. PM me your Skype Username and I will add you to the Channel. This would be better and you would get your questions answered quicker, as the majority of the MSO Team are working on some new things and/or are busy with RL stuff at present. Cheers Gunny -
[Release][COOP] Dynamic War Sandbox by TAW_Zorrobyte (AI load balancing FTW)
gunny1979 replied to zorrobyte's topic in ARMA 3 - USER MISSIONS
The MSO Team Team haven't gone anywhere, keep your eyes peeled. Some INTSUM can be found here! ;) http://thearmainterviews.blogspot.co.uk/ -
Stealth Takedown, Weapon Resting and more...
gunny1979 replied to tupolov's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Awesome work as usual Tup :D -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Hi Freak, Vehicles and Objects will only save at the timeframe to state in the parameters for the Server Save, what have you got this set to? As a test start an MSO mission, then do #missions in chat, while logged on as admin, then check the reports and database, it should save all the vehicles and objects then. Don't worry about the cms_permissions table, that was going to be used for user accounts for the web app. If your still stuck, PM me your Skype Username and I will add you tot he MSO Channel. Gunny -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Good find! ;) -
Issue with load screen...
gunny1979 replied to Drzaues's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ignore me works with or without the quotes, just tested Also works fine as you have above, I have placed this in the description.ext inside the mission and it works -
Online Interactive Map for MSO
gunny1979 posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
First of all I hope this is in the correct place? :confused: I would like to share with the community my MSO Online Interactive Map using OpenLayers, that can be used in conjunction with Persistent MSO Missions. This online Interactive map show the exact locations of Players and Vehicles, outside of the game on a web based map. It also includes popups, that when you click on the player or vehicle, it will display some more details such as location and status. It also includes all of the in game markers that are placed using the Team Marker Module, a popup also displays more details. I have supplied a link to a basic full screen Takistan Map , of which you can feel free to style up to your own needs, a readme file of how to setup and configure this on a web server is included in download. An Example of what can be done, with a bit of styling etc Live Map can be found here on the Volcbat WIP MSO Stats Site here. *note this is still WIP and POC Download the takistan Map here The file is 180MB due to the 6,000 tiled images I created of the map for each zoom level. All though I am only supplying Takistan here initially, I have also done the following maps: Reshmaan Panthera Isla Dula Stratis I am creating the maps to go along with the Volcbat MSO Missions that are being run, so no doubt soon I would have done all that is available to do in ArmA! :butbut: Credits MSO Team for an awesome Dynamic Mission Style! PersistentDB dev "team" - JMan, Scott W, Firefly for Arma2NET , Arma2MySqlPlugin and Persitent Database Scripts respectively! My Fellow Volcbat Members for their support and ideas! Without the above I would never of had been able to create this. JPD! Enjoy! Gunny -
Online Interactive Map for MSO
gunny1979 replied to gunny1979's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Always a pleasure never a chore :) -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
MSO Online map has been released here Enjoy! -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Hmmm very odd works fine my end, when do you get that error? Also are you using any other mods at all? Cheers Gunny -
Arma 3 has a new scripting command weaponLowered, not had a chance of playing with it yet, but could possibly be what your looking for. http://community.bistudio.com/wiki/weaponLowered
-
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Any joy getting it working.? -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Should find all you need here mate. That should be enough bed time reading for you ;) Gunny -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Excellent ;) Let us know if you need any assistance. Gunny -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Apologies must have missed this about MP Rights, I do apologise gents! I have tested and all works fine for 4.6. Can I just check where you have the mso_uids.txt file. It should be in the root of your ArmA flolder (e.g. ..\arma 2\operation arrowhead\mso) not contained within the mission itself, copy that folder contained in the MSO missions you have got from GIT, as this is where the code looks for it. This is so the same MP Rights Settings can be set across numerous missions. Let me know if this has sorted it for you, if still have an issue then let me know the exact steps you have taken, and entries you have in the mso_uids.txt. Thanks Gunny -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
4.6 has not been officially released yet. Once it has, then there will be a new thread dedicated to it and this one will be left to collect dust in the archives ;) -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Not sure how much more simply it can be put than: So where is the need for an ArmA 3 MSO thread? -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Answers are here ;) -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
The mso_46 just sets the directory it is cloned to locally. @Vengeance - That is the development branch of MSO (-b develop), so is 4.6 yes, the changelog will state that in this branch. It will be merged with the master (release) branch once it is fully ready and released. -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
Exact command will help mate Try this git clone -b develop git://git.dev-heaven.net/mso.git MSO_46 This will place it in a directory called MSO_46 in the directory you run the command from. -
Multi-Session Operations v4.5 released
gunny1979 replied to highhead's topic in ARMA 2 & OA - USER MISSIONS
What commands are you running in GIT?