Staredit Network > Forums > Modding Assistance > Topic: Final Stretch
Final Stretch
Feb 17 2015, 9:42 pm
By: SCRuler
Pages: < 1 2 3 45 >
 

Feb 25 2015, 10:36 pm SCRuler Post #21



I just want something that looks "psychic" and does either decent damage or perhaps slowing or mind control. I know mind control is there, but it has to be researched and letting that be standard on whatever it comes on would kill whatever remaining balance is there in the mod.



None.

Feb 25 2015, 11:15 pm Pr0nogo Post #22



You could cannibalise ensnare for a slowing effect and apply a damage to it using orders.dat and weapons.dat. You can't actually create a new spell from scratch, you have to cannibalise an existing spell and probably a weapon slot as well (the latter is less problematic due to the excess of unused weapons but the former is a bit more difficult to deal with). It is likely that you can cannibalise ANY spell in the game if you play around with orders.dat and exe edits but I'm not 100% sure since I haven't bothered with that field in years.




Feb 25 2015, 11:56 pm SCRuler Post #23



Not fond of the whole "cannibalizing" thing, but is it possible to make it slowing but accelerate healing?
Also, is it possible to give heal to another species?



None.

Feb 26 2015, 2:40 am Pr0nogo Post #24



It is almost certainly not possible to accelerate healing. The most you can do is increase the amount healed through exe edits in Firegraft.
It is possible to give heal to another race. To have it auto-heal, though, you'll need to give it the same unit AI as the Medic in units.dat.




Feb 26 2015, 3:28 am SCRuler Post #25



Quote from Pr0nogo
It is almost certainly not possible to accelerate healing. The most you can do is increase the amount healed through exe edits in Firegraft.
It is possible to give heal to another race. To have it auto-heal, though, you'll need to give it the same unit AI as the Medic in units.dat.
makes sense. Would it be possible to make ensnare cause healing? Or can it cause attacks to ignore armor?



None.

Feb 26 2015, 3:52 am Sand Wraith Post #26

she/her

I can do the coding for you.

Spell/order cannibalization is usually necessary but I may try experimenting with it some time to see if unused orders can be coaxed into being a target spell.

Making ensnare heal should be doable. Making it deal damage is outright easy. Making ensnare cause incoming damage to ignore armour may be possible.

Post has been edited 1 time(s), last time on Feb 27 2015, 7:07 am by Sand Wraith.




Feb 26 2015, 3:59 am Pr0nogo Post #27



You would have to find a way to change the armour type of the afflicted units (might not even work then) or change all incoming damage to the ignore armour type (might not even be possible).




Feb 26 2015, 10:22 am Sand Wraith Post #28

she/her

Quote from Pr0nogo
You would have to find a way to change the armour type of the afflicted units (might not even work then) or change all incoming damage to the ignore armour type (might not even be possible).

IIRC, the current GPTP has a hook for damage calculation, so there is an opportunity here to modify this logic to provide a separate procedure when calculating damage for a unit addicted by ensnare. I presume it should be as simple as a conditional block to detect if the unit has been ensnared. I'll try it out and see what happens.

You remind me of a good question though: Would ensnare change the unit's armour type or would it only affect the armour value? (It may also be possible to change the incoming damage's type to something else.)




Feb 26 2015, 6:16 pm Pr0nogo Post #29



Since it does neither of those things by default you'd be best off finding whatever method is easier to code around.




Feb 26 2015, 7:03 pm SCRuler Post #30



Quote from Sand Wraith
I can do the coding for you.

Spell/order cannibalization is usually necessary but I may try experimenting with it some time to see if unused orders can be coaxed into being a target spell.

Making ensnare heal should be doable. Making it deal damage is outright easy. Making ensnare cause incoming damage to ignore armour may be possible.
Thank you very much, if healing ensnare is doable It'd be much appreciated. Making it armor-ignoring is a good runner up.
So so far I just added Heal to High Templars. Their animation is a little to be desired (in that they stay frozen in their cast frame until the healing is over) but it doesn't crash and it works 100%. I also added Feedback to the infested ghost (I figured it'd be a good raging uncontrolled psychic mind attack spell) and I added mind control to my slightly tweaked Infested Kerrigan, who I'm changing the name of (for the mod's story). I'm still having problems with non-original cloaking, so if anyone could give me a step by step run on that, It'd be much appreciated because they can't decloak and I know i'm missing something somewhere.



None.

Feb 27 2015, 3:09 am SCRuler Post #31



Addendum: Is it possible to make protoss units be able to be repaired? The EXE edit claims to allow all races to repair but I tested it (gave probe repair button and allowances and activated the edit) and it still says it's only Terran units able to be repaired. If not I might just try giving probe "charge shields", see if that works.
Also, is there a way to make a spell that allows recharge of energy, like consume, but with non-zerg units? And preferably not consuming any other units? I mean, the concept fits for zerg but not the others, and makes little sense. Or would it be possible for a spell to donate spell energy to another unit? Like a recharge station or something for the Science Vessel...



