SWAT_OP-R8R wrote:
does it have a sur and hardpoints?
if missing it could prevent the weapon to show up
an empty hardpoint node could cause the same
this would be the most likely error sources (but not the only ones)
It has a SUR and Hardpoints, as well as Rev and Pris data. These were the first things the people on the freelancer discord had me check, among other consistency checks within the UTF structure.
Thaddeus wrote:
as Swat says but also is the texture .mat file okay and do you have it correctly pathed in both weapon_equip.ini and weapon_good.ini
Shop items are rendered by weapon_good.ini
Nice model btw
Everything is pathed correctly I’m afraid. I suspect this issue has something to do with the CMP exporters themselves rather than anything in the ini files!
Cpt_Rei_Fukai wrote:
Some other things I can think of:
-Level of Detail makes the weapons invisble
-Incorrect material hash in VMesh Data
-surs are unlikely to cause problems
-Missing/Incorrect/Empty hardpoint data
-Wrong Material settings
-wrong normals on the model
-wrong settings/paths in the equipment inis
-broken model/mat file
Things you can try:
-Check FLSpew.txt
-use FLScanII and see if it finds something
-upload your utf-files so we can check
Treewyrm walked me through troubleshooting all the LoD and Vmesh stuff, and everything checked out, there were no corrections needed.
If the material hash was wrong then it shouldn’t show up in space either, right? But it shows in space, and is only invisible in the shop.
Is there anything in particular I should look for in missing/incorrect hardpoint data? I hardpointed the same as any model and it has 3 hardpoints: HpMount, HpConnect, and HpFire01
It’s worth noting that if ini paths are wrong, the weapon won’t show up on your weapon list in space. This weapon however, is listed on the weapon list despite being invisible with the Max/Piper exporters. Shooting the weapon like this causes the weapon effect to spawn at the centre of the ship! I’m currently working with the CMP exported via the old milkshape cmp exporter as it’s the only one that makes it visible in space.
For normals I keep two-sided lighting turned off in Maya, so faces with reversed normals will appear black. Maya has a habit of reversing normals when you mirror geometry, so I have good habits with checking normals in my workflow. I’m also using hard edges on all faces with no smoothing! This also wouldn’t explain why the model is only invisible on the station, but visible in space.
It’s using vanilla mat files.
Nothing shows up in FLspew and FLscan doesn’t return any errors.
Jeider wrote:
Please, upload your model to post. Want to try it by my hands.
Possible reason: you haven’t Switch2 parameter inside model.
I’m unfamiliar with the switch2 parameter, how can I check this?
Included in the rar are the CMP, SUR, and the ini entries for weapon_good and weapon_equip that I’m using.
Drop Box Link
Thank you all for your replies!