Graz
Member-
Content Count
51 -
Joined
-
Last visited
-
Medals
Community Reputation
1 NeutralAbout Graz
-
Rank
Lance Corporal
-
Taviana Island for ArmA 2!
Graz replied to -martin-'s topic in ARMA 2 & OA - ADDONS & MODS: COMPLETE
It's worse then that. I have recently become aware that in addition to icewindos units, the dayz-origins team had been using a fair amount of other peoples work, without credit and selling their services for money. So Far: The day/night cycle was taken from another mod (Dayz redux) without credit Many of their 'surivor-made' units are taken from Dayz 2017, with no acknowledgement. I wouldn't be surprised if code was stolen from 2017 either (I haven't confirmed either way) Bugfixes I created for Taviana Island have been put into the map, not released publicly and no credit is given. Icewindo's Hazmats are being used without his permission (afaik) and no credit is given. (These may have been taken out, not %100 sure) Some (small) Dayz Namalsk coding was taken aswell, with no credit given What's really scummy is that someone would make this kind of thread, then turn around and support a website that is doing exactly the same stealing. Absolutely poor form but Taviana has been a cursed, sub-par map from day 1 because of ego and greed. It's a shame, because it had such potential as a map!!! -
[Question] How to use public variables properly
Graz replied to Graz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Edit: forgot to say thanks for posting back :) Is that different from = true? Or is it just a lot cleaner? -
[Question] How to use public variables properly
Graz posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I've been trying to initiate an an storm by using a public variable as a boolean. It's for multiplayer, with JIP on a dedicated server. The server handles the probability of a storm occurring and the client executes the effects. It all worked perfectly without the variable, but now it's not returning anything. This is the first time I've use a public or global variable so I'm sure I've just made a rookie mistake! Here's the code: mission init.sqf: //Storm pulse if (isDedicated) then { [] execVM "weather/storm_pulse.sqf"; }; //Storm if (!isDedicated) then { [] execVM "weather/storm.sqf"; }; [/Code] This is the storm_pulse.sqf [Code] //Storm testing while {true} do { sleep 120; Grazstorm = True; publicVariable "Grazstorm"; }; [/Code] And the loop and call in storm.sqf [u]This isn't the whole code, just the relevant parts[/u] [Code] [] spawn { _delay = 3; sleep 0.01; while {true} do { if (Grazstorm = true) then { _delay setovercast 0.9; _delay setrain 1; _delay setfog bis_fog; sleep _delay ; }; }; }; //It's called again here while {true} do { if (Grazstorm = true) then { //A metric ton of code I've removed }; sleep 0.2; }; [/Code] I have no idea how this isn't working!!! Squint didn't have any errors and the effects worked perfectly until I put in these checks. Does anyone know where I've ballsed up? -
TransportMagazines and Backpacks
Graz replied to Sakai's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
your on the right track, open up the BAF cfgvehicle and look at all the different british backpack load outs. it's pretty much you just inherit a backpack and make a new one ie BackpackSakai: bagbase Then just set the default items for it like your doing. -
Adding NVG to Holo scope only
Graz replied to Graz's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
That's not a bad idea, it would require a significant rework. Would it be easier to just have the holo as NVG and everything else outside as black? How would I go about doing that. -
Adding NVG to Holo scope only
Graz replied to Graz's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
Actually it's just the scope used in the SCAR sniper above: class StepScope { opticsID = 1; useModelOptics = 1; opticsPPEffects[] = {"OpticsCHAbera1", "OpticsBlur1"}; opticsZoomMin = 0.087666; opticsZoomMax = 0.035972; opticsZoomInit = 0.087666; memoryPointCamera = "eye"; opticsFlare = true; opticsDisablePeripherialVision = true; distanceZoomMin = 100; distanceZoomMax = 100; cameraDir = ""; visionMode[] = {"Normal"}; discreteDistance[] = {50, 100, 200, 300}; discreteDistanceInitIndex = 1; }; }; I'm not seeing which part limits the vision to the scope or sets the Scope to only show NVG. :( -
Adding NVG to Holo scope only
Graz replied to Graz's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I'm not seeing anything that answers the question in there: class SCAR_H_STD_TWS_SD : SCAR_H_LNG_Sniper_SD { scope = public; model = "\Ca\weapons_E\SCAR\mk17_std_tws_sup_grip"; modelOptics = "\Ca\weapons_E\LWTS_optic.p3d"; opticsPPEffects[] = {}; visionMode[] = {"Ti"}; thermalMode[] = {0, 1}; opticsZoomMin = 0.1606; opticsZoomMax = 0.1606; opticsZoomInit = 0.1606; distanceZoomMin = 100; distanceZoomMax = 100; dexterity = 1.68; displayName = $STR_EP1_DN_SCAR_H_STD_TWS_SD; picture = "\Ca\weapons_E\data\icons\mk17_std_tws_sup_grip_CA.paa"; UiPicture = "\CA\weapons\data\Ico\i_regular_CA.paa"; irDistance = 100; class OpticsModes : OpticsModes { class StepScope : StepScope { opticsPPEffects[] = {}; opticsZoomMin = 0.1606; opticsZoomMax = 0.1606; opticsZoomInit = 0.1606; memoryPointCamera = "eye"; distanceZoomMin = 100; distanceZoomMax = 100; visionMode[] = {"Ti"}; thermalMode[] = {0, 1}; }; }; [/Code] It's interesting that it uses the StepScope, I'm not sure what that is O.o -
I've been hoping to add NVG to an Eotech Scope. Using visionMode[] = {"Normal","NVG"}; works, but it illuminates the whole screen. Does anyone know how to make is so the holo scope is the only thing displayed in NVG? A visual (shoddy MS paint) representation is changing this http://imageshack.us/a/img43/9204/arma2oa2013013017275053.jpg Into this http://imageshack.us/a/img405/6953/arma2oa2013013017274459.jpg I've no idea where to start so any help would be geatly appreciated.
-
Creating a loading screen - with random text
Graz posted a topic in ARMA 2 & OA : ADDONS - Configs & Scripting
I've been toying with the idea of a putting a loading screen into a mission.pbo, so it shows mine instead of the standard arma II screen. Does anyone know a good tut for this as I was unsuccessful in finding one here :( -
Cloning existing addons
Graz replied to alleycat's topic in ARMA 2 & OA : ADDONS - Configs & Scripting
It's easier then it looks, but you need to know what your doing. If your ok with depboing and repboing (which will wreck any .bisign attached to it) it's very simple, as you can just copy+paste the vehicle throw a _custom to it's class name and go from there. Creating your own mod will need external references, so you'll need to reference the soldier then build your own. Make a copy of things like wheeled.pbo and wheeled_e.pbo (the common and expansion wheeled vehicles) and look at how they do it. A really good example to look at is the TK vehicles, as they are taken (via references) from the regular vehicle bases. -
Help Creating a Base that uses CodePad
Graz replied to BlackViperGaming's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Can you please put up how you managed to implement it? Will save someone like you in the future. -
Setdate script not running properly
Graz replied to Graz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Awesome, what did you test it with? -
Setdate script not running properly
Graz posted a topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
I recently made a really, really simple script for time changing. Essentially it just advances time from dusk (when it goes pitchblack) to moonrise, the reason is to eliminate pitch black game-play. I attempted to test it by using the 3d editor, setting the time in intel to 18:30 and then executing the script in the init line of an object. I'm hoping the issue is in how I tested it. The script is really basic, I'll post it here:It uses a while do loop and runs every 5 minutes. //moonrise while {true} do { private ["_timeG"]; _timeG = daytime; if (_timeg >= 17.5 && _timeg <= 21.5) then { setDate [2008, 11, 20, 21, 35]; } else {hint "time is ok!"}; sleep 300; }; [/Code] No errors but it doesn't change the time. The only two commands I'm using are daytime and setdate. Is it my testing or is there something wrong with the script? What's the best way to test if a script like this is working? -
Damaging buildings on mission start
Graz replied to Graz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
Yahtzee, Any idea what seed means? I must be automatically writing floor into the random, which would be why it's being more extreme! Hopefully I can use a combination of destroy cities function and the leveling one. -
Damaging buildings on mission start
Graz replied to Graz's topic in ARMA 2 & OA : MISSIONS - Editing & Scripting
(random 1) is completely healthy or destroyed correct? To damage a building you need fractions such as .8 or .5. Maybe ((random 2) x .5)?