barto300
Member-
Content Count
24 -
Joined
-
Last visited
-
Medals
-
Medals
Everything posted by barto300
-
Scripts work in SP testing but not in MP testing
barto300 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So i've been quite busy with a Zeus mission and already have multiple pieces of code inside of it. These pieces of code are all taken from submissions either on the forums or armaholic. I have no clue what it all means. When I test my mission in Singleplayer all the code runs fine and everything does what it's supposed to do. But whenever I try to test it in Multiplayer some of the stuff stops working. I'll just note the scripts that i'm using here: Enigma Civilians: Works Player keeps loadout on respawn: Works Show/hide certain markers to certain logged players: Semi works. Markers will hide but not re-appear. INCON Undercover: Does not work. Will only show a hint saying "Initializing Undercover" I've been working on fixing this for days but have not had a single succes. If anyone knows a solution or is willing to help would be awesome!- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sorry, was away for a few days. I think you were in the same post where a guy was friendly enough to post the script I use. This is the script: And this is the script after I edited it. I've currently got it written down in my initPlayerServer.sqf but i've also had it in initPlayerLocal.sqf It does not seem to matter in wich one I put it. Both seem to work for 50% So I'm no code man but this script is supposed to hide/show markers for specific characters. The idea is that I have a set of specific characters available for my players to choose between. These characters all have unique (civilian) backgrounds like firefighter, policeman, priest, fisher, farmer, mail delivery man, roadie, stuntracer, etc, etc. In the scenario all player's characters are friends and live somewhere in the country, when suddenly a russian invasion starts. The players will have to play a bit like Antistasi. They have to acquire weapons, vehicles and support for the resistance. At the start of the game the characters that are being played have unique features like for instance: The policeman starts with a pistol, The journalist has secret contacts that can give the group support in trade for evidence, the stuntracer starts with a bike, the hunter has hunting weapons and ammo at his home, the priest can help recruit civilians to the resistance cause, etc. All of these things are supposed to be marked on the map but ONLY if the corresponding character is being played. If the hunter is not being controlled by a player then his markers should also not show up. This is supposed to go for every playable character to give them all something unique within the group at the start of the game. So if I look at the code the first set of code seems to work. The markers roadie_h and stunracer are being hidden. But something has to go wrong with the next set of code. When I join in as a roadie or stuntracer than the corresponding markers do not appear on the map like they should do even though there are no errors or complications. Thanks for the help!- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
release [Release] Incon Undercover: A comprehensive undercover / incognito simulation
barto300 replied to Incontinentia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi, Thanks for the reply. I forgot to edit my own. I found the solution to my problem. There is a issue with the respawn timer and the initialisation with the script. Turns out that the reason why it works in SP is because I instantly spawn as I start the test. But in the MP test I had a respawn timer of about 3 seconds wich, turns out, broke the script. I've been breaking my head on this problem for days but luckily found the solution through trial and error. I eventually set the respawn timer to 20/25 seconds so the script could initialise while I and other players are waiting to respawn. Thanks for the help though! There was nothing wrong with your script. Only minor problem I have right now is that I get an error when the server gets set up. I think the error is about instant detection zones, but those still work fine for me when I test it after getting the error so it probably fixes itself.- 138 replies
-
- 1
-
- undercover
- incognito
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yeah thanks, I was already working through those tutorials and I knew a bit about the differences. But the undercover problem has been fixed, see my last reply, it got broken because of the respawn timer. Now I only have to fix the character specific markers that need to appear and dissapear when a player is logging in and out on a specific character. But this problem is active on both Singleplayer and Multiplayer.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So turns out it was the respawn timer that screwed things up. I have to set the respawn timer to about 25 seconds to give the script time to initialize, otherwise it will not work. Now I only need to tackle the issue with markers not re-appearing.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Ok. I found out something. After poking around I got the idea to change up the spawn mechanic. Sometimes I noticed that clones would be floating in the water at the corner of the map. I once set my respawn timer to 0 second and I would not be spawned at the spawnpoint but instead be that guy in the water. So I tried to replicate the Singleplayer style spawning. I completely disabled respawning and instead activated singleplayer death screen but I still tested in MP and it seems to have fixed it. The entire script is working with no errors. But now I have to find out how to still enable respawn but without screwing up the script.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hmmm the problem does seem to be in that area. I had true changed to false and suddenly the script started working again. I was again able to become undercover along with NPC squadmates. I tested it with some enemies and getting in and out of cover via picking up weapons and wrong clothing. But it did seem like a temporary solution. I had a bombardment of error all pointing towards a variable called trespassmarker, and upon game restart I was no longer able to go undercover even though I didn't change anything. Might it be a problem on my side like UPNP? I mostly test on LAN connection but also on via internet there is no change. But it still works in SP- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
This is the init.sqf but it has only code to a ambient civilian script- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Oh whoops. Sorry I thought I had the reason for reappear written down but that was in the other thread. The markers are supposed to reappear when a player logs in. All players are able to play a certain character and every certain character has few markers specific to that character. However there are more characters than players so only the markers of the characters that are being played are supposed to be seen by everyone. That little piece of code was all the code I had gotten when I asked if someone knew a good solution for this problem. It indeed hides the markers but if a player logs into the server and selects a character that character's specific markers do not pop up. As far as the undercover script goes, I had done that to every character I want players be able to play. Even edited it down to every single clothing piece they are allowed to wear. When I test it in SP enviroment is also all works perfectly. The AI responds like it should. I can see my disguise status, I can see my AI squad members change from Independent to civilian when their undercover kicks in. But as soon as I test it in Multiplayer the only thing that works is the initial "Hint" telling me that the script is initialising, nothing happens after that.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes I was already working my way through some of those, thanks! :)- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes when I googled testing in SP and MP I read that there was a difference but when the wiki starts explaining it, it just completely loses me, even with the examples they show. I also already contacted the creator of the Undercover script but he's not been online in a month and is not answering. The marker script was given to me by someone whom is also not answering when I told him the markers didn't show. I'll try to be more detailled next time if I have a problem.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well That's why I noted down the scripts I used. I'm also obviously not a regular here so I do not know what people want if I ask a question or seek help, wich makes jts's comment quite trolly and unhelpfull. But that aside. What is it that you would like to see? People tell me a marker script is easy as pie so I thaught people could help me with that instantly. I can post the line of code if you want? And INCON_undercover is a known script here on the forums wich is a copy/paste script according to the topic.I didn't even edit much. Only a few pieces of equipment the script is supposed see as civilian clothing. It has quite a lot of code thus would make one hell of a large topic if I post all the code but i'll try my best. initPlayerLocal.sqf This is the initPlayerLocal script in wich there is a line for initialising the INCON_undercover script and also the hide/show markers script. initUCR.sqf This script I do not really understand. After the init this is probably supposed to run and initialise the script ingame when players try to go undercover. UCR_setup.sqf This is the setup scrip of the INCON_undercover script. Here I can edit all the options there are and what additional items I want the script to remember. This is also the only piece of scripting I edited in the entire script. I hope this will make a clearer understanding of my problem. Thanks in advance.- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
Scripts work in SP testing but not in MP testing
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the good luck wishes! Not sure if I need it. This community seems really helpfull with this stuff so I guess it'll turn out great! :D- 22 replies
-
- script
- singleplayer
-
(and 3 more)
Tagged with:
-
release [Release] Incon Undercover: A comprehensive undercover / incognito simulation
barto300 replied to Incontinentia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
So i've been working a lot with your mod recently but not being a modder/coder myself I did not know that there was a difference between single and multiplayer testing. When I test my scenario in SP it all works fine. But in multiplayer nearly the entire script does not work. All it says is initializing undercover. It does not give me a status, debug or interaction options and when I go to zeus I do not see any units changing to civilian faction. How can I fix this?- 138 replies
-
- undercover
- incognito
-
(and 3 more)
Tagged with:
-
How to make markers only show when certain players are online?
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
After testing the code it seems to me that I'm doing something wrong. The chosen markers do dissapear! But whenever I log in with a character for a test run the corresponding markers to that character still remain hidden along with the other markers not linked to that character. -
How to make markers only show when certain players are online?
barto300 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
So I want to use markers that are linked to playable characters. My players will be playing characters that live in certain places or know certain things from the start of the mission. They have the ability to choose what kind of character they want to play out of a multitude of characters. However since I have multiple choises of character for the players I do not wish them to know the markers of the characters that are not being played. So how am I able to link these markers to the characters and only let them be show when a character is being controller by a player. TLDR: How do I link a marker to a unit that only shows up when a player is controlling that unit. But the marker has to be visible to everyone. -
How to make markers only show when certain players are online?
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Oh snap, Sorry I must've been in the wrong browser tab (Was browsing the forums on multiple tabs) But thanks! I'll try this out asap! -
Need solution for Saving and loading of container content between multiple editable Zeus missions
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks both of you for your help. I managed to find a work-around without having to make/find a script. If/when a Zeus session with my friends has ended, they'll have to put all their resources inside crate(s). I'll then be using achilles arsenal modules to copy the inventory of those crates en merge them together in one big crate. Then i'll copy that crate's inventory to clipboard and save it on a txt. This way I'll always know what they have collected, put that inside their "stockpile" next time we play and I'm able to keep editing the mission. It's not even a minute of work to merge it all in a single stockpile and to then save it to txt. -
Hi, I recently started to get addicted to Zeus missions and I'm currently working on a second mission for my friends. However this mission is a Campaign. I want to "recreate" the Arma Cold War Assault: Resistance campaign. The Idea is: The players would be spawned in as civilians, each with a different profession for instance, Mechanic, Motorcrosser, Doctor, Chemistry Teacher, etc. Their loadout being matched to that profession. Shorty after the players spawned they will get a radio message signalling the start of the russian invasion into Nogova and they'll have to find the Resistance and support it. They are supposed to recruit civilians, find weapons and ammo and claim vehicles and eventually turn into resistance commanders with the forces they gathered. Now I can deal with the recruits they get and the vehicles they find but I still need a solution for their personal loadout that needs to get saved between missions and a solution to keep all the items they find and store in crates. The problem is I want to keep editing the mission in the editor so I can plan the next mission, enemy moves, etc, etc. But I need to know what my players collected in the crates and on their own loadouts. Maybe there is some way to save the mission while it is in progres or when it ends and to then edit that mission in the editor with every loadout and container inventory saved? I do not want to use arsenal since I know my players and they WILL take weapons and items that are not related to the mission. Also I'm not a scripter. I do understand a few little things but I cannot write a simple script without help. Just so you guys know my level. Thanks in advance.
-
[Release] Infinite Inventory
barto300 replied to celludriel's topic in ARMA 3 - MISSION EDITING & SCRIPTING
As someone who has 0 knowledge of scripts.. how do I install this? -
release [Release] Incon Undercover: A comprehensive undercover / incognito simulation
barto300 replied to Incontinentia's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I feel stupid but I just cannot get this script to work. I'm creating a Zeus mission with RHS, Ace, RDS civilians and I use Enigma script for ambient spawning civilians and traffic. But no matter what civilians I use, the enemy always shoots them dead. I edited the setup SQF files so the right faction would be undercover and I tested the enemy on various distances. I also get a lot of errors when I comment either Asymetric or Regular enemy out. I am not a scripter so maybe somebody could explain this to me as I do not know what to do? Managed to fix it myself. I thaught RDS civilians was also compatible but it was not.- 138 replies
-
- undercover
- incognito
-
(and 3 more)
Tagged with:
-
Need solution for Saving and loading of container content between multiple editable Zeus missions
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Sadly the Alive mod needs a external registration and server to be used for persistence. They also do not allow for the ability to return to the editor. When/if I start a mission using Alive i'll never be able to edit the mission anymore. -Edited title. I realised "percistence" might not be the correct word for what I want. -
Need solution for Saving and loading of container content between multiple editable Zeus missions
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hmm I've been looking at that stuff but it doesn't seem to work like I want it to. I've also been looking at MCC sandbox for purposes of saving the game to a editable mission but that is also not going according to plan right now. But i've come to a compromise for myself. Maybe I should just keep it to the crate. I can deal with players losing their loadout when they join the next time we start playing. But if I could have a crate in wich they just put all of their stuff before they disconnect from the server then they could just get it back next time I start the server while I can still edit the mission file. -
Need solution for Saving and loading of container content between multiple editable Zeus missions
barto300 replied to barto300's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yes indeed the player loadout and one crate. This crate would be a "Stockpile" Wich every player will be able to use. But the content will also go to AI soldiers they recruited from the island. So I have to be able to edit it afterward when I'm in the editor to add/remove items that got used or NPC's/completed quests brought in.