Making objects from existing objects -1 reply

Please wait...

Nilstar

everywhere I go there I am

50 XP

21st April 2004

0 Uploads

32 Posts

0 Threads

#1 14 years ago

Perhaps I am not using the correct wording here (what do you expect from a noob eh?), but I would like to create a static object from existing objects. It seems that this can be done because in the BC:V object library I can see that someone at sometime created a group of objects from smaller ones. I would like to do that for myself. For example I would like to have several cots, night stands and tables that I can group together and put them into multiple barracks or in multiple maps. - Hope that I am making myself clear here. :uhoh:




nuttydave

Grrr woof woof Grrrr

50 XP

15th November 2002

0 Uploads

117 Posts

0 Threads

#2 14 years ago

try setting it up as a prefab base so what you need to do is make it first then use the prefab option and you can save the positions of all the objects so you can redo them again without having to actually place them all again if this dont make sense im sorry its late




MAJOR PITA

Team Player

50 XP

12th July 2003

0 Uploads

655 Posts

0 Threads

#3 14 years ago

Yea that would work, but then you'd pretty much have to have the same building layout each time you used it. I think he means grouping multiple objects into one & adding it in as a custom object. I've actually considered trying to do just that. Maybe I will look into that today sometime.




Nilstar

everywhere I go there I am

50 XP

21st April 2004

0 Uploads

32 Posts

0 Threads

#4 14 years ago

I tried the prefab thing, but got the entire base in the pre-fab. I am wanting to do as Major Pita said - some sort of "custom object" based on the existing objects. If you figure it out let me know. I am still pounding my head trying to get it to work.




Destrucktion_XL

I like make go boom.

50 XP

19th April 2004

0 Uploads

205 Posts

0 Threads

#5 14 years ago

Its not easy to add a custom object, and I would have to write a full tutorial on how its done.

Ill try to do it here..

It requires knowledge of Gmax, BattleCraft, and the MDT. I assume you know how to start a new mod and you have unpacked the original games ENTIRE objects and standardmesh rfa files to a temp location.

IMPORTANT> Make a backup of the objects, and standard mesh "unpacked" .rfa files in another temp location since you need to modify them to get the objects to load in BC and then restore them to their original state after you are done placing the object with BC. OTHERWISE you will have to reinstall to play online because you uncompress the original rfa's when you unpack, and there is no way to restore that compression.

Now create a new mod..

Basically you duplicate the mesh file you want from standardmesh folder and give it a name. You want to keep this duplicate in the unpacked standard mesh folder.

Then you duplicate the objects folders and files for the same object. (you have to search around in objects folder to find the ones that relate to the standardmesh you chose.) Keep these duplicates in the unpacked objects folder.

Now open winRFA from the MDT, and in the Pack menu select the directory unpacked objects directory, and pack this to the ORIGINAL game mod Archives folder. Do the same for standard mesh, overwriting the original games standardmesh.rfa (its why you made backups of these.). The file size for the 2 .rfa's will get much larger, but your going to restore them back to normal after you finish with the editor and placing the custom objects.

Now that you re-packed the two original games .rfa's with your custom objects inside them they are almost ready to load into BC.

Look in the BattleCraft program directory, you will find a file called custom.lst. Open custom.lst and bfv.lst in notepad. copy any line such as the first one from bfv.lst which is ID_BWfence01=StandardMesh(O_ID_BWfence01_M1) and paste it under the [Custom] tag in the custom.lst.

Change the line so that it reflects the custom objects name you created. Save and close.

When you load BC now and if you did everything right then when you add a new object to the cache, you can use the search field and look up the name to find your object. It should also be under the catagory of Custom if you use the category dropdown menu located in the object selection window.

Now to make it distributable, and restore your Original games information so you can play online again.

Simply copy the new folder you made from the objects folder and standardmesh files into your mod with an identical folder structure.

(One way is to copy the whole object and standardmesh folder into your mod folders root, and then deleting all the other folders, objects, and mesh files that you never edited leaving only your new files.)

Then pack the folders into your mod. (you would want to delete the unpacked folder in your mod then if you are finished editing everything and they are now archived, or move them to a new location so you don't have to unpack your archives again later.)

Now copy the two original .rfa files objects and standardmesh back into the original game folder overwriting the modified ones and restoring them to their original state.

Be sure you have used the object how you wanted in BC, because when you restore the original .rfa's the model won't show in BC. (it will still be in the objects list, unless you remove the line of code you added to the custom.lst in the BC folder.) If you want to do later edits, you have to go through the whole process again, of unpacking the original game folders, UNLESS you kept the unpacked version before with your added custom objects. Then you just have to pack those to the original game anytime you want your objects to reapear in the BC editor.

The objects will only show when the mod is running btw. And there is probly alot more to be said, but Im hungry now, and have answered too many posts today.

Laterz, and hope this helps everyone.




Destrucktion_XL

I like make go boom.

50 XP

19th April 2004

0 Uploads

205 Posts

0 Threads

#6 14 years ago
Destrucktion_XL IMPORTANT> Make a backup of the objects, and standard mesh "unpacked" .rfa files in another temp location since you need to modify them to get the objects to load in BC and then restore them to their original state after you are done placing the object with BC. OTHERWISE you will have to reinstall to play online because you uncompress the original rfa's when you unpack, and there is no way to restore that compression.

Not sure if this is clear enough... Make a backup of the games original .rfa files, (in their original packed/compressed form). It sounds like I wanted u to only back them up after being unpacked, but I meant to copy the .rfa files themselves and not an unpacked version. sorry, hope you understand what I meant..




MAJOR PITA

Team Player

50 XP

12th July 2003

0 Uploads

655 Posts

0 Threads

#7 14 years ago

I'm sure they'll be here complaining if they didn't. :deal: I have a working understanding of Max, but I'm still learning so. I know how to set up scenes, some modeling, skinning & rendering of scenes. I understand what you are saying here, but will I be able to just copy over any objects from other mods to use in BC Vietnam?




Destrucktion_XL

I like make go boom.

50 XP

19th April 2004

0 Uploads

205 Posts

0 Threads

#8 14 years ago

Any model that was made for BFV using gmax or max, and has the correct .dds textures in the textures folder should work. I basically took a bush from the standard mesh folder, and didn't change the texture at all from the original. so its still refrences the original texture.

I could modify that geomtry any way I like, and rename the file when I export. So I think if you copied over a model from a mod, and its textures that it would work if you go through the steps to get it into BC, place where you like in level, and save a copy of mesh and textures in your mods respective folders.