Staredit Network > Forums > Modding Assistance > Topic: making lockdown into a regular weapon..
making lockdown into a regular weapon..
Nov 13 2008, 1:34 pm
By: Angle Lock  

Nov 13 2008, 1:34 pm Angle Lock Post #1



if not lockdown, can it be ensnare, parasite, broodling, optical flare, or ANY spell(excluding yamato gun)?

I just want a weapon to carry a spell AND do damage at the same time...



None.

Nov 13 2008, 4:16 pm Devourer Post #2

Hello

I think theres no way to do dmg with those spells in datedit....

I think you should change the scriptings... that may work



Please report errors in the Staredit.Network forum.

Nov 13 2008, 5:09 pm Hercanic Post #3

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

Easy. Iscript. "Useweapon" in the attack animation, refer to the ID of a spell in Weapons.dat. Just be aware that the projectile needs to be set to "Appear on Target".




Nov 13 2008, 10:07 pm Angle Lock Post #4



do I do a iscript on the flingy, sprite, or image?

I am not a pro in iscript... sorry...

i have to learn everything step by step...



None.

Nov 13 2008, 10:28 pm Corbo Post #5

ALL PRAISE YOUR SUPREME LORD CORBO

You "do" iscript by modifying the iscript.bin file with either Ice or IceCC.
I personally recommend IceCC, though.

What you're to do is:
1. Find the unit entry iscript and find its attacking animation. It should be UnitGndAttkInit or something like it.
2. Add the "useweapon" op code followed by the weapon ID you want it to "shoot". You can look at the weapon ID on weapons.dat. Additionally to watch the formatting of this op code you can open an spell casting unit iscript and see how it is done.
3. Save your changes of iscript.bin into a MPQ and you should be able to do it.

You'll have to get used to the interface of IceCC but it's really easy to use. The "hard" part is the scripting itself that it really isn't hard.



fuck you all

Nov 14 2008, 10:01 pm A_of-s_t Post #6

aka idmontie

Quote from Angle Lock
do I do a iscript on the flingy, sprite, or image?
Just so you're not confused, these are all the same thing -- to an extent. All unit scripts (in the unit category) are in the flingy category, all flingy scripts are in the sprite category, and all the sprite scripts are in the image category. So, every script you can edit is in the image category in ICECC. The different categories mainly have to do with how you want to search for one (since they are in the same order as in Datedit).

Either that or just type in the iscript number into that box underneath the categories. Its all the same thing.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Nov 16 2008, 4:43 pm Angle Lock Post #7



and one more question... If I do a weapon with a spell let's say burst laser with ensnare, is the image of burst laser AND queen spell carrier gonna be shot to the enmey?

If that is so, can I merge multiple weapons into a single weapon by iscripting?



None.

Nov 18 2008, 1:55 am Hercanic Post #8

STF mod creator, Modcrafters.com admin, CampaignCreations.org staff

"Useweapon" causes the projectile to spawn on the target. So no, there will be no Ensnare projectile like when cast from a Queen.

BTW, I was incorrect in my previous post. The weapon does not need to be set to "Appear on Target", it will simply work that way regardless of its Weapons.dat behavior.




Nov 18 2008, 2:23 am Angle Lock Post #9



what do you mean by projectile?

and what kind of spell can go with a regular weapon, if ensnare can't?


Nvm, I got everything, thx guys.

Post has been edited 1 time(s), last time on Nov 18 2008, 3:33 am by Angle Lock.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:19 pm]
Vrael -- IM GONNA MANUFACTURE SOME SPORTBALL EQUIPMENT WHERE THE SUN DONT SHINE BOY
[2024-5-02. : 1:35 am]
Ultraviolet -- Vrael
Vrael shouted: NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
Gonna put deez sportballs in your mouth
[2024-5-01. : 1:24 pm]
Vrael -- NEED SOME SPORTBALL> WE GOT YOUR SPORTBALL EQUIPMENT MANUFACTURING
[2024-4-30. : 5:08 pm]
Oh_Man -- https://youtu.be/lGxUOgfmUCQ
[2024-4-30. : 7:43 am]
NudeRaider -- Vrael
Vrael shouted: if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
Yeah I'm not a big fan of Westernhagen either, Fanta vier much better! But they didn't drop the lyrics that fit the situation. Farty: Ich bin wieder hier; nobody: in meinem Revier; Me: war nie wirklich weg
[2024-4-29. : 6:36 pm]
RIVE -- Nah, I'm still on Orange Box.
[2024-4-29. : 4:36 pm]
Oh_Man -- anyone play Outside the Box yet? it was a fun time
[2024-4-29. : 12:52 pm]
Vrael -- if you're gonna link that shit at least link some quality shit: https://www.youtube.com/watch?v=uUV3KvnvT-w
[2024-4-29. : 11:17 am]
Zycorax -- :wob:
[2024-4-27. : 9:38 pm]
NudeRaider -- Ultraviolet
Ultraviolet shouted: NudeRaider sing it brother
trust me, you don't wanna hear that. I defer that to the pros.
Please log in to shout.


Members Online: lil-Inferno, Roy