Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×

LastNerve

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Everything posted by LastNerve

  1. Ill have to give this a try too!
  2. Same here, a lot of the old threads dont appear to be working. I found this thread but it never would end either though (yes i made sure to change the param to match the param number in my description) if you get it to work please hollar at me. I messed with it different ways and never got it!
  3. Hey guys, Since i couldnt figure out my other script problem Im making a new script entirely from scratch. Everything works on this one although Im getting a generic error that keeps popping up but I havent found what the problem is exactly says line 15 Also if someone could show or point me to the right direction to get my respawn "saved loadout" with original amount of ammo that would be great. everything i have tried isnt working. Right now after VA you will respawn with the selected loadout you pick but ammo count depends on how much you shot of it.
  4. Hello guys recently my TDM missions have a issue. Everything starts off well but sometime during the match everyone becomes invincible and you can shoot someone a hundred times and they wont die then someone will finally kill someone and it will go back to normal and then seconds to minutes later we run into the problem again. Im not sure what is causing this or how to solve it. anyone ran into this issue before? my guess is the script isnt being read fast enough or all the bullets and stuff are going faster than the engine. i can load the maps up with AI and never run into the problem but if i get a server with 10 or so people we run into it. its not constant sometimes you can play 90% of the game with no errors and sometimes it feel like every 3 mins. its erratic and spontaneous and randomly will stop and start happening.
  5. LastNerve

    Script for people not dying?

    I used some scripts that he provided but I had changed and added a lot more things. Only knife kill, and HUD for score board is from him. But everything else was edited on by me. Problem is these used to work flawlessly and all of a sudden im getting this. I was thinking maybe BI make a changed a function. Not sure! PS. I also have many threads on here asking for help. I have learned a lot and have troubleshooted a ton of issues I either caused or needed to figure out how to do on my own. Im not a expert script writer or know all the bell and whistles by any means, I have many hours on editor and on these forums reading and looking through missions scripts to figure things out or how they got this or that to work! Also sorry for the AV hit. I just googled a free upload page and uploaded it there I didnt think any phishing would have happened from it. Sorry about that. I wasnt trying to pull any hat tricks on anyone by anymeans! Thanks again!
  6. LastNerve

    Script for people not dying?

    I gotcha! will do thanks
  7. LastNerve

    Script for people not dying?

    yea i agree I have came here a lot learning to script and im no expert but many people have helped me in little to a lot amounts. And I have been trying to figure out what exactly can cause this. And i woulda posted a snippit of the code but Im not sure what code needs looking at. because if you start the mission everything will work then time will tell when people become invincible during play. sometimes it takes a couple minutes some times it happens in 20/30mins. So thats why im stuck there is not consistence with this bug its randomized! As for the safe zone and stuff I do not have them scripted in I just have a rectangle on the map proporinate to the size it needs to be for different maps respawn points and have play damage =0 then when they come out a hint pops up saying spawn protection off and player damage is set to 1. I have also removed the safe zone and still ran into the problem. Im assumming the game cant read the script and whats happening fast enough. maps are pretty small to keep action intense but not like cod small. Im assumming so many bullets, grenades, and whatever else is happening is to fast that the game cant keep up or my script takes to long to complete. But at the same time I'm not a great scripter by any accord I did what I could / learned. Im sure it could be wrote better and way smaller. Im just not skilled enough to do that lol
  8. LastNerve

    Script for people not dying?

    its not a safe zone type deal like we'll be playing then who knows when it will happen but lets says after 10 mins everyone in the server is invincible but then it will switch back to normal and everyone will die again then a little later to a few seconds it will happen again and its just random act that happens. I dont know if my script it to complicated or what. At first I thought score might be to high so i tried lowering it thinking that would reduce the risk of it happening but it will happen anyway each time it happens differently sometimes you can play the entire map and be fine but more so than not we get this little bug
  9. LastNerve

    Script for people not dying?

    i would have to upload it. I Dont know where the problem is or how to even replicate it I have tried and tried and its just a random phase that happens ill upload one mission though! https://ufile.io/pcnu1 thanks
  10. Hi everyone new to scripting came a long way and have some maps almost done but would like to change and add 2 things! I want to a add a kill log feed during the mission... tried this code and everytime it says "couldnt find killticker.sqf...but its in the folder and i have done everything inside and out just never says it can find killticker.sqf. any other way to add a killfeed by chance? lastly, I have friendly set to where it shows who is who if you point your gun at them but i would like to have a icon or the name show above there head at all time like koth or something. I googled but couldnt find any script examples! I did come across this, but it didnt work for whatever reasons http://www.armaholic.com/page.php?id=23512 and thats what im looking for so any help would be greatly appreciated! Thanks!
  11. Im trying to move my killfeed to the bottom left just above the chat logs and am having a hard time finding out how to get the XY. gui editor is greyed out and if i use the code from wiki to see the test grid I dont get the information im searching for and i tried my .hpp code but it showed a error which is odd since i know the killfeed works maybe i just need a different code to exec what im trying to do. Right now my killfeed displays in the top left and when i tried guessing it would either barely move or disappear. .hpp file
  12. Hey guys Im making a MP killstreak mission. Everything works but have one problem. The AI unit dies after ejecting and parachutes down dead. So could someone either edit my script to stop the AI from dying or know how to get the AI character to spawn on your position without parachuting / use of triggers since players could be anywhere on the map. Either one will work I just did this Parachute because its what I knew how to do! Thanks in advance.
  13. that did the trick! its working! thanks
  14. like above cant get the mission to play on dedicated server. If I do get it to play people spawn in as seaguls, I have ran every mod listed and without and I just get different types of errors each time! Hosting from my PC no problems at all the only thing is I have to start over the next day or next time I play and that is rather annoying so I was hoping to get this running on my dedicated server but havnt had any luck! Mission is awesome and fun though! Hopefully you get the dedicated server side fixed! Thanks for sharing and taking the time to make this mission for us! Also the CUP add ons I get "remove this or add keys error" on dedicated...hosting from PC no error at all. Confuses me lol
  15. Does anyone have a killstreak script theyd like to share? I have made a airdrop kills streak for a vehicles and ammo boxes but was looking for one for maybe mortar / air support or maybe a AI soldier.
  16. LastNerve

    killstreak script

    okay I have a AI "parachuting to player" but he dies automatically when he drops. can someone tell me what I need to do or give a better code? here is what im using. Script works but AI dies.
  17. Does anyone know how to change what guns to be available within the 3D weapon menu script? I have found a file which has Cases within it but when I change out the code or add another gun codes to it they all disappear and I just dont understand how to add weapons. what i added to it but after I save they all disappear and no guns are available here is what a "normal" one looks like
  18. LastNerve

    GUI Editor

    I got it! Thanks!
  19. hello everyone, recently been trying to get this killfeed script to work and have tried everything and seems like im just one dang }; away. could you look at this and see if i implemented it right. i keep getting line 419 "RCS picture"is missing a }; and if i add one it just says the next line is missing it and notepadd ++ found no errors so im thinking i just messed up or im missing it. this is the killfeed.sqf part that im supposed to to add to my description: here is my description.ext
  20. LastNerve

    killfeed error

    Thanks, now i get line 281 description rsc picture already defined.. error. i might just start over because i just cant seem to get this thing to work!
  21. LastNerve

    killfeed error

    yes sir. i deleted it from first post because i figured out what the issue was but here it is again. I tried option 1...but i could try again i had done 100 different things every which way before i came here because for the life of me I couldnt get it to work and its a easy "add on" so to speak... this post will be very long but ill post all my info. Im just trying to install "killfeed" kill feed is its own folder and all files are in the correct spot just when i add the description no matter where i put it i get a error of different items each time. from missing }; class already defined, and one more. thanks for your time to look at this! description.ext author = "LastNerve"; onLoadName = "TDM AIRBASE"; onLoadMission = "Lock and Load"; loadScreen = "Pic.jpg"; DisabledAI = 1; Respawn = 3; Respawndelay = 3; class Header { gameType = TDM; minPlayers = 0; maxPlayers = 100; }; class Params { class TDM_RespawnTime { //ParamsArray[0] title = "RESPAWN TIME:"; values[] = {10, 20, 30, 45, 60}; texts[] = {"10s", "20s", "30s", "45s", "1min"}; default = 3; }; class TDM_Lives { //ParamsArray[1] title = "NUMBER OF LIVES:"; values[] = {25, 50, 100, 150, 200, 250, 300, 400, 500, 600, 700, 800, 900, 1000}; texts[] = {"25", "50", "100", "150", "200", "250", "300", "400", "500", "600", "700", "800", "900", "1000"}; default = 100; }; class TDM_MatchTime { //ParamsArray[2] title = "MATCH TIME:"; values[] = {960, 1860, 2760, 3660}; texts[] = {"15min", "30min", "45min", "1h"}; default = 1860; }; class WeaponMenu3D { //ParamsArray[3] title = "WEAPONS:"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26}; texts[] = {"DEFAULT","ALL","ALL -GL","ALL -MACHINEGUNS","ALL -GL-MACHINEGUNS","PISTOLS","SUBMACHINE GUNS","ASSAULT RIFLEs (5.56mm)","ASSAULT RIFLEs (6.5mm)","ASSAULT RIFLES","ASSAULT RIFLES -GL","MACHINE GUNS ONLY","RIFLES","ANTI MATERIEL RIFLES","RIFLES vs MACHINE GUNS","ONLY: ACP-C2","ONLY: PDW2000","ONLY: VERMIN SMG","ONLY: TGR-21","ONLY: Mk20C","ONLY: KATIBA","ONLY: MX","ONLY: MK18 ABR","ONLY: MK200", "ONLY: ZAFIR", "ONLY: GM6 LYNX", "ONLY: M320 LRR"}; default = 0; }; class WeaponMenu3D_Sight { //ParamsArray[4] title = "WEAPONS: SIGHTS:"; values[] = {0,1,2,3,4}; texts[] = {"OFF", "ALL", "SHORT RANGE", "MID-RANGE And LONG RANGE", "SPECIAL"}; default = 1; }; class WeaponMenu3D_Side { //ParamsArray[5] title = "WEAPONS: SIDE ATTACHEMENT:"; values[] = {0,1}; texts[] = {"OFF", "ON"}; default = 1; }; class WeaponMenu3D_Silencer { //ParamsArray[6] title = "WEAPONS: SILENCERS:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 1; }; class TDM_Grenades { //ParamsArray[7] title = "HANDGRENADES:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 1; }; class TDM_Smoke { //ParamsArray[8] title = "SMOKE:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 0; }; class NightVision { //ParamsArray[9] title = "NIGHT VISION:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 0; }; class Light { //ParamsArray[10] title = "LIGHT CONDITIONS (Sun/Moon):"; values[] = {1, 2, 3, 4, 5, 6, 7}; texts[] = {"12.00h", "05.30h (E)", "09.00h (E)", "15.00h (W)", "18.30h (W)", "22.00h (No Moon)", "00.00h (Moon)"}; default = 1; }; class Fog { //ParamsArray[11] title = "FOG:"; values[] = {0,25,50,75,100}; texts[] = {"0%","25%","50%","75%","100%"}; default = 0; }; class Rain { //ParamsArray[12] title = "ENVIRONMENT: RAIN:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 0; }; class TKL { //ParamsArray[13] title = "AUTOMATIC TEAM KILLER:"; values[] = {0,1}; texts[] = {"OFF","ON"}; default = 1; }; class FCD { //ParamsArray[14] title = "FINAL CAMERA DURATION:"; values[] = {16,32,48,64,80,96,112,128,144,160,176,192,208}; texts[] = {"16s","32s","48s","64s","80s","96s","112s","128s","144s","160s","176s","192s","208s"}; default = 32; }; class Knife_Kill { //ParamsArray[15] title = "KNIFE KILL:"; values[] = {0, 1, 2, 3}; texts[] = {"OFF", "+1", "+2", "+3"}; default = 3; }; class Tag_System { //ParamsArray[16] title = "TAG SYSTEM:"; values[] = {0, 1}; texts[] = {"OFF", "ON"}; default = 1; }; }; class CfgSounds { sounds[] = {Hint,Blip1,Capture,Score,OnClick,OnClick_Cancel,Choking,Knife_Stab}; class Hint { name = "Hint"; sound[] = {"\Sounds\Hint.ogg", 0.5, 1}; titles[] = { }; }; class Blip1 { name = "Blip1"; sound[] = {"\Sounds\Blip1.wav", 0.7, 1}; titles[] = { }; }; class Capture { name = "Capture"; sound[] = {"\Sounds\Capture.ogg", 0.7, 1}; titles[] = { }; }; class Score { name = "Score"; sound[] = {"\Sounds\Score.ogg", 0.7, 1}; titles[] = { }; }; class OnClick { name = "OnClick"; sound[] = {"\Sounds\OnClick.wav", 0.25, 1}; titles[] = { }; }; class OnClick_Cancel { name = "OnClick_Cancel"; sound[] = {"\Sounds\OnClick_Cancel.wav", 0.25, 1}; titles[] = { }; }; class Choking { name = "Choking"; sound[] = {"\M_KnifeKill_System\Sounds\Choking.ogg", 0.7, 1}; titles[] = { }; }; class Knife_Stab { name = "Knife_Stab"; sound[] = {"\M_KnifeKill_System\Sounds\Knife_Stab.ogg", 0.7, 1}; titles[] = { }; }; class killfeed { tag = "kill"; class functions { file = "killfeed\functions"; class killfeedMain {}; class killfeedCompile {}; class killfeedType {}; class killfeedRender {}; }; }; #include "killfeed\dialogs\common.hpp" class RscTitles { #include "killfeed\dialogs\titles.hpp" }; }; class CfgMusic { tracks[]={Music}; class Music { name = "Music"; sound[] = {"\Sounds\We Were Soldiers Main (intro).ogg", 0.7, 1.0}; }; }; class RscStdText { type=0; idc=-1; style=2; colorBackground[]={0,0,0,0}; colorText[]={1,1,1,1}; font="PuristaSemibold"; size=1.5; }; class RscPicture { access=0; type=0; idc=-1; style=48; colorBackground[]={0,0,0,0}; colorText[]={1,1,1,1}; font="PuristaSemibold"; sizeEx=0; lineSpacing=0; text=""; }; class RscTitles { titles[]={"Black", "Title", "GameMode", "Logo_FPSe","KnifeKill","ByMurcielago"}; class Black { idd=-1; movingEnable=0; duration=99999; fadein=0; name="intro"; controls[]={"title1"}; class title1 : RscStdText { text=""; colorText[]={0.00,0.00,0.90,1}; sizeEx = 0.05; x=0.000; y=0.000; w=1.000; h=1.000; }; }; class Title { idd=-1; movingEnable=0; duration=5; fadein=0; name="intro"; controls[]={"title1","title3"}; class title1 : RscStdText { text="TDM AIRBASE"; colorText[]={0.00,0.00,0.90,1}; sizeEx = 0.1; x=0.003; y=-0.097; w=1.00; h=1.00; }; class title3 : RscStdText { text="By: LastNerve"; colorText[]={0.00,0.00,0.90,1}; sizeEx = 0.04; x=0.003; y=0.028; w=1.00; h=1.00; }; }; class GameMode { idd=-1; movingEnable=0; duration=999; fadein=1; name="intro"; controls[]={"title1"}; class title1 : RscStdText { text="Team Deathmatch"; colorText[]={0.00,0.00,0.90,1}; sizeEx = 0.1; x=0.003; y=0.103; w=1.00; h=1.00; }; }; class Logo_FPSe { idd=-1; movingEnable=0; duration=99999; fadein=0; controls[]={"Image_1"}; class Image_1 : RscPicture { x=0.250; y=0.175; w=0.500; h=0.700; text = "FPSe.jpg"; }; }; class KnifeKill { idd=-1; movingEnable=0; duration=0.5; fadein=0; controls[]={"Image_1"}; class Image_1 : RscPicture { x=0.460; y=0.600; w=0.080; h=0.112; text = "M_KnifeKill_System\Image\KnifeKill.paa"; }; }; class ByMurcielago { idd=-1; movingEnable=0; duration=99999; fadein=0; controls[]={"Image_1"}; class Image_1 : RscPicture { x=0.250; y=0.175; w=0.500; h=0.700; text = "ByMurcielago.jpg"; }; }; }; #include "WeaponMenu3D\Menu.hpp" I had it at the beginning at first but this was just the last spot i had tried and left it there. look for class killfeed under cfg sounds killfeed dialog common.hpp // Control types #define CT_STATIC 0 #define CT_BUTTON 1 #define CT_EDIT 2 #define CT_SLIDER 3 #define CT_COMBO 4 #define CT_LISTBOX 5 #define CT_TOOLBOX 6 #define CT_CHECKBOXES 7 #define CT_PROGRESS 8 #define CT_HTML 9 #define CT_STATIC_SKEW 10 #define CT_ACTIVETEXT 11 #define CT_TREE 12 #define CT_STRUCTURED_TEXT 13 #define CT_CONTEXT_MENU 14 #define CT_CONTROLS_GROUP 15 #define CT_SHORTCUTBUTTON 16 #define CT_XKEYDESC 40 #define CT_XBUTTON 41 #define CT_XLISTBOX 42 #define CT_XSLIDER 43 #define CT_XCOMBO 44 #define CT_ANIMATED_TEXTURE 45 #define CT_OBJECT 80 #define CT_OBJECT_ZOOM 81 #define CT_OBJECT_CONTAINER 82 #define CT_OBJECT_CONT_ANIM 83 #define CT_LINEBREAK 98 #define CT_USER 99 #define CT_MAP 100 #define CT_MAP_MAIN 101 #define CT_LISTNBOX 102 // Static styles #define ST_POS 0x0F #define ST_HPOS 0x03 #define ST_VPOS 0x0C #define ST_LEFT 0x00 #define ST_RIGHT 0x01 #define ST_CENTER 0x02 #define ST_DOWN 0x04 #define ST_UP 0x08 #define ST_VCENTER 0x0C #define ST_GROUP_BOX 96 #define ST_GROUP_BOX2 112 #define ST_ROUNDED_CORNER ST_GROUP_BOX + ST_CENTER #define ST_ROUNDED_CORNER2 ST_GROUP_BOX2 + ST_CENTER #define ST_TYPE 0xF0 #define ST_SINGLE 0x00 #define ST_MULTI 0x10 #define ST_TITLE_BAR 0x20 #define ST_PICTURE 0x30 #define ST_FRAME 0x40 #define ST_BACKGROUND 0x50 #define ST_GROUP_BOX 0x60 #define ST_GROUP_BOX2 0x70 #define ST_HUD_BACKGROUND 0x80 #define ST_TILE_PICTURE 0x90 #define ST_WITH_RECT 0xA0 #define ST_LINE 0xB0 #define ST_SHADOW 0x100 #define ST_NO_RECT 0x200 #define ST_KEEP_ASPECT_RATIO 0x800 #define ST_TITLE ST_TITLE_BAR + ST_CENTER // Slider styles #define SL_DIR 0x400 #define SL_VERT 0 #define SL_HORZ 0x400 #define SL_TEXTURES 0x10 // progress bar #define ST_VERTICAL 0x01 #define ST_HORIZONTAL 0 // Listbox styles #define LB_TEXTURES 0x10 #define LB_MULTI 0x20 // Tree styles #define TR_SHOWROOT 1 #define TR_AUTOCOLLAPSE 2 // MessageBox styles #define MB_BUTTON_OK 1 #define MB_BUTTON_CANCEL 2 #define MB_BUTTON_USER 4 //////////////// //Base Classes// //////////////// class RscText { access = 0; idc = -1; type = CT_STATIC; style = ST_MULTI; linespacing = 1; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,.5}; text = ""; shadow = 2; font = "PuristaMedium"; SizeEx = 0.02300; fixedWidth = 0; x = 0; y = 0; h = 0; w = 0; }; class RscPicture { access = 0; idc = -1; type = CT_STATIC; style = ST_PICTURE; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = 0; lineSpacing = 0; text = ""; fixedWidth = 0; shadow = 0; x = 0; y = 0; w = 0.2; h = 0.15; }; class RscButton { access = 0; type = CT_BUTTON; text = ""; colorText[] = {1,1,1,.9}; colorDisabled[] = {0.4,0.4,0.4,0}; colorBackground[] = {0.75,0.75,0.75,0.8}; colorBackgroundDisabled[] = {0,0.0,0}; colorBackgroundActive[] = {0.75,0.75,0.75,1}; colorFocused[] = {0.75,0.75,0.75,.5}; colorShadow[] = {0.023529,0,0.0313725,1}; colorBorder[] = {0.023529,0,0.0313725,1}; soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1}; soundPush[] = {"\ca\ui\data\sound\new1",0,0}; soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1}; soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1}; style = 2; x = 0; y = 0; w = 0.055589; h = 0.039216; shadow = 2; font = "PuristaMedium"; sizeEx = 0.03921; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; borderSize = 0; }; class RscFrame { type = CT_STATIC; idc = -1; style = ST_FRAME; shadow = 2; colorBackground[] = {1,1,1,1}; colorText[] = {1,1,1,0.9}; font = "PuristaMedium"; sizeEx = 0.03; text = ""; }; class BOX { type = CT_STATIC; idc = -1; style = ST_CENTER; shadow = 2; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = 0.02; colorBackground[] = { 0.2,0.2,0.2, 0.9 }; text = ""; }; class RscStructuredText { type = 13; style = 0; x = 0; y = 0; h = 0.035; w = 0.1; text = ""; size = "(((((safezoneW / safezoneH) min 1.6) / 1.6) / 25) * 1)"; colorText[] = {1, 1, 1, 1.0}; shadow = 0; class Attributes { font = "PuristaMedium"; color = "#ffffff"; align = "left"; shadow = 0; }; }; weapon menu.hpp // 3D WEAPONS MENU class RscText { access = 0; type = 1; style = 0x02; font = "PuristaMedium"; colorDisabled[] = {0,0,0,0.3}; colorBackgroundDisabled[] = {0,0,0,0.3}; x = 0; y = 0; w = 0.3; h = 0.1; offsetX = 0; offsetY = 0; colorFocused[] = {0.9,0.9,0.9,0.9}; colorBorder[] = {0,0,0,0}; borderSize = 0; soundEnter[] = {',0.1,1}; soundPush[] = {',0.1,1}; soundClick[] = {',0.1,1}; soundEscape[] = {',0.1,1}; }; class RscButton { access = 0; type = 1; style = 0x02; font = "PuristaMedium"; colorDisabled[] = {0,0,0,0.3}; colorBackgroundDisabled[] = {0,0,0,0.3}; x = 0; y = 0; w = 0.3; h = 0.1; offsetX = 0; offsetY = 0; colorFocused[] = {0.9,0.9,0.9,0.9}; colorBorder[] = {0,0,0,0}; borderSize = 0; soundEnter[] = {',0.1,1}; soundPush[] = {',0.1,1}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {',0.1,1}; }; class WeaponMenu3D { idd = 333; movingEnable = true; controlsBackground[]={}; controls[] = {Weapon_Next,Weapon_Previous,Weapon_Display,Ready,Sight,Sight_Previous,Sight_Next,Sight_Display,Side,Side_Previous,Side_Next,Side_Display,Silencer,Silencer_Previous,Silencer_Next,Silencer_Display}; class Weapon_Previous : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.110; y=0.780; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text="<"; action="WeaponMenu3D_i = WeaponMenu3D_i - 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Weapon.sqf';"; }; class Weapon_Next : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.160; y=0.780; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text=">"; action="WeaponMenu3D_i = WeaponMenu3D_i + 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Weapon.sqf';"; }; class Weapon_Display : RscText { idc=100; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,0,0.8}; colorBackgroundActive[] = {1,1,0,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.045; x=0.215; y=0.780; w=0.510; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text=""; action=""; }; class Ready : RscButton { idc=-1; colorText[] = {0,0,0,1}; colorBackground[] = {0.2,0.5,0.2,0.9}; colorBackgroundActive[] = {0.2,0.5,0.2,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.055; x=0.735; y=0.780; w=0.090; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text="OK!"; action="Cam CameraEffect ['Terminate', 'Back']; CamDestroy Cam; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Ready.sqf';"; }; class Sight : RscText { idc=-1; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,1,0.8}; colorBackgroundActive[] = {1,1,1,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.04; x=0.110; y=0.845; w=0.175; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text="SIGHTS"; action=""; }; class Sight_Previous : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.295; y=0.845; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text="<"; action="SightMenu3D_i = SightMenu3D_i - 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Sight.sqf';"; }; class Sight_Next : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.345; y=0.845; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text=">"; action="SightMenu3D_i = SightMenu3D_i + 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Sight.sqf';"; }; class Sight_Display : RscText { idc=101; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,0,0.8}; colorBackgroundActive[] = {1,1,0,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.045; x=0.400; y=0.845; w=0.425; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text=""; action=""; }; class Side : RscText { idc=-1; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,1,0.8}; colorBackgroundActive[] = {1,1,1,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.04; x=0.110; y=0.910; w=0.175; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text="SIDE"; action=""; }; class Side_Previous : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.295; y=0.910; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text="<"; action="SideMenu3D_i = SideMenu3D_i - 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Side.sqf';"; }; class Side_Next : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.345; y=0.910; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text=">"; action="SideMenu3D_i = SideMenu3D_i + 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Side.sqf';"; }; class Side_Display : RscText { idc=102; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,0,0.8}; colorBackgroundActive[] = {1,1,0,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.045; x=0.400; y=0.910; w=0.425; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text=""; action=""; }; class Silencer : RscText { idc=-1; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,1,0.8}; colorBackgroundActive[] = {1,1,1,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.04; x=0.110; y=0.975; w=0.175; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text="SILENCER"; action=""; }; class Silencer_Previous : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.295; y=0.975; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text="<"; action="SilencerMenu3D_i = SilencerMenu3D_i - 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Silencer.sqf';"; }; class Silencer_Next : RscButton { idc=-1; colorText[] = {1,1,1,1}; colorBackground[] = {0.0,0.0,0.0,0.9}; colorBackgroundActive[] = {0.9,0.9,0.9,0.9}; colorShadow[] = {0,0,0,0.5}; sizeEx = 0.066; x=0.345; y=0.975; w=0.045; h=0.055; offsetPressedX = 0.002; offsetPressedY = 0.002; text=">"; action="SilencerMenu3D_i = SilencerMenu3D_i + 1; Null = [] ExecVM 'WeaponMenu3D\Menu_Action_Silencer.sqf';"; }; class Silencer_Display : RscText { idc=103; colorText[] = {0,0,0,1}; colorBackground[] = {1,1,0,0.8}; colorBackgroundActive[] = {1,1,0,0.8}; colorShadow[] = {0,0,0,0}; sizeEx = 0.045; x=0.400; y=0.975; w=0.425; h=0.055; offsetPressedX = 0.000; offsetPressedY = 0.000; text=""; action=""; }; }; sorry its so long. new to scripting and learning as i go!
  22. LastNerve

    killfeed error

    okay i think i found the problem... both my killfeed.hpp file and my weapon menu.hpp file have similar rsc titles....how do i run both of them because if i deleted the similar rsc files in either one that stops the other from working... problem is classes "already defined" weapn.hpp file // 3D WEAPONS MENU class RscText { access = 0; type = 1; style = 0x02; font = "PuristaMedium"; colorDisabled[] = {0,0,0,0.3}; colorBackgroundDisabled[] = {0,0,0,0.3}; x = 0; y = 0; w = 0.3; h = 0.1; offsetX = 0; offsetY = 0; colorFocused[] = {0.9,0.9,0.9,0.9}; colorBorder[] = {0,0,0,0}; borderSize = 0; soundEnter[] = {',0.1,1}; soundPush[] = {',0.1,1}; soundClick[] = {',0.1,1}; soundEscape[] = {',0.1,1}; }; class RscButton { access = 0; type = 1; style = 0x02; font = "PuristaMedium"; colorDisabled[] = {0,0,0,0.3}; colorBackgroundDisabled[] = {0,0,0,0.3}; x = 0; y = 0; w = 0.3; h = 0.1; offsetX = 0; offsetY = 0; colorFocused[] = {0.9,0.9,0.9,0.9}; colorBorder[] = {0,0,0,0}; borderSize = 0; soundEnter[] = {',0.1,1}; soundPush[] = {',0.1,1}; soundClick[] = {"\A3\ui_f\data\sound\onclick", 0.07, 1}; soundEscape[] = {',0.1,1}; }; killfeed.hpp //////////////// //Base Classes// //////////////// class RscText { access = 0; idc = -1; type = CT_STATIC; style = ST_MULTI; linespacing = 1; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,.5}; text = ""; shadow = 2; font = "PuristaMedium"; SizeEx = 0.02300; fixedWidth = 0; x = 0; y = 0; h = 0; w = 0; }; class RscPicture { access = 0; idc = -1; type = CT_STATIC; style = ST_PICTURE; colorBackground[] = {0,0,0,0}; colorText[] = {1,1,1,1}; font = "PuristaMedium"; sizeEx = 0; lineSpacing = 0; text = ""; fixedWidth = 0; shadow = 0; x = 0; y = 0; w = 0.2; h = 0.15; }; class RscButton { access = 0; type = CT_BUTTON; text = ""; colorText[] = {1,1,1,.9}; colorDisabled[] = {0.4,0.4,0.4,0}; colorBackground[] = {0.75,0.75,0.75,0.8}; colorBackgroundDisabled[] = {0,0.0,0}; colorBackgroundActive[] = {0.75,0.75,0.75,1}; colorFocused[] = {0.75,0.75,0.75,.5}; colorShadow[] = {0.023529,0,0.0313725,1}; colorBorder[] = {0.023529,0,0.0313725,1}; soundEnter[] = {"\ca\ui\data\sound\onover",0.09,1}; soundPush[] = {"\ca\ui\data\sound\new1",0,0}; soundClick[] = {"\ca\ui\data\sound\onclick",0.07,1}; soundEscape[] = {"\ca\ui\data\sound\onescape",0.09,1}; style = 2; x = 0; y = 0; w = 0.055589; h = 0.039216; shadow = 2; font = "PuristaMedium"; sizeEx = 0.03921; offsetX = 0.003; offsetY = 0.003; offsetPressedX = 0.002; offsetPressedY = 0.002; borderSize = 0; }; thanks
  23. Hello everyone, As of today all my maps have this error. I cant figure it out everything worked perfectly till today. Didnt change any settings or files and i am completely lost! Ive double checked my missions files / scripts and everything appears right! Instead of respawning when players die or kill themselves its giving a black screen and never coming out of it...it is scripted to do till respawn time is up but it just stays black.. another thing it does if it doesnt go black is is goes to like a "mission fail" screen says "player name, Sit Rep, TOD" and the "esc" menu is there to end mission and its the only thing your able to select so therefore if you die you have to leave the server and come back. Like i said everything ran great till today and then everymap is doing this...video below...any advice would be great... EDIT: the first video is one i found of it working two days ago SOLVED: single player death screen somehow got checked!
  24. LastNerve

    Arma 3 scripting questions.

    took me a minute to figure out what you ment about +alpha (opacity) but i got it figured out! I was looking at my PS colors and couldnt figure it out. I figured to change color would be like #FF02234 but thanks again for all your help! Ive got everything I needed! LRB 24/7 server is up and running with really well put together maps now and more to come! Thank you all!
  25. LastNerve

    Arma 3 scripting questions.

    Thank you very much! I have searched the all over the web and couldnt ever find something but that is exactly what I was hoping for thanks a million! Edit: is there anyway to change the color and lower the text down closer the player... or send me to the right direction and i can probably figure it out. thank you sir!
×