.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #11  
Old January 25th, 2007, 06:44 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Here is a save game. I have already designed the ships. This way all you have to do is load the save game and then run a simulated battle using whatever ships you want to see the crazy firing arc problem.
Attached Files
File Type: zip 490340-TNGSavegame.zip (97.4 KB, 129 views)
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #12  
Old January 25th, 2007, 06:46 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

To be safe, add a generic 360 degree firing point (or two complementary 180 degree points to be safer) in the middle of your model.

Once you've got the safety backstop there, then you can add more firing points on your ship's gunports with logical arcs to make it look better in action.
Reply With Quote
  #13  
Old January 25th, 2007, 06:51 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Ok I think I might have the firing arcs figured out somewhat.

I set them to 0-90 90-180 180-270 270-0 This seemed to give the ships the correct firing orientations. I am testing now.
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #14  
Old January 25th, 2007, 07:36 PM
President_Elect_Shang's Avatar

President_Elect_Shang President_Elect_Shang is offline
Brigadier General
 
Join Date: Nov 2001
Location: WA
Posts: 1,894
Thanks: 5
Thanked 3 Times in 3 Posts
President_Elect_Shang is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Ok now I see what you mean by the firing slots being screwy. Wow! Anyway the slots are going to need cleaned up too. And is there anyway to add some details to the model in the ship design screen? That Star Fleet primer gray looks odd under the slots.
__________________
President Elect Shang; Tal-Re Republic of Free Worlds
Welcome to Super Vegeta’s Big Bang Attack… Welcome to OBLIVION!
“Don Panoz made an awesome car and… an incinerator” Bill Auberlen
Reply With Quote
  #15  
Old January 25th, 2007, 07:43 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

The firing arcs are a real PITA. You have X Y Z values that are seem to be near impossible to calculate. I speculate that 0 represents the center of the ship. And that X Y and Z represent the value to where you can move the starting point of that arc. I just haven't figured out which one moves the firing point forward and back ward, are they positive or negative numbers, which one moves the firing arc up and down, and which moves it side to side.

Seems like every change I make, apart from what I did in my previous post thank to SJ's help, just results in an unwanted reaction.

To answer your question PES, I am working on it. I had to use DOGA to make those images because I couldn't get a large enough TOP DOWN view of the ships. They need to be 512x512 jpeg's and the best I could do was mid 200's. If I enlarged them they looked like crap. (I can darken the grey if need bee, but given what the stock ships look like, I thought it would work.)
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #16  
Old January 25th, 2007, 07:59 PM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Look in your modeller to find where you put the 0,0,0 origin.

The firing point coordinates will be relative to that. If you can point your mouse at a location and pull coordinates off that, it should make your life much easier.
You may or may not have to multiply the above coordinate by the scaling factor you specified in the text file.
Reply With Quote
  #17  
Old January 25th, 2007, 09:10 PM

shinigami shinigami is offline
Corporal
 
Join Date: Mar 2006
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
shinigami is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

From this thread: link

Engine Glows and Weapon Flares

Getting the engine glows and weapon flares placed on your model can be extremely frustrating. Hopefully this will make it a little bit easier for you.

Assuming that you are using a test mod to check out your new ships (highly recomended) add a Pictures folder and then an Effects subfolder in it. In the Effects folder add copies of "EngineGlow.bmp" and "weapon_flare.bmp." In your test empire folder add a copy of "BitmapEffects_Combat.txt" and the shipset viewer. Edit the "BitmapEffects_Combat" file so that only the entries for Engine Glow and Firing Flare remain.

Once you've done all that go into the "_Ships_XFileClasses.txt" and find your ship. Change the number of Engine Points to 1, set all the coordinates to 0 (including the offsets,) and make the glow radius 0.9. Save and open the viewer. Go to your ship, zoom in a bit, and press "G" to make the engine glow brighter. To get a really good idea of where the glow is at you may want to zoom in very close and spin the ship.

Now you should have a good idea of which direction you need to move the engine point. In the "_Ships_XFileClasses" file the coordinates are laid out like this;

* x = left and right, positive is right and negative is left
* y = front to back, positive is front (away from the camera) and negative is back (towards the camera)
* z = up and down, positive is down and negative is up (yeah, that's backwards from any 3d I've ever worked with too)


The offsets are just to move the glow off of the model, you can choose to use them or just make the engine points equal the glow points. Once you've got the first one set where you want it you can add the second one and so on. The weapon flares can be done the same way.

It takes some (a lot) of trial and error so you'll find yourself bouncing in and out of the veiwer often but at least it loads quick.

Hopefully this'll help someone out. Any questions please feel free to post them here or pm me. Now, back to working on my set!

[Edit] If you have a hard time finding your engine glow you can always use a weapon flare slot to help you pin down the location. Set one to a 90 degree arc and the arc lines will form an arrow for you. Once you have it nailed down you just put those coordinates back into the engine glow slot. Hope that makes sense!
Reply With Quote
  #18  
Old January 25th, 2007, 11:27 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Thank you for that information, I have one question though, the viewer?
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
  #19  
Old January 25th, 2007, 11:47 PM

shinigami shinigami is offline
Corporal
 
Join Date: Mar 2006
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
shinigami is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

The shipset viewer.
Reply With Quote
  #20  
Old January 25th, 2007, 11:51 PM
Atrocities's Avatar

Atrocities Atrocities is offline
Shrapnel Fanatic
 
Join Date: Dec 2000
Location: USA
Posts: 15,630
Thanks: 0
Thanked 30 Times in 18 Posts
Atrocities is on a distinguished road
Default Re: Trying To Add Ship Set, Keeps Crashing the Gam

Ok found the viewer file. Can you tell me what a bounding box is, and how do I adjust it. In the viewer mine are not placed correctly. Instead of being even and encompassing the ship, they are centered but facing up and down.

I have included an image.
Attached Images
File Type: png 490407-boundbox.PNG (562.6 KB, 101 views)
__________________
Creator of the Star Trek Mod - AST Mod - 78 Ship Sets - Conquest Mod - Atrocities Star Wars Mod - Galaxy Reborn Mod - and Subterfuge Mod.
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 07:01 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.