This is the source code for a simple mp5Sub.ent Editor.
You will need to use 7zip to extract your entities.bos file.
The mp5Sub can be found at
Fallout Tactics Multiplayer Demo\core\entities\weapons\SMG
Also the script must be in the same location as the mp5Sub.ent
You will need to use 7zip to extract your entities.bos file.
The mp5Sub can be found at
Fallout Tactics Multiplayer Demo\core\entities\weapons\SMG
Also the script must be in the same location as the mp5Sub.ent
Code:
#Title of the Program
print ('Weapon Editor for Fallout Tactics Demo')
#Open File
file = open('mp5Sub.ent', 'rb+')
#
print ('1. Name, 2. Magazine Capacity, 3. Minimum Damage, 4. Maximum Damage')
a = int(input('What would you like to edit? '))
if a == 1:
file.seek(357)
b = input('Choose a name that is 6 characters. ')
file.write(bytes(b, 'utf-8'))
if a == 2:
file.seek(97)
b = input('How large of a magazine capacity? 255 is max. ')
file.write(bytes(b))
if a == 3:
file.seek(158)
b = input('What do you wish to set minimum damage to? Max 255. ')
file.write(bytes(b))
if a == 4:
file.seek(191)
b = input('What do you wish to set maximum damage to? Max 255. ')
file.write(bytes(b))
file.close()