Sasabmeg / FOnline-BraveNewWorld

FOClassic and PReloaded project, mostly for fodev.net tutorials or module code shares.
https://fodev.net/forum/index.php/topic,30344.0.html
GNU General Public License v3.0
11 stars 4 forks source link

[Mapper] Make mapper script to cycle through similar entities (ex: Silver Steel Railing and Rusty Steel Railing) #94

Open Sasabmeg opened 3 months ago

Sasabmeg commented 3 months ago

This should be configurable, but for now, simple script to test if doable at all. It should work on selected object, and either Ctrl or Shift + Mouse Scroll should cycle between similar object of same type, like corners of walls, etc.

Added some new tool, Ctrl + Mouse Scroll to cycle through Vault Wall types: https://www.youtube.com/watch?v=nnkwpLDbEkM I might do some updates to it later on, this version is useable, BUT:

Sasabmeg commented 2 months ago

Added town Walls, this is how Junktown looks like after Ctrl + A and Ctrl + MWheelDown

image

Sasabmeg commented 2 months ago

Added ability to fix the position of entities between cycling, use this in the EntitySwapper.cfg file accordingly. Figure 5 shows a 3 number pair as (protoId, hexXAdjust, hexYAdjust), compare entities in mapper, press Ctrl + B to see underlying hex, and fix accordingly. I the below example, the 3 Junk walls needs to be adjusted -1 to hexY, like this: {5120 0 -1, 5250 0 -1, 5121 0 -1}

image

image