benw
Member-
Content Count
41 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by benw
-
Make AI Pilot not react to enemies
benw replied to Need-To-Know's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, you need to use allowfleeing and setbehaviour commands together ---------- Post added at 13:44 ---------- Previous post was at 13:43 ---------- Setbehaviour “careless†-
MP Dedicated Server, moveInCargo
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Problem solved, solution below: I have solved the issue, now i can get all players moveInCargo in the chopper. I think other new mission editors like me will also encounter the same problem, so i should write these down: 1. In the BIS wiki, it stated that the moveInCargo command has to be "executed locally". 2. While the sqf file in the Server Side has stored this moveInCargo command only for the server itself (In other words, it stored in the server mission file). 3. Now what you need to do is to find some commands that accept the "Server Side execution" and also has "Local Effect", I guess addPublicVariableEventHandler is the most reliable way, so just use addPublicVariableEventHandler. 4. and then, i just broadcast something, to trigger the connected player execute some codes in his pc locally: moveIn=true; // can be anything, just for broadcast the code for your connected players publicVariable "moveIn"; "moveIn" addPublicVariableEventHandler { { _x moveInAny BENWInsertHeli; _x additem "NVGoggles"; _x assignitem "NVGoggles"; } forEach units player; } [/php] . And, that's it, problem solved! -
Sharing head marker(icon3d) code for all mission makers
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Updated V1.1 Version https://drive.google.com/#folders/0B7mC4rCCFCPWUzhlNzRGYWpITE0 Changes Code Optimized, Added action menu, dialog interface -
How to get AI in parachute to fly towards player?
benw replied to BEAKSBY's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try to teleport the unit just above the player ? -
Sharing head marker(icon3d) code for all mission makers
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi, the sleep command has been removed, no more flickering in the updated version.please download the script from https://drive.google.com/#folders/0B...zhlNzRGYWpITE0 as i don't know how to update the file on armaholic. You can make any changes on my script or you can choose to write another script, if you want to change the text, just change the text for the icon3d to the name of _x inside the foreach loop drawIcon3D [Texture_For_Icon3d, Color_For_Icon3d, _pos, Width_For_Icon3d, Height_For_Icon3d, 0, str _x , 0, Size_For_Icon3d_Text, Font_For_Icon3d]; you can choose to use name _x gives the name of that soldier or str _x returns the name in editor -
Sharing head marker(icon3d) code for all mission makers
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If i removed the sleep command, all icon3d will start drawing at the same time, i don't know how much it will impact the performance if 100 icon3d suddenly appeared in 1 second, so i put a sleep command there, i was wondering if the sleep command can pause only for the foreach loop only, but it turns out that the sleep command also made some changes for the icon3d, or it is my misinterpretation about the sleep command? -
localize command returns empty string
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks very much SaMatra, i used your stringtable, i think the project and package tags cannot contain underlines, now the localize command works perfectly -
Problem solved, Project tag name and Package tag name cannot contain underlines
-
localize command returns empty string
benw replied to benw's topic in ARMA 3 - MISSION EDITING & SCRIPTING
hi thanks for your reply rakowozz, hint format["Hello %1", STR_Mission_Giver] shows "Hello Any" I deleted the container in stringtable, but it still doesn't work ---------- Post added at 05:55 ---------- Previous post was at 05:41 ---------- i suspect that it can't process my stringtable file in the mission folder, do i need to add #include stringtable.xml? -
//As for the getting auto kicked from your server issue: I use the "Arma 3 Server" downloaded from steam tools category, after installing, you will find that there will be "steam_appid.txt" in your Arma 3 Server folder (default should be: C:\Program Files (x86)\Steam\SteamApps\common\Arma 3 Server). Open it and check if the value is 107410, if it is not, change it, and save it. After doing that, you should be able to join your server. //As for the read mission from bank issue: condition: you are using TADST v2.4+Arma 3 Server(downloaded from steam) like me what to do: 1. make sure that "C:\Program Files (x86)\Steam\SteamApps\common\Arma 3 Server\mpmissions" contains the mission that you want to host on your server 2. and copy those pbo mission files from step 1. to your "\TADST v2.4\MPMissions" folder BTW as for non dedicated server problem, i currently still have no solution for that, i noticed that a few days ago, all other players suddenly cannot join the non dedicated server, and i tried everything to resolve this problem, but nothing can help. If you want to host some mission for your friends, please use the dedicated server and the ping value will be correctly shown in the steam browser even if you are hosting behind the router, which can be downloaded from steam->tools-> Arma 3 Server
-
Vcom AI V2.0 - AI Overhaul
benw replied to genesis92x's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello, thanks for creating this great addon! this is the best AI mod i ever seen -
"Can't connect to server." via "Host your own session"
benw replied to Onto's topic in ARMA 3 - TROUBLESHOOTING
yes i'm using a router, but it was okay before, and other players can join my game -
"Can't connect to server." via "Host your own session"
benw replied to Onto's topic in ARMA 3 - TROUBLESHOOTING
same issue here too, i tried verify integrity, reinstalled the game, switching the list to gamespy, disable all addons, port-forwarding, restarting the router, nothing can help, the issue started to happen a few days after ARMA3 free weekend on Steam -
Character Loadout Customizer - (Paper Doll Gear menu & VAS-Virtual Ammobox Combined)
benw replied to Gunter Severloh's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, i saw the addon have the slider for adjusting the weather, time, etc, will it affect the server during multiplayer? -
BASIX Serverside Anti-Hack / Administration Mod
benw replied to jacob88's topic in ARMA 3 - ADDONS & MODS: COMPLETE
Hi, thanks for making this great mod, could you change the "blacklist" function to deny all mods by default and only accept certain mods defined in the array? thanks very much for your hardwork!