Author Topic: Guns With Customizable Attachments  (Read 1001 times)

I Think This Can Be Done Like THIS.

Add A DataBlock To A DataBlock.

Wish You Luck, If You Even Try And Make This, That Is, ;-)

I Think This Can Be Done Like THIS.

Add A DataBlock To A DataBlock.

Wish You Luck, If You Even Try And Make This, That Is, ;-)
You might be able to if you made models/items for like silencers, and just mounted them onto the gun when they used them. Then when clicking on the gun, run through an if check to see if they have a silencer equipped, then play the right sound / damage.

I assume it could be done like this.

You might be able to if you made models/items for like silencers, and just mounted them onto the gun when they used them. Then when clicking on the gun, run through an if check to see if they have a silencer equipped, then play the right sound / damage.

I assume it could be done like this.
I Would If I Could Model/Script/Code.
EDIT: I'm Gonna Try My Luck At Modeling
« Last Edit: June 17, 2014, 01:37:07 AM by EnjoyedBen2002 »

You might be able to if you made models/items for like silencers, and just mounted them onto the gun when they used them. Then when clicking on the gun, run through an if check to see if they have a silencer equipped, then play the right sound / damage.

I assume it could be done like this.
You can't mount something on an image. I'm not sure if you can hide/unhide nodes on it.

You might be able to if you made models/items for like silencers, and just mounted them onto the gun when they used them. Then when clicking on the gun, run through an if check to see if they have a silencer equipped, then play the right sound / damage.

I assume it could be done like this.
Unfortunately, you can't mount anything to images, nor can you play with nodes. Being able to hide/show/color nodes on images has been requested for Badspot many times without any sort of success.

There may be a way around this, like if you don't use images or something. Otherwise you're going to have to make a model that has no attachments, and models for each combination of attachments, and make datablocks for them all. And even then, you can still do it more efficiently than the paint can datablocks by just having one projectile, one item, etc, just with multiple mounted image datablocks.

dafuq is with all caps.

Unfortunately, you can't mount anything to images, nor can you play with nodes. Being able to hide/show/color nodes on images has been requested for Badspot many times without any sort of success.

There may be a way around this, like if you don't use images or something. Otherwise you're going to have to make a model that has no attachments, and models for each combination of attachments, and make datablocks for them all. And even then, you can still do it more efficiently than the paint can datablocks by just having one projectile, one item, etc, just with multiple mounted image datablocks.

Is there any way to make the player hold a playertype with mounts?

Is there any way to make the player hold a playertype with mounts?
Right, that's a thing. You could just make a player datablock shaped like a gun, with all the nodes and animations you want.