Staredit Network > Forums > Modding Assistance > Topic: How to enable unknown upgrades
How to enable unknown upgrades
Dec 24 2019, 9:49 pm
By: ForTheSwarm  

Dec 24 2019, 9:49 pm ForTheSwarm Post #1



Hello, long time no see.

I'm trying to get an unknown upgrade to work - 45 to be specific, although the exact # is irrelevant for my purposes.

What I've done so far:
1) Set the upgrade properties in upgrades.dat (cost, race, max repeats).
2) Set the upgrade dat requirements in firegraft
3) Add the button to a building to research
4) Enable the upgrade behavior through a plugin

However, the button never appears on the building. If I set the condition to "always", the button appears, but clicking on it does nothing. I've tried using unknown upgrade 59 instead of 45, and the same thing happens.

Any ideas, or should I just cannibalize a non-unknown upgrade?



None.

Dec 25 2019, 12:01 am UEDCommander Post #2

Sic Semper Tyrannis

Enable the upgrade in the map itself via SCMDraft's "Scenario - Upgrade Settings" section.




Dec 25 2019, 1:31 am ForTheSwarm Post #3



Is there a way to set it to be enabled by default? I'd rather not have to use custom maps.

EDIT: Nevermind, figured out you can set it through a variable in GPTP.

Post has been edited 1 time(s), last time on Dec 25 2019, 1:37 am by ForTheSwarm.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:23 pm]
NudeRaider -- dumbducky
dumbducky shouted: I found a sneaky way to view some of my coworkers SAT scores and it is shocking
:ban:
[11:22 pm]
NudeRaider -- dumbducky
dumbducky shouted: I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
well, most active members here are the bots, so not sure if this is an improvement :P
[06:05 pm]
dumbducky -- I found a sneaky way to view some of my coworkers SAT scores and it is shocking
[06:03 pm]
dumbducky -- FaRTy1billion
FaRTy1billion shouted: o, i keep meaning to add things to it but instead don't
Farty does your website work anymore
[06:02 pm]
dumbducky -- I miss forums. Twitter is way more engaging but unless you have a following, nobody talks to you. Reddit is just filled with the stupidest people
[02:32 pm]
Zoan -- :wob:
[2024-7-26. : 2:54 am]
Ultraviolet -- :wob:
[2024-7-25. : 2:39 am]
O)FaRTy1billion[MM] -- o, i keep meaning to add things to it but instead don't
[2024-7-24. : 11:55 pm]
Roy -- Make that three changes to the wiki in the last month, all three being just edits to user pages.
[2024-7-23. : 2:47 pm]
dumbducky -- Two changes to the wiki in the last month, both are just edits to user pages
Please log in to shout.


Members Online: Roy, jun3hong