RelicNews Forums

Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Closed Thread
 
Thread Tools
Old 23rd Jun 04, 5:56 PM   # 1
starfleet
Guest
 

MAYA3.0 - HW2- Step By step tutorial

Note this is C&P from another place that I'm posting this tutorial.. It is Also a WIP, there will be video tutorials done but for now it's ALL text.. and 1 video tutorial.. don't like it wait for the video.


-------------------------
ok There is a reason why I have not posted this into the tutorial forum, because I will add in the steps as I get time. But with that said welcome to starfleets class of hell, take a seat and get comfortable, and ready for bad spelling and links to .mov format files at times.

Got that Good.

Ok first off were going to go over a few basic's in this step of the tutorial that if you -followed- the instructions in the RDN doco's for maya 3 you shouldn't have any problems with...

1. Have you got the RDN?
- Yes, Good because otherwise you are going to be extreamly.. stuck
- No? Bad person, Look go to the wiki site, (there is a link to it in the main tutorial thread here) and download the RDN, with out it your not going to get far at all.

2. Are you updated to Homeworld 1.1?
- Yes, Good again.. HW 1.1 Fixed a few bugs and made some of our coding life easier.
- No, Well I'd suggest an Update.

3. Have you got the recommended community tools for lua?
- Yes, Even better
- No, Oh well for a straight export there not really needed, if you want to decode lua, rot files and the like they are.

4. Have you set up photoshop, psp or what ever you use by the artpipline.doc?
- Yes, Great because You WILL need to have your Files done the same way as those PSD's say to have them done.
- No? Do it.. Don't have Photoshop? Download PSP(Paintshop Pro) it's free and it'll save you a lot of headachs.

---------
Ok with those steps done we can start moving onto the next step, getting your model ready to take into maya.

Now I do not know how you, do your modeling I'm not going to ask you how you do your modeling but for this you'll be stuck following my steps for getting something ready which is lightwave. But it works the same for 3dsmax etc so -LONG- as with max you save as a .obj or Have DEEP EXPLORATION and can convert a .3ds to .obj same goes for every other file format. (AND the format MUST SUPPORT UVW mapping)

ok with that small lecture out of the way we'll move onto the model and the requirments there, for a start the mesh you are translating must be planular, what do I mean by this? That it's faces must be either tri's or quads.
The main level of detail should also be optimised as best as you can.
The textures should be done to Game format sizes otherwise you'll run into issues later.

Ok load up your mesh in your standard modeling application for me lightwave done? good.
Now having a look at the mesh it's at it's highest level of detail? yes good?

Now open photoshop and follow the Artpipeline info for making a texture, I personally use the one for doing the highest level and leave it at this.. Why? Because even if you are working at 1024x1024 or 1024x512 or what ever texture size homeworld 2 uses Directx dds textures once it's exported into a hod format and these textures all have there mipmap levels saved, so if you have a 512x512 etc texture you automatically have all the sizes below this as well 256x256, 128x128, 64x64, 32x32, etc.

Once this is done map these textures to your mesh.

Now on a new layer copy that high poly mesh and optimise it down (I use a point/vertex merge or a 3rd party program known as Rational Reducer for this)

Continue this until you have all your LOD meshes for this mesh done.

BY this stage you should have the following:
1. A mesh file or files with all the Level of Detail meshes mapped.
2. All of the Textures in PSD format as per the rdn export ready.. (I may do a texture tutorial on this later)

Now, lets get them ready for maya.

