Blockland Forums > Suggestions & Requests
?Customizable Gun?
The Corporation:
--- Quote from: Pandan on November 10, 2013, 08:43:30 PM ---borderlands weapon
show/hide certain nodes to make your weapon look different.
possible
--- End quote ---
Couple that with different states(sorry if i'm rusty about what I mentioned, been a while since I looked at a CS file) and some other stuff, and a few configs should be possible.
Lugnut:
--- Quote from: The Resonte! on November 10, 2013, 10:27:00 PM ---that's what the nay-sayers said about buildable vehicles and side-view player!
--- End quote ---
both hacks
--- Quote from: The Corporation on November 10, 2013, 08:47:26 PM ---Already been done, Jake3, (don't think he's on the forums) pulled this off with events
--- End quote ---
hacks
the only way they did the "impossible" stuff is they simply didn't
they did other things that look a lot like it.
now, you could possibly make weaponry that has multiple different configurations, but if, let's say...
you have a gun 2 different.. forget if i know, 2 different scopes, 2 different barrel length thingies so it's a sniper or a machine gun, 2 different amounts of ammunition in the clip magazine whatever the hell, 2 different color schemes
that's just two a piece, but that means there's 2^4 different combinations. that's 16 possible combinations. not a lot, i'll admit, but suppose you had three possiblities for each of those slots
81 combos
now, for the easy way, you would have to make a datablock for every single possiblity. this means a unique model for each, this means a registered datablock.
your add-on would be loving huge. how big is tier tactical? like 20 weapons a pack, right? 4 packs? that's 80 guns. all different, all different styles, all different stuff
your add-on would be one gun with like 80 different datablocks.
now, let's suppose you don't just want a stuffty sniper. let's suppose you want a sniper, machinegun, and pistol! (that's another 3 added into the mix) 3^5
243 loving datablocks for three loving guns
that's why this is not going to happen.oh wait you said what you wanted in the gun
--- Quote from: OP ---handles, barrels, scopes (maybe?), projectile (maybe not? Because I meant like to choose between ray cast, bullet, and laser, and be able to choose ray cast, and laser color's between green, red, yellow, and blue.), a stock, magazine, and clip.
Other stuff I thought of would be like that you would be able to select how much recoil it has (?), how fast it shoots [needs a max], how many bullet's it shoots[needs a max (10 recommended)], and if its automatic or, semi-automatic. I also thought about a option that would let you select reloading, and limited ammo (Were you could set how much it has total), (And that if you picked up the same gun you'd get the ammo [You'd be able to select how much ammo was given on pickup], and some event's would be nice too)
--- End quote ---
let's count here... 16 possible points of variation, let's assume maybe 3 different possiblities for each point of variation. (that's really lowballing it, you would probably want like 5 different possiblities)
FOR JUST ONE loving GUN this comes to...
drumroll please
3^16...
43,046,721 loving datablocks
newsflash sunshine, blockland can only handle 4096[citation needed]
let's use logarithms to determine how many possible points of variation, using 3 possible variables for each, you can have, and still fit under 4096 datablocks...
7.5. you can have 7.5 points of variation. this might mean you can have 6 points of 3 variables and one point with two...
yeah it's 1 am and i'm just rambling. the math says this won't work, sorry.
Pandan:
or you could make 3 weapons.
A rifle.
A SMG
and a Pistol.
make a bunch of optional nodes on each one.
show/hide
???
MARBLE MAN:
--- Quote from: Pandan on November 11, 2013, 04:14:58 AM ---or you could make 3 weapons.
A rifle.
A SMG
and a Pistol.
make a bunch of optional nodes on each one.
show/hide
???
--- End quote ---
*facedesk*
One does not simply hide nodes on an image...
Lock this topic and let it die before you consider reasoning against the engine again
(SWAT)28199:
--- Quote from: mp7964 on November 10, 2013, 11:31:37 PM ---Here's a little tip for you in life: not everything is possible.
--- End quote ---
Here's a little tip for you in life: Anything is possible if you set your mind to it.