Various newcomer to modding questions
Posted: Wed Sep 06, 2017 7:47 am
Hello =)
Started modding factorio and was amazed by the possibilities, but on the other hand, some strange limitations seem to rise while is was trying to get deeper into factorio - specialy concerning combat.
Range stuff:
min_range = 40
max_range = 50
turn_range = 0.10 <most interesting
^seem to work only for turrets?^
Didn't manage to make this work for "cars". Imho, it's vital for aircraft and various self propelled weapon systems.
Tryed to put it in various code places after
data.raw stuff:
data.raw["ammo"]["firearm-magazine"].magazine_size = 5
data.raw["ammo"]["firearm-magazine"].stack_size = 50
^works fine^
But didn't manage to make this work:
data.raw["ammo"]["firearm-magazine"].target_type = "direction"
this should be written differently i guess?
Projectile stuff:
direction_deviation = 0.01,
range_deviation = 0.01,
direction_"" and range_"" together seem to produce "accuracy/inaccuracy" - but works does not seem to always work?
Can this work for target type direct? Could someone please share with what else is it linked(like target type)
speed = 0.001, --seems to be the starting speed of a projectile.
speed_deviation = 0.01 - this seems to be the speed variation for each fired projectile? (each projectile can have different speed?)
collision_box = {{0, 0}, {0, 0}}, -- how to remove some entity collision box entirely? Trying various used and unused masks didn't help
Sound stuff:
- How can one make it so everyone is able to hear the sound of a firing "car" while no player is in it??
- Is there a parameter for sound spreading (distance/intensity)?
Sub-entities stuff:
A "unit" ("car") may be created using several various entities.
Can this entities be "cars"? Interesting in making multiple seat vehicles/other.
Thank you for your attention.
PS: Will be further edited =) more questions to come
Started modding factorio and was amazed by the possibilities, but on the other hand, some strange limitations seem to rise while is was trying to get deeper into factorio - specialy concerning combat.
Range stuff:
min_range = 40
max_range = 50
turn_range = 0.10 <most interesting
^seem to work only for turrets?^
Didn't manage to make this work for "cars". Imho, it's vital for aircraft and various self propelled weapon systems.
Tryed to put it in various code places after
data.raw stuff:
data.raw["ammo"]["firearm-magazine"].magazine_size = 5
data.raw["ammo"]["firearm-magazine"].stack_size = 50
^works fine^
But didn't manage to make this work:
data.raw["ammo"]["firearm-magazine"].target_type = "direction"
this should be written differently i guess?
Projectile stuff:
direction_deviation = 0.01,
range_deviation = 0.01,
direction_"" and range_"" together seem to produce "accuracy/inaccuracy" - but works does not seem to always work?
Can this work for target type direct? Could someone please share with what else is it linked(like target type)
speed = 0.001, --seems to be the starting speed of a projectile.
speed_deviation = 0.01 - this seems to be the speed variation for each fired projectile? (each projectile can have different speed?)
collision_box = {{0, 0}, {0, 0}}, -- how to remove some entity collision box entirely? Trying various used and unused masks didn't help
Sound stuff:
- How can one make it so everyone is able to hear the sound of a firing "car" while no player is in it??
- Is there a parameter for sound spreading (distance/intensity)?
Sub-entities stuff:
A "unit" ("car") may be created using several various entities.
Can this entities be "cars"? Interesting in making multiple seat vehicles/other.
Thank you for your attention.
PS: Will be further edited =) more questions to come