Adding a gun to JKA -1 reply

Please wait...

Posezion

The forums staffers think I'm Cool

50 XP

10th March 2008

0 Uploads

178 Posts

0 Threads

#1 9 years ago

I know you can replace guns with different gun models and change around the characteristics of guns (accuracy etc.) but how would one completely ADD a gun to the game instead of replacing models and changing around the abilities?

I do have a fellow coder so if it requires coding (I'm pretty positive it does) then could you give a quick tutorial on how to do so?

Thanks.




Jedi_Hero

JK2/JKA Halo 3 TC

50 XP

13th May 2009

0 Uploads

584 Posts

0 Threads

#2 9 years ago

its like impossible unless if u recreate the game or something




loda

the dude

50 XP

18th March 2005

0 Uploads

294 Posts

0 Threads

#3 9 years ago

Not possible as far as I know. You can only replace guns. refer here: Increase MAX_WEAPONS - LucasForums




Raz0r

Worse than most terrible

50 XP

27th September 2006

0 Uploads

6,737 Posts

0 Threads

#4 9 years ago

If you code a full-fledged mod and you do some serious tweaking in the engine, it's possible. Anything short of that, and you're stuck with replacing weapons.




Posezion

The forums staffers think I'm Cool

50 XP

10th March 2008

0 Uploads

178 Posts

0 Threads

#5 9 years ago

What's MB2's Projectile Rifle replace?




Raz0r

Worse than most terrible

50 XP

27th September 2006

0 Uploads

6,737 Posts

0 Threads

#6 9 years ago

MB2 do a nice little trick (hack/override/trick/call it what you want)

In the JKA source code, we have WP_ slots (you know, WP_BLASTER, WP_DISRUPTOR, etc). We have 19 of these (save for WP_NONE placeholder) What MB2 do is, look at the class, the team, and the skills they 'bought' before the round begins After they gather that information, they override (hack/trick/override/etc) the MD3 model/sounds/effects/etc so it appears like a different weapon, even though it uses the same WP_ slot

This is unadvised, but in some cases the only available option.

Again, nothing short of coding will achieve this.

PS: I believe you're working with TFOPanda? Used to be in the same clan as him :P Good luck, guys.




=Someone=

MovieBattles II Modeler

50 XP

15th January 2008

0 Uploads

160 Posts

0 Threads

#7 9 years ago
posezion;4928312what's mb2's projectile rifle replace?

wp_stun_baton




Forceboat

File Finder Xtreme

50 XP

23rd May 2003

0 Uploads

545 Posts

0 Threads

#8 9 years ago

Let's hope that Single Player source code gets released soon. The sooner, the better. The possibilities of modding Single Player will be limitless then, and modders can add more weapons than ever before.




Posezion

The forums staffers think I'm Cool

50 XP

10th March 2008

0 Uploads

178 Posts

0 Threads

#9 9 years ago

Yes, I am working with Panda, Along with Matt, Myself, Dragoan, and Shadow... Interested in joining our mod team ^_^? (I'm sure you know what it is)