Page 1 of 2
Are source files for a unit the same as props? [Solved]
Posted: Fri Dec 08, 2006 8:45 pm
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?

thx for any help!
RE: Are source files (for a unit) the same as downloadable p
Posted: Fri Dec 08, 2006 8:56 pm
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))
Posted: Fri Dec 08, 2006 9:06 pm
by Elmo
Awesome... thx penguin
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?
Posted: Fri Dec 08, 2006 9:29 pm
by Xavious
You have to call for the unit in your .lua file.
Posted: Fri Dec 08, 2006 9:43 pm
by Elmo
and... how would i do that?

Posted: Sat Dec 09, 2006 2:44 am
by Maveritchell
Elmo wrote:and... how would i do that?

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.
Posted: Sat Dec 09, 2006 2:58 am
by Elmo
thx mav

sry for being.... you know

Posted: Sat Dec 09, 2006 4:09 am
by Maveritchell
Elmo wrote:thx mav

sry for being.... you know

We all know.

If you need something clarified in there, do ask. It can be an overwhelming document at first.
Posted: Sat Dec 09, 2006 4:53 am
by ]v[
Off-topic: I pray that Elmo become Jedi as soon as possible. NAMUAMIDABUTSU. (May the Force be with you.)
Posted: Mon Dec 11, 2006 4:39 pm
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
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

)
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!

Posted: Mon Dec 11, 2006 5:14 pm
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.
Posted: Mon Dec 11, 2006 5:35 pm
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?
Posted: Mon Dec 11, 2006 6:31 pm
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?)

Posted: Mon Dec 11, 2006 7:56 pm
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.
Posted: Mon Dec 11, 2006 9:49 pm
by Elmo
well if you read one of my previous posts, you'll see that the download does comes with an anim folder

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

So... what do i have to do with the animation folder?
Posted: Mon Dec 11, 2006 10:35 pm
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.
Posted: Mon Dec 11, 2006 10:38 pm
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
Posted: Mon Dec 11, 2006 10:43 pm
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)
The animation folder
Posted: Mon Dec 11, 2006 10:45 pm
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
Posted: Mon Dec 11, 2006 11:36 pm
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?