Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: Researching spells for heroes?
Researching spells for heroes?
Aug 20 2008, 5:56 pm
By: Biophysicist  

Aug 20 2008, 5:56 pm Biophysicist Post #1



I'm working on a map with a special unit called a Zerg Stalker which is represented by Infested Kerrigan. I was wondering if there is any way to force the player to research spells for Stalkers (Cloaking, Ensnare, Psionic Storm) before they can be used. (Note that in this map spells are 'researched' in a totally different way; the spells won't be researched at a Covert Ops/Queen's Nest/Templar Archives, but by moving a unit.)



None.

Aug 20 2008, 6:13 pm MillenniumArmy Post #2



Well, one possible way you could do this is by making it so that certain spells require X amount of energy to cast. And the more you research, the larger your energy capacity will be (and this will be set by the modify unit energy action.) There are many drawbacks to this though as I'm sure you might've realized already. But I think there might be some EUDs you can use to detect a unit's energy level and prevent you from going over that number. Like say psionic storm costs 50 mana, if you haven't "researched" it yet, then you can trigger it using the EUDs so that if your mana is exactly 49, just set it back to 48. Again I'm not sure if this is possible so you're going to have to see.



None.

Aug 21 2008, 8:58 am NudeRaider Post #3

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Yeah other than those workarounds there's no way because heroes always have their abilities researched except when you disable the tech. But then there's no way to activated it ingame. Obvious exception: Giving to another player.




Aug 21 2008, 3:09 pm Biophysicist Post #4



As in, I disable Psionic Storm for Player 1 and give Player 2 Psionic Storm tech, then create a High Templar for Player 2, give it to Player 1, and remove the Templar? Would that work?



None.

Aug 21 2008, 3:15 pm Madroc Post #5



Nope, he means Giving it from player 1 who does not have psi storm researched to player 2 who DOES have psi researched, then the psi would work.

The only solution i see for heroes is just the energy trick thing.

You could do it without EUDS by having a death count that increases at the exact same speed that the energy does, and then when it gets to 50 (which is the energy to cast psi hallucianation) you could always set it to 49, then when he casts psi storm (Detecting this could be a problem, but other units might work) set the death count back down.



None.

Aug 21 2008, 5:22 pm Biophysicist Post #6



Okay, can do. Thanks. Detecting it would be a problem, as you said, but... hey, this is staredit.net. Do we ever let things like that stop us?



None.

Aug 21 2008, 5:49 pm Vi3t-X Post #7



Yes. Yes we do.

Note: Theoretically you could use the "rescuable" system right?



None.

Aug 21 2008, 6:06 pm Trigger Post #8



I am probably totaly wrong here, but if you find the rate of increase of energy couldnt you in theory know when to stop it at like 49 energy?

Also, and this is probably very lame, one thing you could do is if your main is the Templar and you want him to "research skills" you could just give P1 an unresearched regular templar. Then when in your game you desire him to "research" the skills, replace it with the Hero Version of the templar. Infact, you could put a cap on the energy by making him always have the same energy so when he "researches" again he use that last templar or just remove the cap energy.

Dumb yes, but I am tryin to think




Aug 21 2008, 6:19 pm NudeRaider Post #9

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from name:
I am probably totaly wrong here, but if you find the rate of increase of energy couldnt you in theory know when to stop it at like 49 energy?
Think about it:
You wait the time it needs to regenerate 50nrg, then set it to 50 all the time.
Then the player casts a psi storm or whatever and instantly gets his energy back.
You really need detection for this.

And about your 2nd suggestion: It's not that bad. There's 1 templar and 2 heroes. You could make the first upgrade level learn him the new spell and/or a ground attack and the 2nd level better hp and damage. Limitation is ofc, that both heroes will have all spells researched, if not disabled.

And the exception I meantioned (give to another player) does not apply here, as you want it for human players, which can't just hop to another player slot.




Aug 21 2008, 8:30 pm Biophysicist Post #10



Hm. I don't really need this for Tassadar, I need it for Kerrigan. (Infested, of course.)

And seeing as this is a RPG-ish map, I can't very well go giving the PCs to comps. :P



None.

Aug 21 2008, 8:53 pm NudeRaider Post #11

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Well, that's my point: Make kerri the last evolution and use templar/tassadar as earlier forms




Aug 22 2008, 4:06 am Biophysicist Post #12



Ah. I see what you are saying. Problem is I'm already using Tassadar for one of my other heroes. Not to mention, that would really screw up my upgrade system.

Anyway, I'll just think of another spell to use instead of Ensnare.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[06:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
[06:26 am]
NudeRaider -- I mean yes, maps - through EUDs - were theoretically able to do that as well, but that was patched quickly.
[06:25 am]
NudeRaider -- Symmetry
Symmetry shouted: Ohhh imagine a SC map that could delete itself
not the map, the editor
[02:28 am]
Symmetry -- I vaguely remember Voy doing some ACE back in the day, but I had no idea EUDs could do that kind of shit. I am very much catching up on the technology
[02:28 am]
Symmetry -- Ohhh imagine a SC map that could delete itself
[08:51 pm]
NudeRaider -- Symmetry
Symmetry shouted: NudeRaider Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
yeah an editor that isn't allowed to write files sounds rather pointless, so I'd assume it can. Like most other programs too btw. and yes, obviously that's dangerous, but also kinda necessary. MS introduced that virtualization for exactly that reason.
[2026-7-15. : 4:10 am]
Ultraviolet -- I don't think so. I think they shut that shit down after 1.16, maybe even earlier
[2026-7-15. : 2:19 am]
Symmetry -- NudeRaider
NudeRaider shouted: Symmetry I can't tell if it's relevant. You provided literally no context so I was providing an equally generic answer.
Is EUD editor capable of writing shit onto the player's harddrive? That seems like it would be dangerous
[2026-7-14. : 11:43 pm]
Ultraviolet -- let's take each other's clothes off :teach:
[2026-7-14. : 11:03 pm]
Vrael -- :teach:
Please log in to shout.


Members Online: Roy, ClansAreForGays