Hard Light Productions Forums

Off-Topic Discussion => General Discussion => Topic started by: Rampage on May 26, 2002, 06:59:44 pm

Title: OT: Salvaging the Gravwell Generator
Post by: Rampage on May 26, 2002, 06:59:44 pm
I know that this is not a good place to ask but here it is.

I have made several modifications to Homeworld: Cataclysm and made the Taiidan Gravwell Generator "salvagable".  I send in my workers after modifying them so that they avoid the gravwell's gravity charge but they get stuck nonetheless.  Then I disabled the gravity field properties in the SHP file.  When I ran the game after making changes, the Gravwell Generator self-destructs.  Nothing seem to work.  I need you guys opinions on how to do this.  Any Homeworld modders here?

This is the piece of code that enables a ship to have a gravity field:

GravWellRadius                      6000.0                  ; Radius in which things are affected
OperationTime                       210.0                    ; Time in Seconds the Well is On
EffectConstant                      0.70                     ; velocity multiplier to slow ships down and stop them!
scanrate                            63                       ; Every Xth frame at which gravwell scans for objects to capture..lower = slower 1,3,7, 15, 31, etc.
repulseForce                        70.0                   ; repulsion force
warmupdowntime                      2.0                      ; seconds it takes for grav well to power up,down

;rotaion speeds are maximums...random values are chosen between -rot and +rot and then applied to object
xrot                                200.0                    ;maximum rotation speed in x direction
yrot                                200.0                    ;maximum rotation speed in y direction
zrot                                200.0                    ;maximum rotation speed in z direction

Thanks,


Rampage
Title: OT: Salvaging the Gravwell Generator
Post by: Nuclear1 on May 26, 2002, 11:24:27 pm
*sigh*

Unfortunately, in order to change the GravWell's effect on a Worker (or any fighter/corvette for that matter:D), you'd have to change its class to something Frigate or above. Even the JunkyardDawg gets caught in a Well (hehe:D).

Hope this helps.
Title: OT: Salvaging the Gravwell Generator
Post by: vadar_1 on May 26, 2002, 11:48:27 pm
Quote
Originally posted by nuclear1
Even the JunkyardDawg


hehe that was cool... it took me a couple restarts to figure that out...

anyways, it probably self destructs (your talking about AI controlling it?) because in the AI script, when the gravwell can no longer be turned on (out of energy), it will self destruct... at least thats my experience
Title: OT: Salvaging the Gravwell Generator
Post by: NeoHunter on May 26, 2002, 11:52:18 pm
Hee.....I remember what a pain in the ass it was to kill that thing, much less capture one. Nothing can get close enough to it to kill it. Very frustrating.:)

In Homeworld Cataclysm, what file must I edit to enable myself to build more ships and exceed the current amount limitations? Because I want to build a LARGE fleet.
Title: OT: Salvaging the Gravwell Generator
Post by: Nuclear1 on May 27, 2002, 09:45:54 am
Quote
Originally posted by NeoHunter
Hee.....I remember what a pain in the ass it was to kill that thing, much less capture one. Nothing can get close enough to it to kill it. Very frustrating.:)

In Homeworld Cataclysm, what file must I edit to enable myself to build more ships and exceed the current amount limitations? Because I want to build a LARGE fleet.


Edit the SHP files

Set the SUs of a ship to something really low (i.e Dread at 30) or make some other ships capable of increasing SUs. (under ProvidesSUs or something like that).
Title: OT: Salvaging the Gravwell Generator
Post by: Rampage on May 27, 2002, 03:52:26 pm
Quote
Originally posted by NeoHunter
Hee.....I remember what a pain in the ass it was to kill that thing, much less capture one. Nothing can get close enough to it to kill it. Very frustrating.:)


Use ramming frigates.  Worked like a charm.

Quote
Originally posted by NeoHunter
In Homeworld Cataclysm, what file must I edit to enable myself to build more ships and exceed the current amount limitations? Because I want to build a LARGE fleet.


