Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: ShivanSpS on February 20, 2007, 09:07:04 pm

Title: Is possible to reemplace a bomb shockwave?
Post by: ShivanSpS on February 20, 2007, 09:07:04 pm
that is what i whant to know... i wish to reemplace the shockwave for a single weapon, and only for that weapon... a especial version of the Tsunami, it have own table files... i can do it? i wish to reemplace the standart shockwave for used by that weapong for the blue one found in this post.

http://www.hard-light.net/forums/index.php/topic,44999.0.html (http://www.hard-light.net/forums/index.php/topic,44999.0.html)

This is the table...

Quote
$Name: Tsunami X
+Title: GTM-3 Tsunami Bomb
+Description:
Special Issue
Anti-Cruiser Bomb
Tactical Anti-Matter Warhead
Long Lock/Reload Time
$end_multi_text
+Tech Description:
Intelligent tracking similar to GTA targeting system - prior to launch, communicates with ship computer, gathering data about enemy target types and whereabouts - slow, low maneuverability - antimatter warhead (500 tonne mass-to-energy conversion) - due to instability of antimatter.

The Tsunami has now enter in test face.
$end_multi_text
$Model File: Tsunami.pof
$Mass: 25.0
$Velocity: 60.0
$Fire Wait: 20.0
;; note, damage toned down until ai and turrets start shooting at bombs.
$Damage: 2000 ;; damage applied when within inner radius
$Blast Force: 10000.0
$Inner Radius: 50.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 800.0 ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed: 45 ;; velocity of shockwave. 0 for none.
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor: 2.0
$Lifetime: 25.0 ;; temporary fix for problem locking onto big ships.
$Energy Consumed: 0.0
$Cargo Size: 15.0
$Homing: YES
    +Type: ASPECT ;; Legal: HEAT, ASPECT
    +Turn Time: 1.0
    +Min Lock Time: 6.0 ;; Minimum lock time (in seconds)
    +Lock Pixels/Sec: 25 ;; Pixels moved per sec while locking
    +Catch-up Pixels/Sec: 50 ;; Pixels moved per sec while catching up
    +Catch-up Penalty: 15 ;; Extra pixels to move after catching up
$LaunchSnd: 96
$ImpactSnd: 88
$FlyBySnd: -1
$Rearm Rate: 0.05
$Flags: ( "Bomb" "Huge" "No Dumbfire" "EMP" "player allowed" )
$Trail: ;; Trail cannot be set if Exhaust is set
    +Start Width: 0.5 ;; Width of trail nearest missile
    +End Width: 1.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: icon_tsunami
$Anim: tsunami
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 15.0
$EMP Intensity: 1200.0
$EMP Time: 80.0 
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: Bobboau on February 20, 2007, 09:11:49 pm
yes, I forget the exact syntax though, look in the wiki.
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: Einstine909 on February 21, 2007, 03:14:51 pm
$Shockwave name:

    * Defines the name of the animation used for the shockwave
    * Syntax: Name
Code: [Select]
$Name: Tsunami X
+Title: GTM-3 Tsunami Bomb
+Description:
Special Issue
Anti-Cruiser Bomb
Tactical Anti-Matter Warhead
Long Lock/Reload Time
$end_multi_text
+Tech Description:
Intelligent tracking similar to GTA targeting system - prior to launch, communicates with ship computer, gathering data about enemy target types and whereabouts - slow, low maneuverability - antimatter warhead (500 tonne mass-to-energy conversion) - due to instability of antimatter.

The Tsunami has now enter in test face.
$end_multi_text
$Model File: Tsunami.pof
$Mass: 25.0
$Velocity: 60.0
$Fire Wait: 20.0
;; note, damage toned down until ai and turrets start shooting at bombs.
$Damage: 2000 ;; damage applied when within inner radius
$Blast Force: 10000.0
$Inner Radius: 50.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 800.0 ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed: 45 ;; velocity of shockwave. 0 for none.
$Shockwave model:
none
$Shockwave name:
    Syntax: Shockwave-glow
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor: 2.0
$Lifetime: 25.0 ;; temporary fix for problem locking onto big ships.
$Energy Consumed: 0.0
$Cargo Size: 15.0
$Homing: YES
    +Type: ASPECT ;; Legal: HEAT, ASPECT
    +Turn Time: 1.0
    +Min Lock Time: 6.0 ;; Minimum lock time (in seconds)
    +Lock Pixels/Sec: 25 ;; Pixels moved per sec while locking
    +Catch-up Pixels/Sec: 50 ;; Pixels moved per sec while catching up
    +Catch-up Penalty: 15 ;; Extra pixels to move after catching up
$LaunchSnd: 96
$ImpactSnd: 88
$FlyBySnd: -1
$Rearm Rate: 0.05
$Flags: ( "Bomb" "Huge" "No Dumbfire" "EMP" "player allowed" )
$Trail: ;; Trail cannot be set if Exhaust is set
    +Start Width: 0.5 ;; Width of trail nearest missile
    +End Width: 1.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: icon_tsunami
$Anim: tsunami
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 15.0
$EMP Intensity: 1200.0
$EMP Time: 80.0 

that is unless u renamed my shockwave files...
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: Wanderer on February 21, 2007, 03:27:49 pm
Assuming you are using mediavps...

To get 2d shockwave:
$Shockwave model: none
$Shockwave name: <name of your 2d shockwave>

To get 3d shockwave:
$Shockwave model: <name of your 3d shockwave>
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: TrashMan on February 21, 2007, 04:22:13 pm
How many people actually like the new sockwave (the 3D one)?

I personally hate it since jsut a plain old one looked far better (who ever heard of an explosion following a spacific PLANE?) You would only see the edges (maby not even that) so the old 2D one where the exlosion looked like a circle (no matter from where you looke at it).
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: ShivanSpS on February 21, 2007, 07:04:23 pm
yeah, but you need to modified the .pof to make the 3D shockwave right?

Anyway, the 2D one is now working fine, thanks.
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: Getter Robo G on February 22, 2007, 11:53:25 am
Fix the sphere I posted long ago and (grumble...) it looks 3d from any angle without a model...

Title: Re: Is possible to reemplace a bomb shockwave?
Post by: Cobra on February 22, 2007, 12:46:04 pm
I personally hate it since jsut a plain old one looked far better (who ever heard of an explosion following a spacific PLANE?) You would only see the edges (maby not even that) so the old 2D one where the exlosion looked like a circle (no matter from where you looke at it).

Uh, you do realize that it's not always seen from the side, you can see it from many differrent angles when it goes up? :P
Title: Re: Is possible to reemplace a bomb shockwave?
Post by: TrashMan on February 22, 2007, 05:06:48 pm
the point is that no matter from where you look at an explosiojn it will allways look like a perfect ring.

It won't be at any angle compared to you. You will allways see it flat. And that looks WAY better than the current one.


Wich reminds me.. I want to bring back the good old one... How do I go about it again? Ahh.. I think I reemember... :D