I heard these modify the charactor, seperate from reasearch. where exactly would you use these?Added modifiers to the character entity that stack with the force research bonuses but are unique to the character: character_crafting_speed_modifier, character_mining_speed_modifier,
character_running_speed_modifier, character_build_distance_bonus, character_item_drop_distance_bonus, character_reach_distance_bonus, character_resource_reach_distance_bonus,
character_item_pickup_distance_bonus, character_loot_pickup_distance_bonus, quickbar_count_bonus, character_inventory_slots_bonus, character_logistic_slot_count_bonus,
character_trash_slot_count_bonus, character_maximum_following_robot_count_bonus, character_health_bonus
Mod changes in 0.13
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Mod changes in 0.13
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: Mod changes in 0.13
Perhaps to temporarily immobilize/disable/restrict a character in certain situations.bobingabout wrote:I heard these modify the charactor, seperate from reasearch. where exactly would you use these?Added modifiers to the character entity that stack with the force research bonuses but are unique to the character: character_crafting_speed_modifier, character_mining_speed_modifier,
character_running_speed_modifier, character_build_distance_bonus, character_item_drop_distance_bonus, character_reach_distance_bonus, character_resource_reach_distance_bonus,
character_item_pickup_distance_bonus, character_loot_pickup_distance_bonus, quickbar_count_bonus, character_inventory_slots_bonus, character_logistic_slot_count_bonus,
character_trash_slot_count_bonus, character_maximum_following_robot_count_bonus, character_health_bonus
Re: Mod changes in 0.13
...
Last edited by binbinhfr on Wed Jun 29, 2016 10:46 am, edited 2 times in total.
My mods on the Factorio Mod Portal
Re: Mod changes in 0.13
LuaPlayer: http://lua-api.factorio.com/0.13.0/LuaP ... d_modifierbobingabout wrote:I heard these modify the charactor, seperate from reasearch. where exactly would you use these?Added modifiers to the character entity that stack with the force research bonuses but are unique to the character: character_crafting_speed_modifier, character_mining_speed_modifier,
character_running_speed_modifier, character_build_distance_bonus, character_item_drop_distance_bonus, character_reach_distance_bonus, character_resource_reach_distance_bonus,
character_item_pickup_distance_bonus, character_loot_pickup_distance_bonus, quickbar_count_bonus, character_inventory_slots_bonus, character_logistic_slot_count_bonus,
character_trash_slot_count_bonus, character_maximum_following_robot_count_bonus, character_health_bonus
If you want to get ahold of me I'm almost always on Discord.
Re: Mod changes in 0.13
nice !Rseding91 wrote:LuaPlayer: http://lua-api.factorio.com/0.13.0/LuaP ... d_modifier
My mods on the Factorio Mod Portal
Re: Mod changes in 0.13
About this character_running_speed_modifier , it seems to be an additive/substractive modifier (?), and not a multiplicative one (when it is equal to 0, it has no effect). So, to use it efficiently on temporary changes (especially if i want to slow down the character), it would be nice to know the current max running speed of the character. But I cannot figure out how to do it. Nothing on EntityPrototype. An idea Rseding ?
Edit : character_running_speed_modifier seems to be additive on a multiplier modifier.
when -1, the character has no speed, -0.5 half speed, 0 the normal speed, 1 double speed, etc....
But i would still like to know the basic maximum running speed of my character... (with exoskel, etc...)
Edit : character_running_speed_modifier seems to be additive on a multiplier modifier.
when -1, the character has no speed, -0.5 half speed, 0 the normal speed, 1 double speed, etc....
But i would still like to know the basic maximum running speed of my character... (with exoskel, etc...)
My mods on the Factorio Mod Portal
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Mod changes in 0.13
Are there any examples around on how to use "electric-energy-interface"?
Re: Mod changes in 0.13
I used it in my Electric Void mod, to create a big producer and a big consumer for testing purpose.bobingabout wrote:Are there any examples around on how to use "electric-energy-interface"?
viewtopic.php?f=93&t=23735
My mods on the Factorio Mod Portal
Re: Mod changes in 0.13
I've been meaning to write some examples and put them on the wiki but I keep getting distracted fixing bugsbobingabout wrote:Are there any examples around on how to use "electric-energy-interface"?
If you want to get ahold of me I'm almost always on Discord.
-
- Filter Inserter
- Posts: 841
- Joined: Mon Sep 14, 2015 7:40 am
- Contact:
Re: Mod changes in 0.13
Fixing bugs >> fixing wikiRseding91 wrote:I've been meaning to write some examples and put them on the wiki but I keep getting distracted fixing bugs
- bobingabout
- Smart Inserter
- Posts: 7352
- Joined: Fri May 09, 2014 1:01 pm
- Contact:
Re: Mod changes in 0.13
Just as a point of interest.
transport-belt-to-ground was renamed to underground-belt
pipe-to-ground was not renamed to underground-pipe.
transport-belt-to-ground was renamed to underground-belt
pipe-to-ground was not renamed to underground-pipe.
-
- Burner Inserter
- Posts: 17
- Joined: Thu Jun 30, 2016 10:08 pm
- Contact:
Re: Mod changes in 0.13
Does anyone know how to use these, because i tried adding a research for the mining speed, similar to the lab speed that is already in game, but it did not work.Added new research options: character-crafting-speed, character-mining-speed, character-running-speed, character-build-distance, character-item-drop-distance, character-reach-distance, character-resource-reach-distance, character-item-pickup-distance, character-loot-pickup-distance, character-inventory-slots-bonus, deconstruction-time-to-live, character-health-bonus
Re: Mod changes in 0.13
Something like how this mod does it: https://mods.factorio.com/mods/Klonan/C ... d_ResearchBAndrisHuN wrote:Does anyone know how to use these, because i tried adding a research for the mining speed, similar to the lab speed that is already in game, but it did not work.Added new research options: character-crafting-speed, character-mining-speed, character-running-speed, character-build-distance, character-item-drop-distance, character-reach-distance, character-resource-reach-distance, character-item-pickup-distance, character-loot-pickup-distance, character-inventory-slots-bonus, deconstruction-time-to-live, character-health-bonus
Re: Mod changes in 0.13
You mean... the completely incorrect way to do it?Klonan wrote:Something like how this mod does it: https://mods.factorio.com/mods/Klonan/C ... d_ResearchBAndrisHuN wrote:Does anyone know how to use these, because i tried adding a research for the mining speed, similar to the lab speed that is already in game, but it did not work.Added new research options: character-crafting-speed, character-mining-speed, character-running-speed, character-build-distance, character-item-drop-distance, character-reach-distance, character-resource-reach-distance, character-item-pickup-distance, character-loot-pickup-distance, character-inventory-slots-bonus, deconstruction-time-to-live, character-health-bonus
All you have to do is delete the control.lua in your mod and add the proper effect type to the research so it applies it automatically:
Code: Select all
effects =
{
{
type = "character-crafting-speed",
modifier = 0.1
}
}
If you want to get ahold of me I'm almost always on Discord.
Re: Mod changes in 0.13
Looks like someones mod needs an update.
-
- Burner Inserter
- Posts: 17
- Joined: Thu Jun 30, 2016 10:08 pm
- Contact:
Re: Mod changes in 0.13
Thats what i tried but it doesnt work.Rseding91 wrote:You mean... the completely incorrect way to do it?Klonan wrote:Something like how this mod does it: https://mods.factorio.com/mods/Klonan/C ... d_ResearchBAndrisHuN wrote:Does anyone know how to use these, because i tried adding a research for the mining speed, similar to the lab speed that is already in game, but it did not work.Added new research options: character-crafting-speed, character-mining-speed, character-running-speed, character-build-distance, character-item-drop-distance, character-reach-distance, character-resource-reach-distance, character-item-pickup-distance, character-loot-pickup-distance, character-inventory-slots-bonus, deconstruction-time-to-live, character-health-bonus
All you have to do is delete the control.lua in your mod and add the proper effect type to the research so it applies it automatically:
Code: Select all
effects = { { type = "character-crafting-speed", modifier = 0.1 } }
Re: Mod changes in 0.13
What doesn't work about it? I just tested it and it works perfectly for me.BAndrisHuN wrote:Thats what i tried but it doesnt work.
If you want to get ahold of me I'm almost always on Discord.
-
- Burner Inserter
- Posts: 17
- Joined: Thu Jun 30, 2016 10:08 pm
- Contact:
Re: Mod changes in 0.13
I have no idea. This is the second mod i tried to do (btw i dont know lua). I fixed all the errors it gave but it doesnt change neither the mining speed, nor the crafting speed after i researched it.Rseding91 wrote:What doesn't work about it? I just tested it and it works perfectly for me.BAndrisHuN wrote:Thats what i tried but it doesnt work.
-
- Burner Inserter
- Posts: 17
- Joined: Thu Jun 30, 2016 10:08 pm
- Contact:
Re: Mod changes in 0.13
Finally it is working, and i think the problem was that i was on 0.13.3 because after i updated to 0.13.6 it worked. So here is my mod: viewtopic.php?f=92&t=28690
Re: Mod changes in 0.13
Rseding91 wrote:Add the tag to the info.json: "factorio_version":"0.13" indicating the mod works with that version.Schorty wrote:Why are my Mods saying, that they are for Version 0.12 and therefor not compatible with the current version of the game? I get this message in the mods menu ingame. What do I have to do, to change this?
Can this be updated in the modding tut?