Edit the SHP files.  I had all of the ships salvagable for Taiidan in Cataclysm modified to have a SU of no more than 6.  I now have a BIIIIGGG fleet consisting of one Taiidan Heavy Cruiser, two Taiidan Destroyers, more than 5 Taiidan Assault Frigates, four Taiidan Ion Cannon Frigates, two Taiidan Defense Field Frigates (You gotta love 'em!), four Taiidan Multi-gun Corvettes, and three Taiidan Minelayer Corvettes (It costed me SEVEN workers just to get three!  But worth it.)

Do you know where in Cataclysm I can get a Taiidan cloak generator?  That would be um... A1 SUPAR!
Title: OT: Salvaging the Gravwell Generator
Post by: Nuclear1 on May 27, 2002, 10:23:46 pm
Quote
Originally posted by Rampage

Do you know where in Cataclysm I can get a Taiidan cloak generator?  That would be um... A1 SUPAR!


Sorry. No Cloakies in Cata. Only things that can cloak in there are the Turanic/Beast IAF and the Kushan/Beast Cloaked Fighter.
Title: OT: Salvaging the Gravwell Generator
Post by: NeoHunter on May 28, 2002, 07:09:22 am
Quote
Originally posted by nuclear1


Edit the SHP files

Set the SUs of a ship to something really low (i.e Dread at 30) or make some other ships capable of increasing SUs. (under ProvidesSUs or something like that).


Erm...what program do I use to edit these SHP files?
Title: OT: Salvaging the Gravwell Generator
Post by: Nuclear1 on May 28, 2002, 10:22:36 am
Quote
Originally posted by NeoHunter


Erm...what program do I use to edit these SHP files?


BIG Viewer. Look for it here (http://dynamic2.gamespy.com/~homeworld/download.php) under BIG File Extractor ;)
Title: I Did It!!!!
Post by: Rampage on May 30, 2002, 03:13:23 pm
I salvaged the Gravwell generator.

Here's how I did it in Cataclysm:
1. Open up tgravwellgenerator.shp in your Cataclysm's "race_taidan" folder.  This file must be extracted from "cataclysm.big" by BigViewer mentioned by the last reply thread.

2. Open the "shp" file in WordPad and look for the "GravWell Radius" code.  It should have a number next to it reading "6000.0".  Void out the statement and make the same statement having a constant "0" rather than "6000.0".

Code: [Select]
[i]It should look like this:[/i]
;GravWellRadius                      6000.0                  ; Radius in which things are affected

GravWellRadius                       0                  ; Radius in which things are affected


3. Start Cataclysm (or Homeworld) and go to the mission where you want to salvage the GravWell and salvage it.

4. After salvaging it, save the game and exit out of Cataclysm (or Homeworld) and go back into WordPad and reopen "tgravwellgenerator.shp" and void out the radius with "0" as the constant and un-void the radius with "6000.0" as the constant.  Save the file.

Code: [Select]
[i]It should look like this:[/i]
GravWellRadius                      6000.0                  ; Radius in which things are affected

;GravWellRadius                       0                  ; Radius in which things are affected


5. Go back into Cataclysm (or Homeworld) and reopen the saved game.  The Gravwell should be activated and it should be yours!
Title: OT: Salvaging the Gravwell Generator
Post by: NeoHunter on June 01, 2002, 05:45:41 am
Wow...does that mean we can also have those Super Acolytes early in the game?:D
Title: OT: Salvaging the Gravwell Generator
Post by: Nuclear1 on June 01, 2002, 09:34:06 am
mmmmmmm.......... Deadly-Ass Acolytes........
Title: OT: Salvaging the Gravwell Generator
Post by: Rampage on June 01, 2002, 09:32:41 pm
Quote
Originally posted by NeoHunter
Wow...does that mean we can also have those Super Acolytes early in the game?:D


Yes...  That's right... :D