-
Content Count
3138 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by bad benson
-
spawning unit optimization
bad benson replied to dlegion's topic in ARMA 3 - MISSION EDITING & SCRIPTING
a common optimization when it comes to createVehicle is to input [0,0,0] as a position and do setpos to the desired position afterwards i think. been a while but pretty sure this will help with stutter by making it generally faster. -
terrain Krokom, Sweden
bad benson replied to Tjockejocke's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
man i don't know how you did it but you have so much color variation but no awkward out of placew coloring anywhere like on many many maps in this game (because of mixing of assets and stuff). i also love the puddles. are those the same that bludski uses or your own? i've been seeign those adn wondering who the author is. -
great ideas, great people behind it. this should be good!
-
[WIP] Project 1947 (Alt. History WW2) [Working title]
bad benson replied to xxgetbuck123's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
yaaay!!! aaawww... good luck with the project though. sounds awesome.- 21 replies
-
- 5
-
- world war 2
- tanks
-
(and 6 more)
Tagged with:
-
you might wanna let a moderator close this thread to avoid confusion. great work btw. can't wait to try the ships and units
-
i'll try to make sure to add blacklisting to the next version.
-
EventHanlder being triggered for everyone
bad benson replied to Col. Ben Sherman's topic in ARMA 3 - MISSION EDITING & SCRIPTING
look at the top here https://community.bistudio.com/wiki/addEventHandler and the second last column in the table below on here https://community.bistudio.com/wiki/Arma_3:_Event_Handlers when i was starting i was totally ignorant about these locality flags. they will save you a lot of headache and trial and error by simply telling you how commands and EHs behave in an MP environment. some EHs have detailed descriptions about it too, like "Hitpart" talking about these little buggers -
Building type
bad benson replied to durobulo@gmail.com's topic in ARMA 3 - MISSION EDITING & SCRIPTING
wait! the hint suggests it's inside arma? damn. nice work! -
Building type
bad benson replied to durobulo@gmail.com's topic in ARMA 3 - MISSION EDITING & SCRIPTING
in comes Larrow with the super useful code snippet. as always @Larrow is there anything you haven't tried yet? i always wonder what you are working on when i see your posts. is it some super elaborate game mode or are you just playing around? -
DesolationREDUX & (DR Project)
bad benson replied to BigBenREDUX's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
ah, just what i thought. thx for the info. -
DesolationREDUX & (DR Project)
bad benson replied to BigBenREDUX's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
any more info on what that is? sounds interesting. -
how to detect if gui is open ?
bad benson replied to Atom_Monky's topic in ARMA 3 - MISSION EDITING & SCRIPTING
the question would also be how frequently it should happen. like if it's a one time for all thing like your code looks now or rather an event based thing where everytime that specific dialog will be opened you want it to be closed again. -
how to detect if gui is open ?
bad benson replied to Atom_Monky's topic in ARMA 3 - MISSION EDITING & SCRIPTING
you need () around your condition not {}, otehr than that it looks fin to me. what are you not sure about when it comes to findDisplay? -
Disable looting gear from corpses
bad benson replied to soundblaster's topic in ARMA 3 - MISSION EDITING & SCRIPTING
maybe putting it all into an "EntityKilled" mission EH could be good. like the adding of the inventory related EHs themselves and not just the code inside them. could make it more universal and easier to maintain. -
[SOLVED] Prevent Player From Force Respawn When Incapacitated
bad benson replied to beno_83au's topic in ARMA 3 - MISSION EDITING & SCRIPTING
oh. just bad reading on my part then.- 17 replies
-
- 2
-
[SOLVED] Prevent Player From Force Respawn When Incapacitated
bad benson replied to beno_83au's topic in ARMA 3 - MISSION EDITING & SCRIPTING
yea. you should definately go find the idd of the respawn dialog in the configs. unpack ui_f.pbo for that. i'll take a look later myself. gotta go in a sec though.- 17 replies
-
- 1
-
[SOLVED] Prevent Player From Force Respawn When Incapacitated
bad benson replied to beno_83au's topic in ARMA 3 - MISSION EDITING & SCRIPTING
try the alternative syntax for ctrlEnable and ctrlShow. as in _ctrl ctrlEnable false; maybe accessing it through the control itself rather than the idc will help. not all controls have an idc. i think i recently used both and they worked just fine. not saying your solution will be that simple but you never know.- 17 replies
-
Make mission multiplayer compatible?
bad benson replied to Chipotles's topic in ARMA 3 - MISSION EDITING & SCRIPTING
more stuff naturally needs more resources. take a look at these two pages. it will help you save some performance here and there especially with stuff that won't move throughout the mission. https://community.bistudio.com/wiki/Arma_3_Simple_Objects https://community.bistudio.com/wiki/createSimpleObject also take a look at this while you're at it. https://community.bistudio.com/wiki/enableSimulationGlobal -
Make mission multiplayer compatible?
bad benson replied to Chipotles's topic in ARMA 3 - MISSION EDITING & SCRIPTING
it's good that you are using the different event scripts from the start. makes it easier to understand what runs where. now foirst of all. to access a variable with your HUD it has to exist on the clients' machnes. and then to have it show the current state you will have to also update it in a reasonable frequency. so you declare "scoreWest" inside initServer.sqf. so that variable is global to all script scopes on the server machine as opposed to it using an underscore _ infront of it. but don't confuse "global" with "globally shared over the network". i'm just assuming now that this is the cause of confusion since you are already using event scripts. so what you need is this: https://community.bistudio.com/wiki/publicVariable alternatively you can use a combination of: https://community.bistudio.com/wiki/missionNamespace and: https://community.bistudio.com/wiki/setVariable nore that for "setVariable" the 4th optional parameter is the key to what you are trying to achieve here. -
Scripting Discussion (dev branch)
bad benson replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
i just started testing methods and stuff. so this is what i did for now. fnc_getTurretDta = { params ["_veh"]; _paths = [_veh, []] call BIS_fnc_getTurrets; _cfgs = [_veh, config] call BIS_fnc_getTurrets; _turrets = _cfgs apply { [ getText (configfile >> "CfgVehicles" >> typeOf _veh >> "Turrets" >> configname _x >> "gunnername"), _paths select (_cfgs find _x) ] }; _turrets }; hint str (cursorObject call fnc_getTurretDta); i will take a look at allTurrets but as you can see above i need some more data. you can see the first entry there being weird. and i also just noticed the last one returns null for the path. not sure why. i might've fucked it up along the way. EDIT: ok so just adding _cfgs deleteAt 0; right after _cfgs is declared pretty much solved it. i guess i was looking for meaning too much. will test and see, if it causes any anomalies this way but so far it makes sense.- 1481 replies
-
- branch
- development
-
(and 2 more)
Tagged with:
-
Scripting Discussion (dev branch)
bad benson replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
using it as part of my function to get all vehicle seats, their turret paths (if turret) and the name of the seat in the scroll menu. i do that to populate my own seat UI. i was just wondering why. maybe because of the way it is used in another BIS_fnc or something. thx for the answer though.- 1481 replies
-
- branch
- development
-
(and 2 more)
Tagged with:
-
Scripting Discussion (dev branch)
bad benson replied to Dwarden's topic in ARMA 3 - DEVELOPMENT BRANCH
got a question about BIS_fnc_getTurrets. when i make it output config paths it seems to give me the path to the vehicle itself, if it has no turrets. is that intended or am i doing something wrong? it's kind of weird because when i make it output the turret path array it outputs an empty array for those vehicles without turrets. seems kind of counter intuitive. but maybe i did something wrong. was late yesterday and i can't test again right now because it's loading the update right now.- 1481 replies
-
- branch
- development
-
(and 2 more)
Tagged with:
-
Create Immovable 3D Dialog Object
bad benson replied to phronk's topic in ARMA 3 - MISSION EDITING & SCRIPTING
weird that those parameters don't work. maybe try https://community.bistudio.com/wiki/ctrlEnable or maybe even ctrlSetPosition onDraw? -
man i kind of feel bad for you almost falling asleep looks very promising though!
- 222 replies
-
- dissension
- cti
-
(and 2 more)
Tagged with:
-
maybe you guys need to make a FAQ considering how high quality and thus popular the mod is. just an idea. @tpM that sounds powerful!