Author Topic: weapon models  (Read 34245 times)

0 Members and 1 Guest are viewing this topic.

Offline phreak

  • Gun Phreak
  • Moderator
  • 211
  • -1
its even more useless for hi-polyness since missiles aren't lit for some reason, although that can change in about a minute.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
I...uh...don't see the difference in the pictures. What's new?

 

Offline terren

  • 27
well, it is a torpedo.  And I can cut the size down a bit, but you keep the good version just the same.  
got some linking thumbnails thanks to imageshack


the X axis


the Y axis


the Z axis (to small for a thumbnail)

if anyone's intrested in more pics I'll put some in modding.  And we can talk about it there.
Proud user of wings 3-D

                 
Mad? Oh yes quite mad.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
UT, missles.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Unknown Target

  • Get off my lawn!
  • 212
  • Push.Pull?
I see the missiles. What, they weren't shown coming out of the ship before?

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
Quote
Originally posted by Bobboau
has it hard coded for everything, will be made into a ship flag (or something of that nature) eventualy

Have you given this anymore thought yet Bob? Well, I was thinking that rather than a flag, it could be done by a table line.  Example, exerpt from Perseus table entry:

$Default SBanks: ( "Harpoon" "Hornet" )
$SBank Capacity: ( 40, 40 )

add below this---

$SBank Layout:  ( I, X )

where "I" would mean Internal, and "X" would be eXternal.  That way a fighter could be created that has some internal missile pods for some weapons, and then more firepoints on external hardpoints where you WOULD want missiles to be seen.

Whatcha think?
The Trivial Psychic Strikes Again!

 

Offline jc4jc

  • Tap tap tapping
  • 28
    • http://www.geocities.com/jc84jc00
There is an appointed time for everything...
A time to kill and a time to heal;
A time to tear down and a time to build up...
A Time For War and A Time For Peace.
                                   Eccl. 3:1a, 3, 8b

I say let us strive towards PEACE.
                                    JC4JC

Advanced Weapons modder, and Fred2er, TBL modder (mostly ships and weapons). Baisc-Intermediate Ship modder. Intermediate Ani modder. Basic (not that good) Texture modder.

Stargate: SG-1 Earth's Defence. A TC for FS2. Project Lead. Formerly At VWBB and HLP, now residing at Game-Warden.

The Apocalypse Project. A Homeworld, Homeworld:Catcalysm, Homeworld 2 TC for FS2. Lead Freder. (No longer in Production)
JC 4(For) J(esus) C(hrist)

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
that's basicly what I was planning on doing
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Gank

  • 27
Umm, these missiles appear at every secondary hardpoint? Because theres 20-30 on some ships and 20-30 300 poly missiles aint good.

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
wich is why I sudgested not going that high.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Gank

  • 27
Meh, dont see much point in bumping them up from 6 to 8 sides. Most of the V ones are near 100 anyways, better maps might be a better way to go, only get loaded once as opposed to 3000 extra polys.

 

Offline Gank

  • 27


Mapped it anyway, just for practise. Havent modelled anything in over 6 months, might do something useful now.

 

Offline WMCoolmon

  • Purveyor of space crack
  • Moderator
  • 213
I did some work on 3D missile models in the weapons loadout, a lot of the problem has to do with them being uncentered (or so it seems). For some reason maxs.xyz.z seems to go beyond the back of the missile a ways *looks at Bobb*. :p

relevant code:
Code: [Select]
polymodel *pm = model_get(model_id);
vector weap_closeup = {0.0f, 0.0f, 0.0f};
float y_closeup;

//weap_closeup.xyz.z = -(((pm->maxs.xyz.z - pm->mins.xyz.z)/2)/sin(zoom));
weap_closeup.xyz.z = -(((pm->maxs.xyz.z - pm->mins.xyz.z)/2)/tan(zoom / 2)); //A simple trigonometric formula. :)
//Make sure the top and bottom of the weapon are visible.
y_closeup = -(((pm->maxs.xyz.y - pm->mins.xyz.y)/2)/tan(zoom / 2));
if(y_closeup < weap_closeup.xyz.z)
{
weap_closeup.xyz.z = y_closeup;
}
//weap_closeup.xyz.x = pm->mins.xyz.x;
g3_set_view_matrix( &weap_closeup, &vmd_identity_matrix, zoom);
-C

 

Offline Flaser

  • 210
  • man/fish warsie
Do weapon models have LODs too or would it be possible to implement it for them too?
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
yes they do, won't realy help though becase each model is a seperate render call and that's going to slow things down more than anything else.

I think to solve that problem you are going to need to use the bounding box and average it, or look for the main LOD0 parent object and try useing that, missle models are screwy.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
I think this looks ridiculous! :p

Look at these tag-B's! :p
Freelance Modeler | Amateur Artist

 

Offline Taristin

  • Snipes
  • 213
  • BlueScalie
    • Skelkwank Shipyards
And to make things worse! as soon as I fired some tag B's, they switched to a lower LOD and wouldn't revert!

See?
Freelance Modeler | Amateur Artist

 

Offline Ypoknons

  • Ancient
  • 28
    • http://www.xwaupgrade.com
But it works great for Starfuries in TBP. :)





This from TBP 3.1 Raider Wars, taken at 1024x768 downsized, sadly. Should I just post the 1024x768 next time?
Long time ago, you see, there was this thing called the VBB and... oh, nevermind.

 

Offline Flaser

  • 210
  • man/fish warsie
Use the -lvlshot- tag in brackets before the url and /+same after the url - that will auto resize it to fit the forum, but will be accesable to see in full res.
"I was going to become a speed dealer. If one stupid fairytale turns out to be total nonsense, what does the young man do? If you answered, “Wake up and face reality,” you don’t remember what it was like being a young man. You just go to the next entry in the catalogue of lies you can use to destroy your life." - John Dolan

 

Offline MetalDestroyer

  • Starwars reborn!
  • 210
Ouach !!! it's awesome !!