Basic XSI to BF2 Weapon tutorial on thereisnotry.net

How to create models in XSI and other 3D applications and make them work in Battlefront 1 & 2. Post models, tips for application usage and share anything XSI, 3DMax, SketchUp, etc.

Moderator: Moderators

Locked

Did this tut help?

Yes
8
44%
No
1
6%
Could be more in depth.
6
33%
wha?!?!
3
17%
 
Total votes: 18
L-5-R

Basic XSI to BF2 Weapon tutorial on thereisnotry.net

Post by L-5-R »

Hey I finaily finished my weapon tut for those who don't know how yet.
If any of you want head over to


http://www.thereisnotry.net/html/xsi_wp1.html

check it out. Oh and tell me if it helped.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Basic XSI to BF2 Weapon tutorial on thereisnotry.net

Post by Teancum »

Very cool! 'preciate the tut man. Perhaps we should combine that with an odf tool.
theguarder

RE: Basic XSI to BF2 Weapon tutorial on thereisnotry.net

Post by theguarder »

Thank you L-5-R! my t-21 is done, but im to lazy to go to the other computer to check it uot :p
L-5-R

Post by L-5-R »

Np man Im working on a few more. ;)
theguarder

Post by theguarder »

i have a question: does the gun have to point in any special direction (in XSI) Beacause ingame my gun is pointing up to the sky all the time.
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 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 Vyse »

Great tutorial! And Great site! Thanks L-5-R!
Vyse
General
General
Posts: 776
Joined: Sun Aug 28, 2005 5:01 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 Vyse »

theguarder wrote:i have a question: does the gun have to point in any special direction (in XSI) Beacause ingame my gun is pointing up to the sky all the time.
Yep it does. Set your camera to front and you should have the blaster pointing right at you to balst you away. :P
Saturn_V
Emperor's Hand
Posts: 487
Joined: Sun Dec 26, 2004 12:11 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Contact:

Post by Saturn_V »

awesome work, old friend. Once you were the pupil, now *you* are the master :D
JabbaLovesLava
Sith
Sith
Posts: 1396
Joined: Tue Jun 07, 2005 11:50 am

Post by JabbaLovesLava »

theguarder wrote:i have a question: does the gun have to point in any special direction (in XSI) Beacause ingame my gun is pointing up to the sky all the time.
I has to face the Z axis
L-5-R

Post by L-5-R »

Wow Saturn..long time no see man ;). hope you've been well.

I see others have answered the question, i will update my tut to include that ;)

and may the force be with you.
WideBoy

Post by WideBoy »

