Brooklyn718 10 Posted April 1, 2011 So if the pilot is names P1, P2, P3 etc, how do I put that in the command line? d_only_pilots_can_fly = ["westp1, westp2"]; - Like this? Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 1, 2011 Depends on your version. Look in the editor or in the mission.sqm file for the names. Share this post Link to post Share on other sites
iicecube 10 Posted April 1, 2011 (edited) I wonder can this map play by solo by myself? Or how to i play with Friendly AI togather? Edited April 1, 2011 by iicecube Share this post Link to post Share on other sites
SpecterM 10 Posted April 4, 2011 (edited) I am running version 2.28. I would like to have the blue names appear over the players heads as default. The description.ext only gives me the ability to change the names appearing on the map. Can someone help? I can turn it on in the show status box by names only, rank, and health I believe. But I want it to show by default. Edited April 4, 2011 by SpecterM Share this post Link to post Share on other sites
SpecterM 10 Posted April 5, 2011 (edited) In x_client folder there is a x_settingsdialog. Within there there is some code that I believe is what I want. _ctrl = _XD_display displayCtrl 1602; if (d_show_playernames == 1) then { {_ctrl lbAdd _x} forEach ["Off", "With Names", "Role only", "Health"]; _ctrl lbSetCurSel d_show_player_namesx; } else { _ctrl ctrlEnable false; }; Is this what im looking for, and how would I change to to use "With Names" instead? And what does the displayCtrl 1602; represent? Edited April 5, 2011 by SpecterM Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 5, 2011 No, that's not the part you want. That is only displaying the settings in the settings dialog. Have you done a text search for occurrences of the variable you are trying to set? Oh. You've edited your post so it's completely different. That's going to confuse matters. Share this post Link to post Share on other sites
SpecterM 10 Posted April 5, 2011 (edited) Tankbuster, I do apologize for changing my thread completely. I really am not a coder at all, thats why it was so nice having options in the description.ext. It seams for this variable there is no option there. so trying to add one was just taking me down a bad road. I have tried to go a different route but I don't know how to read this stuff. I have a-lot of respect for you guys. I hope someone can lead me down the right path. oh and the variable I am trying to set is "With names" instead of "off" for the player names setting. I have text searched some obvious files, but have not gotten any results except what I showed. Edited April 5, 2011 by SpecterM Share this post Link to post Share on other sites
SpecterM 10 Posted April 5, 2011 I would like to credit mousetrap for finding the answer to my question. heres his response. ************* find this Takistan\x_msg\x_playernamehud.sqf Line 46: if (d_show_playernames == 0) exitWith { Line 48: d_show_player_namesx = 0; Line 58: d_show_player_namesx = if (x_show_pname_hud) then {1} else {0}; Line 60: if (isNil "d_show_player_namesx") then {d_show_player_namesx = 0}; ****************************** change to Takistan\x_msg\x_playernamehud.sqf (5 hits) Line 46: if (d_show_playernames == 1) exitWith { Line 48: d_show_player_namesx = 1; Line 58: d_show_player_namesx = if (x_show_pname_hud) then {1} else {1}; Line 60: if (isNil "d_show_player_namesx") then {d_show_player_namesx = 1}; ---------- Post added at 11:04 PM ---------- Previous post was at 09:50 PM ---------- I spoke too soon. that broke the whole system, but its getting me somewhere. More testing is needed. ---------- Post added at 11:44 PM ---------- Previous post was at 11:04 PM ---------- In my testing I found that making all the changes as suggested actually breaks the whole system. cant shut it off, turn it on nothing works. I found that making these changes ONLY. Line 58: d_show_player_namesx = if (x_show_pname_hud) then {1} else {1}; Makes the settings show "With Names" correctly, BUT. It still does not work. The system does not break however, you can change the "With names" back to "off" then switch back to "With names" again and it starts to work. Please can someone help. this is like reading a foreign language. Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 6, 2011 These questions are more likely to get an answer in the 'editing Domination' thread. I've looked over your code briefly. It should work. Changing things in the desc.exit is a good way of changing default settings like shownames, so I'm suprised you couldn't make that work. You don't say clearly what happened when you "broke the whole system" so that it's not easy to suss out what went wrong. You should run your client with showscripterrors turned on and have a look in the server RPT for any relevant errors. This will help track down any typos. Also, let SBSMACs excellent program Squint have a look at it. It's particularly good at catching misspleeled words and counting brackets. Share this post Link to post Share on other sites
SpecterM 10 Posted April 6, 2011 Gee tankbuster, are you saying that it is possible that I could have gotten it to work that way? Im really not having any luck with what mousetrap showed me. Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 6, 2011 I'm saying it's possible there's simply a syntax error in there and that it will work once that's fixed. Mousey is usually reliable in cases like this. :) Share this post Link to post Share on other sites
SpecterM 10 Posted April 6, 2011 First I tried adding this to the description.ext class d_show_playernames { title = "Player names:"; values[] = {0,1,2,3}; #ifndef __TT__ default = 1; #else default = 1; #endif texts[] = {"Off", "With Names", "Role only", "Health"}; }; This created a game crash because there is already class d_show_playernames { title = "Disable show player names:"; values[] = {0,1}; #ifndef __ACE__ default = 1; #else default = 1; #endif texts[] = {"Yes","No"}; }; I commented out that disable show player names section out and the game started, The info was changeable in the game parameters, but when I got in the mission the whole settings section for show player names is not editable anymore. I couldnt change it manually. So then I tried this. and left the d_show_playernames alone. class d_show_player_namesx { title = "Player names:"; values[] = {0,1,2,3}; #ifndef __TT__ default = 1; #else default = 1; #endif texts[] = {"Off", "With Names", "Role only", "Health"}; }; This gave me no results. I got no idea what im doing. ---------- Post added at 11:51 AM ---------- Previous post was at 11:03 AM ---------- Something i find that is very strange is that when i enter a server like TAW for instance. The player names are showing as default when i enter the server. The map zooms in and I see the team mates blue names over their heads. I check the settings and it shows "with names". But when i go retrieve the file from my appdata folder and run the mission on my own the names dont show. almost like there is actually a setting in the parameters that lets you change that already. ---------- Post added at 01:09 PM ---------- Previous post was at 11:51 AM ---------- Yeah, I think its very strange how I can join the taw servers. I even joined one where I got to select the mission. domi started and "with names" was default. but as soon as I took their mission and put it in my folder and tried to make a multiplayer game out of it, it showed names as off in the settings. Almost like the server was controlling the names. Geeesh, i really could use some help here. Share this post Link to post Share on other sites
Nikolaj 10 Posted April 6, 2011 Hello. I'm trying to figure out how to get the recruit AI functionality to work in the 2.54 versions, i managed to do it with 2.57 but encountered some bugs related to new functionality so 'd like to do it in 2.54. Is it possible to do in 2.54 and if so, can someone point me to a thread or post that tells me how? I have tried searching, but i guess i'm not using the right keywords. And i really don't want to go through all the pages in this thread looking for it. Also, the standard ammo box on the domination map, is there a fast easy way to delete it? It doesn't show up in the editor and i can't find a reference to it anywhere, i'm sure it's painfully obvious, but dear lord, i'm getting tired of staring at code, someone save me :) Cheers, Nik Share this post Link to post Share on other sites
SpecterM 10 Posted April 6, 2011 The answer to my question has been found!! Thanks to all that helped, mousetrap, tankbuster, zeesquared, and kcfox The mission needs to be run in veteran. doh!! This line put in your server config will start your server with that mission in veteran mode. class Missions { class Domination { template = "co40_ACME_Domination_v2_54.Takistan"; difficulty = "veteran"; }; }; Was just wondering if there is a way to give us the ability to just run the server in veteran mode as default, but still allowing us the ability to chose missions. Share this post Link to post Share on other sites
Lonestar 11 Posted April 7, 2011 The answer is no, regular is default. http://dev-heaven.net/issues/14140 Please vote. Share this post Link to post Share on other sites
J-Guid 10 Posted April 20, 2011 Xeno, Good day! I have so big trouble with your maps, look: I play clear TVT Domination 2.5y (Ranked) on my dedicated server with @ACRE, @jayArma2Lib (im not noob, i know how config maps and server, signatures and mod verification disbled). I include ACRE radios in rank system and ammo boxes correctly in weaponcargoR_oa_ace and others files (have expirience+manuals, i am try add ACRE_PRC119 or ACE_PRC119), If i lauch client game with @ACRE - mod, i can't take radio items (119,117F,77), but prc 148 allow to get. If i lanch client game with NO ACRE - radios allow pickup... in no ranked type all ok. Whats trouble, maby i do something wrong?! Copy of this message i send to Yanus... Sorry for my bad English. Answer my plz! Share this post Link to post Share on other sites
J-Guid 10 Posted April 22, 2011 Oh Man! OMG I ask to consider possible variants of correction of the given problem with radios. I will repeat once again the problem: Default Domi2.57 mission, without manual corrections, I launch the dedicated server without check of signatures, it is connected only ACE and ACRE if ACRE it is connected on the server it is impossible to take ANY backpak-radio items if on the server it is not connected acre, it is possible to take a radio. All it happens in RANK system!!! Correct please, I not who it haven'ted the first. Check up itself if you don't trust me! Man... Share this post Link to post Share on other sites
bigpickle 0 Posted April 24, 2011 Hey Xeno, Love your mission its so refined. Bit above my level of understanding though. I like the blood and dirt screen effects alot. I have found the paa files for those but i cant find the lines of script or the sqm file that makes them work. I'm asking because I'd love to add the effects to my mission if its ok with you to do so. But i'm gonna need so help to find the right files to make it happen Regards Bp Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 24, 2011 Have you done a file search for instances of the file name? Share this post Link to post Share on other sites
bigpickle 0 Posted April 24, 2011 (edited) yeah found that in IntroText.hpp,nothing anywhere else. I have no idea why its there but i think its defining the paa files right? But anyway i still dont know what to do class GVAR(ScreenDirt) { idd = -1; movingEnable = 0; duration = 5; fadein = 0.1; fadeout = 5; name = QUOTE(GVAR(ScreenDirt)); class controls { class ScreenDirt_BG { idc=-1; type = 0; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {0.9, 0.9, 0.9, 0.8}; font = "Bitstream"; sizeEx = 0.023; x = "SafeZoneX"; y = "SafeZoneY"; w = "SafeZoneW + 0.05"; h = "SafeZoneH + 0.05"; #ifndef __OA__ text = "ca\missions_ew\img\screen_dirt_ca.paa"; #else text = "pics\screen_dirt_ca.paa"; #endif }; }; }; class GVAR(ScreenBlood1) { idd = -1; movingEnable = 0; duration = 2; fadein = 0.1; fadeout = 5; name = QUOTE(GVAR(ScreenBlood1)); class controls { class ScreenBlood_BG { idc=-1; type = 0; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {0.9, 0.9, 0.9, 0.8}; font = "Bitstream"; sizeEx = 0.023; x = "SafeZoneX"; y = "SafeZoneY"; w = "SafeZoneW + 0.05"; h = "SafeZoneH + 0.05"; #ifndef __OA__ text = "ca\missions_ew\img\screen_blood_1_ca.paa"; #else text = "pics\screen_blood_1_ca.paa"; #endif }; }; }; class GVAR(ScreenBlood2) { idd = -1; movingEnable = 0; duration = 2; fadein = 0.1; fadeout = 5; name = QUOTE(GVAR(ScreenBlood2)); class controls { class ScreenBlood_BG { idc=-1; type = 0; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {0.9, 0.9, 0.9, 0.8}; font = "Bitstream"; sizeEx = 0.023; x = "SafeZoneX"; y = "SafeZoneY"; w = "SafeZoneW + 0.05"; h = "SafeZoneH + 0.05"; #ifndef __OA__ text = "ca\missions_ew\img\screen_blood_2_ca.paa"; #else text = "pics\screen_blood_2_ca.paa"; #endif }; }; }; class GVAR(ScreenBlood3) { idd = -1; movingEnable = 0; duration = 2; fadein = 0.1; fadeout = 5; name = QUOTE(GVAR(ScreenBlood3)); class controls { class ScreenBlood_BG { idc=-1; type = 0; style = 48; colorBackground[] = {0, 0, 0, 0}; colorText[] = {0.9, 0.9, 0.9, 0.8}; font = "Bitstream"; sizeEx = 0.023; x = "SafeZoneX"; y = "SafeZoneY"; w = "SafeZoneW + 0.05"; h = "SafeZoneH + 0.05"; #ifndef __OA__ text = "ca\missions_ew\img\screen_blood_3_ca.paa"; #else text = "pics\screen_blood_3_ca.paa"; #endif }; }; }; Edited April 24, 2011 by Bigpickle Share this post Link to post Share on other sites
J-Guid 10 Posted April 25, 2011 Who can my help creat a CLASS system in Domi? Sniper allow get only sniper rifles MG - Mg's Diversant - light weapons and more?! Share this post Link to post Share on other sites
Tankbuster 1746 Posted April 25, 2011 It's already there. Turn on weapons limited in the parameters. Share this post Link to post Share on other sites
J-Guid 10 Posted April 26, 2011 config weapons file in x_weaponslimitedcargo ?! Share this post Link to post Share on other sites
kocrachon 2 Posted April 27, 2011 Question, how can I make it so that instead of ranked removing a specific value of points (-5, -3 etc etc) I make it subtract a specific percentage of points? Such as -10% or what not? Share this post Link to post Share on other sites
JuggernautOfWar 1 Posted April 28, 2011 Is there a readme or something on the web for Domination? I tried playing it with some friends today and we just couldn't figure out how you're actually expected to take over towns/objectives with a few infantry and literally no vehicle or artillery support of any kind. Everybody loves this mission, but how? I'm sure I'm missing something. Share this post Link to post Share on other sites