Page 1 of 1

When testing - re-building vs no build ?

PostPosted: Wed Oct 10, 2018 3:22 am
by Red_Fist
I never thought about this till just a while back.

But what things do you need to build for, ?

Say if I change properties of actors, set a counter to 4 instead of 2.
Would that need to need rebuilding.? Or if I changed a event or tag.

So I just wanted to know a rule, or general rule(s) if I change some actor(s) properties, which actors don't require rebuilding.?

Now I do realize lighting, and paths, and other things need to be rebuilt, what vs what. Or if I change a property would only a save be needed ?

Re: When testing - re-building vs no build ?

PostPosted: Wed Oct 10, 2018 4:35 am
by Barbie
As the UnrealEd's menu says: build is needed for changes at brushes, light and paths - paths depend on NavigationPoints and Inventory items. I'm not sure if changing TriggerLight's properties need rebuild, too.
But changing code or properties that are read at run time, take effect without a rebuild. Otherwise patching a map while it is loaded wouldn't be possible.

Re: When testing - re-building vs no build ?

PostPosted: Fri Oct 12, 2018 6:31 am
by sektor2111
Partial agree, when you do a small change to a light, you don't need to touch paths and brushes, why to screw up other "build" if you need that small light change ? Else inventories added post-pathing build are never hurt, this will prevent a crap-ton of paths added and borks created in such spots. You have an ammo initially placed in location and then post-pathing you can add more ammo preventing other InventorySpot actors added and causing pain when are too many and too close each-other WITHOUT to rebuild paths, unless you delete some Nav'Point. If replacements in mods are like in year 2000 that's another story as long as they are having only 2 options: marked or held - nothing is held when comes out of a Decoration and neither marked - lousy coding and without to copy more data needed from replaced item.
As evidence is that I can attack some lights in run-time without to screw A.I. or brushes proving that light is "toucheable" with Scripting and won't hurt. I don't recall in how many maps I tweaked lights in run-time but I recall one: MH-2MuchHP - way too bright in battle arena and a lot of dark in last room when I spawned a custom light in run-time (only in client).

Edit:
Perhaps I will have some inspiration in making a sort of map with an INI file where can be configured lightning here and there, and then I'll be curious how many people will complain about lightning because last time I saw an obsession for lights. You don't like lights ? Good, do your setup then: color, radius, brightness, etc. But before to do something I'll look into replication for these actors... Anyone can try this if wants something different.

Re: When testing - re-building vs no build ?

PostPosted: Sun Oct 14, 2018 7:40 pm
by Red_Fist
Barbie wrote:As the UnrealEd's menu says: build is needed for changes at brushes, light and paths - paths depend on NavigationPoints and Inventory items. I'm not sure if changing TriggerLight's properties need rebuild, too.
But changing code or properties that are read at run time, take effect without a rebuild. Otherwise patching a map while it is loaded wouldn't be possible.


Wish I knew or thought to ask years ago, I hit rebuild at every tiny thing :oops:

Re: When testing - re-building vs no build ?

PostPosted: Mon Oct 15, 2018 2:58 am
by JackGriffin
It's actually a good habit to have. Countless times I've moved a brush I had highlighted and wasn't aware and the rebuild showed the changes. If you catch it that fast you can easily fix it but small misalignments that you don't catch can compound over time.

Re: When testing - re-building vs no build ?

PostPosted: Mon Oct 15, 2018 5:24 am
by Hook
Yes, this is a good thing to know!
I figured this out years ago when I merely needed to do some changes to a few actors and creatures in some of my maps.
With those edits you merely have to do Saves to the map. No rebuilding anything.
Also, if you are only changing lighting or pathing, you can just do lighting rebuild or rebuild paths, as what may be the case.
This has also worked well in maps where the brushes have been obfuscated. (or deleted) :tu:

Re: When testing - re-building vs no build ?

PostPosted: Mon Oct 15, 2018 1:48 pm
by Feralidragon
I just want to point out that when you add a light, you should rebuild the BSP before rebuilding the lighting, otherwise meshes generally won't be affected by the newly added light, so they will remain completely dark in the area you added the new light on.

I don't know why is this, but there's probably a reset needed for meshes on the overall BSP and lighting that only a BSP rebuild provides for meshes to be lit up by the new lights.

Re: When testing - re-building vs no build ?

PostPosted: Sat Oct 20, 2018 9:32 pm
by Hook
Yes, good point Ferali! :tu: