[skip all navigation]

No Tech Reactor or Automated Refinery, Can't build them in-game!

Creator: Project100
Time: Sep 8 2010, 10:24 pm

Post #1     Project100 Sep 8 2010, 10:24 pm

[Avatar]
offlinecontact
Rank: Member
I made it so that the only command on the command card of a barracks is to build a tech reactor (no requirements for it), yet in-game, there is not even an option to build the tech reactor. Pretty much the same thing with trying to have an scv build an automated refinery, the option doesn't show up, but all the other buildings are there. Is there something special to be done for making automated refineries and tech reactors buildable?

Top

Post #2     shmeeps Sep 8 2010, 10:30 pm

[Avatar]
offlinecontact
Rank: Regular
You have to use the trigger

Code

Tech Tree - Set Story Mode Lab Tech - Tech Reactor upgrade level to 1 for player (Picked player)


Which will enable to lab tech which lets you build it. These are built in requirements for any story mode tech for story mode purchase.

Top

Post #3     Project100 Sep 8 2010, 10:43 pm

[Avatar]
offlinecontact
Rank: Member
Ok, thanks

Top

Post #4     Biophysicist Sep 9 2010, 7:57 pm

[Avatar]
:(){ :|:& };:
onlinecontact
Rank: Regular
You almost make it sound hardcoded... ;P A better way to do it would be to go into the construction abilities (SCV - Build SCV and w/e the Barracks addon ability is called) and edit those so that the requirement that makes it use the upgrade isn't even checked. Nothing necessarily wrong with using that trigger, but it's always better to do things "the right way" so that you learn more about how the system works.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #5     Project100 Sep 9 2010, 8:34 pm

[Avatar]
offlinecontact
Rank: Member
Couldn't find one to make it so there wasn't a requirement for the upgrade, other than (none) which apparently excludes campaign ups.

Addition: I also noticed that when i go to build the automated refinery in-game, the button for it doesn't show cost or time, though both are set.
This post was edited 1 time, last edit by Project100: Sep 9 2010, 9:54 pm.

Top

Post #6     shmeeps Sep 9 2010, 11:22 pm

[Avatar]
offlinecontact
Rank: Regular
Quote from Biophysicist
You almost make it sound hardcoded... ;P A better way to do it would be to go into the construction abilities (SCV - Build SCV and w/e the Barracks addon ability is called) and edit those so that the requirement that makes it use the upgrade isn't even checked. Nothing necessarily wrong with using that trigger, but it's always better to do things "the right way" so that you learn more about how the system works.
There is no requirement. If the story dependency is included, AFAIK, you must activate it by triggers before you can use it.

Top

Post #7     Biophysicist Sep 10 2010, 2:16 am

[Avatar]
:(){ :|:& };:
onlinecontact
Rank: Regular
I've been able to make both the Automated Refinery and the Tech Reactor buildable without setting that upgrade... Now I'm intrigued. Investigation time!

EDIT: Okay, wtf. The upgrade itself does nothing, and neither the upgrade nor the related requirements have anything listed under "Used by"... What EXACTLY did you do when you made them buildable?

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #8     Project100 Sep 10 2010, 8:38 pm

[Avatar]
offlinecontact
Rank: Member
I made it so at in the map initialization trigger, it sets the automated refinery upgrade to level 1 for players 1 and 2 (the ones who build the automated refineries and tech reactors), and it let me build them.

Top

Post #9     Biophysicist Sep 11 2010, 2:57 am

[Avatar]
:(){ :|:& };:
onlinecontact
Rank: Regular
Sorry... I meant before you tried that. In other words:

Quote
I made it so that the only command on the command card of a barracks is to build a tech reactor (no requirements for it), yet in-game, there is not even an option to build the tech reactor. Pretty much the same thing with trying to have an scv build an automated refinery, the option doesn't show up, but all the other buildings are there. Is there something special to be done for making automated refineries and tech reactors buildable?
Explain exactly what you did in these steps.

Your trolltag is twinArmageddons and you tend two 2peak wiith a biit of a lii2p.
Top

Post #10     Project100 Sep 11 2010, 1:23 pm

[Avatar]
offlinecontact
Rank: Member
With the barracks selected in the data editor, i went to it's command card and deleted all the commands except the tech reactor one, then moved it to the bottom left corner spot. And when i tried to use it in the test document, the button wasn't even there. Nearly the same thing happened with the automated refinery. Deleted the regular refinery on the scv's command card, just leaving the automated one there. It didn't show up when i tried the test document. Now i'm also having an issue with several buildings not showing their cost or build time. The buildings that don't work right are; missile turret, perdition turret, starport, ghost academy, sensor tower.

Edit: Also the tech reactor.
This post was edited 1 time, last edit by Project100: Sep 11 2010, 1:40 pm.

Top
0 members in this topic (italic members are currently writing a reply): None
+ guest(s)


[03:03 am]
Sand Wraith -- LOL
[03:03 am]
Biophysicist -- ...Hearts should remain in people, not in walls. Thanks a lot, imagination. Thanks a lot. That was gross.
[03:03 am]
Sand Wraith -- what kind of shitty university accepts ME into their science department
[03:03 am]
Sand Wraith -- ROFL what the fuck
[03:03 am]
SmE(Raitaki -- Or torturing my brain so hard it starts hallucinating
[03:03 am]
SmE(Raitaki -- Now I wonder how to do that without getting high
[03:02 am]
SmE(Raitaki -- Then just start hallucinating then
Please log in to shout.