geofreitag
13th Feb 09, 11:23 AM
I figured I may as well start a full topic and just add to it as I think of more things to ask
1) Is it possible to make a research item destroy an object?
The scenario: Pirate race captures a Hgn SY with a CapShip Facility on it. this unlocks a pirate research item "Retool CSF", which, when complete, destroys (or retires) the Hgn CSF and replaces it with an insta-build Pir CSF. I know how to do it in a round-about way, but its tedious and annoying.
A: Apparently HW Universe mod is doing something similar, it requires a lot of scripting. Also have to find the posts on getting capured ships to build.
2) Is there a way to make a research spawn an object?
The scenario: Pirate 'researches' Black Market Ion Cannon Frigate and gets AN ICF. (if ICF has an ion cannon module, it can key a reverse engineering research to let player unlock it for production).
A: No, because HW2 CTDs with a buildtime = 0. did something else instead.
3) In the missile file, where it has Build Family = Not Buildable, does that mean I can set it to something that is, add it to the build lua and have a single use missile? (this would be great for limiting nuclear ordinance)
4) Is it possible, using the survival script or the convoy script (which are around here somewhere), to give spawned ships random modules?
4.5) what's a good resource for learning the scripting stuff?
well, i'm off to do some experimenting. If i've asked something that's already been done, please point me to it.
1) Is it possible to make a research item destroy an object?
The scenario: Pirate race captures a Hgn SY with a CapShip Facility on it. this unlocks a pirate research item "Retool CSF", which, when complete, destroys (or retires) the Hgn CSF and replaces it with an insta-build Pir CSF. I know how to do it in a round-about way, but its tedious and annoying.
A: Apparently HW Universe mod is doing something similar, it requires a lot of scripting. Also have to find the posts on getting capured ships to build.
2) Is there a way to make a research spawn an object?
The scenario: Pirate 'researches' Black Market Ion Cannon Frigate and gets AN ICF. (if ICF has an ion cannon module, it can key a reverse engineering research to let player unlock it for production).
A: No, because HW2 CTDs with a buildtime = 0. did something else instead.
3) In the missile file, where it has Build Family = Not Buildable, does that mean I can set it to something that is, add it to the build lua and have a single use missile? (this would be great for limiting nuclear ordinance)
4) Is it possible, using the survival script or the convoy script (which are around here somewhere), to give spawned ships random modules?
4.5) what's a good resource for learning the scripting stuff?
well, i'm off to do some experimenting. If i've asked something that's already been done, please point me to it.