KG200_Volker Posted March 28, 2017 Posted March 28, 2017 (edited) Hello, does anyone have a script or a program that can share, which can load in Dserver the next mission acording to the results of the last one? So if team A wins then load miss2, if team A looses then load miss1. Second Q, I ve seen it somewhere but I can't remember where (or I didn't ?!?), there is a way to count killed objects in an area without connecting a counter to each one of them? Edited March 28, 2017 by KG200_Volker
coconut Posted March 28, 2017 Posted March 28, 2017 There's no direct way to do the first, but it's possible to do if you can write software, or at least put bits of software together: have some script monitor the mission log, and when it sees the mission objective event, it copies the next mission to run to the data/multiplayer directory. It has to do so before the server restarts, so leave some time between one mission end to the next mission start, there's a setting in the sds file for that. And for the second question, check the complex trigger, iirc it has an OnObjectKilled filter and event.
TP_Jacko Posted March 28, 2017 Posted March 28, 2017 Hello, does anyone have a script or a program that can share, which can load in Dserver the next mission acording to the results of the last one? So if team A wins then load miss2, if team A looses then load miss1. Second Q, I ve seen it somewhere but I can't remember where (or I didn't ?!?), there is a way to count killed objects in an area without connecting a counter to each one of them? Would be nice. I really liked the rolling war servers that the old IL2 1946 had. Also with moving front lines depending on where the land/sea forces were
LLv34_Temuri Posted March 28, 2017 Posted March 28, 2017 Second Q, I ve seen it somewhere but I can't remember where (or I didn't ?!?), there is a way to count killed objects in an area without connecting a counter to each one of them? If you know the objects' names to count, you can also have an external application monitor the logs for kill messages. You just need to define the monitored area in the external application and check if the coordinates in the objects' kill messages point to a place inside the monitored area. But this is probably what you're not after
KG200_Volker Posted March 28, 2017 Author Posted March 28, 2017 Cocconut: Unfortunately I don't know any kind of coding ( propably my wife does since SHE knows everything ). As for the complex trigger I want to avoid it for resources. Tempura: Good idea. Since we make the missions we can define the names, coded with numbers eg "lwtruck1-lwtruck2", so we don't need area coordinates, the problem remains, we need the software for this.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now