lukemax 0 Posted July 27, 2007 Hi all Im trying to make a misson that includes the teamswitch function found in SP and put it into MP. I want the players, includeing the host to be able to switch to any playable unit on the map, now i know u can switch back on the player choose units in the MP lobby, however the game host is unable to go back to this screen, if he does the misson ends. (Unless there is some way that i dont know about) I am not looking for respawn just free switching, much like Battlestations midway if anyone has played that, thats what im looking for. Thank you Joergen Share this post Link to post Share on other sites
Kenbow 0 Posted July 27, 2007 There is an option in MP to teamswitch after you die. I believe it automatically places you into the next highest ranking solider, so its not like you choose from a list. You can get more details on how to do this, or find what else you may be looking for, with BAS_f mission creator. Link: http://www.armaholic.com/page.php?id=912 Share this post Link to post Share on other sites
lukemax 0 Posted July 27, 2007 is there any possible way to create a switch function? so a player can dot around various units on the map? Share this post Link to post Share on other sites
TaskMaster 0 Posted January 7, 2008 I would also like to implement teamswitch in MP. Does anybody know how to do it? I read somewhere that setting "respawn = side;" instead of "respawn = group;" would work but i tried this with no success in v1.09b. Share this post Link to post Share on other sites
The_Captain 0 Posted January 8, 2008 Teamswitch works in MP *only* if the unit you are teamswitching to is local to the switching player's computer. This means it must: 1- be part of the player's group, with player as commander, that he selects on the server screen 2- created on the player's machine using the createUnit command. You can switch to another unit in mp with the "selectplayer _unit" command after running "addswitchableunit _unit" on the unit you want to switch to. if you try to 'selectplayer' a unit that is NOT local to the player (ie, a server AI), you will crash the client and possibly the server (can't remember). One sideeffect of using selectplayer is that the player's name and identity remain on the original player unit. One workaround which Doolittle implemented in DLCTI is to literally switch positions/weapons with the AI, so the player retains his original unit and model but is moved to the same location/vehicle of and given the weapons of the AI. If I recall you can engage this by clicking on the map location of your AI. DLCTI Share this post Link to post Share on other sites
TaskMaster 0 Posted January 9, 2008 What respawn settings must be used in MP? Will it then work like in SP? That is, can I use the same keys to switch to different players in my group as I would in SP? Do my group members have to be made "playable" in the mission editor? What happen if 2 players are in the same group. (e.g. group of 12 men with 2 players and 10 AI? Â Is this group local to both players? Share this post Link to post Share on other sites
The_Captain 0 Posted January 9, 2008 You need to use scripts to enable teamswitch in multiplayer. Setting a unit to playable in the editor does not make it switchable in MP. If you use the script command "addswitchableunit _unitname" to units in MP,as far as I know teamswitch will be active. But if the unit is not local to the computer you will crash. The group is local to the group leader. (so other players cannot switch to the AI). Share this post Link to post Share on other sites
TaskMaster 0 Posted January 11, 2008 Thanks for the response. We would like to switch within the same group. This would allow us to play our missions even when only a few of us were avaliable to play (e.g. coup 10 when only 3 or 4 players available). I know we can use respawn= group, which we already use but on some missions you really need a real player to get the job done and when there are not enough real players a mission can be impossible to complete. Share this post Link to post Share on other sites
Synide 0 Posted January 11, 2008 Quote[/b] ]One sideeffect of using selectplayer is that the player's name and identity remain on the original player unit. - Haven't looked at that sorta scripting for at least six months, but i seem to remember being quite succesful at transferring name & indentity from the original unit to the new unit. i'm not interested in revisiting the exact method by which it was achieved as i'm too busy doing other stuff - but if i did it then, then you could do it now... is the point i'm making.ya just gotta remember that the 'player' and the 'character' he happens to be running around in at the time are too totally seperate objects. Share this post Link to post Share on other sites
Doolittle 0 Posted January 11, 2008 My DlCTI has MP player switch with squad mates that you buy. Just click on them on the map.. Share this post Link to post Share on other sites