Jump to content

Deadth

Member
  • Content Count

    12
  • Joined

  • Last visited

  • Medals

Community Reputation

1 Neutral

About Deadth

  • Rank
    Private First Class

Recent Profile Visitors

789 profile views
  1. Thanks for the insulting way to "help" someone who obviously went through a lot of effort to figure this out and ended up figuring out a way to make it work by searching through endless threads going back years. I understand now that despite my initial compliments to this community in my OP this was the wrong place to try to learn anything or ask for any help. Wont happen again trust me.
  2. Very special thanks to galzohar for a comment he posted on a thread 7 years ago that I discovered, which I used to solve my problem with the duplicate squads. Everything is working now as intended, including the expression that allegedly made no sense but somehow works just fine. God bless you galzohar.
  3. Well it works as far as making the units join the player. That's not the problem. The problem is the units duplicate for each player on the server and then join each player, instead of just the one who used the radio trigger. I give up. I've googled and googled for 3 days and this final piece of the puzzle evades me. I'm just going to make a separate spawn script, and separate trigger, for every possible player, for every squad I guess. I don't think this is going to work as I intend either. I'm so close to solving this, I've solved everything else on my own. This is the only problem left.
  4. Nobody has any idea? I'm trying now to figure out how to make a trigger in a script that will execute the WgroupInfAssault.sqf file because I read somewhere that triggers in the editor will fire for every player no matter what and to make a trigger that will fire a script for only one player I have to make the trigger itself inside of a script, but in what file? The initServer.sqf? The initPlayerLocal.sqf? And I keep getting syntax errors with this: // Radio triggers for east _tr1 = createTrigger ["EmptyDetector", [0,0,0]]; _tr1 setTriggerActivation ["FOXTROT", "PRESENT", true]; _tr1 setTriggerStatements ["this", null = execVM "EgroupInfAssault.sqf", ""]; _tr2 = createTrigger ["EmptyDetector", [0,0,0]]; _tr2 setTriggerActivation ["GOLF", "PRESENT", true]; _tr2 setTriggerStatements ["this", null = execVM "EgroupWeaponsSquad.sqf", ""]; I'm still trying tho.
  5. Ok I tested this over my LAN and here's what I have so far: Players are able to use the radio to summon an AI group which immediately spawns at a marker placed at the appropriate base, and squads up with the player. I only have 2 groups to choose from for each side for now, triggered by Alpha and Bravo for the west player, Foxtrot and Golf for the east player Trigger activation field, for radio Alpha: if (side player == west) then { null = execVM "WgroupInfAssault.sqf"; }; WgroupInfAssault.sqf: hint "WgroupInfAssault spawned at base"; _grp = [getMarkerPos "Wspawn01", WEST, (configFile >> "CfgGroups" >> "West" >> "BLU_F" >> "Infantry" >> "BUS_InfAssault")] call BIS_fnc_spawnGroup; {[_grp] join player} forEach units _grp; {setPlayable _x} forEach units _grp; (setPlayable doesn't work as intended, this is stated on the wiki. I left it in in case it ever does get fixed, in order to be able to use GROUP spawn to jump into another unit in the squad upon death. Until this gets working correctly, I'm using BASE spawn.) I removed certain radio channels from being accessible depending on side, retaining Alpha thru Echo for west, Foxtrot thru Juliet for east (had to do this because having west and east both use Alpha, for example, caused the west player to spawn a group not only for himself but for the east player as well): initPlayerLocal.sqf // This removes radio channels from players depending on side. if (side player == east) then { 1 setRadioMsg "NULL"; 2 setRadioMsg "NULL"; 3 setRadioMsg "NULL"; 4 setRadioMsg "NULL"; 5 setRadioMsg "NULL";}; if (side player == west) then { 6 setRadioMsg "NULL"; 7 setRadioMsg "NULL"; 8 setRadioMsg "NULL"; 9 setRadioMsg "NULL"; 10 setRadioMsg "NULL";}; The only problem I'm having now (aside from setPlayable not functioning), is whenever there is more than one player on the same side and any single player on that side triggers the group spawn, a duplicate group ALSO spawns and links up with every other player on that same side. Any ideas how to remedy this?
  6. Hot damn I got it! Well, part of it. I can now get the spawned units to join my player with the following code in the .sqf file: hint "EgroupInfAssault.sqf initialized"; _grp = [getPos player, EAST, (configFile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfAssault")] call BIS_fnc_spawnGroup; {[_grp] join player} forEach units _grp; I still have some more tweaking to do and will get back with my results. I want to make sure that this wont spawn the group on every other player in the game. I'll get back with my results soon.
  7. Ok heres what I have so far. Using a player named eplayer01, I have a trigger in the editor for radio Alpha, named Call Infantry Assault with the following in the activation field: if (eplayer01 == player) then { null = execVM "EgroupInfAssault.sqf"; }; In the EgroupInfAssault.sqf file I have this: hint "EgroupInfAssault.sqf initialized"; _grp = [getPos player, EAST, (configFile >> "CfgGroups" >> "East" >> "OPF_F" >> "Infantry" >> "OIA_InfAssault")] call BIS_fnc_spawnGroup; {_grp join player} forEach _this; I can get the group to spawn all around the player now, but I still can't get them to join his group. Still testing. Any ideas?
  8. I'm building a multiplayer mission using ALiVE, ACE, and some other mods, which is intended to be a big 3 way factional battle, with BLU_F and OPF_F to be playable while leaving IND_F unplayable as the initial occupying force to be conquered. So far so good, still tweaking some of the objective modules and taors for balance, but I already have the support and logistics all functioning well thanks to lots of reading and studying of wikis. I can call in artillery and airstrikes just fine, and so on. I must admit, however, that I'm not a very good scripter and I often have to look up how others have done things in order to figure out something. My understanding of it, in regards to everything from syntax to eventhandlers is very very limited, so thanks in advance to this great, very knowledgeable community. So here's my question: I currently have players spawn in solo, ungrouped to any AI, but I want the player to have the option, with a radio command, to spawn a group of their choosing (one of the presets from the cfgGroups list I suppose), and have it join them under their command. As a second feature, when the unit the character is playing dies I would like the player to have the ability to respawn in the group, taking control of one of the other AI in his squad, which I generally already know how to set up IF the units are already set to be "playable" (respawn = 4; in description.ext), but have no idea how to set up if we spawn them ingame as initially unplayable AI. I have no idea how to do this. I have tried other options, such as just linking an unplayable group to the player in the editor, or even making all the units in the group playable for selection, but I ran into various issues, such as not being able to command the group if I selected a unit other than the leader to play from the lobby (obviously) or just having too many units spawning all over waiting for another player to join in order to command them all, or if I want to play ungrouped I'd have all these hangers on. All these issues I felt severely limited my options and I was getting rather frustrated. I finally decided, that for what I want to do, giving an initially solo player the chance to choose a group to command or none at all would be a fun option for the player and lead to a great range of diverse outcomes for how they want to experience the mission. Please bear with me and my lack of knowledge in this, and any help that leads to a solution is greatly appreciated.
  9. Deadth

    Zeus not working in EDEN?

    I actually have the solution for this! I ran into this same problem with some other modules, and accidentially discovered that if you drag the whole window itself over a little, just move it slightly from the starting pop-up position, the drop down menus will work just fine! You can imagine I was rather pleased when I stumbled upon that solution because I was about at my wits end why I couldn't access the drop downs. :)
  10. I think I'll check that out too. I could use some tips on a few things.
  11. I wish I knew more about scripting so I could help. I've built simple missions in the editor before but nothing too complicated.
  12. I've started playing on this one called DECIMATION. It's a lot like DayZ used to be, except A LOT nicer looking. It's been a lot of fun so far. There's information for it here: http://www.insurrectiongaming.net/forums/m/26762667/viewforum/5814045
×