-
Content Count
2683 -
Joined
-
Last visited
-
Medals
-
Medals
-
Everything posted by johnnyboy
-
version 1.5 JBOY Dog [v1.5 - updated 12/21/2018]
johnnyboy replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
"One time...at bandit camp..." Poor @Vandeanson is trying to show off his cool Bandit Camp Spawn script in the above video, but is harassed non-stop by a feral JBOY Dog pack. Its actually demonstrates quite well how effective the dog pack is at chasing players. Its missing the dog barking and growling sound fx for some reason though. Go here to check out @Vandeanson Bandit Camp spawner: -
any way to cut/rewind animation?
johnnyboy replied to blackburnrus's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm guessing not. But if its for a cutscene, you could make a twin of the unit off camera (same face, uniform, etc.), and start the animation on the twin. Then wait X seconds until animation is at point you want, and setpos camera unit away, and replace him with the unit that is playing the animation. Of course the transition from first unit to second unit will be abrupt. But if you have multiple things happening in your scene you can cut away to some other camera target while you replace the unit with the animation unit, then cut back. -
Disable player movement problem
johnnyboy replied to SparkZ's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Old topic, but posting this to help the next guy searching for this. The best way I know to disable player movement and still allow head movement is to do this: player switchMove "HubSpectator_stand"; Then to reneable player movement, do this: player switchMove ""; -
How to use Say3D and have it be heard clearly while inside of a vehicle
johnnyboy replied to pognivet's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Its probably not good for music, as it gives the little begin and end radio squelch sound. -
[SOLVED] point one object at another (bis_fnc_VectorDirAndUpRelative))
johnnyboy posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I searched for a while for this, and came up empty... I want to be able to point an object at another object in 3d space. So I need to calculate the values to use for setVectorDirAndUp. I know how to get the vector to the target (heading): _heading = [getPosASL _arrow, getPosASL _targetObj] call BIS_fnc_vectorFromXToY; And I know how to setvelocity using that heading, so the object moves toward the target. But how do I get the values for setVectorDirAndUp so the object is pointing at the target? I'll never understand vectors...they drive me crazy. -
[SOLVED] point one object at another (bis_fnc_VectorDirAndUpRelative))
johnnyboy replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Grumpy actually being grumpy...I like it! Thanks, I knew about the chairs...pretty lame. -
[SOLVED] point one object at another (bis_fnc_VectorDirAndUpRelative))
johnnyboy replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Beautiful! Merci Pierre! -
How to use Say3D and have it be heard clearly while inside of a vehicle
johnnyboy replied to pognivet's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm currently using customRadio for nearly all dialogue because it comes in loud and clear. Eventhough guys in the same vehicle probably wouldn't use the radio, I said fu** it and use customRadio. Then it doesn't matter if you're in first person in vehicle or 3rd person outside of vehicle, you still hear the conversation. For me it wasn't worth fighting say3d... -
Advanced Train Simulator (ATS)
johnnyboy replied to duda123's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Great news Duda! I read the first post and skimmed the last pages of the thread and saw no mention of scripted train control. Anyway, I will wait until you are ready to publish these features, as I have too much on my plate with my JBOY Dog mini-campaign right now. My dog wants to ride your trains! I greatly look forward to your scripted trains. BTW, your tumbleweed script is off the freakin' hook!!! -
How to create blood stains on ground, bullet hit blood fx, and burning shard fx
johnnyboy posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I love these new Arma 3 effects: - Bullet hit blood effects with meat chunks flying - Blood stains on ground - Burning pieces of metal flying and burning on ground after vehicle explosion - Blood effects underwater I need to create these on demand for cut-scenes and scripts. Anyone know the Drop commands needed for these? Where should I look for the particle or billboard object names? -
Hi @gc8, can you post how you modified the code to blacklist CfgVehicles?
-
How do I find the in-game icons?
johnnyboy replied to SpaydCBR's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I somehow missed this gem of a tool. Awesome Larrow! -
This post might be what you are looking for. Good luck!
-
Detecting buildings destroyed
johnnyboy replied to strider42's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Please post your solution when you get there. And...players should be punished hard and often! -
Advanced Train Simulator (ATS)
johnnyboy replied to duda123's topic in ARMA 3 - ADDONS & MODS: COMPLETE
@duda123, this really is an amazing mod. But I'm not a train driving enthusiast myself. I think your user base for this mod would triple or more if you add in script driven trains. You already have "auto-pilot" where player can jump off moving train and train keeps moving. It seems like that could be extended to be a script driven train. If the current code base works completely by player input controlling train's speed and switching tracks (left, right), etc., maybe that can be exploited without disturbing your core code too much (if you wrap those player input calls into calls callable by a script). Mission Designers could then script "simulated player input" to make same calls that player uses when pressing your defined train control keys. Maybe a Game Logic could be created to be the AI controller of the train (in place of player). Mission designer could put markers near junctions and sense when to issue call to turn train left/right, and markers for where to stop train, etc.. A Script API with calls to Start, Stop, Acellerate, Decelerate, Turn Left, Turn Right would be amazing. With those building blocks, us mere mortal scripters could then create all kinds of scenarios... Civilian trains with scheduled stops, where players and scripted AI units could board, disembark Troop trains moving troops, supplies and vehicles Train ambush and sabotage Staging a raid by riding a train into a town or compound Running battles between train riders and vehicles Strafing trains from the air Blowing up tracks and bridges and watch trains derail and fall Etc. A guy can dream anyway! :) Of course, this mod is beautiful as it is, so don't take this as a criticism in any way. I took a peek at the code a few months ago and was super impressed and intimidated by it, and promptly closed the files.... :) -
[Released] Phronk's Furniture Script
johnnyboy replied to phronk's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Good luck with the optimization dude! But if it proves too difficult, you could simply reduce the # of buildings furnished in a large town, distributing the furnished ones evenly among the non-furnished. It would still be a huge improvement over Vanilla towns. Keep that as a fall back position (you probably thought of this anyway)! Good luck matey. -
version 1.5 JBOY Dog [v1.5 - updated 12/21/2018]
johnnyboy replied to johnnyboy's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Does anyone ever read the thread or the top post? -
@DAP Looks great. Very impressive videos for this on Armaholic.
-
Nice. Awesome blues song dude. I'm a big blues fan...
-
Hey frogman, great minds think alike. The mission I'm working on is shotgun oriented, and I wanted the victim blown back when hit at close range. Here's the killed eventhandler for that. { _x addEventHandler ["Killed", { params["_unit","_killer"]; diag_log ["killed",_this]; // hint format ["killed, mag %1, %2",currentMagazine _killer, _unit]; if ( (currentMagazine _killer) find "buck" >= 0 or (currentMagazine _killer) find "Pellet" >= 0) then { _distance = _killer distance _unit; _speed = 1; _zvel= 1; switch (true) do { case (_distance <=18 and _distance > 12):{_speed = 5;_zvel= 1.5;}; case (_distance <=12 and _distance > 7): {_speed = 7;_zvel= 2.5;}; case (_distance <=7): {_speed = 11;_zvel= 3.5;}; }; //hint format ["distance=%1, speed=%2, zvel=%3",_distance,_speed,_zvel]; _heading = [getPosATL _killer, _unit modelToWorld [0,0,3]] call BIS_fnc_vectorFromXToY; _velocity = [_heading, _speed] call BIS_fnc_vectorMultiply; _velocity = _velocity vectorAdd [0,0,_zvel]; _unit setVelocity _velocity; }; }]; } foreach allUnits; You may have to adjust the following line to recognize your preferred shotgun's projectile. Replace "buck" or "pellet" with a substring that matches your shotgun's magazine name. Obviously you could make this work for a Barret .50 caliber hit as well. if ( (currentMagazine _killer) find "buck" >= 0 or (currentMagazine _killer) find "Pellet" >= 0) then You can tweak _speed and _zvel if you want to jack up the effect. Have fun bruddah!
-
Defending a building/camp/down - looking for tips
johnnyboy replied to thirith's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you set Respawn to Group, you can test it solo on a player hosted server and get all the wave mechanics worked out and other bugs squashed. Of course, you ultimately need others to flush out any MP problems. Good luck, and have fun. -
selectBestPlaces to only return places on land?
johnnyboy replied to Haymaker's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Haha, that's my problem too. I get an idea and won't let it go until it works, so it takes me freakin' forever to finish a mission. Thanks for the informative post. Question: For my JBOY Dog, I want to reduce his enemy detection range conditionally, when he is in dense forest or jungle (otherwise he senses an enemy so far away its useless to the player). What's a good position test command to determine if the dog is in the jungle or trees (and hopefully not just on the edge of the forest, but in at least 10 meters or so)? Sorry if this is thread hijacking, but it seems like a similar problem as to what is being discussed here. -
selectBestPlaces to only return places on land?
johnnyboy replied to Haymaker's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Other than looking for a helicopter landing spot, what are some mission use cases for using selectBestPlaces ? -
Defending a building/camp/down - looking for tips
johnnyboy replied to thirith's topic in ARMA 3 - MISSION EDITING & SCRIPTING
My "attack waves" mission I originally described had the time delays set up so the waves overlapped. So it increased the tension (as Grumpy described). It was very replayable, since the wave groups were randomized, and never felt gamey (ie., "wave 1 complete...countdown to wave 2"). Just experiment with the timing, and try your "% of wave killed" too until it works to your liking. These missions can be entertaining where you win one time and get slaughtered the next. Have fun building and testing it! Edit: I favor Respawn to Group for these types of missions also. -
Defending a building/camp/down - looking for tips
johnnyboy replied to thirith's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Now I know why they call him Grumpy. Not only is he a scripting guru, but also a merciless tactician. I'm going to have to go scout all those locations.