Loading [MathJax]/extensions/Safe.js

Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2 3 4 ... 7   Go Down

Author Topic: Amazon Class Frigate  (Read 13219 times)

0 Members and 1 Guest are viewing this topic.

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Amazon Class Frigate
« on: June 26, 2020, 05:15:11 PM »

I put together the Amazon Class Frigate on the structure of the HMS Tartar, the million dollar question !!  Would there be a way for your weapons to work?  Because I can only get it to fire the torpedoes, I think I should put up a post on how it's armed, some weapons worked until I moved the hooks of the Gun1 gun2 etc and lowered the obj underwater with HIER.HIM attaching

Logged

SAS~Storebror

  • Editor
  • member
  • Offline Offline
  • Posts: 24048
  • Taking a timeout
    • STFU
Re: Amazon Class Frigate
« Reply #1 on: June 26, 2020, 11:15:18 PM »

Looks cool.
I hope a ship expert (asheshouse?) can help you with the remaining issues.

]cheers[
Mike
Logged
Don't split your mentality without thinking twice.

cbradbury

  • member
  • Offline Offline
  • Posts: 1075
Re: Amazon Class Frigate
« Reply #2 on: June 27, 2020, 02:31:22 AM »

You might also get some good advice from the team on this:

https://www.sas1946.com/main/index.php/topic,57689.0.html
Logged

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255
Re: Amazon Class Frigate
« Reply #3 on: June 27, 2020, 08:25:27 AM »

Basic gun setup is as the attached image


Shellstart1 is the hook
Correct orientation of the pivot point axes is important.
Shellstart1 and Head1 have normal orientation.
Gun1 has the Pivot Point y axis pointing down.

Shellstart1 is child of Gun1
Gun1 is child of Head1

To export using Maraz you need some text files which configure the export.

Gun1.cfg
Code: [Select]
scale_factor 1
n_lods 1
lod_dist 3000
lod_type P
lod_prefix L0_
n_coll 0
n_hook 1
Shellstart1
shadow_char Y


Head1.cfg
Code: [Select]
scale_factor 1
n_lods 1
lod_dist 3000
lod_type P
lod_prefix L0_
n_coll 0
n_hook 0
shadow_char Y

I does not matter at this stage that no shadow meshes and no collision meshes are defined. These may be added later.

To run the exporter it is best to use a project file so all meshes are exported together.
The project file will be like the following.

MyWarship.prj
Code: [Select]
num_objects 2 D 1.0
Head1 1
Gun1 1


You will select the project file in the Export screen of Max.
As you add more *.cfg files the number of objects in the *.prj file will increase.
This is enough to generate a working *.msh file for the game.
Once you have the LOD0 mesh working then add collision boxes, shadows and LODs

lod_dist   3000  --- is just an arbitary viewing distance of 3000 meters to get started. When you have added LODs this may reduce to 300
Logged

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Re: Amazon Class Frigate
« Reply #4 on: June 27, 2020, 12:29:52 PM »




This is how I put it now, I hope it is fine.
From the Maraz exporter I don't understand the lod_type P / S part, what would it mean and which one should I use?
Hook Shellstart1 is just a cube right? without any magic
Logged

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255
Re: Amazon Class Frigate
« Reply #5 on: June 27, 2020, 01:23:51 PM »

Image looks good. Object names and pivot orientation looks good.

lod_type   P
lod_prefix   L0_

P tells the exporter that you name the LODs with a prefix
L0_Head1
L1_Head1
L2_Head1

At present you are only creating LOD0
So --      n_lods      1

Other LODs may be added later.

Simple cube is ok for the hook. It is just a placeholder for the Pivot Point. Must be Editable Poly or Editable Mesh.
Logged

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Re: Amazon Class Frigate
« Reply #6 on: June 27, 2020, 02:51:10 PM »



I tried the export with prj but the software closed, I did it in parts but I can't get [Hooks] to appear in the file Gun1.msh something I must not be understanding.
But little by little I am understanding more about the whole matter, I really appreciate the help, thank you !!
Logged

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255
Re: Amazon Class Frigate
« Reply #7 on: June 27, 2020, 02:59:32 PM »

Maraz also creates an Export Log. Could you post it.
Was a Head1.msh and Gun1.msh created when you ran Maraz Exporter or did you get nothing?
Logged

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Re: Amazon Class Frigate
« Reply #8 on: June 27, 2020, 03:01:05 PM »

**************************************** Exporting single Mesh Gun1
Base name = Gun1
Scale Factor: 1.000000
Number of LODs: 1
LOD Dist: 3000
LOD name type: |P|
LOD str: L0_
Number of collision boxes: 0
number of hooks: 1
Hook: Shellstart1
character for shadow: |Y|
Base name = Gun1
Object to export = L0_Gun1
Main TM stored.
Done.
Shadow Object to export = YL0_Gun1
****** WARNING: shadow node YL0_Gun1 not found
**************************************** Done
0 errors, 1 warnings
Logged

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Re: Amazon Class Frigate
« Reply #9 on: June 27, 2020, 03:15:44 PM »

now that I exported again with MyWarship.prj
Code: [Select]
num_objects 2 D 1.0
Head1 1
Gun1 1
Not selecting the Animated Mesh tab worked fine and placed the blessed [Hooks]
Thanks for the help Asheshouse
Logged

asheshouse

  • SAS Team
  • member
  • Offline Offline
  • Posts: 3255
Re: Amazon Class Frigate
« Reply #10 on: June 27, 2020, 03:17:19 PM »

You must include Head1 in the *prj file.  Listed before Gun1
Logged

Ranchero1975

  • member
  • Offline Offline
  • Posts: 49
Re: Amazon Class Frigate
« Reply #11 on: June 27, 2020, 03:23:29 PM »

Do you have it I think?
I copied it as you wrote it
Code: [Select]
num_objects 2 D 1.0
Head1 1
Gun1 1

Now from what I see is going well, or not?
I feel like I had my fourth child


By the way, is the Mesh dump in English somewhere here?

Logged
Pages: [1] 2 3 4 ... 7   Go Up
 

Page created in 0.044 seconds with 26 queries.