I am a modder with very little scripting experience. I need a way to renumber the following Sections of a file:
[Equipment 45]
..
..
..
[Equipment 46]
to
[Equipment 91]
..
..
..
[Equipment 92]
etc.
The file looks like this:
[Equipment 44]
ID=EqpEmblem1
NameDisplayable= Real men need no emblem
FunctionalType= EqFTypeCoating
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= NULL
Hitpoints= 10000
DamageDescription1= NULL, 0, 1, 0, 1, 1, invulnerable, 0, 0, NULL, 0, 1, 1
[Equipment 45]
ID=EqpEmblem2
NameDisplayable= U-1164
FunctionalType= EqFTypeCoating
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D=data\Textures\TNormal\tex\U-1164.dds
Hitpoints= 10000
DamageDescription1= NULL, 0, 1, 0, 1, 1, invulnerable, 0, 0, NULL, 0, 1, 1
and has to be continued like this:
[Equipment 91]
ID=EqpEmblem1
NameDisplayable= Real men need no emblem
FunctionalType= EqFTypeCoating
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D= NULL
Hitpoints= 10000
DamageDescription1= NULL, 0, 1, 0, 1, 1, invulnerable, 0, 0, NULL, 0, 1, 1
[Equipment 92]
ID=EqpEmblem2
NameDisplayable= U-1164
FunctionalType= EqFTypeCoating
EquipmentInterval= NULL, NULL
EquipmentSlotType=NULL
ExternalLinkName3D=data\Textures\TNormal\tex\U-1164.dds
Hitpoints= 10000
DamageDescription1= NULL, 0, 1, 0, 1, 1, invulnerable, 0, 0, NULL, 0, 1, 1
and so on.
So simply spoken all [Equipment n+1] down from [Equipment 90]
All I had to do with coding was simple Java stuff in school and some Elderscrolls scripting language.
I'd like to use regex search and replace or the automation scripts plugin in Notepad++