Jump to content


  • Content Count

  • Joined

  • Last visited

About ZeroK00L

  • Rank

Recent Profile Visitors

954 profile views
  1. Hey all, Looking to edit the Map Screen Briefing section to include server Rules, Info, Tips, Etc. I know Altis Life RPG has a brieifing.sqf and Wasteland does as well. Did the Epoch Devs disable this feature? If so can I re-enable it? Thanks for any help or advice! Zero
  2. Horbin, Nice work on this AI Mod! I am setting it up to run on a Test Server with HC. All is good, HC stuff is set up and works fine. Only question I have is how long does it take for that TestMission1 to spawn? I started up the server and been sitting here for 45 minutes hoping it will trigger so I can verify it works. Thanks for your help and hard work! Zero
  3. Feel free too make it however you like! :) Could also just make a trader out of the vending machine instead of scripting. Zero
  4. Will work with both. Only ones that wont work are the ones from Raymixs Emerald Tools! Zero
  5. Damn. Wouldn't let me attach the sound file. Says I dotn have permission. Will find another way to post it later..my apologies. EDIT: Try this for the sound file. https://www.dropbox.com/s/tcbtugkx92m7h7k/vendingmachine.ogg Zero
  6. Hi all! Thought I would share a simple little script I put together. I am by no means a professional and this probably could be cleaner and better written but it works and is a cool little addition. This script is also a simple example of what can be accomplished with your server. Start with small scripting projects and have fun learning. So here it is. I studied the code from a few others and threw this together.. Add this code to your fn_selfactions.sqf at the very bottom... //------------------------------------------------ Vending Machine --------------------------------// private["_playerPos","_nearVend"]; _playerPos = getPosATL player; _nearVend = count nearestObjects [_playerPos, ["MAP_vending_machine"], 4] > 0; if (_nearVend) then { if (s_player_buySoda < 0) then { s_player_buySoda = player addaction[("<t color=""#00C732"">" + ("Buy Soda") +"</t>"),"Vending\venddrink.sqf"]; }; } else { player removeAction s_player_buySoda; s_player_buySoda = -1; }; //--------------------------------------------- Vending Machine End ---------------------------// Make a folder in your root of your mission file called "Vending" and make a empty file named "venddrink.sqf", then copy and paste this... //by ZeroK00L private["_playerPos","_canVend"]; call gear_ui_init; _playerPos = getPosATL player; _canVend = count nearestObjects [_playerPos, ["MAP_vending_machine"], 4] > 0; _soda = ["ItemSodaRabbit","ItemSodaOrangeSherbet","ItemSodaLvg","ItemSodaClays","ItemSodaSmasht","ItemSodaPepsi","ItemSodaMdew","ItemSodaCoke","ItemSodaLemonade"]; if (_canVend) then { playsound "vendingmachine"; sleep 2; player playActionNow "PutDown"; player addMagazine 'ItemSodaRabbit'; cutText ["You received a Soda from the Vending Machine!", "PLAIN DOWN"]; }; OPTIONAL IF YOU WANT THE SOUND! Open up description.ext and add this to your sounds class. If you dont already have one you can make one.. class CfgSounds { sounds[] ={vendingmachine}; class vendingmachine { name="vendingmachine"; sound[]={\Vending\vendingmachine.ogg,0.9,1}; titles[] = {}; }; }; Then add the attached sound file to your "Vending" folder. Voila! If you notice, in the venddrink.sqf I put an array for all the sodas & beer the game can use. _soda = ["ItemSodaRabbit","ItemSodaOrangeSherbet","ItemSodaLvg","ItemSodaClays","ItemSodaSmasht","ItemSodaPepsi","ItemSodaMdew","ItemSodaCoke","ItemSodaLemonade"]; Maybe if I have time I will create a random chance for different sodas to come out. Also I might make it so it takes money from the player. If anyone wants to tackle those items and share please do. Have fun with it :) This script can even be modified and used on the Refrigerators to give the player canned foods. P.S You will need to place a vending machine somewhere on the map. Classname is "MAP_vending_machine". I have tried to use Raymix's Emerald tools but the script doesn't recognize the vending machine placed by that tool. Would be cool if it did...so use the editor for now. :) Zero
  7. Ok, Just another shot in the dark... Do you have access to your Hive.ini file?? If so look for this field and make sure it matches your database... [Characters] ;The field name that Player's IDs are stored in (unique per game license) ;Some table layouts have this as PlayerID, and some as PlayerUID, that's why this is configurable IDField = PlayerUID ;The field name that Player's World Position and rotation is stored in ;Enables you to run multiple different maps (different instances) off the same character table ;WSField = Worldspace Just a thought.. Zero
  8. Hi, When you moved to Vilayer, did you transfer over your DayZ.St database as well? I had this issue as well when I tried to move over my backup of the database from DayZ.St to Vilayer. Started over with a new database and Voila! I know making players start over sucks but sometimes a necessary evil... Zero
  9. Hey, That is normal. Your indestructable mod is only for player buildables. Server side map addons will respawn after restart.... Zero
  10. Can you post the SQF that is spawning the double building? Also, keep them server side. Much cleaner way to do it especially if you have alot of map addons! Zero
  11. Hello, To answer this posters intital question, I would be happy to help setting up or showing you the ropes on getting your server going. We had a server with DayZ.St and I am intimately familiar with all the pains that come from dealing with them. In reality thiswill be a constant issue. You are somewhat restricted with what you can do when working with a Hosting company. Vilayer is DEF a better choice but has some issues too. Running a dedicated machine is the best way to go but requires experience setting up the servers and configuring the network. I just wouldnt recommend playing on the same machine you are hosting from. Like Brockie said, the requirements are really not that crazy. Arma 2 only needs really 1 Core per server. The biggest issue will be your network. Your going to need unlimited bandwith and a pretty fast connection for your players. If you need help still, PM me and we will see what we can do :) Zero
  12. For both of you, this realeas works really well and as intended. I have had this on our server since it was released and Friendly Tagging does indeed work. I also have snap building and Raymixs Emerald Interior Design tools working. :) Zero
  13. Hi, Maybe you can provide more info? Post your RPT log files? Has the mission file been modified? If so what has been modified? By the way, this forum is for Scripts/Mods that have been written and released to public. You might get more help in the appropriate forum. Zero
  14. Hello, I use Nightmares Private Hive Tools. Google. Theres a tutorial on how to set it up. IT has an option to delete all vehicles with empty inventory. Make sure to have your players put at least one item in their vehicles inventory on the vehicles you want to keep. Then go into Private Hive Tools. Click Hive Cleaner and Delete all Vehicles with Empty Inventory. Then restart server. Make sure also in your init.sqf you have the Max Vehicles line set...looks like this... MaxVehicleLimit = 50; // Default = 50 Change to whatever you want. This will limit how many vehicles the server spawns and "in theory" the server should cleanup any number over what you set but I have found this to be faulty. Hope this helps. Without PHP Tools you will need to run a SQL query on your database....http://dayz.st/w/MySQL <---Keep in mind with this link some of the information is old but should give you an idea on what to do with SQL queries. Zero
  • Create New...