Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: phreak on February 12, 2004, 06:54:40 pm

Title: (yet) another new weapon option
Post by: phreak on February 12, 2004, 06:54:40 pm
Its completed and i'll have it committed once i get 32bit textures working in OpenGL.

heres a pic:

(http://www.penguinbomb.com/phreak/cone.jpg)

i hope you can see what is going on.
Title: (yet) another new weapon option
Post by: Taristin on February 12, 2004, 06:58:40 pm
I see a shockwave... and some spawned bits... But nothing I can tell that is done with the code...
Title: (yet) another new weapon option
Post by: Flipside on February 12, 2004, 07:00:26 pm
I see a wobbly shockwave, which is quite cool, what looks like a load of missiles, and a ship, unidentified. :)
Title: (yet) another new weapon option
Post by: GeistKrieger on February 12, 2004, 07:02:30 pm
3d shockwave 32bit is what i guess
Title: (yet) another new weapon option
Post by: KARMA on February 12, 2004, 07:05:39 pm
the shockwave is strange, but I don't understand exactly why
Title: (yet) another new weapon option
Post by: StratComm on February 12, 2004, 07:06:34 pm
Nope, it's a cluster missile :D

All of the spawns are firing within a specified angle of the forward normal of the missile that is exploding.  Actually, it's a multiple warhead delivery system.
Title: (yet) another new weapon option
Post by: Taristin on February 12, 2004, 07:08:15 pm
...Ahh. I saw that, but it didn't click as being unusual for some reason. That'll be cool for packet bombs!
Title: (yet) another new weapon option
Post by: StratComm on February 12, 2004, 07:09:13 pm
Yeah not exactly sure why one would need 32-bit textures for it to work though.
Title: (yet) another new weapon option
Post by: GeistKrieger on February 12, 2004, 07:14:32 pm
This hole 32 bit thing is killing my 16 mb card. Time to upgrade.
Title: (yet) another new weapon option
Post by: Taristin on February 12, 2004, 07:15:33 pm
Heeh. I use the 32-bit stuffs with my card set to 16 bit mode. Still looks a great deal better than pcx's. ;7
Title: (yet) another new weapon option
Post by: GeistKrieger on February 12, 2004, 07:18:04 pm
Quote
Originally posted by Raa Tor'h
Heeh. I use the 32-bit stuffs with my card set to 16 bit mode. Still looks a great deal better than pcx's. ;7

Hm ill try that. It dont look bad does it.
Title: (yet) another new weapon option
Post by: phreak on February 12, 2004, 07:20:30 pm
Quote
Originally posted by StratComm
Nope, it's a cluster missile :D

All of the spawns are firing within a specified angle of the forward normal of the missile that is exploding.  Actually, it's a multiple warhead delivery system.


ding ding ding!  cookie

as for the 32 bit stuff. goob wont let me commit until i get something done that needs to be done.
Title: (yet) another new weapon option
Post by: Taristin on February 12, 2004, 07:24:43 pm
Quote
Originally posted by GeistKrieger

Hm ill try that. It dont look bad does it.


I didn't realize it ws lower bit until someone pointed out to me that it wass till 16...
Title: (yet) another new weapon option
Post by: Nuke on February 13, 2004, 02:34:33 am
show me hthe table stuff!
Title: (yet) another new weapon option
Post by: Zarax on February 13, 2004, 04:02:41 am
Wasn't the cluster bomb feature included since FS1?
Title: (yet) another new weapon option
Post by: Grug on February 13, 2004, 04:08:32 am
nice work. :)

yah the 'fighter killer' uses cluster missiles, not sure of bombs tho...

-Grug
Title: (yet) another new weapon option
Post by: Lightspeed on February 13, 2004, 08:03:42 am
1) I'm shocked that so many people did not recognize the STANDARD FS2 shockwave (!!)

2) Clusters always were supported (and who doesn't know hasn't played the game), BUT they spawned missiles in all directions, and this lets you specify a certain angle in which the spawn babies are fired.

3) I've been waiting for this ;7
Title: (yet) another new weapon option
Post by: Stryke 9 on February 13, 2004, 08:15:53 am
Yay! Space shotguns!
Title: (yet) another new weapon option
Post by: Trivial Psychic on February 13, 2004, 03:50:44 pm
This would help the "Sierra" torpedo spread for Omni's Star Trek conversions.

