Car/tank properties of gun

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Car/tank properties of gun

Post by darkfrei »

Hi!

By turrets we can use flame position with this code:

Code: Select all

prot.attack_parameters =
  {
    projectile_creation_distance = 3.4, 
    projectile_center = {0,0}
  }
Can you please add position of weapon's flame by vehicles?

If the same gun is used by two vehicles, why they must have the same high?
2019-02-02 21_18_52-Factorio 0.16.51.png
2019-02-02 21_18_52-Factorio 0.16.51.png (519.66 KiB) Viewed 1130 times
2019-02-02 21_19_08-Factorio 0.16.51.png
2019-02-02 21_19_08-Factorio 0.16.51.png (701.47 KiB) Viewed 1130 times

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Car/tank properties of gun

Post by Klonan »

You can define another gun, that is identical, with the only change being the attack parameters

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: Car/tank properties of gun

Post by darkfrei »

Klonan wrote:
Sat Feb 02, 2019 9:36 pm
You can define another gun, that is identical, with the only change being the attack parameters
Is the mod with adding new prototypes still be mod with "Non-Game-Changing" attribute? This attribute, as I know, doesn't need mod synchronization.

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Car/tank properties of gun

Post by Klonan »

darkfrei wrote:
Sat Feb 02, 2019 11:05 pm
Klonan wrote:
Sat Feb 02, 2019 9:36 pm
You can define another gun, that is identical, with the only change being the attack parameters
Is the mod with adding new prototypes still be mod with "Non-Game-Changing" attribute? This attribute, as I know, doesn't need mod synchronization.
Any mod which adds or amends any prototypes will need mod synchonization,
This includes adding or changing graphic definitions

nog
Inserter
Inserter
Posts: 32
Joined: Wed Mar 04, 2015 12:13 pm
Contact:

Re: Car/tank properties of gun

Post by nog »

darkfrei wrote:
Sat Feb 02, 2019 11:05 pm
Is the mod with adding new prototypes still be mod with "Non-Game-Changing" attribute? This attribute, as I know, doesn't need mod synchronization.
Could you explain how a new weaponized vehicle should be a "non game changer" ?

pleegwat
Filter Inserter
Filter Inserter
Posts: 258
Joined: Fri May 19, 2017 7:31 pm
Contact:

Re: Car/tank properties of gun

Post by pleegwat »

nog wrote:
Sun Feb 03, 2019 12:04 pm
darkfrei wrote:
Sat Feb 02, 2019 11:05 pm
Is the mod with adding new prototypes still be mod with "Non-Game-Changing" attribute? This attribute, as I know, doesn't need mod synchronization.
Could you explain how a new weaponized vehicle should be a "non game changer" ?
I suspect he's only trying to reskin. That's still a game changer because reskins can significantly affect visibility particularly of entities that are supposed to be hard to see.

Post Reply

Return to “Modding interface requests”