There are 2 or so ways you can do this. If you are using lightwave like myself and have deep exploration you can simply open Deep Exploration and convert the .lwo object straight into a .obj format (Do not use the .MA format in Deep Exploration it doesn't work for maya 3 only maya 5) or if you don't have deep exploration, you will need to export 1 .obj file for each level of detail mesh you have.

Once this is done you are ready to move onto maya and for now this is were we will leave this tutorial until I can get some visual Tutorials done.
---------
End Part 1
---------
Start Part 2
---------
Ok with out the video hehe and excuse me I'm at class so I can't give you exact commands, the video will show this a lot easier then I can in text. (Ie i'm doing this from memory)

1. Open Maya 3.
Got it open? Good, you should by now I would hope have the maya toolset installed for the RDN and ALSO have it working. Incase you don't know this means that you'll have to go and grab another .psd importer because the one with the RDN tools... well frankly don't work.

Anyway So long as you have the toolshelf up and no errors when you load in and all the junk in the maya setup done.. we shouldn't have a problem at all.

2. Import the Mesh/Meshes from the first part of this tutorial, in the video you'll see that it's the Galor that I recently worked on for the Star Trek: Homeworld team (who I normally refure to as the SOA group) As you can see it's come in and it may not be facing the right way, it's also unless you've adjusted your settings currently a wireframe. First off, open up the Hypergraph. For those who do not know where it is, Windows - Hypergraph.

With it open up you should see there are a few tags in there with names, these are your Mesh Nodes.. Get used to this screen, it navigates like the rest of maya (ie alt + mouse buttons to move zoom etc) because you will be using it a lot in the course of making a HW2 export mesh.

Now Select the objects and rotate them so they sit right, if your not certain HOW they should face open up the 3 Sample files and have a look at them, they show you that much really clearly.

Once you have it rotated around in the right direction, turn on smooth shading and also turn on hardware texturing..... What's that??? it's all grey??? that's fine.

The reason that it's all grey is for the most part due to the fact that an import looses the actual texture's, (some times not all ways but for this we'll assume it did) But the MATERIAL's are still there (if we where working in maya 5.0 this wouldn't be an issue at all because we could have converted to a .ma etc but then at the same time the maya 5.0 toolset doesn't like docking path's due to a few issues with the translation of a number of the relic scripts) Anyway to get back on topic... Go to Windows - Hypershader, you should see that there are a number of materials there, Lambert, a partical shader and a few pong ones as well..

It's these pong shaders we are going to be looking at so you can ignore the lambert shader.

Ok so we have these two windows up hypergraph and hypershader.. what do we do with them? At the moment just shrink down the Hypershader window, we'll get back to it in a moment.. We have a little bit of layer setup to do first.

Now, In the Video when It's posted you'll notice I already have the Layer Panel up, but this isn't standard in Maya, if you don't have it up, either search the help, read the artline.pdf (it tells you how to bring it up) or go to the UI elements section of the menu's and turn it on.

Ok so you have it up?

Good.

At the moment you'll have a single layer, it's called Default.. What we want to do is create a few more. Next to the default layer is a button that allows you to create new layers, Click on it make a new layer and call it SHIP. Nice and simple. Now create the following layers as well.

LOD1
LOD2
LOD3 (Create as many of these as you have Level of detail mesh's outside the MAXIMUM level of detail mesh this mesh will go on the SHIP layer)
Goblins (If you have any Goblins, some just use the LOD0/Shiplayer for this and in my video i did that)
CM (This one is the collision mesh layer it is VERY important and it MUST be called CM)
TEMP (This will be deleted by the end of this)

Ok now that you have the layers in hypergraph for a moment select all the Meshes, and then right click on temp, you'll notice that there is a option to assign selection to layer. Click it.

Now make certain the meshes actually moved to that layer by right clicking on it and going Hide.

The Meshes vanished?

Good.

3. Ok Now we need to start moving the layers to the positions were we want them. Unhide the Temp layer, (right click - show) and the meshes will appear.. This part is some guess work and some juggling unless you have a good eye. Select each mesh part until you find the Highest level of detail mesh and then just as we assigned all of them to temp, assign this one to the SHIP layer. Then Hide the Temp layer and check you moved the right mesh over.. If you didn't assign the mesh to the LOD layer that it -SHOULD- be on then hide that layer and bring the Temp layer back up.. Rinse and repeat until all of the meshes are assigned to layers that they should all be on.

Ok so by now this is what you should have.
- A number of layers with at least 1 called ship, 1 called LOD# (starting at 1), 1 layer called CM, Possibly 1 layer called Goblins and 1 layer called temp.
- Each layer except CM and TEMP should now contain meshes.

If this is correct then were cooking with fire and can move onto the next step.

4.
Ok Hide every layer except the ship layer... Done this? Good. Now remember the Hypershader we looked at before? Certainly you do.. ok open it up and have a look at it again, you can see that the materials are in the middle and there is a box over the side containing a lot of junk.. we don't need to worry about this for the purpose of what we are doing at the moment, so Ignore it. We need to consentrate on the materials/shaders in the black area.

Ok Move the Hypershader window over so that you can see the mesh, then on the first Phong shader right click and go to select all objects with this texture (Or something like that) in the main window you should notice that a section is now highlighted orange, this is the area that this shader would control the textures on.. Ok.. now we get into the tricker part.. but at the same time I DO have a partual tutorial up for this already *Yay* though it is a maya 5 tutorial, the way you do things is EXACTLY the same in MAYA 3.0 as it is in MAYA 5.0.

Anyway I suggest you go to http://www.star-fleet.org/tutorials/ and download the texture .rar it's a quicktime.mov file that will unzip out to about 60mb's or so.

With that there and ready for referance, go to your toolshelf and click on the icon that looks to be a circle with HW2 on it, this will create a new shader node, called if I am not wrong... HW2Shader (ohh shock horror )

Ok using the way that is shown in the tutorial i just showed you, set up the shader with the ship.st shader script (IF you DO NOT HAVE THE SHADERS, THEN YOU DID NOT FOLLOW THE RDN INSTALLATION INSTRUCTIONS. - They are in the homeworld2.big file)

Now on the Diffuse option you'll see a small door looking object, what you need to do is click on this and it will bring up an option box, now click on 2d file (or something like that) and then the folder and open up the texture that was associated with that pong area we selected just before.

Got that done? Good.
Lost? Wait for the video tutorial it shows it nice and clearly

Ok if you followed me this far, what you need to do now is close out any windows open except the Hypershader, Hypergraph and of course maya.. Shrink down Hypergraph and once again right click on the pong texture, tell it to select all materials for this texture and then right click on the HW2Shader and click Assign to selection.

If you did everything right, it will show up the texture now on that area.

Ok.. to save us some time, Duplicate that HW2shader (edit-duplicate or ctrl-d) now just edit the texture on each of the new shaders you make (it automatically clears the material off anyway) and then once you have done this go through and assign each shader to a section that a pong shader was on (if you have an area that uses the same texture twice but has a diffrent shader just REUSE the existing HW2 Shader it saves space and it saves time)

Ok now go to edit, and tell it to delete unused nodes.. the pong nodes should all vanish from the hypershader.

What you should have now.
- All the layers from the previous steps
- A bunch of HW2Shaders with textures
- A mesh that shows up textured
- A Lambert shader.

Ok if you have that we can continue to the next step.

5.
Delete the Temp layer... how? Right click - delete.

Got that done? Good.

Ok now, With the ship layer, right click tell it to select all in the layer then go to either edit - duplicate or press ctrl+d, it will duplicate the mesh.. now with out off clicking from it (deselecting it) right click on the CM layer and assign the selection to this layer.

Unhide the CM layer, Hide the SHIP layer you should now have the exact same model. If you do good.. if you don't wait for the video tutorial again.

Ok, now in Hypershader you need to create a new PHONG node, create - phong, then click on the black area then click up on the menu area where it has an arrow that looks like go back a step.

Ok now right click on CM and tell it to select all in layer, then right click on the new shader and assign it to it.. the mesh should go grey.. then close the hypershader.. your done with it (yay!)

Ok now we get into the REALLY fun part (yes that was said sarcastically) Which will be in the next part of this tutorial Yes that is right the Setting up of the Hirachy using Joints and markers.


---end of this segment-----

Ok if your wondering about the shaders here, in this section and where the attribute info comes from, go to the relic forums and into the tanis ship yards under archive dump there is a thread stickyed by me, it has a lot of info on the shader attributes here.. and believe me when I tell you there are more then you know. For the shake of this tutorial i've used just the ship.st shader but.... you would normally use a few more on larger ships at the least and this also means learning more then the RDN doco tells you.. because they ahve diffrent layers they referance then the Artpipline tells you about...

The major one is thrusters.st which is used for if you want to have two states of a texture durring movement and not moving ie: Engines bright and alive when moving, Engines off when not.
The other is Badge.st which is the badge texture.

Another note is that in this tutorial I will not be covering engine glows, sorry if you want that info feel free to ask me by msg or the like but i don't see much call for engine glows in star trek (what this tutorial is for)

Nor do I cover Engine Trails, or as you may have seen I haven't covered doing badge textures, team textures etc etc etc.

If you did get confused by this remember that I'm doing it from memory, the steps are all in order but I can't see the actual 'menus' to give you the exact names at the moment.. the video tutorial will show this a lot better.
-----------------
end part II
-----------------
-Rob

PS: EDIT: This is a WIP don't msg me with It's not finished it refuers to video tutorials that are not there I've said I've not got the video tutorials rendered out yet, they WILL be up and the 30minutes or so that it goes for WILL show you everythign you need to know Visually, But if your not an amature and know your way around maya this DOES give you the Info you need to mod.
 
Old 24th Jun 04, 3:51 AM Forum Rules   # 2
DeathWish
Senior Member
 
DeathWish's Avatar
 
Join Date: Dec 2003
Location: Oregon, USA

Oooh! I've been meaning to write one of these forever! Great work Starfleet! I can't wait to see it finished mind if I link it from the Mod-Ed thread?
__________________
Requiem War - Modeller

http://www.requiemwar.net
DeathWish is offline Send a message via AIM to DeathWish Send a message via MSN to DeathWish Send a message via Yahoo to DeathWish  
Old 24th Jun 04, 8:21 AM Forum Rules   # 3
Enterprise-E
Demigod of Pain
 
Enterprise-E's Avatar
 
Join Date: Jul 2003
Location: Low orbit above Budapest, Hungary

thank You for this, Starfleet, i hope i will have luck when i try out this;-)
__________________
Ave Qwaar-Jet!
"Once again shall the great seas of space run red ...with the blood of Hiigara"
Enterprise-E is offline Send a message via Yahoo to Enterprise-E  
Old 26th Jun 04, 6:07 AM Forum Rules   # 4
Enterprise-E
Demigod of Pain
 
Enterprise-E's Avatar
 
Join Date: Jul 2003
Location: Low orbit above Budapest, Hungary

sorry for double post.

i started to make this tutorial, but CANNOT FIND another .PSD importer. can You tell me a link where to get it?
Enterprise-E is offline Send a message via Yahoo to Enterprise-E  
Old 26th Jun 04, 6:13 AM Forum Rules   # 5
DeathWish
Senior Member
 
DeathWish's Avatar
 
Join Date: Dec 2003
Location: Oregon, USA

importing PSD into what?
DeathWish is offline Send a message via AIM to DeathWish Send a message via MSN to DeathWish Send a message via Yahoo to DeathWish  
Old 26th Jun 04, 7:16 AM Forum Rules   # 6
Enterprise-E
Demigod of Pain
 
Enterprise-E's Avatar
 
Join Date: Jul 2003
Location: Low orbit above Budapest, Hungary

into Maya. so i can assign the PSD textures to the HW2Shaders...

the PSD importer that came with the RDN tools does not work.
or do You know a way how to fix that?
Enterprise-E is offline Send a message via Yahoo to Enterprise-E  
Old 26th Jun 04, 7:43 AM   # 7
starfleet
Guest
 

http://www.star-fleet.org/jag/IMFpsd.dll <--- there you go.. i'll get the rest of this done later on after some sleep. and run the renderer on the movie file while i'm asleep

Double Post

ohh there is 1 edit to my tutorial, the Collision mesh isn't a pong mesh it's a lambert matiral.
 
Old 26th Jun 04, 8:04 AM Forum Rules   # 8
Enterprise-E
Demigod of Pain
 
Enterprise-E's Avatar
 
Join Date: Jul 2003
Location: Low orbit above Budapest, Hungary

many thanks:-))
Enterprise-E is offline Send a message via Yahoo to Enterprise-E  
Old 28th Jun 04, 4:38 AM   # 9
starfleet
Guest
 

ok soryr for the delay in the video stuff and next section of this.....

Butt it is rendering it out now as we speak so i'll hopefully have it uploaded tomorrow.

-Rob
 
Old 28th Jun 04, 5:19 PM   # 10
starfleet
Guest
 

grrr it'll be uploaded tonight when i don't have a flat mate to complain cause I'm lagging her for 2 1/2 hours while it uploads
 
Old 28th Jun 04, 7:45 PM   # 11
starfleet
Guest
 

You've been waiting for it.... I've been promising it... http://www.star-fleet.org/tutorials/maya.rar 38mb Rar file, 380mb MOV File unpacked. Don't say I didn't warn you.

-Rob
 
Old 30th Jun 04, 5:14 PM   # 12
starfleet
Guest
 

Ok The next Step.. You asked for it and here it is.. By Now I suspect you've looked at the Tutorial in it's visual format, or at least I presume you do because It shows you everything I've been telling you. So moving along...

By Now you should have the Fully Textured Model with Homeworld 2 Shaders inside Maya, It should be on the layers it needs and you should be ready to begin the Hiirachy, if you are not this far along Go back and look over the other parts of this tutorial they explain everything up to this point.

Good.

Ok First things First, you need to change Maya here into Animation Mode, this is fairly simple, up in the left hand top corner is a drop down box, click it, move it to animation.. The Tool bar changes.. Yay..

Now you need to bring up all 4 views if you don't work in them already, press space, once over a window, it should change you into the standard 4 view look of Perspective, Top, Left, Back/Front.

Got that Far? Great, ok move your camera out to view the mesh then move up to the Skeleton Menu, in here you'll notice a few thousand little options the one your after is called the Joint Tool and you want to click the little box next to it, Why? Because we need to change some of it's default settings that's why... Unless of course you want really Funky Messed up joints that don't face how you expect them too? Nnah didn't think you wanted something like that.

Ok that brings up the Joint Tool's attribute window which has a few options all you need to worry about is that it's set as follows:

Degrees of Freedom: All Ticked
Auto Joint Orient: None
Scale Compensate: Ticked
Auto Joint Limits: Unticked
Create Ik Handle: Unticked

All the rest default.

Ok got that done? Great, your learning and I'm having to baby you less and less, Which you'll notice I'll be doing a lot less of while we move along. Close the window, and move the cursor in one of the views to the part of your ship you want to be the 'pivot' point, click and you'll notice a joint appears, great.. This will be the Root joint for the ship, Remember that because every other joint your gonna make comes off this one.

Ok Now move to the back of your ship, a little bit off the mesh and click again it will create a joint that is joined to the root mesh, this joint will be our engine nozzel joint.. A word to note if we where doing ships with engine glows and the like, the Engine Objects would all end up attached to this item.. Also you can have multipuls of them. But for the sake of this one.. Sorry guys Like I said I'm not going into that stuff.

Ok Got that joint in? Good, hit the up key on your cursor padd, it SHOULD move you back to that root joint, this is how you move up the Hirachy of joints with out having to constantly move back to the hypergraph or the like.

Now move to where you want some weapons, yeah were about to start the weapons hard pointing, in the position from the top view where you want the weapon to sit, click and it will make a joint, now Given Maya uses a 3 button mouse system I'm guessing you are as well, click the middle mouse button over that joint and you'll be able to move it around in any of the views, do So until it's roughly where you want it, now using a normal click, move the mouse to roughly where you would expect the gun to fire from in the case of star trek this will most likely be On top of the point you just selected this doesn't matter.. This joint will later become the Weapon_name_Muzzle joint, just like the one before it will become the Weapon_Name_Position joint.

Ok got the muzzle joint all lined up where you want it? Good, hit the up key and make another joint out in the general direction where that weapons 'Front' is, move it in position and remember it.. This will be the Weapon_Name_Rest joint. Finally make one pointing in the direction of which this thing will fire for the most part, generally this is a straight up or down joint. Ok got that done? You guessed it this will be the Weapon_Name_Direction joint.

Pressing up until you get back to the root joint, repeat putting in the weapons like above until your done.. Not we'll put in a nav light joint.

Nav Light joints are easy, because there single joints, created like above, so all you have to do is move the joint to where you want it and name it right and it loves you.

Ok now for a production/hardpoint system.. These are a little diffrent to a weapon but not by much, you again put in the position where you want them.. the rest joint off that joint to show where it's front is and the direction one to show where it's 'Up' is but after this you don't need the muzzle joint..

Ok Capture points, Repair Points and markers?

For these you can either make them yourselves, the first two are easy enough there just more joints and if you've worked out the lot from above you know how to do that by now.. Otherwise, you can do something that's a little bit of a cheat but works.. In the files given to us by relic you'll notice that all of these things are in them.. drag 1 of each off the root hirachy... Oops haven't told you how to do this yet have I? It's fairly simple, in the hypergraph use your middle button click drag.. off to the side.

Got that? great...

Now click on the marker you just moved off. Go to File - Export Selected Object and export it as marker.ma

Do the same for the Capture and repair joint

Open up the ship you've been working on again

go to file - import - and import the other files.

Bang now you have 1 copy of each in here, you can duplicate for more lot easier then setting them up one after another.

Now you have all these joints done and your itching to see how it looks in HW2, it looks about right to you... sorry to tell you.. your not finished yet.

But on the good side the next part is easy.

Open up the hypergraph editor, attach everything to that root joint. Got that done? Great.

Now you just have to go through and name all your joints. Remembering a few rules.

Weapons all are done as Weapon_Name_Jointtype
Harpoints etc are all Name_Jointtype
Navlights are all Navlight#
Markers are all Marker#
etc etc

Once all of these are set up right then you can save the ship.. you have been saving as a .MA right? Good..... then go to edit, delete history... we don't need that junk now.

ok now go to File Save.
Then to file - export, little box.

Up comes the export menu right?
Goodo.

The options are set as following:
File Type: hod
Export Type: Ship
Texture Options: DXT5
Otimization Options: Triangle List
Merge Vertices: Merge
Normal Mapping options: None

then click
export all.

Go to your homeworld/data/ship/shipname dir type in the name, hit save/export or what ever it is.. and watch maya work.. so long as you didn't screw anything up you'll get no errors and of course it'll not lock up etc etc etc

go check the directory... you have a all_galor.hod (in my case) sitting there?

Great, it's done go try it out in game, and No I will -not- tell you how to make a .ship and .event file to go with it.. learn this yourself or better yet.... Use the Relic Excel sheets

-Rob
 
Old 30th Jun 04, 6:03 PM Forum Rules   # 13
evillejedi
Supreme High Overlord of Stuff
 
evillejedi's Avatar
 
Join Date: Oct 2003

or use ship script
__________________
}  UAnÄ E¯ò5ëQÎÑ̦KœàŠàÌD9É\·fÒªêÌãë}߉aIûš »f ŒC{ŽXÙdÃWoæ£ÑÆ>‰"‚n›˜q|]t¢'ÿïà'È‚táÅïÍ#wŸ›b§ëkÄrk\L(#TÙ† ™'#)A9C«
â‰Ö8/—ñûÇ}ØN:/öÿ55cRÖßü!=å˜ÆÇEëœð©›Œ}D«÷î!¸äÒs>åIG’Ì?%Çädªí޹šjñª>Ìd~x»\³öG÷±ÙSûtûPK   ŽpÎ2:Gwå —1984
http://warlords.swrebellion.com/
evillejedi is offline  
Old 2nd Jul 04, 1:11 AM Forum Rules   # 14
Enterprise-E
Demigod of Pain
 
