UGX-Mods

Call of Duty 5: World at War => Help Desk => Scripting => Topic started by: Gabrielle on February 19, 2017, 11:12:19 am

Title: Double pack a punch attachments
Post by: Gabrielle on February 19, 2017, 11:12:19 am
Hey,

I know requesting stuff is probably a BAD idea. I just try it anyways. So, what my idea was, I want to have double pack a punch in my map/mod like in BO2, so when you double pack a punch you get a different attachment. Now, I'm not the best scripter so I was wondering if there's any script I'm looking for released or somebody is willing to create it for me. Or guide me through it.
Title: Re: Double pack a punch attachments
Post by: death_reaper0 on February 19, 2017, 11:23:59 am
this would be possible, but for each weapon variation you will need a new weapon file, and you can only have 128 weapon files total, so the more variations you have, the less total weapons you can use
Title: Re: Double pack a punch attachments
Post by: Gabrielle on February 19, 2017, 11:26:46 am
I was thinking of 4/5 attachments max, that would give around (average, know I'm way off but nevermind about that) 20 different weapons. I guess there isn't a way to expand that limit? I guess it'd be a pretty cool idea.
Title: Re: Double pack a punch attachments
Post by: death_reaper0 on February 19, 2017, 11:31:27 am
I was thinking of 4/5 attachments max, that would give around (average, know I'm way off but nevermind about that) 20 different weapons. I guess there isn't a way to expand that limit? I guess it'd be a pretty cool idea.
no, not even t4m increases it (as far as im aware) but remember not all weapons need to have attachments, guns such as ray gun or colt most likely wouldnt need one, and different guns can have less or more. just saying in the end you can have less weapons in total
Title: Re: Double pack a punch attachments
Post by: Gabrielle on February 19, 2017, 11:35:02 am
no, not even t4m increases it (as far as im aware) but remember not all weapons need to have attachments, guns such as ray gun or colt most likely wouldnt need one, and different guns can have less or more. just saying in the end you can have less weapons in total

Yeah. I was thinking of things like SMGs, ARs, MAYBE snipers once I get the hang of modeling and I can add iron sights, but that's all. Maybe LMGs but not even sure about that. Some shotguns for full auto but that's all. So I don't think it's a big idea. Although I'm not sure how I'd make it. I started looking at the scripts of the pack a punch and have a "hard time understanding" it (in a way, like I understand the syntax and most of the stuff but not like the process)
Title: Re: Double pack a punch attachments
Post by: death_reaper0 on February 19, 2017, 11:41:42 am
it wouldnt be hard if you know what your doing, basicly when checking if its one of the re-papable wepons, then giving the repapable gun
kinda like how bo3 repap works, i could probably do it if i had he time to
Title: Re: Double pack a punch attachments
Post by: Gabrielle on February 19, 2017, 11:51:02 am
Basically, it has to upgrade to the normal upgrade first. From that, price will be reduced to 2K points and you'll get a random attachment. I have no clue how to do the check stuff and the list of attachments, I think the rest is pretty straight forward.
Title: Re: Double pack a punch attachments
Post by: jiggy22 on February 19, 2017, 09:53:00 pm
no, not even t4m increases it (as far as im aware) but remember not all weapons need to have attachments, guns such as ray gun or colt most likely wouldnt need one, and different guns can have less or more. just saying in the end you can have less weapons in total

According to the download page for T4M, the program increases the weapon limit to 320, so he should be good.