Petethegoat
Member-
Content Count
24 -
Joined
-
Last visited
-
Medals
Everything posted by Petethegoat
-
Mission Design resources (the idea stage)
Petethegoat replied to hamhugger's topic in ARMA 3 - MISSION EDITING & SCRIPTING
http://www.ferstaberinde.com/f3/en//index.php?title=Writing_Briefings -
Game crash as soon as I try to host a multiplayer game
Petethegoat replied to Belbo's topic in ARMA 3 - TROUBLESHOOTING
http://forums.bistudio.com/showthread.php?174480-Subscribing-to-missions-can-crash-Arma We get the same error, same code. Going back to stable won't fix it. I don't think there's anything we can do. -
e: Not the mission! Phew. http://forums.bistudio.com/showthread.php?174486-Game-crash-as-soon-as-I-try-to-host-a-multiplayer-game Um, I made a mission, and subscribing to it causes the game to crash upon creating a server. Total crash to desktop. This is the mission: http://steamcommunity.com/sharedfiles/filedetails/?id=237714047 Don't subscribe to it. It will ruin everything. Someone subscribed to it while their server was running, and they were able to run the map. It crashed their computer after about 2 seconds after briefing. Then, they restarted Arma, and then crashed upon creating a server. Someone else subscribed to it, and then crashed upon creating a server. Everyone who downloaded it (including me) crashed upon creating a server. I was able to run it with no problems, when I was running my local copy, without having subscribed to the workshop version. ===================================================================== == C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe == "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -nosplash Exe timestamp: 2014/03/11 14:02:08 Current time: 2014/03/12 23:43:52 Type: Public Branch: Development Version: 1.13.116053 Allocator: C:\Program Files (x86)\Steam\steamapps\common\Arma 3\dll\tbb4malloc_bi.dll --- Loaded addons --- C:\Program Files (x86)\Steam\steamapps\common\Arma 3\dta\bin.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\dta\core.pbo - 0 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\dta\languagecore_f.pbo - 64582 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\a3.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\air_f.pbo - 63846 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\air_f_beta.pbo - 63907 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\air_f_epb.pbo - 63846 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\air_f_gamma.pbo - 64279 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\animals_f.pbo - 63810 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\animals_f_beta.pbo - 63856 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\anims_f.pbo - 64756 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\anims_f_data.pbo - 61907 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\anims_f_epa.pbo - 63137 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\armor_f.pbo - 62266 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\armor_f_beta.pbo - 64933 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\armor_f_epb.pbo - 64550 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\armor_f_epc.pbo - 64444 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\armor_f_gamma.pbo - 64933 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\balaclava.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\baseconfig_f.pbo - 43414 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\boat_f.pbo - 64140 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\boat_f_beta.pbo - 60977 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\boat_f_gamma.pbo - 64649 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\cargoposes_f.pbo - 64745 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\characters_f.pbo - 64775 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\characters_f_beta.pbo - 64123 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\characters_f_epa.pbo - 64716 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\characters_f_epb.pbo - 64123 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\characters_f_gamma.pbo - 64728 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\data_f.pbo - 64573 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\drones_f.pbo - 64541 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_f.pbo - 55351 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_f_beta.pbo - 55170 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_f_epa.pbo - 64461 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_f_epb.pbo - 64461 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_f_gamma.pbo - 55217 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_radio_f.pbo - 63916 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\dubbing_radio_f_data.pbo - 64768 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\editor_f.pbo - 53723 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\functions_f.pbo - 64726 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\functions_f_epa.pbo - 63750 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\gasmask.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\languagemissions_f.pbo - 59304 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\languagemissions_f_beta.pbo - 61907 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\languagemissions_f_epa.pbo - 59304 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\languagemissions_f_epb.pbo - 62137 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\languagemissions_f_gamma.pbo - 62502 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f.pbo - 64203 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f_beta.pbo - 63919 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f_epa.pbo - 61251 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f_epb.pbo - 64205 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f_epc.pbo - 64260 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\language_f_gamma.pbo - 64042 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\m50gasmask.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis.pbo - 61521 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data.pbo - 56204 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data_layers.pbo - 56661 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data_layers_00_00.pbo - 56661 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data_layers_00_01.pbo - 56661 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data_layers_01_00.pbo - 56661 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_data_layers_01_01.pbo - 56661 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_altis_scenes_f.pbo - 56247 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_data.pbo - 58448 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_stratis.pbo - 61521 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_stratis_data.pbo - 60227 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_stratis_data_layers.pbo - 60227 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\map_stratis_scenes_f.pbo - 56247 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\misc_f.pbo - 58745 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f.pbo - 64434 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_beta.pbo - 62044 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_beta_data.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_beta_video.pbo - 49010 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_data.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epa.pbo - 64596 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epa_data.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epa_video.pbo - 58252 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epb.pbo - 63937 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epb_data.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_epb_video.pbo - 61701 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_gamma.pbo - 62064 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_gamma_data.pbo - 55501 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_gamma_video.pbo - 52884 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\missions_f_video.pbo - 52434 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\modules_f.pbo - 63756 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\modules_f_beta.pbo - 60170 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\modules_f_beta_data.pbo - 56247 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\modules_f_data.pbo - 59320 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\modules_f_epb.pbo - 61523 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f.pbo - 62941 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f_epa.pbo - 62941 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f_epa_music.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f_epb.pbo - 62941 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f_epb_music.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\music_f_music.pbo - 62070 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\neckloose.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\necktight.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\plants_f.pbo - 59944 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\ptg_key.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\pulledup.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\roads_f.pbo - 60121 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\rocks_f.pbo - 58567 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\sasshemagh.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\shemaghs.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\signs_f.pbo - 61888 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\soft_f.pbo - 62321 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\soft_f_beta.pbo - 61888 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\soft_f_gamma.pbo - 64649 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\sounds_f.pbo - 64915 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\sounds_f_epb.pbo - 62371 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\sounds_f_vehicles.pbo - 64915 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\sounds_f_weapons.pbo - 64915 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\static_f.pbo - 64092 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\static_f_beta.pbo - 64092 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\static_f_gamma.pbo - 64649 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f.pbo - 60807 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_data.pbo - 59943 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_epa.pbo - 60115 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_epb.pbo - 60848 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_households.pbo - 60807 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_ind.pbo - 60807 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_mil.pbo - 61521 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\structures_f_wrecks.pbo - 60665 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\uifonts_f.pbo - 62497 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\uifonts_f_data.pbo - 62497 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\ui_f.pbo - 64947 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\ui_f_data.pbo - 64310 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f.pbo - 64573 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f_beta.pbo - 64518 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f_epa.pbo - 64518 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f_epb.pbo - 64518 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f_epc.pbo - 64573 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\addons\weapons_f_gamma.pbo - 64518 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_ai.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_arrays.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_common.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_diagnostic.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_events.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_extended_eventhandlers.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_hashes.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_help.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_main.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_main_a3.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_network.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_strings.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_ui.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_ui_helper.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_vectors.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_versioning.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_xeh.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@CBA_A3\addons\cba_xeh_a3.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@sthud\addons\stgi.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@sthud\addons\sthud.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@sthud\addons\sthud_usermenu.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@task_force_radio\addons\task_force_radio.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@task_force_radio\addons\task_force_radio_items.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@mas\addons\mas_afr_rebl.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@mas\addons\mas_afr_rebl_c.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@mas\addons\mas_ru_rifle.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@mas\addons\mas_us_rifle.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\@mas\addons\mas_us_rifle_c.pbo - unknown C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\data_f_curator.pbo - 64935 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\functions_f_curator.pbo - 64937 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\language_f_curator.pbo - 64935 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\missions_f_curator.pbo - 64935 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\modules_f_curator.pbo - 64934 C:\Program Files (x86)\Steam\steamapps\common\Arma 3\Curator\addons\ui_f_curator.pbo - 64975 ===================================================================== edit: I have uploaded the source for the mission. Someone downloaded the source, and tried to run it. We all joined, and they crashed about 2-4 seconds after the briefing ended. So it's not related to the workshop specifically. I have created something unfathomably evil. I'll PM the source to any devs who wish to investigate. e: Forgot to mention, we've tried deleting all traces of the mission from the Arma 3 folder in My Documents, it doesn't help, and nor does unsubscribing from the mission. Validating local files from Steam also did not help. A few people are now reinstalling Arma 3, I'll report if that helps. e: Reinstalling Arma did not help. I'm sorry. e: They've tried deleting the entire Arma 3 folder in My Documents. Is there anywhere else where mission stuff might hang around? e: Someone who didn't subscribe or download the mission gets the same issue. We're all running dev, but at least one person is able to run servers fine, so I don't think it's related to that. e: Most recent crashdump and stuff: https://drive.google.com/file/d/0B63P0ioFRzeSX3ktS0ZwNVQyd3c/edit?usp=sharing One of the guys tried changing to the stable version, and that didn't help either. We've tried removing all mods, as well.
-
Config for a simple static object
Petethegoat posted a topic in ARMA 3 - ADDONS - CONFIGS & SCRIPTING
Solved! Hi everyone. I'm trying and failing to get a simple static object into Arma. The object in question doesn't need to do anything, and doesn't need collision. All I want it to do at the moment is look good. Currently I can add my object in the editor, but when previewing the mission I get this error; "Cannot open object ptg_items\key.p3d" My model.cfg is basically empty, but as far as I can tell, I shouldn't need anything in it for a purely static object anyway? I've also noticed that the PBO builder isn't including the texture. The full generated log is inside the zip, but these seem to be the only relevant lines: <model = "c:\users\petethegoat\documents\arma 3 ptg source files\ptg_key\ptg_items\key.p3d"> </model> Creating texture headers file... Texture headers file was not created - no textures found. Should that model path be relative, instead of absolute? Anyway, here's the zip of everything, including the model and texture: http://filesmelt.com/dl/ptg_key.zip And here are pastebins of the text files: config.cpp model.cfg Any help would be much appreciated! e: In retrospect, the title is misleading, as this may well not be a config problem at all! Too late to change it now, unfortunately. e: I have resolved the "Cannot open object ptg_items\key.p3d" error, by changing the model line in the config, from; model = "\ptg_items\key.p3d"; to model = "\ptg_key\ptg_items\key.p3d"; However, I now get a similar error with the textures, which is understandable as they're not being packed into the .PBO. "Cannot load texture \ptg_key\ptg_items\key_co.paa" How can I ensure that gets packed with the model? e: The config side of things is solved, I think. My modding directory had spaces in, which the PBO packer interpreted as arguments for packing. Removed those and it detected and packed the .paa just fine. I can now preview the mission with no errors, but my model still isn't visible. I'm pretty sure it's not a scale issue with the model, but I don't really know what else to check. Do models require anything other than a View LOD to show up correctly? It wouldn't be falling through the world or anything would it? e: Solved it! Turns out I had my model on 'View Geometry', which is for AI only. When I changed that to a resolution LOD instead, it worked perfectly. -
Hidden Identity Pack V.2 *WIP
Petethegoat replied to Cunico's topic in ARMA 3 - ADDONS & MODS: DISCUSSION
Looks great! I'm really looking forward to having some gasmasks to play with. :) -
Get unit which called radio trigger
Petethegoat posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm trying to get the unit which activated a radio trigger. If I put "hint str count thisList;" in the on act box, it outputs 0. Is there any other method I can use to get the unit that activated the trigger? -
I'd love to see a Nokia version of this! Better Off With Map And Nokia ;)
-
Allow units to equip uniforms of different faction
Petethegoat posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I've made some independent groups that are equipped with the "U_C_WorkerCoveralls" uniform, which works fine. But if a player accidentally removes their uniform, it's impossible for them to put it back on, because (I think) it doesn't belong to their faction. Is there a way to allow units to wear uniforms from different factions? Or failing that, can I create a duplicate of the uniform that's suitable for independents to wear? -
Allow units to equip uniforms of different faction
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I can't actually reproduce that. My independent-present trigger is activated fine by my side-swapped civilians, even when there are explicitly animals within the trigger radius. So actually your solution works perfectly for me. Thanks a lot! -
That sounds perfect, thanks! Looking forward to the next version, whether this makes it in or not.
-
Allow units to equip uniforms of different faction
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Do you mean that they won't activate independent-present triggers? Or that they cannot activate any triggers at all? If the former, will they still activate civ triggers? -
Debriefing - Showing custom value.
Petethegoat replied to Tand3rsson's topic in ARMA 3 - MISSION EDITING & SCRIPTING
You should be able to do: totalsteal = format["You stole a total of %1 $.", totalsteal]; -
Another "would it be possible" post, but... Would it be possible to add a function that allows us to add distortion to a radio from scripts? You could use it to add radio jamming, or damage to individual radios. I had a quick look through the source, but it looks like the it's all handled on the teamspeak side, which is more or less alien to me.
-
Solution: https://community.bistudio.com/wiki/markerDir There's a function to set the direction of a marker, but not to get the direction (except in VBS2, where this function does apparently exist). Is there any other way I can get the direction of a marker? Or a way to get a reference to the marker object? I'm creating a script to randomly place a unit at one of four markers, but I would like it to be able to set the unit direction as well. _unit = _this select 0; _pick = ((floor random 4) + 1); _marker = _this select _pick; _unit setPosATL getMarkerPos _marker; //_unit setDir [b][color="#B22222"]getMarkerDir[/color][/b] _marker; Any help would be much appreciated.
-
Hm, that's a shame. Oh well.
-
Would it be possible to replace the 2D radios with 3D models, like the watch and compass? If the models were made, of course.
-
Debriefing - Showing custom value.
Petethegoat replied to Tand3rsson's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I was messing around with debriefing stuff earlier today and I couldn't get the custom section to work, although I didn't spend an especially long time trying to debug it. -
Get direction of marker?
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ah, well that's simple! I wish the function naming was more consistent, but oh well. Thanks very much, trnapster. -
Get direction of marker?
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Huh, that's new to me! That said, it still doesn't align the unit with the marker when you group it, so I'm still stuck for the moment. -
Name a unit, then use that name in trigger activation
Petethegoat posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
_this disableAI "MOVE"; _trg = createTrigger["EmptyDetector", getPos _this]; _trg setTriggerStatements["this", "[b][color="#B22222"]_this[/color][/b] enableAI 'MOVE'", ""]; This is how my code would ideally look. This doesn't work though, because the created trigger can't use the _this variable when it's activated because of scope. I planned to solve this by giving each unit a random vehicleVarName in the script, and then using that name in the trigger, but I can't get a static var name version of the random name I give each unit. What I need is a way for multiple created triggers to point at specific units, without manual setup in the editor. I want something equivalent to naming a unit in the editor, and then using their name within a trigger. e: Here's my non-functional attempt: pg_globalName= str random 100000; _unit setVehicleVarName pg_globalName; _trg setTriggerStatements["this", "missionNamespace getVariable pg_globalName enableAI 'MOVE';", ""]; I'm not totally sure why this doesn't work. e: Here's my original script in full (with the scope issues) _unit = _this select 0; _enemy = _this select 1; //"EAST" "WEST" "GUER" "CIV" "ANY" _stance = _this select 2; //"UP" "DOWN" "Middle" _range = _this select 3; //trigger radius, in meters _unit setUnitPos _stance; _unit disableAI "MOVE"; _trg = createTrigger["EmptyDetector", getPos _unit]; _trg setTriggerArea[_range, _range, 0, false]; _trg setTriggerActivation[_enemy, "PRESENT", false]; _trg setTriggerStatements["this", "_unit enableAI 'MOVE'", ""]; e: Solved this by not using triggers at all. Here's the finished script: _unit = _this select 0; _enemy = _this select 1; //"EAST" "WEST" "GUER" "CIV" "ANY" _stance = _this select 2; //"UP" "DOWN" "Middle" _range = _this select 3; //trigger radius, in meters _unit setUnitPos _stance; _unit forceSpeed 0; _quit = false; while{!_quit} do { sleep 1; _nme = _unit findNearestEnemy _unit; if(_unit distance _nme < _range) then { // _unit enableAI "MOVE"; _unit forceSpeed -1; _quit = true; } } -
Name a unit, then use that name in trigger activation
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Uh, right. I need both at once. Here's my original script in full (with the scope issues) _unit = _this select 0; _enemy = _this select 1; //"EAST" "WEST" "GUER" "CIV" "ANY" _stance = _this select 2; //"UP" "DOWN" "Middle" _range = _this select 3; //trigger radius, in meters _unit setUnitPos _stance; _unit disableAI "MOVE"; _trg = createTrigger["EmptyDetector", getPos _unit]; _trg setTriggerArea[_range, _range, 0, false]; _trg setTriggerActivation[_enemy, "PRESENT", false]; _trg setTriggerStatements["this", "_unit enableAI 'MOVE'", ""]; So the OP is correct, but I need it without using triggerAttachVehicle, ideally. I suppose I could not use triggers at all, and just write the activation myself. -
Name a unit, then use that name in trigger activation
Petethegoat replied to Petethegoat's topic in ARMA 3 - MISSION EDITING & SCRIPTING
To clarify, I need the trigger to activate when BLUFOR are present, which rules that out for me (so far as I'm aware). -
How do you set triggering unit to a variable?
Petethegoat replied to Easterlily's topic in ARMA 3 - MISSION EDITING & SCRIPTING
community.bistudio.com/wiki/forEach It looks you can use _x to access the current item in the array. So try: {_x addrating -10000} foreach thisList -
How do you set triggering unit to a variable?
Petethegoat replied to Easterlily's topic in ARMA 3 - MISSION EDITING & SCRIPTING
community.bistudio.com/wiki/setTriggerStatements The pertinent bit being "The variable thislist contains an array with the units that activated the trigger."