Jump to content
Sign in to follow this  
galzohar

Idea: simple "join group" script.

Recommended Posts

I would've implemented that idea myself instead of suggesting it here if it didn't require some UI work that I have no idea how to do, but for someone with knowledge and experience it should be an extremely easy thing to do.

Purpose:

Allow mission makers to let players join different groups.

Basic implementation idea:

- Script will use a global variable that includes an array of all joinable groups. It would be the mission maker's responsibility to define and maintain/update the array based on which groups he wants you to be allowed to join. The script only reads from the array.

- Script will not do anything until the array is defined elsewhere (again, mission maker responsibility).

- An action will be added to all players to open some kind of a simple menu that includes a click-able list of the IDs of all join-able groups (again, mission maker's responsibility to give the groups meaningful group IDs).

- Once menu is open and a group is clicked, the script will run a [player] join _group; command where _group is the group he clicked.

- Possibly also a "cancel" button, and if one really wants to do a little extra than also have a "join with entire group" option (but this will require the script telling the other players in the group to also run the join command as it requires locality of the joining unit).

I think the ability to unite groups mid-game can be really helpful for longer COOP or even A&D PvP missions where some fireteams may be left with only 1-3 guys and would want to unite to make an effective fireteam.

Again I would make it myself but this will probably take 5 minutes to make for someone who actually has a clue how to make UI stuff, as this doesn't take a lot of it, just a simple click-able list.

Share this post


Link to post
Share on other sites

The GLT Framework already has a basic join-group feature. Mission makers can define which unit is allowed to recruit. There's also a black list of units that can't be recruited. You can set up the side and of course you can dismiss units from a group again. Works in SP and MP mode with AI and players. It may have no huge teammate dialog such as in Domination but it'll do it's job.

Share this post


Link to post
Share on other sites

I don't really want a player to recruit units into his group, but rather have the players choose which group to join. Again, the idea is to be able to join another group once too many in your group are dead or just swap groups around, and that the player control which group he joins (which will also make it easier locality-wise).

What's the GLT framework, and is it possible to just get that feature out of it without breaking it?

Share this post


Link to post
Share on other sites

Yeah true, that would be a cool feature to have for the ambient combat mode

Share this post


Link to post
Share on other sites

Hi all, just re vamping an old thread, im looking for a ingame squad selection interface, similar to project realitys were squad leaders can lock/unlock there squads, send invites and so on.

anyone have any ideas were i should start looking

Share this post


Link to post
Share on other sites

After i wrote that reply i face palmed myself thanks for the reply regarless, but beyond that ive made a interface dialog which only uses the squad selection system, the leave key and refresh button, having trouble linking them up and writing new squad scripts (5 Squads), any tips at all?

Share this post


Link to post
Share on other sites

do it all through scripts that are called from the buttons - easiest way - youll have to break down the group script to dig out what you need to see how the links take place

Share this post


Link to post
Share on other sites
do it all through scripts that are called from the buttons - easiest way - youll have to break down the group script to dig out what you need to see how the links take place

Ok then ill give it a try, and if i come up with successes ill share

Share this post


Link to post
Share on other sites

ive just update one of my group scripts - once complete in a day or so ill lob it on here - may help you make your own

Share this post


Link to post
Share on other sites
ive just update one of my group scripts - once complete in a day or so ill lob it on here - may help you make your own

awesome, ive got team alpha working but adding more squads is a different story been running into troubles

2YhWItk.jpg

this is as far as i have got with the interface though

Edited by Diabolical

Share this post


Link to post
Share on other sites
Looking good dude - easiest way i've now found how to do it now - is to just show the team you are joined to and then list the other group names - not ones you have made but 1-B-12 or whatever arma calls it

http://forums.bistudio.com/showthread.php?154177-Group-Management-Script/page2

(bottom of page)

yeah the problem i am getting is that only the alpha squad button and list is working, dont know why though, and when you talk about the teams as 1-1-1 and such, what do you mean by arma calls it regardless? sorry still not a king scripter yet

Share this post


Link to post
Share on other sites

i added an additional pic to that link - see how the groups are labelled with 1-1-12 or something like that - i just use the return of allgroups to get known groups

Share this post


Link to post
Share on other sites

i like the step up and step down as leader function you have there

Share this post


Link to post
Share on other sites

I have done it for zuff to assist with his group management script. His concept not mine. But its a sound idea

Edited by Mikie boy

Share this post


Link to post
Share on other sites
i added an additional pic to that link - see how the groups are labelled with 1-1-12 or something like that - i just use the return of allgroups to get known groups

Could i maybe have a look at that script to see how it works

Share this post


Link to post
Share on other sites

Ill release it today if i can on the [Fock]ers cheap and cheers full AI/recruitment - Arma 3 - ill add a line in to see if i can make it A2 Compatible

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×