Later!
Title: (yet) another new weapon option
Post by: Zarax on February 13, 2004, 04:25:28 pm
@LL: Tables?
Title: (yet) another new weapon option
Post by: Nuke on February 13, 2004, 07:08:58 pm
weve had space shotguns, ive been using them for awhile now.
Title: (yet) another new weapon option
Post by: Alan Bolte on February 14, 2004, 01:00:57 am
Quote
Originally posted by Lightspeed
1) I'm shocked that so many people did not recognize the STANDARD FS2 shockwave (!!)

2) Clusters always were supported (and who doesn't know hasn't played the game), BUT they spawned missiles in all directions, and this lets you specify a certain angle in which the spawn babies are fired.

3) I've been waiting for this ;7


You see, no one has actually played this game in at least two years. We just mod it and post quick screens.
Title: (yet) another new weapon option
Post by: JC Denton on February 14, 2004, 11:48:31 pm
Phreak, if/when this gets committed, what flag(s) will we need to add on to our missiles to get this effect?

And speaking of 3d shockwaves, is it possible to decrease the opacity of the faces on it depending on the angle of said faces' normals relative to the player's POV?
Title: (yet) another new weapon option
Post by: Bobboau on February 15, 2004, 12:09:43 am
yes, I just commited a fix for this, it is somewhat hackish though.
Title: (yet) another new weapon option
Post by: phreak on February 15, 2004, 11:22:52 am
Quote
Originally posted by JC Denton
Phreak, if/when this gets committed, what flag(s) will we need to add on to our missiles to get this effect?


the table looks errily similar

Code: [Select]

$Name:                                 Piranha
+Title:                                XSTR("GTM-10 Piranha", 3365)
+Description:
XSTR(
"Standard Issue
Area Effect
Fighter Suppresion Weapon", 3366)
$end_multi_text
+Tech Title:   XSTR("GTM-10 Piranha", 3367)
+Tech Anim:   Tech_Piranha
+Tech Description:
XSTR(
"A third-generation version of the old Synaptic and Havoc missiles, the GTM-10 Piranha provides bombers with a high-explosive anti-fighter screen. The Piranha is detonated remotely by pressing the Secondary weapon trigger a second time. This releases over a dozen small, heat-seeking missiles that attack any enemy vessel within range. This function makes the missile effective against incoming wings of fighters in close formation. The Piranha is now the standard issue defensive weapon for bombers attacking targets protected by close fighter cover.", 3368)
$end_multi_text
$Model File: piranha.pof
$Mass:                                 20.0
$Velocity:                             90.0
$Fire Wait:                            5.0
$Damage:                               100 ;; damage applied when within inner radius
$Blast Force: 1500.0
$Inner Radius: 75.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 150.0 ;; max radius for attenuated damage
$Shockwave Speed: 80.0 ;; velocity of shockwave.  0 for none.
$Armor Factor: 1.0
$Shield Factor: 0.75
$Subsystem Factor: 1.0
$Lifetime:                             4.0
$Energy Consumed: 0.0
$Cargo Size: 12.0
$Homing:                               NO
$LaunchSnd:                            93
$ImpactSnd:                            101 ;;      shockwave impact sound
$FlyBySnd:                             -1
$Rearm Rate: 0.1
$Flags:                                ( "player allowed"
"Spawn Cluster Baby,15" ;; Create 15 "Cluster Baby" children on detonation
"Remote Detonate" ) ;; Remote Detonate = another fire press detonates

$Trail:                                                                          ;; Trail cannot be set if Exhaust is set
;; The following indented fields are only required when $Trail is YES
+Start Width: 0.25 ;; Width of trail nearest missile
+End Width: 0.75 ;; Width of trail before it "evaporates"
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 1.5 ;; how many seconds before trail disappears
+Bitmap: MissileTrail04 ;; Bitmap used to draw trail
$Icon:                                 iconPiranha
$Anim:                                 Piranha
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 20.0
$Spawn Angle: 30 ;;30*2 == 60 degree spawn angle since the cone function goes from -angle to angle.  default is 180
Title: (yet) another new weapon option
Post by: Setekh on February 15, 2004, 04:50:59 pm
I love it. Does it cause any crashes?
Title: (yet) another new weapon option
Post by: Nuke on February 15, 2004, 07:43:18 pm
it seems i can use this. it would make a good pirate weapon.