A guide for beginner modding (custom gun)

A guide for beginner modding (custom gun)

Postby eru_ » 29 March 2020, 23:17

Have you ever seen an unofficial PB2 version, and you've wondered how it's made ?, and you want to make one, here is what you need to do


JPEXS free flash decompiler :
https://github.com/jindrapetrik/jpexs-d ... _setup.exe
Pb2_re34.swf file :
https://www.plazmaburst2.com/pb2/pb2_re34.swf
And also if you want an unofficial light build : (Recommended)
https://cdn.discordapp.com/attachments/ ... _build.swf
[color=#FF0000]Adobe flash player 14 :

https://1drv.ms/u/s!Aukz9leuE4kHgTMNkKdymxgdEk-u

After getting those files, you need to go to JPEXS
open > select the swf file that you want to mod

As you can see there is many folders :(i'm going to explain the most confusing one)
Shpaes : The list of every (almost) object .(They're mostly in form of .SVG)
Morphoshapes : The list of morphing shapes.
Sprites : The list of display-able objects, keep in mind every sprite is linked with a shape/shapes or image/images.
Texts : Some (NOT all of them) of the texts.
Images : Files that are in form of .PNG or .JPEG etc...
Sounds : Audio files, it could be Wav or Mp3 (only 44100/22050 frequency is supported)
Frames : The displayable screens.
Scripts : The source code, You can edit guns frame speed/gun names/gun projectile etc.

How can i replace a gun ?

You have to go to sprites>the gun that you need to mod, double click it then expand the [+], then expand the first frame, and click the first (+) and right click>jump to character,( it will jump to the gun's shape), now export the shape, into SVG | 100%, next step, select desktop, next, open inkscape and and load the .svg file, clear the gun by pressing ctrl+a then [Del],now draw your gun :) , but Keep in mind, do NOT create an uncompleted shape), after drawing your weapon, save the file, go to JPEXS and replace the old sprite by the new one.
User avatar
eru_
Civil Security Heavy [300]
 
Posts: 316
Joined: 18 April 2017, 18:57
Location: Safaqis/Tunisia

Re: A guide for beginner modding (custom gun)

Postby strato026 » 4 December 2020, 21:11

I wish we could export the definesprite and replace them. I think you made something like this but isn't it time consuming?
User avatar
strato026
Cyber Grub [25]
 
Posts: 26
Joined: 27 August 2016, 16:14

Re: A guide for beginner modding (custom gun)

Postby Nyove » 6 December 2020, 13:13

Hey everyone,

It is important to note to never use a modded client to join MP. Server will automatically ban modded clients.

Best regards,
Nyove
Proud to be part of something meaningful.
Need any assistance? Join the PB2 discord server at https://discord.com/invite/Bhe9rNz or raise a support ticket at https://www.plazmaburst2.com/support

Contact me on discord for quickest reply possible.

User avatar
Nyove
Moderator
 
Posts: 255
Joined: 7 July 2016, 10:26
Location: Cicada 3301

Re: A guide for beginner modding (custom gun)

Postby strato026 » 12 December 2020, 23:19

Nyove wrote:It is important to note to never use a modded client to join MP. Server will automatically ban modded clients.


I think PB2 blocks it automatically but if you edit that popup, that can be problem.
User avatar
strato026
Cyber Grub [25]
 
Posts: 26
Joined: 27 August 2016, 16:14


Return to Custom Skins & Mods

Who is online

Users browsing this forum: No registered users