Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Test Builds => Topic started by: Bobboau on January 13, 2005, 08:56:38 am

Title: weapon models
Post by: Bobboau on January 13, 2005, 08:56:38 am
http://freespace.volitionwatch.com/blackwater/fs2_open_r_wep_model.zip

has it hard coded for everything, will be made into a ship flag (or something of that nature) eventualy. will also eventualy suport primary weapons.
Title: weapon models
Post by: Taristin on January 13, 2005, 09:51:35 am
...poo. Now we have to make HTL missiles, too. :p
Title: weapon models
Post by: KyJelly on January 13, 2005, 11:37:21 am
soo...ugh... what does this build do?
Title: weapon models
Post by: Bobboau on January 13, 2005, 11:38:37 am
load a mission, go to external view fire some missle, it should be quite obvius.
Title: weapon models
Post by: Taristin on January 13, 2005, 11:52:39 am
...should it? I didn't notice anything different. Perhaps a different mission is needed
Title: weapon models
Post by: Deepblue on January 13, 2005, 12:30:38 pm
Yes!! Thank you Bob!!! It just aligns the normal of the missile model with the missile point correct? (Goes to load Starfury)
Title: weapon models
Post by: Admiral Nelson on January 13, 2005, 01:17:36 pm
A picture is worth 1000 words....

Loaded for bear:
(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHarpoon1.jpg)

Sequence showing fresh harpoons pushed out from the inside and locking into place:

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHarpoon3.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHarpoon4.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHarpoon5.jpg)

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHarpoon6.jpg)

Hornets don't seem to work, nor does the bottom rack of harpoons:

(http://img.photobucket.com/albums/v106/NelsonAndBronte/FS2/HercHornetGlitch.jpg)

I'll never cease to be amazed by what you guys can do! Thanks! :)
Title: weapon models
Post by: Taristin on January 13, 2005, 01:26:03 pm
oooh, is that what it does... Hmm...
Title: weapon models
Post by: Drew on January 13, 2005, 04:34:14 pm
it looks ugly on the herc 2.  Somones gonna need to **** with the tables or somthing to make it look better.
Title: weapon models
Post by: WMCoolmon on January 13, 2005, 05:47:31 pm
Quote
Originally posted by Raa
...poo. Now we have to make HTL missiles, too. :p


Heh. Guess what else I was thinking of dynamically generating in the techroom, but having second thoughts because of extremely low-poly models.
Title: weapon models
Post by: Bobboau on January 13, 2005, 06:34:20 pm
guess what made me think of doing this :)
Title: weapon models
Post by: WMCoolmon on January 13, 2005, 06:36:21 pm
Oh. :D
Title: weapon models
Post by: Taristin on January 13, 2005, 07:03:47 pm
Hmm. Missiles shouldn't be too hard to make...
Title: weapon models
Post by: Solatar on January 13, 2005, 09:14:33 pm
Can you have it so that when the missiles load is depleted, no more missiles show up?

EDIT: Interceptors look brilliant on the Valkyrie btw....:)
Title: weapon models
Post by: Bobboau on January 14, 2005, 04:41:06 am
I will eventualy
Title: weapon models
Post by: jc4jc on January 14, 2005, 01:00:47 pm
This will go great with TheBabylon Project and SG1ED
Title: weapon models
Post by: redmenace on January 14, 2005, 05:25:35 pm
//added to the website. Admiral Nelson I added your screen shots too if you don't mind.
Title: weapon models
Post by: terren on January 14, 2005, 07:37:17 pm
I remember people being flamed for Suggesting External missiles, and here they are.  Godly!  tell me this is going to be properly bugchecked?  I'd do it my self but for some reason I cant seem to find the will to play FS2, I'll probly start again next month or something.  

