Jump to content

Bulding Snapping Feature


Recommended Posts

2 hours ago, wackyserious said:

This is a very significant feature for this alpha, let me say it again. :) I played last night and, I was way faster at advancing my phase (As for someone who takes city building seriously while playing RTS)

For positioning housing for turtling is more comfortable 

  • Like 3
Link to comment
Share on other sites

On 1/6/2020 at 5:55 PM, Nescio said:

Either:

  • default: no snapping; with Ctrl: snapping
  • with option toggled: snapping; with Ctrl: no snapping

Or:

  • default: always no snapping
  • press hotkey combination (e.g. Ctrl+Alt+S or whatever) to toggle snapping option
  • when activated, always snapping, so no need to keep Ctrl pressed

I made a patch: D2546, now you have 3 options: disabled (not working at all), optional (you need to press a hotkey to enable it), enabled (you need to press a hotkey to disable it). In the patch the optional one is default.

EDIT: Also there is a suggestion to not have the "disabled" option, as a user can disable it by set the hotkey to empty.

  • Like 3
  • Thanks 1
Link to comment
Share on other sites

1 hour ago, vladislavbelov said:

@nani, If I'm not mistaken you had a suggestion about angle after building placing. Could you describe it here? How it behaves now and what would you like to reach?

When holding shift the placing angle should be preserved for the next building placing.

For the code in question -> when the FSM state selection (input.js) is in INPUT_BULDING_DRAG and "mousebuttonup" event is fired  tryPlaceBuilding should preserve the angle of the last building for the new building if 

var queued = Engine.HotkeyIsPressed("session.queue");

is true even if a snapping is happening.

  • Like 2
Link to comment
Share on other sites

27 minutes ago, Lion.Kanzen said:

Is difficult to use changing the pattern or direction. For example an square of houses or multiple buildings. Is a bug saying you can't place over a building.

You mean buildings of different sizes? You can rotate it after placement, it remains snapped.

Link to comment
Share on other sites

  • 2 weeks later...
On 1/5/2020 at 3:32 PM, wackyserious said:

THANKS!!

 

On 1/6/2020 at 9:42 AM, Lion.Kanzen said:

 @Stan` Now you can do the sockets feature.

 

On 1/6/2020 at 3:55 PM, Nescio said:

Either:

  • default: no snapping; with Ctrl: snapping
  • with option toggled: snapping; with Ctrl: no snapping

Or:

  • default: always no snapping
  • press hotkey combination (e.g. Ctrl+Alt+S or whatever) to toggle snapping option
  • when activated, always snapping, so no need to keep Ctrl pressed

@Sundiata For those who did not registered it yet  it was committed sometime back https://trac.wildfiregames.com/changeset/23459

  • Like 1
Link to comment
Share on other sites

  • 2 months later...

Nice feature. This will make housewalls easier.

Will it be available in the editor as well ?

Also, we need a similar feature when building walls next to cliffs and docks next to water edges. Perhaps also when building next to trees like suggested in an earlier post.

  • Like 2
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...