Jump to content

Can Someone Take A Look At This Mp Mission?


Recommended Posts

FortuneFlies
Posted

Morning folks,

New to this editor (didn't spend much time at all with RoF), and could use some help, if possible.

Trying to get this mission up and running on our dserver, but when it loads up, it just says !!CAN'T LOAD MISSION!!.

Does there exist a debugger anywhere to tell me why it won't load? 

Alternatively, I'm attaching a link to the mission, if anyone wants to pop it open real quick and tell me why I'm an idiot. I won't mind, really. Learning new things, etc.

 

Thanks!

 

https://drive.google.com/file/d/0BwVORMqDIizyRmtLVk1DU3lIMVU/view?usp=sharing
 

Posted

In the mission file it says: MissionType = 1;

Now I'm doing this from memory, but isn't this a single player mission type?

 

Else, check the paths to the mission in the .sds file.

FortuneFlies
Posted

In the mission file it says: MissionType = 1;

Now I'm doing this from memory, but isn't this a single player mission type?

 

Else, check the paths to the mission in the .sds file.

Not sure? I am saving the type under mission properties as Cooperative, and setting the 7 planes as Cooperative Start.

Posted

Do not use cooperative. Cooperative is not use by Bos. It's a special multiplayer mod for RoF.

 

For Bos, you have to choose between 2 settings :

 

Single mission = Single

 

Multiplayer = Deathmatch.

FortuneFlies
Posted

Do not use cooperative. Cooperative is not use by Bos. It's a special multiplayer mod for RoF.

 

For Bos, you have to choose between 2 settings :

 

Single mission = Single

 

Multiplayer = Deathmatch.

Thank you!

 

This actually was exactly my problem.

 

SemiDesperado
Posted

Do not use cooperative. Cooperative is not use by Bos. It's a special multiplayer mod for RoF.

 

For Bos, you have to choose between 2 settings :

 

Single mission = Single

 

Multiplayer = Deathmatch.

Can you still set up coop missions with AI to fight, though? Just save it as Multiplayer instead of Cooperative?

Posted

Yes. Don't think that even if it's called deathmatch, it's only human vs human.

 

If you want a multiplayer mission, save it with deathmatch.

FortuneFlies
Posted

Yes. Don't think that even if it's called deathmatch, it's only human vs human.

 

If you want a multiplayer mission, save it with deathmatch.

Hey Habu, sorry for a trillion questions! Here's a couple more, because I am the worst.

 

Regarding Multiplayer Missions: How do I associate aircraft with an airfield in multiplayer, so they can be selectable at spawn? Example of the airfields in the mutiplayer lobby below:

 

Bqi1aT8.png

 

Secondly, when players join our server running custom missions, we get this error: "

#10016 : Unable To Save File To Disk"

 

I assume this has something to do with a server setting for allowing downloads? Maybe an extra port or something? Folks with the missions can join fine, they just can't grab them fresh from there. 

 

Any help would be extremely appreciated.

Posted (edited)

Don't be sorry to ask. If i can answer, i will, and i'm sure that it's the same for others. One time, you could learn me something. ;)

 

Airfield for player :

 

1- Put object Airfield on the map. (not airfield respw which i don't know what is it, if someone has information about it ?)

2- Create entity.

3- Use the button Plane.

4- Add the plane you want, the quantity. Here are the plane for the player. You have to choose a type and give him a name (the name which appear at the selection in the mutilpayer).

 

If you want that plane start in the air, set the altitude.

 

Be carefull, when you put the airfield on the map, it's the point where planes spawn. So put it where you want planes spawn. You have a yelow line which show the direction of the plane when it spawn.

 

 

 

For your error, i think it's a port you have to open :

 

You have to  open port :

TCP : 28000

UDP : 28000

TCP : 28100

 

 

Is it the same PC which host and you use to play ?

Edited by Habu
FortuneFlies
Posted

@Habu

 

That's the exact Airfield I am using, and we're doing it that way. You can definitely spawn when you connect to the server at that airfield, so that stuff works.

 

The issue we have with this method, is that I don't know how to assign anything to the planes that spawn there. Normally, I can attach waypoints, triggers, etc. to manually placed planes, but I don't know how to link anything to the planes that come out of there.

 

RE: Download issue, I think we have all of those ports opened. Anyone can browse to the server and connect to it, but if you don't already have the mission, it'll fail to transfer to the player joining. 

 

Thanks again for any help or guidance! You folks are top notch.

Posted

You don't answer to the question which could give you the solution after i have that information. Using what you said, i think it's the same PC. I need to be sure. ;)

 

Plane which spawn like this are only for human, so you can't attach waypoint to that kind of plane like you do with AI. You can only draw the flightplan with trigger icons.

 

What would you like to link except waypoint ?

FortuneFlies
Posted

Sorry!
 

 

No, not hosting from the same PC. We have a dedicated server.
 

Example of what is happening: Folks spawn at marked airfield. Since these units did not exist in the editor (only the airfield), I don't know how to attach anything to them. Say I wanted to trigger a Subtitle when the player plane takes off. I can't set a 'onPlaneTookOff' event to trigger that subtitle. It's the same deal with anything else I might normally assign to players. I can't OL to any of them because they don't exist in the editor. So, I can manually plot out waypoints like normal, but I don't know how to connect them to player aircraft.

Does that make sense?

SYN_Haashashin
Posted

For that kind of things you should use Complex trigger MCU, which act as an check zone. When players or even entities enter the radious it will trigger whatever you want.

 

Take a look at the Group Sharing Corner, there are AAA groups that are triggered that way, mind me, its way easier than it look, if you give me 5 min I will make one up.

SYN_Haashashin
Posted

Here:https://www.dropbox.com/s/is5bovalp0v5eth/Subtitles.7z?dl=0

Subtitles activated by any German plane that get inside that area. Of course that can be changed to the player country and you can even set the subtitle to showup only when a certain type of plane is in the area (Object Script) or any vehicule from the country chosen.

 

Reading the other topic, please only post here, I dont understand why you want to set WP to players??

FortuneFlies
Posted

Thanks much, Haash.

It's not specifically waypoints, but anything I might want to OL to a player.

Is the only way to activate a trigger via Player Plane through Check Zones?

SYN_Haashashin
Posted

Check Zone is used for SP.

 

Complex trigger MCU is for MP.

 

Both have basically the same function. The difference is that for MP you can check almost anything, not only the players. Let say you want to check if a number of tanks reached a position to trigger another event...thats done by Complex trigger in MP.

FortuneFlies
Posted

That's super handy information.

Thank you, Haash.

  • 4 weeks later...
Posted

I figured out it's very helpful, if you have the ERROR massage COULD NOT LOAD MISSION!!! to save the misson in the multyplayer foulder in the bos directory otherwise the server don't find the path.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...