Staredit Network > Forums > Modding Assistance > Topic: Pr0nogo's Modding Questions
Pr0nogo's Modding Questions
Jun 14 2015, 2:38 am
By: Pr0nogo  

Jun 14 2015, 2:38 am Pr0nogo Post #1



I want to make the Infested Terran apply Ensnare at its death location when using Suicide. The spell itself will not be used anywhere else, as the Queen is not present in the map/mod.

How would I go about doing this?

e: this is solved, my current question is a few posts below

Post has been edited 1 time(s), last time on Jun 15 2015, 12:29 am by Pr0nogo.




Jun 14 2015, 7:06 am Sand Wraith Post #2

she/her

Does an additional "useweapon [ensnare ID]" not work within its attack animation?




Jun 14 2015, 7:12 am Pr0nogo Post #3



No idea, made this thread without testing. Trying to use the splash effect in DatEdit now, will check iscript next if it doesn't yield results.




Jun 14 2015, 10:38 am Pr0nogo Post #4



Can lock, works fine.




Jun 15 2015, 12:28 am Pr0nogo Post #5



Since this thread wasn't locked I'm going to edit it so that it represents a thread for any modding questions I might have in the near future.

I'm looking to solve a problem with a .wav file. I edited the Psionic Storm sound, imported my edited version, and double-checked to make sure the imported file was correct, but now no sound plays when Psionic Storm is cast. The iscript still points to the sound and it worked prior to importing the new file, so I suspect something's wrong with it.

I have attached the file in question.

Attachments:
ptesto00.wav
Hits: 1 Size: 34.29kb




Jun 15 2015, 1:44 am Corbo Post #6

ALL PRAISE YOUR SUPREME LORD CORBO

Your .wav file must be compressed into an 16-bit .wav file. I'm not sure if your compression is like so but if it is not that might be the issue.

Post has been edited 1 time(s), last time on Jun 15 2015, 1:59 am by Corbo.



fuck you all

Jun 15 2015, 5:41 am Pr0nogo Post #7



That fixed it, thanks. Despite being saved as a 32 bit float in the past, my voice acting has never had a problem integrating with SC, and my sounds were no exception previously. Not sure what changed, maybe it was just saving as 16-bit. I'll keep it in mind.




Jun 17 2015, 1:29 am Pr0nogo Post #8



How much effort would it take to make the Spider Mine buildable by SCVs?




Jun 17 2015, 4:45 am Corbo Post #9

ALL PRAISE YOUR SUPREME LORD CORBO

Not much, you'd have to datedit the spidermine to have the building flag too (to make it buildable)

In addition to that you'll have to add an animation for the process of building into the iscript.

You'll also have to add the SCV the command card to build a spider mine...

I think that would be all.



fuck you all

Sep 11 2015, 8:36 am Pr0nogo Post #10



Is it possible to make Plague's effect stackable? Or to duplicate the damage effect of Psionic Storm (in that it stacks even if cast in the same area), but have it apply via Plague? I want to give the Photon Cannon an attack that just applies Plague to targets, but after retooling the DPS, AoE, and graphic of the spell to be much more balanced for a base defence's, I want it to be able to stack on afflicted targets.

If this is not possible, maybe an .exe edit or plug-in where Acid Spores (stacking up to 9) deal more damage per stack instead of slowing attack speed would be plausible?




Sep 11 2015, 1:16 pm Corbo Post #11

ALL PRAISE YOUR SUPREME LORD CORBO

I would think that the effects of these spells are hardcoded but it could be achieved with a plug in, yes.



fuck you all

Sep 11 2015, 3:48 pm Sand Wraith Post #12

she/her

It could be plug-inned with Acid Spores. I could probably also do it with any weapon thanks to the new version of GPTP. On the other hand, I wouldn't know how to get the text display or other graphical effect to work with weapons other than the Acid Spores. Any sort of indicator would take a bit of work. That said, I could also get it done to varying degrees of ugliness.




Sep 12 2015, 1:57 am Pr0nogo Post #13



That would be lovely.

On another note, is it possible to have a unit lift off? I am okay with removing the functionality for Terran structures if necessary. Specifically I want Jim Raynor (Vulture) to be able to lift off and land. When landed, it would act as a ground unit, whereas it would be a free-moving air unit after liftoff. If this is only possible through cannibalising Siege Mode I am okay with that too since I believe that's how Koreans added Vikings to Brood War.




Sep 13 2015, 9:42 am Sand Wraith Post #14

she/her

Okay, I'll see what I can do, might take a while though.

Unknown, best to try experimenting on your own. You'll almost certainly need some animations scripted.




Sep 14 2015, 5:36 am Corbo Post #15

ALL PRAISE YOUR SUPREME LORD CORBO

SW is right. I developed this for a mod myself. Basically I didn't want supply depots to take space on the ground so I made them be able to lift off.
I remember it involving the proper button changes and script in lift off animations and landing too.

Now this was a building but I see no reason for it to not be able to be done with a unit. Though, I don't think you'll be able to make them behave differently, your unit will just have to be a building and you'll have to add the building its proper attacking button set.

or just try experimenting by checking all of them flags, units, air unit and building too :P I'd think the building/flying building enables a unit to be able to be lifted off.



fuck you all

Sep 14 2015, 11:48 pm Sand Wraith Post #16

she/her

You may or may not need some flingy edits to the movement type similar to those of the existing Liftable units.




Sep 17 2015, 7:52 pm Neiv Post #17



Unless the liftoff code is modified, unit starts to block buildings on the place it landed on (whether or not it can move away from there) and becomes a "building", so it may be simpler to use siege mode for non-building liftoff.



None.

Oct 27 2015, 12:17 pm Pr0nogo Post #18



Any reason the following iscript isn't working? I am trying to turn the Medic into a combat-capable unit with an auto-attack rather than the default BW Medic.

Code


Note: 'orderdone 1' seems to have no effect as I have removed the Medic's healing, but removing it from the iscript changes nothing.

A screenshot of the weapons.dat entry the Medic is loading, if it helps:


The Medic just runs to the closest range possible in-game and does nothing. No frames play at all.

edit: Medic's orders were changed as well (units.dat): Normal movement/Normal attack and Guard (normal)/Attack unit (normal).




Oct 28 2015, 12:04 am Neiv Post #19



If you have removed healing from medic, why don't you just use a completely another unit? Medic has many hardcoded exceptions to the normal order behaviour to make healing work smoothly.



None.

Oct 28 2015, 12:51 am Pr0nogo Post #20



I'm doing exactly that now that I've realised the likelihood of hardcode regarding the unit ID, but thank you for the heads up nonetheless.




Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[08:46 pm]
RIVE -- :wob:
[09:13 am]
NudeRaider -- :wob:
[2024-6-21. : 3:59 am]
Ultraviolet -- :wob:
[2024-6-19. : 6:26 pm]
Ultraviolet -- :wob:
[2024-6-18. : 8:38 am]
Zycorax -- :wob:
[2024-6-18. : 3:14 am]
O)FaRTy1billion[MM] -- :wob:
[2024-6-15. : 11:09 pm]
Ultraviolet -- :wob:
[2024-6-12. : 6:23 am]
Ultraviolet -- got some light recalls behind too
[2024-6-12. : 12:07 am]
O)FaRTy1billion[MM] -- 🦗
[2024-6-11. : 9:53 pm]
Wing Zero -- I wonder how he knew I was in the market for a good cricket bat
Please log in to shout.


Members Online: Ultraviolet, Roy