just Godly!
Title: weapon models
Post by: Admiral Nelson on January 14, 2005, 08:38:41 pm
Go ahead and use them. I'm glad to be of some (tiny) service... :)
Title: weapon models
Post by: Bobboau on January 15, 2005, 07:18:46 am
keep in mind this is just an early implementation of the rendering code it can't do anything complex yet.
Title: weapon models
Post by: Deepblue on January 15, 2005, 01:15:43 pm
Very buggy right now, missile rendering seems to be cut off using based on the position of the light source (like it uses stencil shadows to determine where NOT to render the missle). However, it is a start.
Title: weapon models
Post by: Bobboau on January 15, 2005, 02:34:31 pm
eh, it uses the fireing point and orientation of the ship to determine a clip plane. could someone try to figuer out the cercomstances under wich missles get drawn wrongly? (I'm guessing it will have something to do with ships explodeing or jumping in)

I have uploaded an update that should fix the problem of rendering more missles than you have
Title: weapon models
Post by: Vertigo1 on January 15, 2005, 10:45:08 pm
Sorry, I can't seem to do anything other than drool at the Herc 1 model to say anything coherent....
Title: weapon models
Post by: FireCrack on January 16, 2005, 05:30:10 am
Ok, i didnt want to bug all the coders on the SCP but now youve made me do it


Good feature: "Dynamic weapon points"

Basicly each ship has multiple models for their secondary weapon bays,  say x-small (furry) small (swarm) med (harpoon size) large(trebs mabye) and x-large(bombs!)

ok those are just examples of sme sizes, anyways the fighters would have multiple weapon submodels and dependiong on the size of the weapon you picked (from loadout size) it would display a different one, each would also have their own set of firepoints assigned.


So ssay you loadout an erynies with furries, then instead of the normal 5 holes you see 10 or so, if you somehow magicly cram helios's in it you see just one big hole for each "clip"
Title: weapon models
Post by: übermetroid on January 16, 2005, 10:09:20 am
Quote
Originally posted by Bobboau
keep in mind this is just an early implementation of the rendering code it can't do anything complex yet.


This is so cool!  I hope this does not end up like the shadow build though....   :doubt:
Title: weapon models
Post by: Goober5000 on January 16, 2005, 03:02:49 pm
Quote
Originally posted by FireCrack
Good feature: "Dynamic weapon points"
Bad feature.  No cookie for you.
Title: weapon models
Post by: Nuke on January 16, 2005, 03:43:27 pm
i could use this if i could get a "non_reloadable" weapon flag. id love to hang a full size meson torpedo on the underside of a maelstrom gunboat. instead of the smaller bay launched version. when fired the bomb would go byebye and blow some stuff up.
Title: weapon models
Post by: WMCoolmon on January 16, 2005, 03:46:13 pm
Quote
Good feature: "Dynamic weapon points"

Basicly each ship has multiple models for their secondary weapon bays, say x-small (furry) small (swarm) med (harpoon size) large(trebs mabye) and x-large(bombs!)


Use different ships for each type of missile. It's more realistic and gives you an excuse to add more ships. :p

I'm pretty sure you can limit the type of weapons allowed in each bank, too, which is another way to flesh out a ship.

The GTVA's not going to retool a fighter every time a pilot wants to use a different size missile.

Edit: Nuke, maybe just add a third secondary that only one Meson bomb can fit in and with one missile point and only allowing a Meson bomb?
Title: weapon models
Post by: Lynx on January 16, 2005, 03:46:40 pm
Are the missile models destroyable?
Title: weapon models
Post by: FireCrack on January 16, 2005, 04:17:58 pm
Quote
Originally posted by WMCoolmon



The GTVA's not going to retool a fighter every time a pilot wants to use a different size missile.

 


so they'l be launching helios's out of furry sized ports and vice versa?

I think not, there are probably diferent ammo racks that are inserted into the ships seondary bays, each with a different faceplate.
Title: weapon models
Post by: Gank on January 16, 2005, 06:21:27 pm
So high poly missiles are needed? Whats an acceptable polycount?
Title: weapon models
Post by: Taristin on January 16, 2005, 07:08:08 pm
Quote
Originally posted by Gank
So high poly missiles are needed? Whats an acceptable polycount?


I can handle whatever. :p

Go ahead. Make them ~300 polies. :D
Title: weapon models
Post by: Gank on January 16, 2005, 07:27:34 pm
One 300 poly tempest (294 to be exact)
(http://img.photobucket.com/albums/v112/Casuir/tempest.png)
Title: weapon models
Post by: redmenace on January 16, 2005, 07:28:43 pm
nice, anyone want to map it?
Title: weapon models
Post by: Gank on January 16, 2005, 07:33:48 pm
I'll do that meself as soon as gmax downloads, prob be a day or two before its finished. Missiles use lods right?
Title: weapon models
Post by: redmenace on January 16, 2005, 07:36:01 pm
There are some High Poly missles already done IIRC

Yes, LOD them please.
Title: weapon models
Post by: Gank on January 16, 2005, 07:41:22 pm
Which ones, theres a hornet model in my models folder from somewhere but its a bit wasteful on polys.

Lod 2 should be what, less than 50?
Title: weapon models
Post by: redmenace on January 16, 2005, 08:55:43 pm
use your best judgement. But there were lessons learned from the highpoly hornet that indicated that LODs should be used. I am not a moddelor, but maybe we should use the the original LODs, with the exception of LOD0 since that is the one that would be used on the outside of the fighter or bomber.
Title: weapon models
Post by: terren on January 16, 2005, 10:13:14 pm
I have a Shiven (black red and darker red) High poly torpedo, that's around 900.  the thing looks Amazing let me see if I can find webspace for a few screenies.

if anyone wants to host them for me, I'll be happy to let you.
Title: weapon models
Post by: Bobboau on January 16, 2005, 10:25:57 pm
it's already prety waistfull in rendering as it is,  I would recomend not makeing 900 poly missles, just make 8 point cylender versions of the exsisting models should be more than enough (maybe more for the big bombs)
Title: weapon models
Post by: phreak on January 16, 2005, 10:28:18 pm
its even more useless for hi-polyness since missiles aren't lit for some reason, although that can change in about a minute.
Title: weapon models
Post by: Unknown Target on January 16, 2005, 10:43:27 pm
I...uh...don't see the difference in the pictures. What's new?
Title: weapon models
Post by: terren on January 16, 2005, 10:59:46 pm
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

(http://img135.exs.cx/img135/1120/vampirex6dn.th.jpg) (http://img135.exs.cx/my.php?loc=img135&image=vampirex6dn.jpg)
the X axis

(http://img135.exs.cx/img135/6754/vampirey5cv.th.jpg) (http://img135.exs.cx/my.php?loc=img135&image=vampirey5cv.jpg)
the Y axis

(http://img135.exs.cx/img135/321/vampirez3xe.jpg)
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.
Title: weapon models
Post by: Bobboau on January 17, 2005, 01:16:53 am
UT, missles.
Title: weapon models
Post by: Unknown Target on January 17, 2005, 01:18:03 am
I see the missiles. What, they weren't shown coming out of the ship before?
Title: Re: weapon models
Post by: Trivial Psychic on January 17, 2005, 01:56:17 am
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?
Title: weapon models
Post by: jc4jc on January 17, 2005, 09:10:23 am
I like.
Title: weapon models
Post by: Bobboau on January 17, 2005, 11:10:38 am
that's basicly what I was planning on doing
Title: weapon models
Post by: Gank on January 17, 2005, 11:30:28 am
Umm, these missiles appear at every secondary hardpoint? Because theres 20-30 on some ships and 20-30 300 poly missiles aint good.
Title: weapon models
Post by: Bobboau on January 17, 2005, 11:33:37 am
wich is why I sudgested not going that high.
Title: weapon models
Post by: Gank on January 17, 2005, 11:41:07 am
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.
Title: weapon models
Post by: Gank on January 17, 2005, 06:33:22 pm
(http://img.photobucket.com/albums/v112/Casuir/temptex.png)

Mapped it anyway, just for practise. Havent modelled anything in over 6 months, might do something useful now.
Title: weapon models
Post by: WMCoolmon on January 17, 2005, 09:33:10 pm
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);
Title: weapon models
Post by: Flaser on January 18, 2005, 01:02:44 am
Do weapon models have LODs too or would it be possible to implement it for them too?
Title: weapon models
Post by: Bobboau on January 18, 2005, 05:33:15 pm
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.
Title: weapon models
Post by: Taristin on January 19, 2005, 01:28:20 pm
I think this looks ridiculous! :p

Look at these tag-B's! :p
Title: weapon models
Post by: Taristin on January 19, 2005, 01:28:51 pm
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?
Title: weapon models
Post by: Ypoknons on January 20, 2005, 08:09:06 am
But it works great for Starfuries in TBP. :)

(http://photos2.flickr.com/3575642_aa99b1c10d_o.jpg)

(http://photos2.flickr.com/3575643_2a3d4413e7_o.jpg)

This from TBP 3.1 Raider Wars, taken at 1024x768 downsized, sadly. Should I just post the 1024x768 next time?
Title: weapon models
Post by: Flaser on January 20, 2005, 09:46:47 am
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.
Title: weapon models
Post by: MetalDestroyer on January 20, 2005, 09:55:29 am
Ouach !!! it's awesome !!
Title: weapon models
Post by: DaBrain on January 20, 2005, 10:41:55 am
Yeah, it works, but there is a problem:
(http://img31.exs.cx/img31/3131/screen078pi.jpg)


Try to use you afterburner.
Title: weapon models
Post by: Taristin on January 20, 2005, 10:52:43 am
They're providing aditional thrust! :p
Title: weapon models
Post by: WMCoolmon on January 20, 2005, 03:47:16 pm
:lol:

Just hope they don't detonate when their fuel runs out. :p
Title: weapon models
Post by: Gregster2k on January 20, 2005, 04:14:53 pm
ROFL!!!!!!!!!!
OMG!
I just realized that bug could become a FEATURE! Bobbeau, can you adapt this so that people can make a weapon/missile that is in fact another engine for your ship (think a refit modification on missions that you cant change your loadout on!) or a secondary afterburner booster?!

Starlancer had something like that! You could, instead of mounting missiles, mount extra afterburner fuel pods. But this is even cooler than that. Gotta go faster? MOUNT MORE ENGINES! ROFL! PLEASE expand upon this.

Practical future applications: If we take this step, we take a step toward the ability to have ultimate loadout control: The missile list wouldnt be just missiles anymore --- it'd be extra EQUIPMENT. Cloaking devices. Experimental warp drives you can't unmount by order of mission designer. Prototype beam cannons. A secondary shield energy injector for faster shield regeneration. A shield capacity booster. Armor upgrades. Enhanced radar systems (think Porto-AWACS). Retro rockets for backward thrust. Think about the possibilties....

 I would LOVE to try my hand at balancing "rocket booster missiles" that you cant fire but boost your top speed/ab whatever ^_^
It all starts with one: full support for AB-boosting, missilebay mounted ENGINE PODS!
Title: weapon models
Post by: aldo_14 on January 20, 2005, 04:47:33 pm
Goddammit!  Every time I think I've finished a ship, you add another feature I can incorporate.









































:p

nice work BTW
Title: weapon models
Post by: WMCoolmon on January 20, 2005, 07:34:26 pm
Okay modellers, do your worst! :p

http://www.hard-light.net/forums/index.php/topic,29763.0.html
Title: weapon models
Post by: SadisticSid on January 20, 2005, 08:05:56 pm
Quote
Originally posted by Gregster2k
ROFL!!!!!!!!!!
OMG!
I just realized that bug could become a FEATURE! Bobbeau, can you adapt this so that people can make a weapon/missile that is in fact another engine for your ship (think a refit modification on missions that you cant change your loadout on!) or a secondary afterburner booster?!

Starlancer had something like that! You could, instead of mounting missiles, mount extra afterburner fuel pods. But this is even cooler than that. Gotta go faster? MOUNT MORE ENGINES! ROFL! PLEASE expand upon this.

Practical future applications: If we take this step, we take a step toward the ability to have ultimate loadout control: The missile list wouldnt be just missiles anymore --- it'd be extra EQUIPMENT. Cloaking devices. Experimental warp drives you can't unmount by order of mission designer. Prototype beam cannons. A secondary shield energy injector for faster shield regeneration. A shield capacity booster. Armor upgrades. Enhanced radar systems (think Porto-AWACS). Retro rockets for backward thrust. Think about the possibilties....

 I would LOVE to try my hand at balancing "rocket booster missiles" that you cant fire but boost your top speed/ab whatever ^_^
It all starts with one: full support for AB-boosting, missilebay mounted ENGINE PODS!


This is all being done under the banner of "tertiary weapons". Go search the forums.
Title: weapon models
Post by: phreak on January 20, 2005, 08:29:47 pm
or pester me

preferably just search :dizzy:
Title: weapon models
Post by: Setekh on January 21, 2005, 04:39:26 am
Quote
Originally posted by Unknown Target
I see the missiles. What, they weren't shown coming out of the ship before?


You're kidding, right? :nervous:
Title: weapon models
Post by: jc4jc on January 21, 2005, 09:19:26 am
Quote

Originally posted by Unknown Target
I see the missiles. What, they weren't shown coming out of the ship before?
[/qoute]

When they fired yes, but they were not sticking out waiting to be fire.
Title: weapon models
Post by: Mav on January 21, 2005, 11:57:43 am
This is VERY nice. :cool:

I'd vote to make it either a ships.tbl feature or possibly a .pof feature (i.e. a value you set for each missile/gun point you want to have this on; that way it'd also be assured that that point is placed properly with respewct to the model and you won't get pics like the one Raa came up with).


And Raa: Yes, it looks scary on that fighter; from the looks of it I'd say that the code places the end of the missile model at the firing point, and the firing point is placed at the exit of the missile launch tube. You see, original FS1/2 ships weren't designed with this in mind. They're supposed to have internal missilebays.
So either you don't use this feature with original FS ships or you (or someone else) have to move the firing points a bit more backwards.

About the problem where it displays the wrong LODs - I have completely no idea....
Title: weapon models
Post by: Deepblue on January 21, 2005, 04:37:59 pm
Quote
Originally posted by Ypoknons
But it works great for Starfuries in TBP. :)

(http://photos2.flickr.com/3575642_aa99b1c10d_o.jpg)

(http://photos2.flickr.com/3575643_2a3d4413e7_o.jpg)

This from TBP 3.1 Raider Wars, taken at 1024x768 downsized, sadly. Should I just post the 1024x768 next time?


Ah, here lies the problem I was mentioning, the missile rendering is screwy.
Title: weapon models
Post by: Gregster2k on January 22, 2005, 03:45:27 am
Quote
Originally posted by SadisticSid


This is all being done under the banner of "tertiary weapons". Go search the forums.


Heh. I discovered that after the fact an hour after I posted that message but was too lazy to change it.
Title: weapon models
Post by: Rictor on February 11, 2005, 06:00:47 pm
Bob, you're a genius and saint.

Those TBP screens look, well, fantastic is an understatement.
Title: weapon models
Post by: Descenter on February 12, 2005, 11:51:45 pm
Hey just an idea but couldn't you make a new table file for the other missles?  I know that if you overpack the ships.tbl the game crashes, at leatst in normal mode, however, you would be able to keep as much space for the ships.tbl file open for other add-ons later if you need them.   Anyhow just an idea...:D

Michael Blanchard (Descenter)
Title: weapon models
Post by: Bobboau on February 13, 2005, 01:26:12 am
ummm... this adds like two or three lines to the table
Title: weapon models
Post by: Descenter on February 13, 2005, 01:46:08 am
Welll, like i said, its just an idea just to keep things simple, (depending on how you would look at simple for FS2).  Whatever, i new to this sort of thing anyhow.
Title: weapon models
Post by: Ulala on February 13, 2005, 02:39:24 am
:welcome:

Ha, one of my first welcome beams. :)
Title: weapon models
Post by: Bobboau on February 13, 2005, 03:17:24 am
well you can't get much simpler than simply adding a line to an exsisting table, much like you can't get much more complex than makeing a new table that ties into another table.

anyway, why don't more peoplle test this, granted the link to the quasi-final build is in another thread, but it bugs me to no end when I ask for testers get maybe one or two replies then the thread just sinks
Title: weapon models
Post by: Descenter on February 13, 2005, 12:01:58 pm
Ok, well then my next question is, is the couple of line of code for the entire table or will you have to make the lines for each ship, to get the proper effect.  Im going to try to learn as much as possible about playing around with open source, as i know so little, so forgive me if these question are a little petty.

Michael
Title: weapon models
Post by: Bobboau on February 13, 2005, 12:51:37 pm
for each ship that you want to use this on you have to add one line of table code, this is a minor deail of a ship type charicteristic, this is what the ships table is for
Title: weapon models
Post by: Descenter on February 13, 2005, 12:53:45 pm
Oh,ok, so what i am making out of all this is that you are creating just another part of the ship that contains the missles.
Title: weapon models
Post by: StratComm on February 13, 2005, 12:59:55 pm
Actually no, the idea is that the missiles are rendered from their firepoints on the condition that there is a flag set on that firepoint to show ordinance.  The missiles are seperate models and are rendered as such.  You'd have to add a line to the table for each ship you'd want to use this, but there's no need to touch the models themselves.
Title: weapon models
Post by: Nuke on February 13, 2005, 04:58:10 pm
you think show wep support uses alot of table space, you should check out submodel animations :D
Title: weapon models
Post by: Descenter on February 13, 2005, 05:04:05 pm
Im curious, does the ships.tbl have a max size limit in the open source, like it does in normal fs2, where the max i have heard and expeirenced was 380KB?  Because if it doesn't, it will mean that i can put together all the ships I have and not worry about FS2 crashing, which is something that i wanted to do now for a long time.
Title: weapon models
Post by: StratComm on February 13, 2005, 07:03:54 pm
The limit, if it still exists, is a 1Mb.  There's still a defined-ship limit though so you can't have over 200 discrete entries in tables without the game borking out.  Some, like the bastion, can go completely; others would be tougher to justify taking out.
Title: weapon models
Post by: Bobboau on February 13, 2005, 07:31:19 pm
there is a limit but it can be easily raised
Title: weapon models
Post by: StratComm on February 13, 2005, 07:33:09 pm
Did that breaking multiplayer ever get resolved?
Title: weapon models
Post by: Bobboau on February 13, 2005, 07:36:13 pm
no, there is some weird network packet V code we haven't been able to figure out yet
Title: weapon models
Post by: ZylonBane on February 14, 2005, 02:44:50 pm
Quote
Originally posted by Ypoknons
(http://photos2.flickr.com/3575642_aa99b1c10d_o.jpg)

Yiff! Never mind high-poly missiles... when is someone going to make high-poly asteroids?
Title: weapon models
Post by: Flaser on February 14, 2005, 03:01:45 pm
Quote
Originally posted by ZylonBane

Yiff! Never mind high-poly missiles... when is someone going to make high-poly asteroids?


Sandwich made them in MAX, they are up for conversion AFAIK.
Title: weapon models
Post by: Gregster2k on February 14, 2005, 04:57:22 pm
The last time I installed high poly 'roids I had issues with certain asteroid fields being...invisible...

LOL...that SOC escort-Iceni mission really sucked because of that. =P
Title: weapon models
Post by: Cobra on February 14, 2005, 06:21:18 pm
i noticed in one of Admiral Nelson's pics that the harpoons are not aligned to the missile tubes.

has this been updated yet?
Title: weapon models
Post by: Taristin on February 14, 2005, 06:28:01 pm
They're not aligned because Volition was sloppy with actually making the missile points line up with the maps they made. It'd be nothing to fix it, but no one wants to. :p
Title: weapon models
Post by: StratComm on February 14, 2005, 06:31:08 pm
No they are aligned, just sitting forward of the tubes by a small distance.  And I can tell you without looking at either the herc or the harpoon exactly what's causing them to float like they are; most missile models are well forward of their centerpoints (all points defined in +z space, if you're familiar with FS's coordinate system), because missile trails are rendered from point 0,0,0 on the missile.  So to keep the trails from overlapping the missile, the missiles were moved forward within their own model file when they were created.  As far as I know, this has not been fixed.

Ok, so on looking again, the problem is compounded by the missiles themselves and the fact that they are indeed not aligned.  That's Bob's Herc though, so I'm not sure we can blame :v: for this one.
Title: weapon models
Post by: Descenter on February 14, 2005, 06:35:46 pm
if any one me too i can edit the firing points within all the models, tis an easy fix, just would take awhile with all the different ships and all
Title: weapon models
Post by: StratComm on February 14, 2005, 06:36:37 pm
Don't do it yet, I'm going to be releasing an update to most of the terran fighters within the next few days.
Title: weapon models
Post by: Descenter on February 14, 2005, 06:38:48 pm
ok but if you ever need to just ask, oh and where are you ging to post this update so that i may obtain a copy?
Title: weapon models
Post by: StratComm on February 14, 2005, 07:01:45 pm
I'll post it in the main SCP forum, for the record.  I've still got a pair of bombers to do before I get there, and I've got a lot of coursework this week, so it may be a little while before they show up.  It's minor, but once I get the glowpoints added data import in PCS no longer works correctly.
Title: weapon models
Post by: deep_eyes on February 14, 2005, 10:24:45 pm
Quote
Originally posted by WMCoolmon



The GTVA's not going to retool a fighter every time a pilot wants to use a different size missile.



Heheh do u mean HLP-SCP instead of GTVA lmao?!
Title: weapon models
Post by: Setekh on February 15, 2005, 10:38:20 pm
Threads split for great justice. No more discussion of reactionary sounds, please. :p
Title: weapon models
Post by: Taristin on February 16, 2005, 10:42:03 pm
*snicker*
Title: weapon models
Post by: Cobra on February 16, 2005, 10:43:21 pm
MAHAHAHAHAHH!
Title: weapon models
Post by: StratComm on February 16, 2005, 10:47:11 pm
Stopit, damnit!  

Raa, I know you know what you're doing but Cobra you're treading in dangerous waters.  Keep the spam out of the SCP subforums.  There's a reason only mods can start new threads in these things.  Anywhere else, fine.  But leave the dev thread alone.
Title: weapon models
Post by: Cobra on February 16, 2005, 10:48:30 pm
ok, sorry. :D
Title: weapon models
Post by: Taristin on February 16, 2005, 11:06:10 pm
That was actually going to be my only reply to the whole issue. I am more than willing to drop it. :)

I honestly never expected so much to come of my 'noticing' his word usage.
Title: weapon models
Post by: Bobboau on February 17, 2005, 09:15:19 am
and here is the more recent build from the other thread
http://freespace.volitionwatch.com/blackwater/fs2_open_r_wm.zip
I would have gotten more done, but I'v had school and my back has been totaly fûcked the last few days.
Title: weapon models
Post by: DaBrain on February 17, 2005, 01:54:08 pm
It's shame I do not have much time to test this, but I'll do what I can.


Edit: No sound. I can't hear anything. But my PC is acting strange ATM, but the sound works in other aplications.
Title: weapon models
Post by: Descenter on February 17, 2005, 04:48:06 pm
I'll try to help out too if i can.  Got four days on my hand for this weekend, at least till Tuesday, so I'll test it until then.
Title: weapon models
Post by: Cobra on February 17, 2005, 08:02:33 pm
Same here. I'm almost an expert in using modelview. I'm da master at firing points, view points, etc. I JUST WANT THE OPTION TO ADD THRUSTERS. then i would be happy with it :)
Title: weapon models
Post by: DaBrain on February 18, 2005, 09:57:58 am
Quote
Originally posted by DaBrain
Edit: No sound. I can't hear anything. But my PC is acting strange ATM, but the sound works in other aplications.


I tried an other build and it worked.

Now that I've restarted the PC and switched back to your build it works again. So I guess my system was causing this bug.
Title: weapon models
Post by: Bobboau on February 18, 2005, 10:26:59 am
good, I had no idea were to start looking with that.
does anyone have more information on the startup locking? I'm not able to replicate it, try starting with a retail data set.
Title: weapon models
Post by: Nuke on February 18, 2005, 07:21:38 pm
the only time i get a crash/lockup is when i use a ship based gatling weapon.
Title: weapon models
Post by: Cobra on February 18, 2005, 08:04:44 pm
maybe you're using something that is invalid.

[EDIT] Directed to Nuke.
Title: weapon models
Post by: Flipside on February 18, 2005, 08:03:46 pm
Quote
Originally posted by Cobra
Same here. I'm almost an expert in using modelview. I'm da master at firing points, view points, etc. I JUST WANT THE OPTION TO ADD THRUSTERS. then i would be happy with it :)


I just put them in at 0,0,0 with PCS and then fiddle with them in Modelview ;)
Title: OMG
Post by: Getter Robo G on February 18, 2005, 08:11:14 pm
3 years and I didn't figure that out....

(hits self repeatedly with a frozen trout) "Me Culpa" x 20...
Title: weapon models
Post by: Cobra on February 18, 2005, 08:13:31 pm
:lol: shadowwolf_ih was helping me out with da PCS.
Title: weapon models
Post by: Raptor on February 19, 2005, 09:42:18 am
Just as a point of infomation, I did hi-poly versions of the Hornet, the Trebuchet, and two Shivan Missiles (hornet and treb counterparts).  I mapped+textured both the Hornet and the Treb, then passed the whole lot to Lighty.

This development might get me to finish off that project, and get those bombs done.  They were the main reason I started doing hi-poly warheads.
Title: weapon models
Post by: Bobboau on February 19, 2005, 12:06:49 pm
ok I have updated this build (http://freespace.volitionwatch.com/blackwater/fs2_open_r_wm.zip) the gatling gun code should be working in it now. I would like all of you to notice that I have made a feature or two specificly for nuke here becase he has been very helpfull by testing my code all of you who want shaders could learn a thing or two from this.
Title: weapon models
Post by: DaBrain on February 19, 2005, 12:47:29 pm
I had no problems with the last build, butI'm moving to the new one now.
Title: weapon models
Post by: Bobboau on February 19, 2005, 01:01:46 pm
this thread (http://www.hard-light.net/forums/index.php/topic,30458.0.html) has all information needed on how to activate all the features
Title: weapon models
Post by: Lynx on February 19, 2005, 02:32:59 pm
The build CTDs for me if a ship has more than one yes in the $Show weapon models or whatever it's called.
Title: weapon models
Post by: Bobboau on February 19, 2005, 03:53:33 pm
for primary weapons, secondary, or both?
Title: weapon models
Post by: Lynx on February 19, 2005, 04:32:00 pm
Secondaries. Haven't tried primaries.
Title: weapon models
Post by: Bobboau on February 19, 2005, 04:53:26 pm
does it crash during the inital load (before pilot selection)?
Title: weapon models
Post by: Lynx on February 19, 2005, 05:00:46 pm
Yeah, before pilot selection. IIRC Nuke reported the same, so I don't think it's a table error on my side.
Title: weapon models
Post by: Bobboau on February 19, 2005, 05:07:19 pm
post the offending entree.
Title: weapon models
Post by: Lynx on February 19, 2005, 05:24:41 pm
The tables(WCS mod tables) worked up to now without any problems. This is the only thing I changed:

Quote

$SBank Capacity: ( 40, 20, 20 )
$Show Weapon Models: ( yes, yes, yes )
$Shields: 200


Nothing was changed in any table, except that red entry above entered for only one particular ship in ships tbl.
Title: weapon models
Post by: Bobboau on February 19, 2005, 05:49:45 pm
OH!
found it!
it was checking how many primary weapons the ship had when it should have been checking secondarys, I wasn't able to find this before because I was checking ships with the same or larger number of primaries as secondaries

http://freespace.volitionwatch.com/blackwater/fs2_open_r_wm.zip this buld has been updated.
Title: weapon models
Post by: StratComm on February 19, 2005, 05:54:38 pm
That mix-up happens a lot, doesn't it Bob? :p
Title: weapon models
Post by: Bobboau on February 19, 2005, 05:58:35 pm
more oftine than I'd like.
Title: weapon models
Post by: Cobra on February 19, 2005, 06:59:37 pm
Quote
Originally posted by Raptor
Just as a point of infomation, I did hi-poly versions of the Hornet, the Trebuchet, and two Shivan Missiles (hornet and treb counterparts).  I mapped+textured both the Hornet and the Treb, then passed the whole lot to Lighty.

This development might get me to finish off that project, and get those bombs done.  They were the main reason I started doing hi-poly warheads.
 


Good thing you're doing that. Cyclops and Helios look HORRIBLE.
Title: weapon models
Post by: Lynx on February 19, 2005, 07:06:07 pm
Quote
Originally posted by Bobboau
OH!
found it!
it was checking how many primary weapons the ship had when it should have been checking secondarys, I wasn't able to find this before because I was checking ships with the same or larger number of primaries as secondaries

http://freespace.volitionwatch.com/blackwater/fs2_open_r_wm.zipthis buld has been updated.


Link no workee.:(
Title: weapon models
Post by: Cobra on February 19, 2005, 07:07:02 pm
same here. 404 Telefragged. :confused:
Title: weapon models
Post by: StratComm on February 19, 2005, 07:14:54 pm
That's because he included the 'this' from his sentence in the url by mistake-presumably because he let it autoparse and forgot the space.  Come on guys, use a little internet common sense.

Quote
Originally posted by Bobboau
http://freespace.volitionwatch.com/blackwater/fs2_open_r_wm.zip
Title: weapon models
Post by: Taristin on February 19, 2005, 07:17:32 pm
Seriously... :wtf:
Title: weapon models
Post by: Bobboau on February 19, 2005, 07:21:02 pm
yeah... I fixed it
Title: weapon models
Post by: WMCoolmon on February 19, 2005, 07:38:43 pm
Quote
Originally posted by Raptor
Just as a point of infomation, I did hi-poly versions of the Hornet, the Trebuchet, and two Shivan Missiles (hornet and treb counterparts).  I mapped+textured both the Hornet and the Treb, then passed the whole lot to Lighty.

This development might get me to finish off that project, and get those bombs done.  They were the main reason I started doing hi-poly warheads.
 


The ship/weapon selection screen should also have support for 3D guns. Add a $Tech model: field with a POF after +Tech Description and it should show up in the tech room.

Edit: While I'm thinking 'bout that, Bobb, is there any way to easily rotate a model around an offcenter point? eg I have the center point for the actual missile subobject, but I'm at a loss as to how to rotate it because passing a different matrix to model_render will always rotate the whole model around the center point of the whole thing, including the nonexistent engines. (Or I suppose I could look into displaying the engines in the weap select screen.)
Title: weapon models
Post by: Bobboau on February 19, 2005, 07:44:54 pm
look at the acen code

(Interp_flags & MR_AUTOCENTER)
Title: weapon models
Post by: Nuke on February 20, 2005, 04:47:31 am
ok i think you fixed all the major bugs i was running into, sorry it took me so long to test i had to reinstall windows (it finally pissed me off).
Title: weapon models
Post by: Bobboau on February 20, 2005, 01:29:06 pm
were you able to get the wepon model rotation code working? is goober's rotation code still broken?
Title: weapon models
Post by: Bobboau on February 20, 2005, 01:30:55 pm
here is the test model I was useing, it was working last I checked
Title: weapon models
Post by: Nuke on February 20, 2005, 03:56:31 pm
your rotations, no, goobers yes. i might just not have my gatling weapon model set right though.
Title: weapon models
Post by: Bobboau on February 20, 2005, 06:44:25 pm
it's not the whole model that is suposed to spin, just one or more submodels, the main 'hull' subobject will never move
Title: weapon models
Post by: Nuke on February 21, 2005, 02:56:26 am
hey it worked, i just had a : where it souldnt be. its the same model i included in the nukemod prerelease, so to get it to work just remove the : from the end of $gun_rotation: and uncoment the proper entries in the tables.

any way we can get a $shots per rotation: flag that would override firewate and get properly linked rotation/firing? right now it works like the gatling gun in rtcw.
Title: weapon models
Post by: Bobboau on February 21, 2005, 07:21:03 am
that may be doable, wish you'd have said this 24 hours ago when I had more than enough time to work on it.
Title: weapon models
Post by: Nuke on February 21, 2005, 08:29:43 pm
id have tested it sooner but i was half asleep
Title: weapon models
Post by: Omniscaper on February 26, 2005, 10:37:02 am
Are rotations still the only animation that can be done? I thought it would be cool to see guns recoil with every shot.
Title: weapon models
Post by: Cobra on February 26, 2005, 10:47:14 am
well, if goober works long and hard, we will soon realize that that is possible :D ;)
Title: weapon models
Post by: Black Wolf on February 26, 2005, 10:52:07 am
Quote
Originally posted by Omniscaper
Are rotations still the only animation that can be done? I thought it would be cool to see guns recoil with every shot.


Why can't they? I mean, the earth looks flat - a really, really big rotation would look, to the casual eye, like an up/down motion, no?
Title: weapon models
Post by: Flaser on February 26, 2005, 11:23:17 am
Quote
Originally posted by Black Wolf


Why can't they? I mean, the earth looks flat - a really, really big rotation would look, to the casual eye, like an up/down motion, no?


Translating motion is already possible AFAIK.

However turret recoil wasn't coded since the coders don't want to touch that code even with a ten foot pole its so much of a mess.
Title: weapon models
Post by: Goober5000 on February 26, 2005, 01:46:32 pm
Turret recoil is probably possible given enough work.  However, we'd have to have a lot of features in place to make it work - the primary one being translating submodel motion.  I think Bobboau managed to get translation working, but it's in his own private codebase so we can't do anything with it.
Title: weapon models
Post by: Omniscaper on February 26, 2005, 02:20:51 pm
How about Capship turrents? Could such an animation be put on them?
Title: weapon models
Post by: Nuke on February 26, 2005, 09:42:51 pm
if you want to see translations work, download nukemod, uncomment the animation lines in the table for pf chimera, and run in one of bobs builds. got to external and toggle through your secondary weapons, pay attention to the forward missile bay :D its kind of a rotation based translation, but you can do an acuurate one with two counter rotating objects. i wonder if bob's view weap support would work on turrets.
Title: weapon models
Post by: Bobboau on February 26, 2005, 10:36:17 pm
I do not have translation working, though it probly wouldn't be *that hard... well it'd need to update rendering, colision, and posably the matrix stack... hmmm, the more I think about it the more I'm inclined to sudgest people just use the hack fix that Nuke has pioneered.