Author Topic: Custom SWEP Help  (Read 2130 times)

0 Members and 1 Guest are viewing this topic.

Offline Merlin

  • Newbie
  • *
  • Posts: 12
  • Karma: 0
Custom SWEP Help
« on: June 17, 2019, 08:31:40 AM »
I'm trying to make a custom SWEP using Robotboy655's lightsaber SWEP as a base but I can't seem to find out how to make the SWEP spawn with a preset model, color, give it no damage and make it not synch with the tool gun's settings. I've tried countless ways to do this but none worked, all I would get is random hilts and colors when giving the SWEP to myself.

Here's the code so far (This exact SWEP code is what produces a random hilt and color when giving myself the SWEP): https://pastebin.com/0jE249Ee

The holdtype is taken from King David's workshop addon called [wOS] Advanced Lightsaber Attack System, that aspect works fine for the SWEP.

Also changing the world model does not change the SWEP's model, don't know why.
« Last Edit: June 17, 2019, 09:46:12 AM by Merlin »