Staredit Network > Forums > Modding Discussion > Topic: [Source] GPTP - SC:V plugins.
[Source] GPTP - SC:V plugins.
Jan 3 2016, 4:15 am
By: KYSXD  

May 1 2019, 4:10 pm KYSXD Post #21



Quote from lucifirius
How did you do the zealot charge?

Basically, I use the unit's energy as a counter for the charge ability. If the energy is full and the target is in range I set energy to 0 and set the unit's stim timer to the value I want.

Quote from lucifirius
Where is the code for the stalker blink?
Where is the code for the psionic transfer?

Here I have a namespace with all the available plugins implemented via game-loop.

Quote from lucifirius
What exactly is meant by "improved shield regen"?

By default, SC:BW regenerates shields at a fixed rate. The "improve" I added is the SCII behaviour: If the unit is not attacked within X seconds (using a unit's value as a timer) recharge the shields (with a bigger rate than the SC:BW default). Here you can take a look to some of the changes I made to make it work.

Quote from lucifirius
What changes in Firegraft do I have to make to implement the charge, blink, and transfer?

That's a tricky one... I do not remember :bleh:
I think the changes in GPTP should do the work.

For the blink and transfer you may need a button to trigger the plugin's behavior.

Maybe I should write more tutorials to explain how the plugins work, but I do not know if it is worth the effort as I don't see many people using the already written (or asking for others).




May 2 2019, 12:31 am lucifirius Post #22



Many thanks!

I guess I can't have everything handed to me and I'll have to figure things out :P



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[09:30 pm]
NudeRaider -- modding is the only true religion. if you're not doing it you're doing it wrong
[09:28 pm]
NudeRaider -- Pr0nogo
Pr0nogo shouted: u
nice nice. Now try this one: v
[09:27 pm]
Pandut -- jaysus modding is hard when you havent done it in like 7 years
[09:12 pm]
Wing Zero -- If theyre frozen like this ya'll might as well try to open ever box
[09:11 pm]
Wing Zero -- Aaah magic boxes pls
[08:58 pm]
Pr0nogo -- u
[04:07 pm]
NudeRaider -- Pr0nogo
Pr0nogo shouted: what are those strange letters in front of u?
they're part of the alphabet, just like the u. But don't worry, no shame in not knowing. Even in developed countries we have programs dedicated to teach reading and writing because even here it happens.
[02:31 pm]
TF- -- Anitoch
[02:00 pm]
Dem0n -- where discord at lmao
[01:58 pm]
Pr0nogo -- what are those strange letters in front of u?
Please log in to shout.


Members Online: Roy, Pandut, NudeRaider