[WIP] PvP gamescript

Topics and discussion about specific mods
Post Reply
User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

[WIP] PvP gamescript

Post by rk84 » Sat Feb 07, 2015 12:05 am

My take on pvp gameplay. I choose to not add/edit items or entities, at least not yet, because main focus was to make independent script just to create pvp game with either mod active or script as part of map. You can create map with editor and paste control.lua of mod to map's folder or paste it to empty folder to generate new maps. (Factorio/scenariors/pvp/control.lua)
Load from Custom scenariors. Save it. Load it for mp game. Invite players. Advantage: players are not require to download mod.

Download: pvp-gamescript_0.1.2

Pre-game setup: First player is host (god controller). Host can place start places for teams, edit start item list and move players from team to team freely. Other players are ghosts and they can see almost same gui as host, but can not edit settings. All players return to characters after host clicks start.

Game settings:
  • Flying chat: Adds textfield and say-button to send flying texts over your character.
  • Player port: Host can make spawn points for both red and blue team by placing player port. If this option is disabled player port is removed, but location coordinates is still used as spawn point. Team member are always teleported to spawn point when they die. If this option is enabled player won't loose items. Except if player is killed on top of player port.
  • Respawn items: Player gets initial items everytime she/he respawns.
  • Team colors: Random variation of red and blue colors are assigned to players in start.
  • Peacetime: This will offset timer. so that timer will decrease first as many minutes as it is set. Peacetime is not enforced in anyway.
Image

Initial items: Text field accepts 2 types of inputs:
  • iron-plate adds 1 iron plate in list
  • iron-plate:20 adds 20 iron plates in list
There is active search that adds valid item names to right side (which are clickable for quick selection)
Image

Team lists: Crude, but I hope it gets the job done. :)
Image

Techs:
Image
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

FishSandwich
Smart Inserter
Smart Inserter
Posts: 1847
Joined: Sun Feb 23, 2014 3:37 pm
Contact:

Re: [WIP] PvP gamescript

Post by FishSandwich » Sat Feb 07, 2015 12:31 am

Nice! Does it work well in multiplayer? Last I heard GUI buttons caused all kinds of desync issues.

User avatar
rk84
Filter Inserter
Filter Inserter
Posts: 556
Joined: Wed Feb 13, 2013 9:15 am
Contact:

Re: [WIP] PvP gamescript

Post by rk84 » Sat Feb 07, 2015 1:02 am

FishSandwich wrote:Nice! Does it work well in multiplayer? Last I heard GUI buttons caused all kinds of desync issues.
Well I had no desyncs in 0.11.14, but I'm not making any promises.
Test mode
Searching Flashlight
[WIP]Fluid handling expansion
[WIP]PvP gamescript
[WIP]Rocket Express
Autofill: The torch has been pass to Nexela

Post Reply

Return to “Mods”

Who is online

Users browsing this forum: No registered users