Enterprise-E's Avatar
 
Join Date: Jul 2003
Location: Low orbit above Budapest, Hungary

Thank You all for this excellent tutorial! Here's something for You all so You can see it was worth making it.

i proudly present my veryfirst own export working in game:-)


it has no navlights, no engineglows, and the Ion cannon behaves strange, but i finally got Maya to export it:-)))

now i have to learn how to script it and other issues....
Enterprise-E is offline Send a message via Yahoo to Enterprise-E  
Old 2nd Jul 04, 4:57 AM   # 15
starfleet
Guest
 

Ok this is To be nice, I said I wouldn't go into it but I will.. Thruster on/off glow.

For the most part this doesn't need the info for maya because it's really just assigning a diffrent shader - thruster.st - and changing it's params (see the sticky'd thread over in the 'we need to keep these' for the param set.

Anyway the real work comes in photoshop.. If you open up photoshop and then open up the following files supplied by Relic in the datasrc/ships/hgn_carrier/ directory.

Hgn_Carrier_Engine_tex.psd
Hgn_Carrier_EngineOn_Tex.psd
Hgn_Carrier_EngineOff_Tex.psd

You'll notice each of these files looks like a standard pre-export psd file. Ok now open up Hgn_carrier_Engine_Export.psd

Ok got that open? You should notice the differance here.

