Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

Need help on implementing my custom weapon

Here you can discuss building custom ships, texturing and 3D modeling in Freelancer

Post Thu Sep 30, 2004 2:35 am

Need help on implementing my custom weapon

First of all I'm sry if this isn't the right place to ask.

Ok, so I have read the hellspawn tutorial and found it very difficult to understand then I got the mesh converter and made some sense from the weapon template cmp.

I have made a weapon skinned it and exported to cmp. My first question:

The tuts say I should include the mat file within the cmp but in the weapon_equip.ini each weapon refers to the cmp as well as the mat library. So should I include the mat with the cmp as well as having an extra mat file or can I delete the mat referrence in the inis or do I just use a simple cmp and an extra mat?

Second question:

When looking at the template.cmp with UTF I found a very logical structure which is needed for the weapon to work. Since my exported cmp doesn't look very similar to it, does that mean I have to re-arrange my groups in milkshape or (what I have been trying but not successfully) do I have to work with UTF and add nodes. If I have to add extra nodes how do I get the appropriate data into them? And which data has to go there?

Third Question:

To hard points: I placed my HpFire01 at the tip of the gun and the HpConnect at the base at exactly x=0, y=0, z=0 (many thanks to hardcmp) and it has a 360° angle. Now where exactly should HpMount go?

Many thanks in advance and I hope you find time to answer me

Post Fri Oct 01, 2004 4:29 am

Midnighter,

If you have included the textures in the .cmp file then you do not need a separate .mat file so you can delete the references to the .mat file in the .ini.

Take a look at the hellspawn .cmp, the structure MUST be the same as that, if you havent gotten Redeyes tutorial on the vmesh changes and the structure is not the same as the hellspawn then the weapon will not work, the base must be the first item in the ms3d file followed by the body followed by the barrel, with the hardpoints last if this is not done the weapon will not work (or if it does it will look very strange) Easiest way to do this is to select and regroup until thats the way it is.

HpMount and HpConnect are two hardpoints that are excatly on the xyz axis ie they are two hardpoints that are in the same place..

Does that answer your questions?,

Harrier





Retreat[![! ---- I'm too badly messed up now[![!

Return to Freelancer 3D Modeling and Texturing Forum