None.

Feb 27 2015, 7:07 am Sand Wraith Post #32

she/her

Quote
Healing Ensnare plugin

2015/02/27

StarCraft Brood War 1.16.1 MPQDraft plugin. Tested with Firegraft.

Ensnare will now heal the amount specified in its weapons.dat entry over the course of 75 ticks, 8 frames per tick.
That is, 600 frames, which is 25 seconds on Fastest game time.

The relevant source code pertaining to General Plugin Template Project v2.41 has been attached.
The plugin itself has been attached.

Additionally, a test binary has been attached.
Normally, Ensnare's damage in weapons.dat is listed as 0. It has now been listed as 300.
This can be confirmed by Plaguing a 400 HP Ultralisk, waiting for the Plague to run its course, then applying Ensnare.
The Ultralisk will start with 400 HP, be reduced to 100 HP by Plague, and then healed up to 400 HP by Ensnare.


Attachments:
HealingEnsnare_Plugin.zip
Hits: 1 Size: 435.21kb




Feb 27 2015, 5:09 pm SCRuler Post #33



So how do I test this or implement? because it's claiming it's requiring 1.0.1.0, where I have 1.16.1.0 and it says It won't be implemented.



None.

Feb 27 2015, 5:19 pm Sand Wraith Post #34

she/her

What is giving you the error?




Feb 27 2015, 5:38 pm SCRuler Post #35



Ok, everything's going well but I hit kind of a snag... For some reason, Overlords aren't able to morph into Yggdrasils anymore. I checked everything, it should work but I don't know what's going on. Was there anything in the plugin that would hinder this by any chance?

Post has been edited 1 time(s), last time on Feb 27 2015, 6:03 pm by SCRuler.



None.

Feb 27 2015, 7:24 pm Sand Wraith Post #36

she/her

Indeed, it is very likely there is something conflictory in the plugin. I compiled it with a lot of hooks I didn't need, and I'm sure some of those included the morphing behaviours. I suppose the changes in the plugin have precedence over the changes from Firegraft, probably due to the redirection method of the plugin process.

When I have the time and energy, I'll look around the GPTP and see how to disable compiling in all the unnecessary code.

For the record, the Broodling plugin I provided will certainly also have this problem. Let me know if you're still using that plugin so I know if I should also go back and fix that too.




Feb 27 2015, 9:27 pm SCRuler Post #37



I haven't used the broodling plugin yet. I was gonna wait during the super-final phases. I look forward to seeing the cleaned up product. I'm not sure how useful the broodling plugin would be now. when facing a sizeable mass of troops, they are easily felled. Best counter to them is area of effect spells, Siege Tanks, and bishops as well.

So yeah, once this is finished, only thing I really need is the help with the cloaking for the infested ghosts, and making a kitbash for a Zerg capital ship.



None.

Feb 27 2015, 10:22 pm Sand Wraith Post #38

she/her

This new plugin should work. It only uses the hook pertaining to updating status effects.

Attachments:
HealingEnsnare2_Plugin.zip
Hits: 1 Size: 374.74kb




Feb 27 2015, 10:25 pm SCRuler Post #39



Edit: Ok, its working perfectly! Thank you!
Now, I need these last things: a proper list of things to enable complete cloaking and decloaking, the setup of the AI build order replacing the pylon with the charge pylon (shield battery) and a zerg capital ship kitbash. Then, Mapping and voice acting phase!

Post has been edited 1 time(s), last time on Feb 27 2015, 10:35 pm by SCRuler.



None.

Feb 27 2015, 10:51 pm Sand Wraith Post #40

she/her

You're welcome!
http://www.staredit.net/topic/16678/ Please see this to address your cloaking issue.
I cannot help with AI -- that is one field I never got into wrt modding.
Kitbashing is also one of the fields I never got into.




Options
Pages: < 1 2 3 45 >
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:37 pm]
Vrael -- jesus christ that was 2005?
[09:19 am]
Linekat -- cool
[01:56 am]
Oh_Man -- cool bit of history, spellsword creator talking about the history of EUD ^
[09:24 pm]
Moose -- denis
[05:00 pm]
lil-Inferno -- benis
[2024-4-19. : 10:41 am]
v9bettel -- Nice
[2024-4-19. : 1:39 am]
Ultraviolet -- no u elky skeleton guy, I'll use em better
[2024-4-18. : 10:50 pm]
Vrael -- Ultraviolet
Ultraviolet shouted: How about you all send me your minerals instead of washing them into the gambling void? I'm saving up for a new name color and/or glow
hey cut it out I'm getting all the minerals
[2024-4-18. : 10:11 pm]
Ultraviolet -- :P
Please log in to shout.


Members Online: fithplanet