• 💀 Happy Halloween! 💀 It's time to vote for the best terrain! Check out the entries to Hive's HD Terrain Contest #2 - Vampire Folklore.❗️Poll closes on November 14, 2023. 🔗Click here to cast your vote!
  • 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 HD Level Design Contest #1 is OPEN! Contestants must create a maze with at least one entry point, and at least one exit point. The map should be made in HD mode, and should not be openable in SD. Only custom models from Hive's HD model and texture sections are allowed. The only exceptions are DNC models and omnilights. This is mainly a visual and design oriented contest, not technical. The UI and video walkthrough rules are there to give everyone an equal shot at victory by standardizing how viewers see the terrain. 🔗Click here to enter!

how can i make research unlock a unit

Status
Not open for further replies.

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,155
Using requirements linked to the unit creation ability (like morph for drone). SC2 normally has requirements such as "needs X unit" for most units. The principle of requirements is the same for all requirements so you could just plug in a "needs X upgrade" requirement in its place. There are lots of examples of these requirements as almost everything that needs research to use uses one.

For example "Use Siege Mode" is a good example of such requirement.
I gave this requirement to the "Marine" unit in the "Barracks - Train" ability.
In game, the barracks now requires you to research Siege Mode inorder to train marines.

The example is not very practicle (as who wants that upgrade linked to marines?) but you get the idea how it is done. There are enough examples of requirements that depend on Upgrades that hopefully you will quickly solve any problems you encounter making your own upgrade dependant requirement for training a unit.
 

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,155
Well you never told me what to fix so I just made an example.

Inorder for the Nexus to build a probe, you need to first research Probe Technology.
Probe Technology is researched from the forge.

How I made this...
1. Created an upgrade (Probe Technology)
2. Created a requirement for Probe Technology (basically copied an existing requirement for upgrade and changed it to my upgrade).
3. Added the requirement to the Nexus train ability for training a Probe.
4. Added the Upgrade to the Forge Upgrades Ability.
5. Added the Upgrade to the Forge command card.
 

Attachments

  • faction war.SC2Map
    203.4 KB · Views: 36

Dr Super Good

Spell Reviewer
Level 63
Joined
Jan 18, 2005
Messages
27,155
Here we go then...

You need to research the Marine Quarters inorder to build marines. I also demonstrate button stacking so that the marine button only shows if you are / have researched the nescescary upgrade.

The broken model is your problem, I purly used the Hyperion you provided.
 

Attachments

  • faction war2.SC2Map
    203.7 KB · Views: 44
Status
Not open for further replies.
Top