Bully-Board
Bully Modding Section => Bully Modding => TUTORIALS => Topic started by: -мα∂нαттяι¢к- on January 26, 2013, 06:15:08 PM
-
This is a tutorial which shows you how to import custom models into Bully. Remember that this will not work with characters. It can be done with any weapon and some vehicles.I recommend you start with a melee weapon and move on to more complicated replaces.This seems like a lot of steps but it's really pretty simple to do. Reply to this post with any questions. You will need:
Imgtool 2.0
nifskope
A model-must be in obj or 3ds. If not you must convert it, if it is .nif, just export it from nifskope as an obj. (Can be found online, from another game, or made yourself)
Texture for your model
A backup of World.img in case you mess up
1) Open up your World.img in imgtool.
2)Find the model you will be replacing and extract it to somewhere you can easily find it.
3)Open up the original bully model you extracted in nifskope
4) Double click the image of the model on the right, or navigate to Editable Mesh in the block list (left). Either way, Editable mesh should be highlighted in the block list.
5)Click file/import and choose .obj or .3ds based on what format your model is, and choose your model.
6)Now your model will have replaced the original model, but you aren't done yet. Next, under the same NiNode as Editable Mesh, you will see a line that says Txt and has an arrow. If you click on the arrow, you will see the three textures of the model.
7) You only really need to replaced the diffuse (_d) texture, which controls the colors. So rename your texture for the model to match the name of the _d texture in the model. For example if it says yardstick_d.tga in the model, rename your model to say the same.
8 ) Right click the _d texture in the model and select Texture/choose.
9) In the window that pops up, choose your texture which you renamed.
10) Save the .nif model with the same name it started with.
11)You are done with the .nif file, now extract the .nft file of the same model. If you extracted yardstick.nif before, now extract yardstick.nft.
12) Extract the nft to a different folder than the nif to avoid renaming problems.
13) This next part is exactly like editing textures, renamed the nft to nif and open it in nifskope
14)Right click on the first line, and select Texture/choose and select your texture.
15) Now right click the first line again and choose texture/embed.
16) A line named NiPixelData will pop up, right click it, then select Block/Remove
17) File/Save as your file
18) Rename the file back to .nft
19) Now delete both the original .nif and .nft files in Word.img in imgtool
20) In imgtool, go to Commands/Add and select your new .nif and .nft
21) Your done! Try out your game and your model should be replaced with a new one!
If you're having any trouble just reply to this thread, and I will help you out.
-
YEEAAA TUTORIAL RELEASED!
Gabe Newell clapping to Left 4 Dead music (http://www.youtube.com/watch?v=2gfab4V0S1M#)
-
If anyone has tried this, let me know, and put a screenshot of your new model in this thread
-
Great!
I'll try this tomorrow :)
EDIT:
Didn't work out hehe.
I'll try again some other time.
-
I'm lazy...
But i'll try this out soon when I find a model to download
GTAGARAGE HERE I COME!
-
GTA Garage doesnt work fine i hope is there is a fix on the server soon
-
delete
-
why you edit your comment :P
and GtaGarage for the luck of everyone is working xD
-
Cause he's a sneaky bastard!!
-
delete
-
I'd recommend tf3dm.com for free un-rigged 3D models.
Or models-resource.com
-
I will like to see if there is someone else that is doing this.
Not only me and im. :/
-
I haven't seen anyone else do it besides me and you yet. I think people think it's complicated, which it really isn't.
-
Maybe :/
And 1 thing i didnt show you =D
(http://i.imgur.com/pBCYJDr.jpg)
(http://i.imgur.com/bVJ46sK.jpg)
(http://i.imgur.com/3tQfX27.jpg)
Is not 100% rigged, Because i wasnt having time. But now is finished.
-
I am confuse :blank:
in step 2
2)Find the model you will be replacing and extract it to somewhere you can easily find it.
what file should I extract, is it the .nif or .nft example: spudg.nif or .nft
in step 4
4) Double click the image of the model on the right, or navigate to Editable Mesh in the block list (left). Either way, Editable mesh should be highlighted in the block list.
I really no idea about this, I cannot find the editable mesh,
when i double click the model, it didn't highlight all the model but just some part
(http://i1272.photobucket.com/albums/y391/marketfx/Untitled_zps6bb0b1ce.png)
I am still stuck at step 4
Sorry man, but could you put some picture to explain it,
Really low spec of my brain, really hard to digest this stuff
Thanks
-
@Walter20210: Haha that thing is awesome man, great work. Maybe we could get all the manhunt weapons and make some sort of mod out of it. I remember a weapon like that in manhunt, not sure if 1 or 2.
Rambo7: On step 2, extract the .nif. The .nft is not a model, its the texture file. For step 4, that's happening because your replacing a model with multiple parts. You just replace one part and remove the rest. I reccomend you start by replacing a melee weapon, like the yardstick. If you really want to replace one of the guns, the bottle rocket launcher is much easier.
-
Epic Fail again :blank:
I tried to change the yardstick to lightsaber, I can import the lightsaber model now, but fail at texture, the lightsaber still pink
I think I make mistake at step 7-10
7) You only really need to replaced the diffuse (_d) texture, which controls the colors. So rename your texture for the model to match the name of the _d texture in the model. For example if it says yardstick_d.tga in the model, rename your model to say the same.
8 ) Right click the _d texture in the model and select Texture/choose.
9) In the window that pops up, choose your texture which you renamed.
10) Save the .nif model with the same name it started with.
Thanks
-
Sorry if this is confusing for you, I really should re-do this tutorial with pictures or as a video at some point.
OK here's what you need to do:
Open a clean yardstick.nif file, and open it in nifskope. Go to NiNode, the one to the 4 next to it, NOT the 0. Click the arrow to show the contents. Under it should be Editable Mesh, click on that. It should look like this ( but with the yardstick model on the right, I have already replaced it.
(http://i1248.photobucket.com/albums/hh481/bullymodster/tut1_zpsd33971d5.png) (http://s1248.photobucket.com/user/bullymodster/media/tut1_zpsd33971d5.png.html)
Now, with editable mesh selected, click file/import/import OBJ, and choose your .obj saber model. Now you'll see you're saber model on the right, like you had before. Now click the arrow next to editable mesh to open up the contents.
Now, you need to take the saber texture you had and convert it to a tga. You can't just rename it to tga, it doesn't work. Use this online converter: http://image.online-convert.com/convert-to-tga (http://image.online-convert.com/convert-to-tga) . Now take that saber texture that you just converted to .tga, and rename it to WP00_yardstick_d.tga . Now go back to nifskope. You've already opened up the contents of editable mesh so you should see a line that says txt with an arrow to the left of it. The first to txt lines are not the right ones. Open up the contents of this txt line, and you'll see 3 textures. Select the first one. It should look like this (Again, I've already replaced the model and texture, you're first line will read WP00_yardstick_d.tga for now, mine doesn't)
(http://i1248.photobucket.com/albums/hh481/bullymodster/tut2_zps907c0dce.png) (http://s1248.photobucket.com/user/bullymodster/media/tut2_zps907c0dce.png.html)
Right click the first texture and select texture/choose. Now select your WP00_yardstick_d.tga, the one you converted and renamed. I usually embed the textures, though it isn't necessary.
Now you're done with the .nif file, but you aren't done yet. Save the .nif and put it in a new folder (otherwise names change when you rename the .nft in a second).
Go back to imgtool and extract yardstick.nft . Now rename it to yardstick.nif and open it up in Nifskope. This part is just like texture editing. Again, right click the first texture and select texture/choose. Again, choose your converted and renamed WP00_yardstick_d.tga . Now embed it, and your done. Save the the file, and rename it back to yardstick.nft . NOW you're done. Delete the original yardstick.nif and yardstick.nft in imgtool. In imgtool, click commands/add and choose your two new files. Once you go ingame, you should have a light saber instead of a yardstick.
-
Thanks for the more detail tutorial MadH, it helped a lot
Manage to do it, but with other model "axe"
Still no luck with the lightsaber,
(http://i1272.photobucket.com/albums/y391/marketfx/AXE_zpsa9d694f8.png)
Got some question Mad how do you rotate or move the model in nifskope??
-
Glad that you figure it out.
What you have to do to rotate it is simple. Go to editable mesh again, and click Transform/edit. Under rotation, go to R, and set it to 90 or -90 (whichever works). That should work, if not try rotating the Y or P. Once you rotate it you're probably going to need to move it down to get it centered on the axis. For this go to Translation, then Z. Try something like -0.2. You have to adjust it until seems right.
There must have been a problem somewhere in the saber model or texture, I'm not sure.
I've never really had an issue with the game crashing after model replacing. I would try rebuilding your archive in imgtool.
-
@-мα∂нαттяι¢к-
Thats a good idea =D
Maybe we can separate what weapons we are going to rig.
-
We could do some retextures to make the characters, and add some more manhunt elements to Bully.
-
Yeah =D
We can use the textures of the game.
-
I got a problem now :/
Every texture that i change doesnt load fine. It loads weird. D:
Example :
(http://i.imgur.com/0MWH6Jn.png)
-
That started happening to me too. I hope there is a fix
-
hello mad, please help, i did this too but when i load the game the weapon looks so big, its just too big i dont like it please help i dont know how to fix
-
U just need to scale it,
and I had already make a tutorial about this
http://www.bully-board.com/index.php?topic=19019.0 (http://www.bully-board.com/index.php?topic=19019.0)
-
but all of the scale is already 1, which scale should i put so that it become normal
-
U must adjust it your own, until u find the correct size
put it 0.1 or 0.01 or anything smaler than that
-
hey man... :D can i... :jajaja:
can u teach me how did u import the other character/ped model to the game :laugh:
:cheernutz:
hehehehehe you're so cool
-
Oh wow.Great tutorial.I can now play with my own weapons. ;D
-
Oh wow.Great tutorial.I can now play with my own weapons. ;D
eyy, u have learned how to do this too? :-\
haha :P
-
a question please! look at this, i already did the best and it becomes like this
-
hello, where should i replace the .tga file? in the .nft or .nif or both of them?
-
both
-
both
Thanks