How can I change the weapon of a stock character? [Solved]

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

Locked
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

How can I change the weapon of a stock character? [Solved]

Post by Par3210 »

How can I add a weapon to another stock character? Like add a sniper rifle to the rebel engineer? Or a lightsaber to a dark trooper? Thanks in advance. :thumbs:
YaNkFaN
Field Commander
Field Commander
Posts: 943
Joined: Sat Dec 13, 2008 8:17 am

Re: Question

Post by YaNkFaN »

you can postscript the weapon through the .lua (ie adding it in without creating a stock side) or you can make a custom side and just change the weapon lines
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Question

Post by Par3210 »

how would I do this? Sry but I'm not used to this type of thing.
obiboba3po
2008 Most Technically Challenging Avatar
Posts: 2376
Joined: Tue Feb 12, 2008 7:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: League of Legends
xbox live or psn: No gamertag set
Location: NJ, USA

Re: Question

Post by obiboba3po »

Par3210 wrote:how would I do this? Sry but I'm not used to this type of thing.
im not sure how to do the postscript thing but for custom sides read Caleb's tutorial on custom sides and Dann's odf guide for dummies
you could also use the search function im sure this has been answered before.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Question

Post by [RDH]Zerted »

If you want to add a lightsaber to a dark trooper, read the 'Jedi Creation' document. That document also goes through how you create the custom sides.
User avatar
Par3210
Jedi
Jedi
Posts: 1033
Joined: Sun Jun 14, 2009 10:31 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Owning people in SWBF2
Contact:

Re: Question

Post by Par3210 »

ok thank you all of you
EDIT2: Arrgh! It's all too confusing for me - can't I just add that line to the lua!?
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: Question

Post by Frisbeetarian »

You've got to do it eventually, and now is as good of a time as any to do it. I can tell you that 3 minutes is not enough time to read the BF2 Jedi Creation.doc, so go and do that. If you follow through it (the side making part of it at the very least) with the assets they provide in jedi side example.zip, you should understand a good deal more.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Question

Post by [RDH]Zerted »

When you start modding, you're supposed to go through and read all the docs even if you don't fully understand them. As you go along and gain more experience, you go back over them to understand what you didn't before.

If you haven't read at least all the documentation that came with the mod tools, you really shouldn't be asking so many questions. Especially when many of them are answered in those documents.

That goes for most of the new people who joined within the last 2 months too. Especially when you attempt to solve other people's problems, but only give them incorrect advice or lead them through a bunch of things they didn't need to do.
Locked