copy and paste this code in a new script, save with a name you like as .ms file.
Execute.
Have the objects you want to change IDs of selected FIRST.
Once the script runs you’ll be able to choose what id number has to be changed to what other ID number, amongst the selected objects ONLY.
No selection will throw up an error, as well as selecting items without objectID…
Have your selection sets ready…
You said you were in a hurry
inID=1
outID=1
rollout IDRoll "Object ID changer" width:216 height:72
(
spinner spn1 "Change ID:" pos:[16,8] width:96 height:16 range:[0,100000,1] type:#integer
spinner spn2 "To ID:" pos:[136,8] width:72 height:16 range:[0,100000,1] type:#integer
button btn1 "Frabulate it!" pos:[8,32] width:200 height:32
on spn1 changed val do
inID=val
on spn2 changed val do
outID=val
on btn1 pressed do
(
s=selection as array
for i in s where i.gbufferchannel == inID do i.gbufferchannel =outID
)
)
createdialog IDRoll
Try this meanwhile, if you haven’t yet.
Select the poly object, go in faces mode, scroll all the way down to the rollout named “Polygon Properties”.
The first group of spinners deals with face material ID: input 71 in the lower spinner (the one by the select ID button), and press the button “select ID” to select all polys with materialID 71.
Then, in the upper spinner, type 115 and press enter, to set the materialID of the selected polys to 115.
Or, in the material editor, set a number you wish in the ID box of the multi-sub material. this is the exact opposite as changing IDs on the faces, as you change the ID of the sub-material. it may be quicker, or not, depending on how the scene is set up.
Script may be a bit further away, as stuff’s piling in, sorry