Are source files for a unit the same as props? [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

Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Are source files for a unit the same as props? [Solved]

Post by Elmo »

I think they are the same but I was wondering... and I'm wondering how to add them to my map. If they are the same as downloadable props. Ok.. I think they aren't. So.. how do I add them to my map? :P thx for any help!
Penguin
Jedi Admin
Jedi Admin
Posts: 2541
Joined: Sun Mar 05, 2006 12:00 am
Location: Australia

RE: Are source files (for a unit) the same as downloadable p

Post by Penguin »

units are basicly the same. Any source file that is downloadable is the same as normal stuff

((Unit files go in sides, props in world ODF, scripts in scripts, etc))
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

Awesome... thx penguin :P

Edit: Eh... I downloaded it, and it has 2 folders: Sides and animations. Where do I put them? And then once they are placed in the correct location, they will just show up in my map?
Xavious
Sith Master
Sith Master
Posts: 2783
Joined: Mon Jun 12, 2006 3:46 pm

Post by Xavious »

You have to call for the unit in your .lua file.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

and... how would i do that? :P
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Elmo wrote:and... how would i do that? :P
Hey hey hey! Read Jedi Creation! Hey hey!

Not only will it answer that question, but it will clarify your questions about placement of files in folders.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

thx mav :wink: sry for being.... you know :P
User avatar
Maveritchell
Jedi Admin
Jedi Admin
Posts: 7366
Joined: Mon Aug 21, 2006 11:03 pm

Post by Maveritchell »

Elmo wrote:thx mav :wink: sry for being.... you know :P
We all know. ;) If you need something clarified in there, do ask. It can be an overwhelming document at first.
]v[

Post by ]v[ »

Off-topic: I pray that Elmo become Jedi as soon as possible. NAMUAMIDABUTSU. (May the Force be with you.)
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

ok, I started reading the jedi creation doc. Up to the creating the msh, odf, req, etc in the common folder part. Would I put these files that came with the dark trooper in that common folder?

Ok lemme tell you what came with the download :P

2 folders: Sides and animations

In the side folder: an add folder

in the add folder:req, odf, MUNGED, msh, effects, and add req (notepad)

(And in the req, odf, msh, munged etc. there are a bunch of notepads (or files or something :oops: )

ok, now in the animation folder: Soldier animation

In the soldier animation folder: p3 and p2

in the p3 folder lots of notepads (file with a notepad symbol. that what im trying to get to)

in the p2 folder: lots of notepads also

Now, what I'm asking is, where does each file/folder go?

And I read the doc but it is so confusing! :x
Rekubot
Jedi
Jedi
Posts: 1080
Joined: Wed Apr 05, 2006 12:34 pm
Projects :: No Mod project currently.
Games I'm Playing :: Shadow Complex
xbox live or psn: Rekubot
Location: UK

Post by Rekubot »

Okay, make a new map (I'm assuming you know how to do that/have already done it), and in the Data_ModID\Sides folder place the folder called Sides in it. Rename the folder to something of your choice, preferably whatever the unit is, so you'll remember it, and it also needs to be three letters long, like rep, cis, all or whatever.

Rename any req file which has the word 'Sides' in it to your 3-letter character name.

Now go to Data_ModID\_BUILD\Sides and add a new folder. Call it whatever your 3-letter name is, and then copy clean.bat and munge.bat from any other folder in _BUILD\Sides to the folder you just created. They should look like this:

munge.bat:
@call ..\munge_side.bat ALL %1
Change the three letter word from whatever it was to your side name. You won't need to edit clean.bat, just make sure it's copied over. Note: To open up a bat file in Notepad, right-click on the .bat file and click on 'edit'.

As for the animation folder, I'm assuming that you need to put it in data_ModID\Animations\SoldierAnimationBank, but to be honest I'm not too sure. I think you have to do a bit more than that.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

ok, but i can't find any munge bat or clean bat. Is it that thing with the picture that looks like a gear next to it called clean or munge? and it says it is an MS DOS Batch file. Is that what you are talking about?

OH! I get it sry. But waht about the animations? Do i just stick the folder in the soldieranimationbank folder?
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

im sorry for double post, but rekubot, I did what you told me to do, but the unit does not show up on the unit spawn list. It probably has something to do with the animation thing, but does anyone have any suggestions? (or tuts?) :lol:
fat_walrus

Post by fat_walrus »

if it is a jedi or a trooper with different animations than it should have (something like that) then youu need anim. files. If it is just a custom trooper then you don't need the anim. files.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

well if you read one of my previous posts, you'll see that the download does comes with an anim folder :wink: which obviously means i have to use it to make the unit to appear (and work in the map) ((the unit is a large PhaseIII darktrooper :P So... what do i have to do with the animation folder?
fat_walrus

Post by fat_walrus »

open the msmuge.bat thing in the darktrooperIII animation folder (right click on it and hit edit) and paste it here. It should be one line long.
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

here it is-

@call ..\munge_animation.bat "/keepframe0 /dest p3.zaf /comp_debug 0 /debug" Sides\add

this is for the phase 2-

@call ..\munge_animation.bat "/keepframe0 /dest p2.zaf /comp_debug 0 /debug" Sides\add
fat_walrus

Post by fat_walrus »

add a p3 folder in Data_ABC\_BUILD\Sides and copy the all.mungebat from _BUILD\Sides\all\, paste it in the _BIULD\Sides\p3 and edit it, hit "replace all" under edit or file (one of those toolbars) and replace all "all"s with p3. Save, munge the side and tell me what happens.

EDIT: then call him up in your LUA (kinda obvious now huh)
Last edited by fat_walrus on Mon Dec 11, 2006 10:49 pm, edited 1 time in total.
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

The animation folder

Post by AceMastermind »

Elmo wrote:So... what do i have to do with the animation folder?
Click on the "Animation" folder, there should be another folder inside called "SoldierAnimationBank", click on "SoldierAnimationBank" and copy the contents inside, then paste the contents in:
data_ABC\Animations\SoldierAnimationBank
Elmo
Field Commander
Field Commander
Posts: 962
Joined: Wed Nov 08, 2006 5:13 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Elmo »

fat_walrus wrote:add a p3 folder in Data_ABC\_BUILD\Sides and copy the all.mungebat from _BUILD\Sides\all\, paste it in the _BIULD\Sides\p3 and edit it, hit "replace all" under edit or file (one of those toolbars) and replace all "all"s with p3. Save, munge the side and tell me what happens.

EDIT: then call him up in your LUA (kinda obvious now huh)
how do i call him up in my LUA? I mean.. what do i have to add?
Post Reply