Mod scenario vs Player scenario

Place to share custom user maps, scenarios and campaigns.

Mod scenario vs Player scenario

Postby DRY411S » Mon Apr 23, 2018 5:49 pm

What's the difference?
User avatar
DRY411S
Filter Inserter
Filter Inserter
 
Posts: 504
Joined: Sun Mar 13, 2016 9:48 am
Location: Leeds, UK

Re: Mod scenario vs Player scenario

Postby Bilka » Mon Apr 23, 2018 6:08 pm

Which two things do you mean?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
User avatar
Bilka
Filter Inserter
Filter Inserter
 
Posts: 774
Joined: Sat Aug 13, 2016 9:20 am

Re: Mod scenario vs Player scenario

Postby DRY411S » Mon Apr 23, 2018 8:19 pm

1) Mod scenario
2) Player scenario
User avatar
DRY411S
Filter Inserter
Filter Inserter
 
Posts: 504
Joined: Sun Mar 13, 2016 9:48 am
Location: Leeds, UK

Re: Mod scenario vs Player scenario

Postby Klonan » Tue Apr 24, 2018 6:20 am

Mod scenarios are added by mods, like base mod, and located in the mod folder, such as base/scenarios

User scenarios are created in the map editor or added to the user directory by hand, and are all located in %appdata%/factorio/scenarios
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 3103
Joined: Sun Jan 11, 2015 2:09 pm

Re: Mod scenario vs Player scenario

Postby steinio » Tue Apr 24, 2018 10:35 am

Why isn't mod_dir/scenarios implemented?
ImageImage
Transport Belt Repair Man
My little mods: Link | My favourite mods: Bob's Mods | Angel's Mods | Yuoki Railway Core | EvoGUI | Logistic Train Network
Factorio Cheat Sheet by Denis Zholob

View unread Posts
User avatar
steinio
Smart Inserter
Smart Inserter
 
Posts: 1854
Joined: Sat Mar 12, 2016 4:19 pm
Location: Germany

Re: Mod scenario vs Player scenario

Postby Klonan » Tue Apr 24, 2018 12:06 pm

steinio wrote:Why isn't mod_dir/scenarios implemented?


It would not work really, mods should add scenarios as part of the mod, for example:
https://github.com/Klonan/factory-floor
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 3103
Joined: Sun Jan 11, 2015 2:09 pm

Re: Mod scenario vs Player scenario

Postby DRY411S » Tue Apr 24, 2018 5:34 pm

So can mod scenarios have data stages, but player scenarios cannot?
User avatar
DRY411S
Filter Inserter
Filter Inserter
 
Posts: 504
Joined: Sun Mar 13, 2016 9:48 am
Location: Leeds, UK

Re: Mod scenario vs Player scenario

Postby Klonan » Tue Apr 24, 2018 5:46 pm

DRY411S wrote:So can mod scenarios have data stages, but player scenarios cannot?


No, the mods can, but scenarios can contain only script, map data, locale and some other minor (runtime) things
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 3103
Joined: Sun Jan 11, 2015 2:09 pm

Re: Mod scenario vs Player scenario

Postby Klonan » Tue Apr 24, 2018 5:46 pm

Klonan wrote:
DRY411S wrote:So can mod scenarios have data stages, but player scenarios cannot?


No, the mods can, but scenarios can contain only script, map data, locale and some other minor (runtime) things


There is effectively no difference between the two, only where they are located/installed from
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 3103
Joined: Sun Jan 11, 2015 2:09 pm

Re: Mod scenario vs Player scenario

Postby DRY411S » Tue Apr 24, 2018 5:56 pm

Ok so last question. Do all players need to have the mod scenario installed before they can join a server? For player scenarios they don't.
User avatar
DRY411S
Filter Inserter
Filter Inserter
 
Posts: 504
Joined: Sun Mar 13, 2016 9:48 am
Location: Leeds, UK

Re: Mod scenario vs Player scenario

Postby Klonan » Tue Apr 24, 2018 7:30 pm

DRY411S wrote:Ok so last question. Do all players need to have the mod scenario installed before they can join a server? For player scenarios they don't.


As long as the mod does no data or prototype changes, and has no custom scripts outside the campaign/scenario files, only the server will need the scenario mod installed

This can be confirmed by checking the mod description:

Image

If it says synchonisation is not needed, then people connecting to the server will not need to have the mod installed
User avatar
Klonan
Factorio Staff
Factorio Staff
 
Posts: 3103
Joined: Sun Jan 11, 2015 2:09 pm

Re: Mod scenario vs Player scenario

Postby bobucles » Wed Apr 25, 2018 11:48 am

User scenarios are created in the map editor or added to the user directory by hand, and are all located in %appdata%/factorio/scenarios

Will downloadable scenarios become a part of the mod database?
bobucles
Smart Inserter
Smart Inserter
 
Posts: 1138
Joined: Wed Jun 10, 2015 10:37 pm

Re: Mod scenario vs Player scenario

Postby DRY411S » Wed Apr 25, 2018 1:53 pm

bobucles wrote:
User scenarios are created in the map editor or added to the user directory by hand, and are all located in %appdata%/factorio/scenarios

Will downloadable scenarios become a part of the mod database?


They already are. That's what prompted my OP.

Factory Floor by Klonan is an example.
User avatar
DRY411S
Filter Inserter
Filter Inserter
 
Posts: 504
Joined: Sun Mar 13, 2016 9:48 am
Location: Leeds, UK


Return to Maps and Scenarios

Who is online

Users browsing this forum: No registered users and 2 guests