Incase you haven't I'll show you...
Layers
$Glowoff
$diffuseoff
$glowon
$diffuseon
Background
Background

Basically this as far as I have been able to tell is a merger of the other files.

The Background meshes as far as I've come to tell doesn't matter much (some one feel free to prove me wrong here) BUT the $nameON $nameOFF are important these are the two states of the thruster texture when on and off. Basically copy how this file is done to set up your textures for engine glow's on/off.

Now with that done we have another thing... Yeah those lovely Thruster Glows. Take a look at the HGN_Carrier for an example of how a thruster glow is set up for a Capital ship, it uses a single GLOW mesh (you can have multipuls (i think) anyway basically what happens is that you need to:

1. Make a new layer
2. Have an object roughly the shape of the Object that the glow is going to be.
3. In the Hierachy move this object to the engine nozzel
4. Name it EngineGlow1 or what ever you want to have it be.

Now some are gonna ask ok this gives me an engine glow but what about targetting etc?

By now you Have a grip of Maya I've shown you through the basic's which By the way you could have learnt from the RDN stuff with a lot more headaches.

On the other hand, you also have something to learn by going through those tutorials, They show you how to do Turrents, How to do Subsystems Both Innate and not.

Engine Trails Some one else can write I still screw em up

Some issues you may find:

1. Some Times if you have really large ships and put them in the wrong familys or do the ship files wrong they don't work.

2. Navlights: I seem to have vairied working/not working effects on these, I appologise to those who want to know more But I've not really looked at the coding for it maybe later when I have more time.

3. Dockingpath's: This is another Tutorial, For this I'll go into later at the moment experiment look at the files relic gave you they DO give you enough info to do it.

4. Weird Side Effects: Unless I've encountered them myself I can't help you that much sorry. I do know that if the collision Mesh does not go through properly that some weird ass effects can happen with ship piloting.

5. That damned Lambert Shader, No offense Ent-E found a problem and posted it he also found a fix that I didn't realise, if you get issues exporting Try using the default Lambert1 shader on the CM mesh.

Any other issues related to Maya post up.

.Ship editing - There are a few thousand here on the forums, do a search they should still be around or better yet look over at the wiki.

.event editing - The best thing I can do here is tell you to experiment

Weapon Issues - this can be a range of things, Is your muzzle inside the Geometry? Then your weapon may not work.

Is your Rest,Direction etc set up correct?

Post up the issues you have and I'll do my best to help.. EJ is also a good help he's learnt a lot and there are others who will help here who have experiance at this.

-Rob.
 
Old 7th Jul 04, 8:06 AM   # 16
Solaufein
Guest
 

Just a little thing I noticed, I just succesfully made my own animating turret, the thing is: the origin of its weapons seems to be the _Latitude (or _Position, cant be sure because both are close together) node instead of the _Muzzle. Does anyone have any previous experience with that?

Secondly, is there any way to change the scale of a subsystem without doing so in the .hod file?
 
Old 7th Jul 04, 8:20 AM   # 17
Archanon
Guest
 

Turret has to consist of different joints:

_Position: Connected to root joint... rotation point of a turret
_Rest: Rest direction
_Direction: Up vector
_Latitude: rotation point of the barrel
_Muzzle: Muzzle of the barrel

_Rest, _Direction and _Latitude must be child of _Position, _Muzzle must be child of _Latitude

If that's done correctly, the weaponfire should originate from the _Muzzle joint... The muzzleflashes must be placed corectly in the .events file (marker must be _Muzzle)

Edit....
Strange things can happen when you place turrets upside down (under the ship) or at the side... If that's the point you should experiment with angles in the .wepn files and if necessary create an extra .wepn file for the upside down turrets (for instance hgn_heavyturrettop and hgn_heavyturretbottom).... Relic uses this also in the hgn_BC
 
Old 7th Jul 04, 9:43 AM Forum Rules   # 18
evillejedi
Supreme High Overlord of Stuff
 
evillejedi's Avatar
 
Join Date: Oct 2003

another note would be to follow relics sizing and scaling on the wepons hardpoints (90 degree angles and 10 units long I believe) otherwise you get weird squashing of the geometry. As long as you rotate the turret around the correct axis then the wepn scripts derive their fire arcs relative to that.
evillejedi is offline  
Old 7th Jul 04, 10:49 AM   # 19
starfleet
Guest
 

Actually never had an issue with Turrents Under.

The only issue you have is if you COPY an existing Hardpointed Turrent and just rotate it.

If you do that then you will run into issues.

If your going to do a turrent either keyframe and then use the shipscale option to lock everything in place or do it from scratch.. I'd suggest the later.

The other suggestion I'd make and it's a load easier.....

Make your turrents each a innate subsystem.

Basically you set up the gun point as though it was a subsystem point so in your ship mesh you have

harpoint_Gun1_Position
Hardpoint_Gun1_Rest

Then in the Turrent subsystem you have

Root
Weapon_Turrent_Position
Weapon_Turrent_etcetc

Makes
.1 copying turrents 100x's easier
.2. Issues for geometry go away
.3. Issues for direction go away.

The other thing is that if your Weapon file isn't set up right the turrent won't WORK right. That's nothing to do with Maya. Make 100% certain that the turrent is compleatly set up correctly in the .weapon file.
 
Old 10th Jul 04, 2:42 PM   # 20
Solaufein
Guest
 

When I found this site I was rather happy is it provided a rather large database of tutorials for using maya and making 3d art in general. So for those who want to brush up on their skills go here learning maya's Tutorial section
 
Old 8th Aug 04, 5:24 AM   # 21
starfleet
Guest
 

small bump and another thing i'll try and add some more to this later ie movided tutorial on the stuff for turrents etc
 
Old 9th Jul 05, 11:39 AM   # 22
yafn
Member
 
yafn's Avatar
 
Join Date: Jun 2005
Location: San Diego, CA

Thank you starfleet, for taking the time to write up this very helpful tutorial. Everything seems to work for Maya 4 as well. It seems like there should also be a link from this thread to your "Maya Plugs and getting shaders to work right." thread that you refer to in the texture movie. So here is that link: http://forums.relicnews.com/showthread.php?t=26790

Last edited by yafn : 9th Jul 05 at 12:08 PM.
yafn is offline  
Old 9th Jul 05, 3:52 PM Forum Rules   # 23
Zatch
Devil's Advocate
 
Zatch's Avatar
 
Join Date: Feb 2004
Location: CA, USA

Nobody flame Yafn, this was a good bump . Strange, because I was looking for this thread just a couple minutes ago (it's probably linked to in my General Forum Tips and Suggestions thread, though...)
__________________
~
Zatch is offline Send a message via MSN to Zatch  
Old 10th Jul 05, 5:06 AM   # 24
starfleet
Guest
 

glad to see this is still of use to people
 
Old 10th Jul 05, 7:10 AM   # 25
Jaen-ni-rin
Banned
 
Jaen-ni-rin's Avatar
 
Join Date: Mar 2004
Location: Poland

It's useful as long as you have working MaYa...
It worked fine for me until I tried to export this...
Plugins for MaYa 5 seem to strip slashes from path or something like this... so I got shader error and game crashes when I build one of new ships... :blah:
Jaen-ni-rin is offline  
Old 10th Jul 05, 7:29 PM   # 26
starfleet
Guest
 

i'd check your copy of the plugs and make certain there installed properly because we have used both version with this (both me and EJ) and it works fine, Maya 3.0 though has some features in it's plugins that 5.0 does not, though if you hunt through here you should be able to find EJ's tutorial as well
 
Old 11th Jul 05, 12:19 AM   # 27
Jaen-ni-rin
Banned
 
Jaen-ni-rin's Avatar
 
Join Date: Mar 2004
Location: Poland

I reinstalled plugins and...
Is path M:GryHomeworld2\dataship.st normal ?

I've got M:\Gry\Homeworld2 in my environment variables window and plugins change that to the thing mentioned above.
WHY ? I've got shader in their place...
Should I create folder called GryHomeworld2 and ass data prefix to all shaders.
That's stupid. I don't know why my plugins do not work.
Jaen-ni-rin is offline  
Old 11th Jul 05, 4:48 PM   # 28
starfleet
Guest
 

ok i don't have hw2 installed atm but it should be something like

?:\homeworld2\data\shaders\ <-- where shaders are

enviroment varibiles there should be three from memory as well
 
Old 11th Jul 05, 9:35 PM   # 29
Jaen-ni-rin
Banned
 
Jaen-ni-rin's Avatar
 
Join Date: Mar 2004
Location: Poland

Yeah, I know. And I have it like this, but retarded MaYa changes proper path (Everything is inputted properly, variables are proper. I'm sure) into M:GryHomeworld2\dataship.st and I can't stop it.
Is there's a way to stop it from stripping slashes and forgetting shaders dir ?

Otherwise everythig seems to work fine.
Jaen-ni-rin is offline  
Old 13th Jul 05, 3:13 PM Forum Rules   # 30
evillejedi
Supreme High Overlord of Stuff
 
evillejedi's Avatar
 
Join Date: Oct 2003

weird, the best you can do is just create the folder it wants with the shaders in it (I know this works as I had a similar problem because my env variables were incorrect)
evillejedi is offline  
Closed Thread



Go Back   RelicNews Forums > RDN - Relic Game Mods > Homeworld 2 - Tanis Shipyards
User Name
Password
Register FAQ Members List Arcade Mark Forums Read



Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




All times are GMT -7. The time now is 4:56 AM.

Page generated in 0.30858111 seconds (88.39% PHP - 11.61% MySQL) with 9 queries

Powered by: vBulletin Version 3.0.7
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.