gruppe-adler / Shoot_and_Scoot.Tanoa

TvT game mode - artillery vs. sound directionfinders vs. hunter-killer-teams
5 stars 1 forks source link

fix restock area around containers #30

Open b-mayr-1984 opened 1 year ago

b-mayr-1984 commented 1 year ago

fn_placeRestockArea.sqf is broken since bd99bebec7aa01f17828fd4aa22ec99d651c6c4c.

Same for the menu action to erect a broken camonet (this has been fixed by #32)

Not a show-stopper but until fixed all of this is dead code.

senshi-x commented 1 year ago

Restock area could be fixed and I have started doing so in https://github.com/senshi-x/Shoot_and_Scoot.Tanoa/tree/fix_restock, but I'm questioning if it makes sense to do so at all with the current trigger implementation? Why not use a simple action on the container as well? Has the added benefit of being easier on performance as well as being easier to implement & maintain.

b-mayr-1984 commented 1 year ago

Restock area could be fixed and I have started doing so in https://github.com/senshi-x/Shoot_and_Scoot.Tanoa/tree/fix_restock, but I'm questioning if it makes sense to do so at all with the current trigger implementation? Why not use a simple action on the container as well?

I thought about this simple action. But then it would not be possible to restock the Stomper with it's low amount of supply credits. (Because there is no one there to trigger the action.)

In order to encourage the use of Stompers (currently not in very high demand) I think it is important to not nerf it by lacking the possibility to restock.

Has the added benefit of being easier on performance as well as being easier to implement & maintain.

I am aware of the advantages of the action based approach. I simply don't want to leave the Stomper behind.

@JulesVerner recommended to replace the trigger system with a slowly polling PFH that searches for nearby supply vics.

b-mayr-1984 commented 1 year ago

The part with fn_placeRestockArea.sqf is still broken.

32 never intended to fix this.

Reopened