Custom gun skin

Report any bugs here or ask questions here!

Custom gun skin

Postby vx_nation » 3 November 2020, 04:31

So I want to upload a custom gun-skin on a sniper rifle and I don't want the gun to work while the skin is on.Can you guys help me with that?

vx_nation
Recruit
 
Posts: 5
Joined: 30 September 2020, 06:57

Re: Custom gun skin

Postby Nyove » 3 November 2020, 16:06

Hey vx nation,

I don't exactly understand your question. I am assuming you mean to disable the gun when there's some form of attachment.

In this case, I provided a map that gets disabled when you put on the silencer.
The map source for your reference will be: https://www.plazmaburst2.com/level_edit ... help1&a=#_

To disable a gun, we utilise two trigger actions

Force Gun 'A' spawn 'B' projectiles per shot
Param A: Gun you want to affect
Param B: 0
By setting Param B to 0, the gun now fires 0 bullets.

Change Gun 'A' speed multiplier to value 'B'
Param A: Gun you want to affect
Param B: 0
By setting Param B to 0, the gun now does not reload. (takes infinite amount of time to reload)

To enable the guns back, we set Param B for both trigger actions to 1.

If you still have any enquiries please do not hesitate to reply.

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
Falkok [250]
 
Posts: 255
Joined: 7 July 2016, 10:26
Location: Cicada 3301

Re: Custom gun skin

Postby vx_nation » 5 November 2020, 05:03

I mean like attaching a decoration to the gun is that possible?

vx_nation
Recruit
 
Posts: 5
Joined: 30 September 2020, 06:57

Re: Custom gun skin

Postby Nyove » 5 November 2020, 14:42

Hey vx nation,

Attaching a decoration to a gun is relatively simple.
Map source for reference: https://www.plazmaburst2.com/level_edit ... help4&a=#_

You just need a timer with infinite calls, 0 delay, executing a trigger with trigger action:
Move, rotate and flip Decoration 'A' to position of Gun 'B'.
Param A: Attachment decoration
Param B: Gun

You may also need to shrink or enlarge your decoration for it to look nicely. Simply use trigger action:
Set decoration scale to value B.
Param A: Attachment decoration
Param B: <1 to shrink it, >1 to enlarge it.

Refer to the map source for clarification.

If you have any questions, please do not hesitate to ask me.

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
Falkok [250]
 
Posts: 255
Joined: 7 July 2016, 10:26
Location: Cicada 3301

Re: Custom gun skin

Postby vx_nation » 6 November 2020, 04:28

I want to make the gun invisible while holding the gun with the decor attached ,So I set it to the invisible gun but I don't want the invisible gun bullets to fire I want the original gun to fire with the invisible gun model.

vx_nation
Recruit
 
Posts: 5
Joined: 30 September 2020, 06:57

Re: Custom gun skin

Postby Nyove » 6 November 2020, 05:26

Hey vx_nation,

I don't exactly understand your question.

I don't want the invisible gun bullets to fire

I want the original gun to fire with the invisible gun model.


What do you exactly mean by original gun and invisible gun? Are you talking about the same gun?
Also, you don't want the gun to be able to fire but you want it to fire with invisible gun model? The two statement kind of contradicts themselves.

In any case, if you want a gun to fire invisible model, you can use:
Change Gun 'A' projectile model to model with index 'B'
Param A: Gun
Param B: 15

Index 15 sets the gun's bullet to invisible bullet. For a list of bullet index, please refer to https://plazmaburst.miraheze.org/wiki/L ... ile_models

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
Falkok [250]
 
Posts: 255
Joined: 7 July 2016, 10:26
Location: Cicada 3301


Return to Bug Reporting, Help & Support

Who is online

Users browsing this forum: No registered users