How do I make a nuke gun?

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

How do I make a nuke gun?

Post by yoyoman »

I am wondering how do you make a nuke gun beaus I want to add it to a clone trooper
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: nuke gun

Post by Teancum »

What's a "nuke gun"?
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: nuke gun

Post by genaral_mitch »

That's quite a big question. First, open up the com_weap_inf_rocket_launcher_exp and change

Code: Select all

Push 		  = "10.0"
to

Code: Select all

Push 		  = "500.0"
. You can find most files with "com" at the beggining in sides\common.

Now change

Code: Select all

PushRadiusOuter   = "4.0"
to

Code: Select all

PushRadiusOuter   = "250.0"
.

Next, you change

Code: Select all

Shake 		  = "0.5"
to

Code: Select all

Shake 		  = "50.0"
and change

Code: Select all

ShakeRadiusOuter  = "12.0"
to

Code: Select all

ShakeRadiusOuter  = "250.0"
Now change the effect to something really big. I cannot think of anything that's that big, so you can have fun with that.

Save and close com_weap_inf_rocket_launcher_exp.


Now go to sides\rep\odf and open rep_weap_inf_rocket_launcher. change the "GeometryName" to rep_weap_inf_rifle.

Save and close. Now open rep_inf_default_rifleman and change his weapon from rep_weap_inf_rifle to rep_weap_inf_rocket_launcher. Save and close that file, then go to data_abc\common\scripts\abc and open abcc_con and go to this line:

Code: Select all

    ReadDataFile("SIDE\\rep.lvl",
change it to

Code: Select all

    ReadDataFile("dc:SIDE\\rep.lvl",
(the dc: means it will read your customizations instead of the stock ones.)

Now munge your map with the "Everything" drop down bar is checked.

Now play and test if it works.
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

there are no Properties in the Properties section is that bad



[sorry about kinda changing the subject]



Edit am I suppose to be in the assets folder.
Last edited by yoyoman on Sun Sep 12, 2010 4:21 pm, edited 2 times in total.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: nuke gun

Post by 501st_commander »

Teancum wrote:What's a "nuke gun"?
something that goes boom :D

one more thing, change the damage amout higher, then it would be a death nuke.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: nuke gun

Post by genaral_mitch »

501st_commander wrote:
Teancum wrote:What's a "nuke gun"?
something that goes boom :D

one more thing, change the damage amout higher, then it would be a death nuke.
S***! I forgot about that! Just change the damage and damageradius to something really high, just don't do it past 1000.

No, don't change anything in the assets folder. Just copy the common and rep sides from the assets folder to data_abc\sides.
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

There is no com_weap_inf_rocket_launcher_exp or I could be looking in the wrong place were is it ?
Last edited by yoyoman on Sun Sep 12, 2010 6:09 pm, edited 1 time in total.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: nuke gun

Post by AQT »

Its location is ...\assets\Sides\Common\odf.

Off-topic: yoyoman, please take the time to type out meaningful posts. By not doing so you are actually breaking Site Rule, bullet point #2.
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

off topic what dose that mean will I get banned from the site.




Edit very very sorry don't no what I did wrong
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: nuke gun

Post by AQT »

Off-topic: It means you should read the Site Rules. This way you'll know what the rules are and what the consequences are if you were to break a rule(s).
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Re: nuke gun

Post by Maveritchell »

yoyoman wrote:off topic what dose that mean will I get banned from the site.




Edit very very sorry don't no what I did rong
You're not going to get straightaway banned from the site.

Here's the thing, though. If you're smart enough to use a computer to run a game (or especially if you can mod the game!), then you're smart enough to be able to type sentences that are clear, grammatically correct, and easy to read. We're very, very lenient with our rules enforcement, but you do need to take the time to type correctly, with proper punctuation, capitalization, and spelling. You're not going to get in trouble for typos - everyone makes mistakes. When you just don't care, though? That's when it'll come back and bite you in the butt.
CommanderFixer
Master Sergeant
Master Sergeant
Posts: 174
Joined: Fri Jul 09, 2010 3:49 pm
Projects :: None
Games I'm Playing :: BF4 SWBF2 Skyrim
xbox live or psn: UBERMEISTER32
Location: Connecticut, USA

Re: nuke gun

Post by CommanderFixer »

*Off topic: It means grammar. If you have good grammar, we can understand you. Plus, it's sort of expected that all users have fluent words. Yeah, we can understand is you put an h in sure, because we understand. But if you ask: What dose that meen? "Dose" is a completely different word that "does" which would be proper. "Meen" can be understood.
*On topic: I like your concept of a nuke gun. But it does sound a little too overpowering. Think about it: Do you want a bunch of AI firing their nuke guns at will, killing teammates, enemies, and even you in the process? It's a bit overpowering. Go ahead, just make sure that the use of it is limited, it could probably cause crashing.
EDIT: Ok, I understand killing enemies is the idea, but both sides would recieve massive casualties. If you shot it, bye-bye. You just earned the traitor award, and TKed all your teammates, and even you in the blast.
*Sorry for posting the grammar rule after you, Mav. I was probably finishing up my post while you must have posted it.*
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

off topic What do you need to make custom effects. And is there a tutorial?
CommanderFixer
Master Sergeant
Master Sergeant
Posts: 174
Joined: Fri Jul 09, 2010 3:49 pm
Projects :: None
Games I'm Playing :: BF4 SWBF2 Skyrim
xbox live or psn: UBERMEISTER32
Location: Connecticut, USA

Re: nuke gun

Post by CommanderFixer »

I'm very, very sure there is a custom FX tutorial. All you have to do is browse the forums. Check out the EYN thread. That saved me on innumerable occasions. http://www.gametoast.com/forums/viewtop ... 27&t=13806. I'm not sure where to find Particle FX either, but AQT has some helpful particle effects used in TEV. http://www.gametoast.com/forums/viewtop ... 64&t=23902 Good luck on your nuke gun! :)
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

But I want to make custom effects that is not What I am asking for.



Edit Which effect would you recommend in AQT's random assets?
Last edited by yoyoman on Sun Sep 12, 2010 6:34 pm, edited 1 time in total.
CommanderFixer
Master Sergeant
Master Sergeant
Posts: 174
Joined: Fri Jul 09, 2010 3:49 pm
Projects :: None
Games I'm Playing :: BF4 SWBF2 Skyrim
xbox live or psn: UBERMEISTER32
Location: Connecticut, USA

Re: nuke gun

Post by CommanderFixer »

Sorry. I was offering some already-made effects that look nice. Did you check out the EYN thread? That should probably help.
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: nuke gun

Post by genaral_mitch »

Check the space assets. I know there's an enormous explosion in that.
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

off topic Is there a way I can look at the effects besides going to the game?
genaral_mitch
Jedi
Jedi
Posts: 1056
Joined: Fri Aug 14, 2009 12:32 am

Re: nuke gun

Post by genaral_mitch »

You can look at their textures, but that's not very reliable...
User avatar
yoyoman
Corporal
Corporal
Posts: 157
Joined: Tue Jun 29, 2010 7:52 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Re: nuke gun

Post by yoyoman »

I am being very annoying but where do you find the textures?



Edit Why do you need the common and the rep in my date_bla_sides folder



bla is like abc or 123
Post Reply