Jump to content

Shpook

Member
  • Content Count

    27
  • Joined

  • Last visited

  • Medals

Community Reputation

10 Good

About Shpook

  • Rank
    Private First Class

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Updated. v1.1 is available in the first post. I added a chance for building and object strikes, thanks to a suggestion from Youtube user jtgibson01. Also added a variable, SHPLightningRun, that will stop the script when set to false. See first post. (7/13/2014) v1.1 - Added chance of building and structure strikes. Added check variable to allow loop cancellation. Fixed a bug preventing the center from following a moving player or object.
  2. FYI, if you have enableDebugConsole = 1, the console and camera is available only to the admin or host, not everyone. 2 will allow it for everyone.
  3. No problem. In your case, private isn't honestly doing much unless you call the script from another script. It still allows variable sharing with inner scopes(I think). Also, _chaser is defined here: _chaser = (_this select 0); While _marker is defined here: _marker = createmarker [_nazwa, [0,0]]; I generally use hints and/or log reporting on a step by step basis when I run into trouble. So just start with: hint format["%1", _chaser]; and see if it's defined, then move down the line. You can also combine them into one hint: hint format["%1, %2, %3", _chaser, _chased, _radius]; Do it for each variable, but only put up one hint at a time. Make sure they return the values they should. But honestly, I didn't get a single error with your code. :)
  4. Works fine for me. I copy and pasted your script, didn't change anything. Placed an OPFOR group named chaser1, and a BLUFOR group named hunted. Started the mission, and called the script with the same line you used. OPFOR proceeded to move to BLUFOR's location. With debug on, the markers don't show up, but otherwise it seems to work fine. Since you're getting an undefined variable message, maybe you have a typo in one of the group leaders init line?
  5. Shpook's Ambient Lightning Script By Shpook Script Version: 1.0 Description: Hey everyone. Here's a small ambient lightning script I made for a mission, I figured people would enjoy using it. It's lightweight, and shouldn't affect mission performance at all. This is based on the Zeus lightning function from Bohemia. You can adjust the center the lightning spawns around, the radius the lightning spawns in, and the maximum duration between strikes. Download: You can download the script from Armaholic. Usage: Place the scripts folder in your mission folder. You can call the script from almost anywhere: init.sqf, a game logic, a player, or any other script. I prefer to use init.sqf. Parameters: _center - OBJECT, MARKER, or POSITION. Marker must have quotes(""). Position must be array[]. Default is player. _radius - Radius around center that lightning is randomly spawned. Default is 800 meters. _interval - Maximum duration in which lightning strikes. Default is 60 seconds. nul = [_center, _radius, _interval] execVM "scripts\SHPambientLightning.sqf"; Spawn lightning with defaults of player center, 800m radius, and 60s interval: Spawn lightning with transportHelicopter as center, 300m radius, and 20s interval: Spawn lightning with marker as center, 500m radius, and default interval: Spawn lightning with position array as center, default radius, and default interval: To stop the lightning script, type the following in a trigger or script: Video: Known Issues: It will most likely act strange in multiplayer, due to the mixture of localities. I haven't noticed any issues with smaller player counts, but it's not tested with more than a few players. Please let me know if you notice anything strange. Todo: Add a variable check to the loop to allow script cancellation during mission. Licensing: Feel free to do anything you want with this script. Also feel free to post any improvements, I'd love to see them. Special Thanks: Bohemia for providing both the Arma platform and the lightning function. TEST Outfit, TEST Arma for helping with testing, especially Vezer0. Changelog: (7/11/2014) v1.0 - Initial release. (7/13/2014) v1.1 - Added chance of building and structure strikes. Added check variable to allow loop cancellation. Fixed a bug preventing the center from following a moving player or object.
  6. Thanks Tom, Poseidon really helps ease scripting once you learn the ins and outs. I actually have Poseidon open more often than Arma. I've been following since the early releases, and it really has come into it's own. I do have a small nitpick though. The shortcuts under the "Misc Tools" can be a bit confusing. For example, to make a private statement, it says "Ctrl+E, Ctrl+P", when it really should say "Ctrl E+P". Not a huge deal at all, just figured I'd point it out. Thanks!
  7. Shpook

    ANN Overlay

    Hey Trooper, I know this a late response, but if you haven't figure it out, this is how: (uinamespace getvariable "BIS_AAN") closedisplay 1;
  8. Shpook

    Ivory Aircraft

    Nice model! Very fun to fly, though I do have a couple constructive criticisms. First, the rudder feels a bit sluggish for having such a large rudder. Second, elevator movement is backwards. When you apply up elevator, the elevator should actually move up, which will pivot the aircraft on the center of gravity. Nothing major, just wanted to point them out. Thanks for the awesome aircraft!
  9. See, I grew up and live in a huge urban area. I expect to hear police sirens, gunshots, and angry hookers. :) I mean, it really wasn't THAT big of a deal. But SOMEONE had to complain, right? Thanks TPW!
  10. Another satisfied customer here. But, I'm also another needy and demanding customer. :P One small request: Maybe tone back the barking dogs? I think Altis has a SEVERE dog infestation. No matter how many bombs we drop on them, they just keep barking, and barking, and barking..... :D In all seriousness, it does seem just a bit much. I really do love the ambience it brings, but they bark pretty much non-stop. Also, maybe some other animal noises? Again, thanks TPW!
  11. Oh. Well, then ignore my previous suggestions. The more I learn about A3Sync, the more I love it. Thanks Major! :)
  12. I guess I was a bit confusing on that first part. :) So, say someone connects and downloads my repository. I was suggesting that it should automatically create an addon group folder for that repo, that will only have the repo addons. This would eliminate the step of the user having to create the folder, and drag the addons to the folder. Also, thanks for the second part, I never realized that. :) ---------- Post added at 19:04 ---------- Previous post was at 19:01 ---------- Oh, also, back on the 17th, I had this issue, that you replied to: You're suggestion worked out on our server. And for our user, his JRE was out of date. Just wanted to say thanks. :)
  13. Still loving A3S. :D But I have a couple of small features request: First, it'd be nice if there was an addon group automatically created for a downloaded repo. Many of our users play with different groups, who use different mods. If there was an addon group, that stayed current with the repo build, all they would have to do is check the box, instead of going through the changelog. Also, there should be a way to delete mods that were deleted from the repo. As of current, we have to inform our users a mod was deleted, or they have to check the changelog. Of course, these are just quality of life suggestions. Regardless, thanks!
  14. Heya Major_Shepard. A3Sync is working out very well for my outfit. Repo management is stupidly easy, and I'm thankful for that. On that note, we're having a slight issue. On our server(Windows Server 2008) and a single member's computer(Windows 7 Ultimate), we can't create a folder under "Addon Groups". Which in turn, means we can't enable mods through A3Sync. It's not a big deal for the server, but I'm trying to get it sorted out for the member. I've check 10+ times to make sure everything is correct. EXE path, default mod folder, and repo paths are all correct. Also tried different locations. All mods show up in the "Available Addons" section. I've verified current versions of JRE, and tried running as admin. I'm a bit lost now. Any idea?
×