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

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...