[0.12.x] PvP Scenarios
Re: [0.12.x] PvP Scenarios
Thanks Klonan, i'll try to get my head around this.
Re: [0.12.x] PvP Scenarios
Thanks Klonan, i manage to make it work (teleport) in simple test map.
But can't get it to work on real custom map, the teleport GUI prompt didn't show up.
i think it's due the method i use to make custom map.
I'm using this mod to convert map to image :
viewtopic.php?f=14&t=7243&start=0
Here how it's work :
So, how do i remedy this ?
Also, is there a way to disable building/recipe ?
I want to force player to use certain building that i place it beforehand (rocket silo)
Also, is there a way to set victory condition ?
I want the player to eliminate all enemy in map (the map is limited to certain distance, so it's not infinite), if only after certain condition is met (launching rocket X times + eliminate enemy), then the victory screen is pop-up.
But for time being, my priority is to make the teleport working as intended.
Sorry if i'm asking too much.
I'm also planning to make tutorial after all of this were done, so others can build their own custom map.
Btw, here's the code i use, taken from one of your custom map:
But can't get it to work on real custom map, the teleport GUI prompt didn't show up.
i think it's due the method i use to make custom map.
I'm using this mod to convert map to image :
viewtopic.php?f=14&t=7243&start=0
Here how it's work :
- Open the game using factorio 0.11.22 (because the mod is only supported factorio 0.11.x)
- Generate map
- Enter the game to use console to export the map ; /c remote.call("MapConverter", "Export")
- Convert the map to readable format (png), edit as necessary in Photoshop, save it
- Enter the game again to import the map. /c remote.call(\"MapConverter\", \"Import\")
- Exit the game, then use "/bin/prod/factorio --map2scenario " command to import the save file into Map Editor
- Open the map using Map Editor from latest factorio version
- Save the map for compatibility
So, how do i remedy this ?
Also, is there a way to disable building/recipe ?
I want to force player to use certain building that i place it beforehand (rocket silo)
Also, is there a way to set victory condition ?
I want the player to eliminate all enemy in map (the map is limited to certain distance, so it's not infinite), if only after certain condition is met (launching rocket X times + eliminate enemy), then the victory screen is pop-up.
But for time being, my priority is to make the teleport working as intended.
Sorry if i'm asking too much.
I'm also planning to make tutorial after all of this were done, so others can build their own custom map.
Btw, here's the code i use, taken from one of your custom map:
Code
Re: [0.12.x] PvP Scenarios
Any chances of new pvp scenarios or autonomous AI units that head in enemies direction that we can create? We don't control with unit but it heads out and seeks our enemy team. Similar to the pvp biter mod?
Re: [0.12.x] PvP Scenarios
But how can I get alien artifacts on your "newlands" map??
Re: [0.12.x] PvP Scenarios
EmPowereD wrote:But how can I get alien artifacts on your "newlands" map??
Code: Select all
/c game.local_player.insert{name = "alien-artifact", count = 100}
Re: [0.12.x] PvP Scenarios
How can we modify the red vs blue map to remove market and increase size. Also was thinking of modifying center to create on Land bridge filled with biters. Was thinking of the roboport destruction scenario.
Re: [0.12.x] PvP Scenarios
I updated the mod to work with 0.13, only a couple minor changes.
Changes:
* Removed `require "defines"`
* Changed an out-dated reference to `firearm-magazine`
* Daytime was changed to reference its new location inside LuaSurface
* Bad reference to game.player, changed to game.player[index]
I tested it by loading the Scenario, waiting for teams to unlock, joining Orange, and then running into a group of biters![Razz :P](./images/smilies/icon_razz.gif)
Changes:
* Removed `require "defines"`
* Changed an out-dated reference to `firearm-magazine`
* Daytime was changed to reference its new location inside LuaSurface
* Bad reference to game.player, changed to game.player[index]
I tested it by loading the Scenario, waiting for teams to unlock, joining Orange, and then running into a group of biters
![Razz :P](./images/smilies/icon_razz.gif)
Re: [0.12.x] PvP Scenarios
Hello there,
I know this thread is very old, but I want to mention my new mod based on the pvp scenario made by Klonan.
https://mods.factorio.com/mods/KaleR/Teams
It is possible to create teams on startup, enemy bases will be cleared in every team.
Some other features are alliances, team messages, attack notifications and research notifications. Every feature is configurable on startup.
Regards,
KaleR
I know this thread is very old, but I want to mention my new mod based on the pvp scenario made by Klonan.
https://mods.factorio.com/mods/KaleR/Teams
It is possible to create teams on startup, enemy bases will be cleared in every team.
Some other features are alliances, team messages, attack notifications and research notifications. Every feature is configurable on startup.
Regards,
KaleR
-
- Long Handed Inserter
- Posts: 74
- Joined: Sat Sep 03, 2016 12:00 am
- Contact:
Re: [0.12.x] PvP Scenarios
This is my current iteration of the Roboport pvp.
on our discord I keep a change log. here is what it looks like so far. it reads newest first.
3Ra_Roboport_v0.6
on our discord I keep a change log. here is what it looks like so far. it reads newest first.
3Ra_Roboport_v0.6
change list
- Attachments
-
- control.lua
- (21.23 KiB) Downloaded 262 times
3Ra Gaming Owner
join us on discord @ http://www.3RaGaming.com/discord
join us on discord @ http://www.3RaGaming.com/discord
-
- Inserter
- Posts: 44
- Joined: Fri Apr 01, 2016 4:41 pm
- Contact:
Re: [0.12.x] PvP Scenarios
Here is a link to our github of scenarios which includes constant updates of our version of PvP taken from this thread. This PvP has been a fun one on our servers
We have a great working version (for 14.11+, tested up to 14.13 (current version) with some additional features implemented. One of our community coders (Articulating) is overhauling the script right now, so a new version may be posted in a few hours/days. This overhaul will make adding additional features much easier.
We're also hosting a large event tomorrow featuring this scenario. Link to reddit announcement
![Smile :)](./images/smilies/icon_e_smile.gif)
We're also hosting a large event tomorrow featuring this scenario. Link to reddit announcement
Last edited by studmuffin on Mon Nov 07, 2016 5:53 pm, edited 1 time in total.
-
- Burner Inserter
- Posts: 19
- Joined: Mon Oct 17, 2016 8:09 pm
- Contact:
Re: [0.12.x] PvP Scenarios
Looks like it works on 0.14.19 too (still have to test it on a LAN party dough)kurtzbot wrote:I updated the mod to work with 0.13, only a couple minor changes.
Changes:
* Removed `require "defines"`
* Changed an out-dated reference to `firearm-magazine`
* Daytime was changed to reference its new location inside LuaSurface
* Bad reference to game.player, changed to game.player[index]
I tested it by loading the Scenario, waiting for teams to unlock, joining Orange, and then running into a group of biters
Found a small typo:
Code: Select all
p.print("Map unsutitable, please restart")
-
- Inserter
- Posts: 44
- Joined: Fri Apr 01, 2016 4:41 pm
- Contact:
Re: [0.12.x] PvP Scenarios
It has to do with chunk loading. Trying to place/manipulate entities on a chunk that has not been loaded yet causes the game to crash. In a dev version of our modification to PvP, instead of time based loading team selection, we detect when all the proper chunks have been loaded, then do the script work on entities, then unlock teams.
This is also a limitation on how factorio handles chunks. We found when we increased the game.speed, the chunks would generate faster, leading us to understand chunk loading is based on ticks, not on necessarily on processor speed capabilities. To generate this pvp map takes roughly 30-50 seconds worth of ticks. Our version is set to increase the game.speed on map initialization, and drop it down to regular speed after the chunks have been generated.
This is also a limitation on how factorio handles chunks. We found when we increased the game.speed, the chunks would generate faster, leading us to understand chunk loading is based on ticks, not on necessarily on processor speed capabilities. To generate this pvp map takes roughly 30-50 seconds worth of ticks. Our version is set to increase the game.speed on map initialization, and drop it down to regular speed after the chunks have been generated.
Re: [0.12.x] PvP Scenarios
studmuffin wrote:It has to do with chunk loading. Trying to place/manipulate entities on a chunk that has not been loaded yet causes the game to crash. In a dev version of our modification to PvP, instead of time based loading team selection, we detect when all the proper chunks have been loaded, then do the script work on entities, then unlock teams.
This is also a limitation on how factorio handles chunks. We found when we increased the game.speed, the chunks would generate faster, leading us to understand chunk loading is based on ticks, not on necessarily on processor speed capabilities. To generate this pvp map takes roughly 30-50 seconds worth of ticks. Our version is set to increase the game.speed on map initialization, and drop it down to regular speed after the chunks have been generated.
Exactly,
I have also solved the issue in 2 different ways for the PvP script i am working on,
One is exactly the same, increase game speed and detect when all the chunks are ready
-
- Inserter
- Posts: 49
- Joined: Sun Dec 28, 2014 1:03 pm
- Contact:
Re: [0.12.x] PvP Scenarios
Hey, is this the standard builtin PvP Scenario?
I am currently trying to figure out how to decrease the damage of Grenades Rockets and Cannon Shells (Because they are gamender)
But i can't. I can multiply them by a given number, but it does only work with full integer. I am not able to set the Grenade damage to like 10% (0.1) Then it simply just wont change at all.
Am i doing something wrong?
Edit: Oh my, when you set Walking Speed to a negative number, you'll walk backwards.![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
I am currently trying to figure out how to decrease the damage of Grenades Rockets and Cannon Shells (Because they are gamender)
But i can't. I can multiply them by a given number, but it does only work with full integer. I am not able to set the Grenade damage to like 10% (0.1) Then it simply just wont change at all.
Am i doing something wrong?
Edit: Oh my, when you set Walking Speed to a negative number, you'll walk backwards.
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: [0.12.x] PvP Scenarios
The modifiers are a bonus, so if you want 50% damage, you will have to set it to -0.5Blackraz0r wrote:Hey, is this the standard builtin PvP Scenario?
I am currently trying to figure out how to decrease the damage of Grenades Rockets and Cannon Shells (Because they are gamender)
But i can't. I can multiply them by a given number, but it does only work with full integer. I am not able to set the Grenade damage to like 10% (0.1) Then it simply just wont change at all.
Am i doing something wrong?
Edit: Oh my, when you set Walking Speed to a negative number, you'll walk backwards.
Such that 0 = 100%, 0.5 = 150%, 1 = 200%, -1 = 0%, -0.5 = 50%
-
- Inserter
- Posts: 49
- Joined: Sun Dec 28, 2014 1:03 pm
- Contact:
Re: [0.12.x] PvP Scenarios
Ah got it!
This scenario is totally crazy awesome! I'm hosting a server based on this and its amazing how much fun it is! Thank you for this!
Is there a way to buff the overall entity health? Like all player structures have 50% more HP?
Also nice would be to have a modifier for the range of weapons.
We found out that rockets, grenades and the tank cannon are kinda gameender because of the high range wich can easily outrange any turrets.
Are you planing to further improve these and other scenarios or create more? I think they are amazing <3
This scenario is totally crazy awesome! I'm hosting a server based on this and its amazing how much fun it is! Thank you for this!
Is there a way to buff the overall entity health? Like all player structures have 50% more HP?
Also nice would be to have a modifier for the range of weapons.
We found out that rockets, grenades and the tank cannon are kinda gameender because of the high range wich can easily outrange any turrets.
Are you planing to further improve these and other scenarios or create more? I think they are amazing <3