![]() |
New coop script
This new coop script doesn't use the mission menu, instead the commands are typed into the chat console. Thus the dummy aircraft are no longer needed.
Steps: 1) You must add the following line to your conf.ini or confs.ini (if you want to use the dedicated server): Code:
[rts] 3) Add the following script to the mission: Code:
using System; !help - this will show the available commands !aircraft - this will show a list of all available aircraft starting with the id of the aircraft !select# - this will place the player into the aircraft, replace # with the id of the aircraft, e.g. !select0 will place you into the first aircraft and so on. |
1 Attachment(s)
I created an example mission, see attachment of this post.
|
Nice Banks,i test it :grin:
|
This looks excellent, thank you Banks. I don't understand all those whining saying there 'is no co-op' - they don't see the bigger picture from coding like this.
@Farber, you are sure to read this, do you think this would be useful for the multisquad campaign or aren't we quite there yet? |
I would have to know how many people were turning up and set out all the aircraft. Would be more viable with a smaller group.
This looks like the best coop so far though. ;) |
Downloaded the mission and played around with it this arvo. Although I've never played in a il2 Co-op I can see how it would work to let pilots join their flights and get into the action.
I guess the mission designer needs to put a lot of work into the briefings for the mission to get everyone up to full speed on their individual task and the overall objective(s) for the mission sorted out. Can they display waypoints for individual flight on the mission map? Just one question. Would there be anyway for pilots to alter their loadout (or is this against the essence of being in a co-op)? Cheers |
Quote:
There is hope that in the future it will be possible to create user labels within script. But this feature is still bugged in the latest RC. Quote:
|
Excellent news, many thanks Banks!
Is it possible to make an html(java?) file which when launched on a client PC would provide a GUI for this script? Hopefully data on already occupied seats can be transfered from server/other clients in real time (or on demand at least)? |
This is great! Thank you, Banks.
Is there a way to set some aircraft so that they don't show up on the list of aircraft at start? I suppose I could set the other aircraft to spawn on trigger so they aren't active in the game at the outset until someone triggers the spawn. |
Thx for the script Banks....one question:
can i change the list of available planes when use !aircraft command?? e.g only red side. Salute! |
Both answers are yes, however I need to enhance the script. I hope I have time to do this next week.
|
Quote:
This is really a great piece of work and has totally revitalized No.401 Squadron in a big way. We hope to use this script to help bring a CO-OP campaign to fruition. We're testing with the current version and signs are really good. |
Very nice..Tried this and looks very promising only problem for me is if I use your script, Triggers and Actions seem to stop working? or am I doing something wrong?
|
I am unable to get the script to work, I've downloaded the example mission and loaded on my host machine (not dedicated server), started the mission as multiplayer (coop) and then have a client try and join the mission. The host is able to select an aircraft but the client, typing any of the three commands sees nothing. An following error is shown on the client machine: *WPF.Unavailable puppet place error. I'm not sure if I am doing this correctly so any help would be appreciated.
|
Quote:
Code:
[rts] Is there any entry in the log file? |
Quote:
Code:
public override void OnTrigger(int missionNumber, string shortName, bool active) |
That was it, added the RTS scriptAppDomain and it worked like a charm. Thanks
|
Thank you Kodiak, Much appreciated :grin:
|
Sorry, when You say "before last bracket" do you mean like so?
Code:
using System; |
Thx again for your work Banks.
Is there a way to limit the player spawn? Means as soon as a player got shot, he is out. Or better , can I seperate playable flights from non playable? Would that only be possible by adding AI flights by loading submissions? |
Quote:
|
Quote:
@All: Thanks for the feedback, keep it coming. I will add the requested features as soon as possible. |
Quote:
Cheers! |
Kodiak,hello mate :) this is helping a lot of people out here bud :)
Cheese |
Quote:
|
Any news for this script?:grin:
Salutes!! |
wpf.unavailable
Can somebody of you guys explain the whole thing in detail :confused:
We need your help http://forum.1cpublishing.eu/showthread.php?t=36037 |
i dont know what im doing wrong, but for me this is not working....
i put: [rts] scriptAppDomain = 0 in either my confs.ini and my conf.ini but all the commands dont do anything once the mission is loaded. what i noticed is, that the entry seems to get deleted automatically out of my conf.ini EDIT: ok after selecting the checkbox for read-only in for my conf.ini it suddenly worked... however,...dont get me wrong, but what sense has this so called coop sricpt? maybe i didnt fully understand it, or i miss something completely, but as soon as the host clicks " start battle", the mission will start, and all the ai airplanes will begin with their mission....so until players are ready, the battle might already be over... |
Does this work with the Team Fusion Mod? i hve tested the old version (the ones with the Blenheims) and for some reason i cant ever select an aircraft to fly.
|
WELL, does it work with TF 3.01?:confused:
Flying DESASTERSOFT Campaigns with buddies online would be so cool... |
Just tried this with above mentioned methods...no luck here.
This must be of interest to a lot of people, especially those flying with online squadrons. :rolleyes:The potential with TF3.01... |
YESSS! I can fly COOP TF 3.01!
That is, I can convert ANY SP mission to COOP. From now I can fly any DESASTERSOFT Campaign online with buddies! Bloody beautiful!!!! All you have to do is as mentioned before. What I did not grasp is that you only have to copy in a new .cs file (as provided as download in the beginning), rename it to your mission .cs and use that instead of the original (delete the original) .cs file of your SP. :grin::grin::grin: |
All times are GMT. The time now is 10:51 PM. |
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.