Visit Captain Sim web site  
  Welcome, Guest. Please Login or Register

 

Page Index Toggle Pages: 1 Send TopicPrint
Creating Weapons (Read 5177 times)
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Creating Weapons
Mar 6th, 2011 at 7:22pm
Print Post  
There seem to be plenty of forums out there with bits an pieces on how to create a new weapon for CSWeapon, but no real tutorials (if there is one, please point me in it's direction). I have Gmax and the FSX SDK, so where do I go from here?
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Creating Weapons
Reply #1 - Mar 6th, 2011 at 10:39pm
Print Post  
Gmax is really only used to create the missile, bomb or projectile and I created it as an .mdl (aircraft model).
Next is the sound of the weapon firing and the explosion or impact sound.
Then it's the effects. The smoke trail, tracer line of bullet or shell, and the explosion or impact.
And finally it is the coding in the CSWeapon.xml file.

I can't point you to a tutorial for creating all that, as I don't know of any. As for a tutorial on creating an .mdl, you could try the FFDS Design Forum. I learnt most of what I know about creating aircraft for Flight Sim there. It's probably far more in depth than what you need to know for creating a model for Weapon for FSX.

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Creating Weapons
Reply #2 - Mar 7th, 2011 at 2:19am
Print Post  
Where can I find the effects that come with CSWeapon? I would imagine that, seeing as I'm just beginning fsx development, I think I'll just borrow those for my weapons for the moment. Thanks!
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Creating Weapons
Reply #3 - Mar 7th, 2011 at 3:36am
Print Post  
Go to [FSX]\SimObjects\Misc\CS_Weapon_XXX\ (where xxx = weapon name), in there you will find a file named sim.cfg with all the information there.

[fltsim.0]
title=CS_Weapon_Hydra70
model=
texture=

[General]
category=SimpleObject

[contact_points]
destroy_on_impact=1

[effects]
ImpactLand  = csweapon_rocket_land
ImpactWater = csweapon_rocket_water1


The effects themselves are in the [FSX]\Effects\ folder

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Creating Weapons
Reply #4 - Mar 7th, 2011 at 3:50am
Print Post  
Awesome. What about the sounds? Or are those contained in the effects?

Oh yeah, how do you specify how large the missile should be?
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Creating Weapons
Reply #5 - Mar 7th, 2011 at 4:20am
Print Post  
boeing247 wrote on Mar 7th, 2011 at 3:50am:
Awesome. What about the sounds? Or are those contained in the effects?

Oh yeah, how do you specify how large the missile should be?

The sounds are found in the [FSX]\Captain_Sim\weapon\sound folder.

To make the missile the correct size, you must create it to scale. On the gmax menu, select Customize > Unit Setup set it to Metric and use millimeters.

When you create an object, before you convert it to and editable poly or editable mesh, you can change the xyz dimensions. After you convert it, the only way to change its size is to use the scale tool.

The object creation takes time and knowledge to complete. It's not just a case of just making it and dropping it into FSX. Sad

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Creating Weapons
Reply #6 - Mar 7th, 2011 at 4:40am
Print Post  
Yeah, I realize that. That's why I'm starting simple. Right now, I'm just learning how to use Gmax. I'm just asking questions in advance so that I know where I'm headed and don't have to go back and change anything.  Smiley
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Markoz
CS Team
*
Offline



Posts: 12368
Location: Victoria, Australia
Joined: Apr 24th, 2009
Gender: Male
Re: Creating Weapons
Reply #7 - Mar 7th, 2011 at 6:13am
Print Post  
I was advised to do all the tutorials until I knew them backwards and THEN start creating an aircraft or scenery for Flight Sim. I never did that, but I sure wish I had. I have to keep referring to my books, The gmax Handbook and gmax Bible, so I can figure out how to do something I need to do. My problem with gmax is because I started out with FS Design Studio 3.

Mark
  

Mark Fletcher



PC: i7 10700K @3.8/5.1GHz | 64GB DDR4 3200 | 12GB RTX 4070 Super | 32" LCD Monitor | 1TB SSD & 2x2TB SSD | Win 11 Pro - FSX/FSX-SE/P3D3/P3D4/P3D5/P3D6/MSFS2020
15.6" Gaming Laptop: i7 7700HQ | 32GB DDR4 | 6GB GTX 1060 | 256GB SSD & 1TB HDD | Win 10 Pro 64bit - FSX-SE/P3D4
Back to top
 
IP Logged
 
boeing247
Senior Member
*
Offline


Pilots: Looking down on
people since 1903

Posts: 1506
Location: Southern CA
Joined: Feb 23rd, 2011
Gender: Male
Re: Creating Weapons
Reply #8 - Mar 8th, 2011 at 2:31am
Print Post  
Thanks for the tips. I'll probably buy at least one of those books and learn how to use the software first.  Smiley
  

-Bram Osterhout&&&&&&&&Dell XPS 8300 | Windows 7 64 Bit | AMD Radeon HD 6770 | Intel i7-2600 @ 3.40GHz | 1000GB Hard Drive
Back to top
WWWGTalkSkype/VoIP  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
 
  « Board Index ‹ Board  ^Top