I am having troubles getting my custom weapon in to the hands of boba fett. What do i gotha change in the ODF files and where shall i put my MSH and tga files`?
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 »

Stick 'em in a side folder, in your case it would be IMP most probably. Make sure you have a null called hp_fire where the muzzleflash will be, and the place where your soldier is going to grip it is at 0,0,0. Make sure you have a null called dummyroot at 0,0,0 also. I'm not sure if this is required, but in the front view in XSI (looking along the z axis I think) the gun should be pointed towards you.

Now open up the rifle ODF (I'd assume that's what you'd want) called imp_weap_inf_rifle, and save it as something like imp_weap_inf_bobarifle, so that you recognize it later on. Then look at these lines:

Code: Select all

[WeaponClass]
ClassParent         = "com_weap_inf_rifle"
GeometryName        = "imp_weap_inf_rifle.msh"

[Properties]
GeometryName        = "imp_weap_inf_rifle"
HighResGeometry     = "imp_1st_weap_inf_rifle"
OrdnanceName        = "imp_weap_inf_rifle_ord"
FirePointName       = "hp_fire"
Change the GeometryName in both sections to what you called the EE-3, (the MSH file I mean), and also the HighResGeometry, which is what you'd see in first person. You could use a more high-poly model for that if you wish. Hopefully you already called the firepointname hp_fire, so you don't need to bother with that part, and the ordnance name is what the weapon will shoot, but that part you knew already, right? :P Anything else you're confused about?
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Post by wazmol »

First of all i am really sorry but this is a HUGE bump, but i didn't want to start a new topic as i would only of got linked to here.

anyway, i have done everything as the tutorial has said but when i got to export i get an error and it comes up with an error report, you can see this in the "just started modeling, stuck" thread.

i tried getting info from the art_guide.doc in the documentation guide but it is so confusing.

can some one point me in the right direction please.

so far i have got my gun pointed towards the Z axis
i have added a hp_fire node to the barrel
put the grip/handle on 0,0,0
thats it.

now what do i do.

thanks a lot and sorry again for the bump

EDIT-----

i finally got it to export and i went to the folder where it should of been saved to and it was their but just the .msh (isnt there suppose to be a TGA aswell?) so i put it in my rep side folder edited the odf and when i munged i got this error:

Code: Select all

ERROR[PC_modelmunge msh\mnd_weap_inf_rifle.msh]:NO POLY COUNT FOR mnd_weap_inf_rifle:  THIS IS VERY BAD
ERROR[PC_modelmunge msh\mnd_weap_inf_rifle.msh]:NO COLLISION TREE WRITING ALL ZEROES FOR BOUNDING BOX
ERROR[PC_modelmunge msh\mnd_weap_inf_rifle.msh]:Unable to write collision tree nodes, no tree exists
   3 Errors    0 Warnings
so i ignored it and ingame guess what i got:

Image

HELP me please
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 »

Create a null called dummyroot and make it the parent of everything that's going in-game. (That would include the mesh, shadowvolume, collision mesh, and lowrez mesh.) Texture it, (check Bandu's tutorial) and do whatever else you need to do. Once it's ready, middle-click (branch-select) on dummyroot, and it should select everything. Then export with the Pandemic XSI addon that came with the Battlefront II modtools. If you use XSI 4.2 modtools however, the XSI addon won't work.

PS: Bumping a tutorial is within the rules if you have a valid reason. What you did is perfectly valid, as you needed help.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Post by wazmol »

ok thanks for the quick answer but theres a probelm, i dont have a clue how to make a shadowvolume collision mesh and lowrez mesh. also i dont no how to make dummyroot a parent. and i dont no if this is right and proper but the model i am using, i didnt create i downloaded it from google sketchup and then exported it as dotXSI format and imported it into XSI to add nodes and stuff, it came with texture. so what do i do now thanks
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 »

Go to Get --> Primitive --> Null. A green cross thingy should appear at 0,0,0. Keep it there. Now open up explorer (open it up on one of your four windowpanes or just press 8). Press 'S' when your mouse cursor is over the explorer window to call up the Scene Root. You should see all of the objects you have made here, along with whatever else is in the scene by default (lights, etc.) and now your newly created null. Right-click on the null and select rename. Call it dummyroot and then (in the explorer still) drag the name of your mesh over the dummyroot null, and drop. If (instead of one mesh) you have a bunch of objects, select all of the ones that you want to be shown in game and select Create --> Polymesh --> Merge. This will create a new object which is basically all of the objects you selected merged into one. Move this polymesh (rename it to gun or something) under dummyroot.

The lowrez mesh is the mesh that you will see in-game when you are far away from the weapon in question. Because it's further away, less polys are required for it. To make a lowrez mesh:

Select the mesh you've just made. Press Ctrl+D to duplicate it; this will create an exact copy of the mesh. With this new mesh, you can either remove polygons manually or just go to Modify --> Polymesh --> polygon reduction. Rename the lowrez object to 'WhateverTheProperMeshIsCalled_lowrez' (without the quotes).

A collision mesh isn't required for a gun, because people aren't exactly going to be walking into it on purpose.

Without a shadowvolume, the gun won't have shadows. Duplicate the mesh again (I recommend you run the polygon reduction tool again, but it isn't required I shouldn't think), and this time go to Animate --> Create --> Parameter --> New Custom Parameter. A window should appear. Set the parameter name to shadowvolume and uncheck 'animatable'.

Finally, select the shadowvolume and the lowrez mesh in the explorer and press 'H'. This will hide them in-game. To be honest I'm not actually sure if you need to hide the lowrez mesh, but I do and it always shows up in the background for me.

If you have any more problems it's because I've said something wrong or you didn't follow the instructions properly. Nevertheless, if you have any more problems don't hesitate to ask. Also, if you use the search function you could probably find some images to help. Everything I've said here can be found either in the documentation or on the Gametoast forums.
wazmol
High General
High General
Posts: 892
Joined: Sat Sep 02, 2006 6:47 pm
Projects :: Thinking...
Games I'm Playing :: Black Ops
Location: London
Contact:

Post by wazmol »

this is weird, i got exactly the same problem but i feel that i did wrong stuff but im not sure though, im sending you a PM rekubot sorry for all this trouble people
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Basic XSI to BF2 Weapon tutorial on thereisnotry.net

Post by DarthD.U.C.K. »

can anyone please reup the tutorial?
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Basic XSI to BF2 Weapon tutorial on thereisnotry.net

Post by MandeRek »

Yes pleas i really need it :angel:


MandeRek
Locked