Author Topic: Duplicator: Flip  (Read 1325 times)

As of right now, you can only rotate bricks, not flip them.

When I say flip, I mean, well

If you rotate

XX
O
Thrice, you get
OX
X
But if you flip it you get
XX
O

Which is useful for large DMs and such where symmetry is important.

I have implemented my own hacky version that basically turns the brick position setter into this:
Code: [Select]
%newBrick = new fxDtsBrick()
{
position  = vectorAdd(%startPos, rotateVector(getWord(%brickStr, 0) * %modx SPC getWord(%brickStr, 1) * %mody SPC

getWord(%brickStr, 2) * %modz, %rotChange));
And then I have %mody/%modz/%modx set to -1 through some client variables and servercmds.

It works, but I'd like to see an official and more polished solution.

Do want, with my space ship built I was doing pretty much one side then flipping it over on the other side to save half the work, but I have to manually recreate everything.

What button would you use for this?

Rotate Clockwise works as normal, Rotate Anticlockwise flips it?

What button would you use for this?

Rotate Clockwise works as normal, Rotate Anticlockwise flips it?
Different tool altogether would be nice, I don't want to be accidentally flipping builds when I want to be rotating them.


Do want, with my space ship built I was doing pretty much one side then flipping it over on the other side to save half the work, but I have to manually recreate everything.
Ah, AT first I thought you were posting "Do what you want cuz a Pirate is free, you are a pirate"

Bump because I still really want dis D:

not sure if i understand it right, but what im thinking youre asking for is a mirror wand.
you hit a build, it selects the bricks connected to it (like the duplicator) but depending on where you place the ghost brick, will mirror the build.

example:

o o
x


can be turned into;

o o
x
x
o o


or

o o o o
x       x
 

or

o o o o
   x


and finally

x
o o

o o
x


Great idea, a little complicated when I think about how to script this, but great.

Holy forget.
I want this.

I had made a function that flips upsidedown. Of course, specials can't flip (ramps and normals can though), but it was fun for that trippy-flippy-Afghan-DM.

Use the Duplicator, press a special key/type a command, then it flips based on which direction you move the brick/plate relative to the other.

If you move it north, it flips on a north/south line. If you move it northeast, it flips both north/south and east/west. Distance doesn't matter.

I had made a function that flips upsidedown. Of course, specials can't flip (ramps and normals can though), but it was fun for that trippy-flippy-Afghan-DM.
My version has this as well.

Great idea, a little complicated when I think about how to script this, but great.
Its actually not that complicated of a script, mostly involves multiplying somethings by -1.


Or, make the duplicator do the flipping part like super shift with a different key or something. Like hold alt, then use 8246 to mirror it the different directions.

Do want, useful for making planes, especially wings.