Shield fx and texture?

Right. im trying to add a new ship into the game, ship model works fine and dandy the shield mesh doesnt. the ship is bigger than the shield mesh it seems, now i used the importer to import a shield mesh and then tried exporting it, however it wouldnt export due to their not being a texture or effect tied to it. Now i know how to add textures etc.. to the ship but can someone do me a quick basic this is how you make a new shield mesh please? I've looked through the sins folder and found the fx file GS_shield and GS_shield_impact, is this what im supposed to add to the shieldmesh to make it a shield in game? if so how do i then link a texture to the mesh? Sorry if this have been answered before but i've found tutorials about making models etc.. but i cant find anywhere where it says what to do to make the shield work properly from what type of shader it requires to how to attach a texture to it, as ive read alot of import and resize, though when i import a mesh its just a mesh no materials are attached to it, so that unfrtunatley hasnt helped me when i have tried it :(

2,743 views 2 replies
Reply #1 Top

That is strange as I have imported a shield mesh and adjusted the size, then exported with no problem. It did not require a texture but it does require 2 sets of UVs, typically spherical. The second UV is just a copy of the 1st UV use to connect the tangents. This I have done in Softimage|XSI.

1st I saved the scene of the ship (MyShip.exp) then I save the same scene again (MyShipShield) so the ship model is in a new scene. Then I created a new Polygonmesh --> Sphere and made it slightly larger than the ship. Adjusted the points so the shield fit the ship better then applied a spherical UV, the applied another spherical UV. I did not need to flatten out the UVs because no texture was applied. Connected the tangent to the second UV then save the scene. Now I open explorer and delete the ship model and export to .mesh. Save the scene 1st so you can open again with the ship and the shield to rework the polys then resave the scene, delete the ship and export to mesh.

Hope this helps.

Creating the UV Map
Creating the Tangent Map

Reply #2 Top

i wonder if this might be where my problem lies in that im uing 3ds max, sory should of mentioned that in previous post, nd im using the importer/exporter tool is it 1.1?? to import and then export the model, so when i import into max, it has no material assigned to the sphere, or even a ship if i import a ship, i have to go into the material editor and give it a material, plus texture to then have it appear in game. so if i made a mesh in 3ds max i have to attach a material to it to export it so, other wise it wont export , this is why its not as simple for me to import and then resize it as i need the shader its using to assign it as a material so i can export the mesh again.