Player Ammo Damage and Gun Speed Modifier

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 340
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Player Ammo Damage and Gun Speed Modifier

Post by ownlyme » Fri May 24, 2019 12:12 pm

I'm making an RPG mod and want to adjust the player's damage and attackspeed based on equipment, but those modifiers are only available on forces.
There are 4 workarounds, with terrible side effects:
- Making ~2500 prototypes per weapon (increases the game's loading time a ton)
- 50 Prototypes per weapon for the attackspeed, along with damage detection for the damage modifier (very script intensive)
- Give each player their own force (terrible mod compatibility) AND can't blueprint other forces' buildings
- A seperate Ammo category for every player (copying guns & ammo) (Huge issues with towers)

It would be really nice if you could add these modifiers to LuaPlayer (adding on top of the force modifier), i suggest turrets not profitting from them. (!!)
Ty

Edit: It should also be fixed that players loose their modifiers on death...
Last edited by ownlyme on Wed Jun 19, 2019 1:27 pm, edited 3 times in total.
mods.factorio.com/user/ownlyme
My requests: uiRelative||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||Serializing function refs in global table

User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 340
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: Player Ammo Damage and Gun Speed Modifier

Post by ownlyme » Tue May 28, 2019 10:51 am

look what you made me do..
https://www.dropbox.com/s/6v3hyp4917k1a ... .zip?raw=1
Any sane programmer would have to puke from the intrusiveness of this code and incompatibility with literally anything else.
mods.factorio.com/user/ownlyme
My requests: uiRelative||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||Serializing function refs in global table

User avatar
ZwerOxotnik
Inserter
Inserter
Posts: 49
Joined: Tue Dec 19, 2017 6:58 pm
Contact:

Re: Player Ammo Damage and Gun Speed Modifier

Post by ZwerOxotnik » Tue May 28, 2019 1:31 pm

I have an imitation of player ammo damage for "Adrenaline" mod. But the imitation spreads also on turrets, units etc and the buff works only when there is only one online player in team.

Gun speed modifier and player ammo damage will be useful for RPG mods. For example:
RPG System, Roguelike Factorio, 角色扮演 - 属性(Role Play - Attributes) etc
I make cakes from mods. However, I don't have dough now but you can help me.

User avatar
FerrariMAF
Long Handed Inserter
Long Handed Inserter
Posts: 82
Joined: Fri May 26, 2017 11:39 am
Contact:

Re: Player Ammo Damage and Gun Speed Modifier

Post by FerrariMAF » Thu May 30, 2019 7:34 pm

We really need a character_ranged_damage_bonus and character_melee_damage_bonus

mmmPI
Filter Inserter
Filter Inserter
Posts: 345
Joined: Mon Jun 20, 2016 6:10 pm
Contact:

Re: Player Ammo Damage and Gun Speed Modifier

Post by mmmPI » Mon Jun 17, 2019 9:03 pm

ownlyme wrote:
Fri May 24, 2019 12:12 pm
Edit: It should also be fixed that players loose their modifiers on death...
This would help when you play with much lower than speed 1 megabases or potato, and you have to use command to adjust mining speed, running speed, everytime you die.
“In any field, the Establishment is seldom in pursuit of the truth, because it is composed of those who sincerely believe that they are already in possession of it.”
— Edwin Thompson Jaynes

User avatar
ownlyme
Filter Inserter
Filter Inserter
Posts: 340
Joined: Thu Dec 21, 2017 8:02 am
Contact:

Re: Player Ammo Damage and Gun Speed Modifier

Post by ownlyme » Wed Jun 19, 2019 1:28 pm

Maybe we could create different characters for every player and use turret modifier for character-x ...
Not sure how many mods rely on the character being called character...
mods.factorio.com/user/ownlyme
My requests: uiRelative||Grenade arc||Blueprint allies||Creeps forget command/ don't get removed||Player Modifiers||textbox::selection||Better Heat IF||Singleplayer RCON||Serializing function refs in global table

Post Reply

Return to “Modding interface requests”

Who is online

Users browsing this forum: No registered users