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.
[03:08 pm]
Sylph-Of-Space -- woah! nice! thank you!
[04:05 am]
O)FaRTy1billion[MM] -- the setting exists, it's just hidden in a weird place
[04:04 am]
O)FaRTy1billion[MM] -- instead change "Microtile Overlay" to "Impassable"
[04:04 am]
O)FaRTy1billion[MM] -- er, wait, idk why i was looking for height
[04:03 am]
O)FaRTy1billion[MM] -- below the minimap should be a thing that says "Overlay Settings" with a little + button in the corner, press the + to expand it, uncheck Use Defaults, then change "Tile Overlay" to "Height"
[03:57 am]
Sylph-Of-Space -- Unless I'm dum (possible)
[03:57 am]
Sylph-Of-Space -- It would be so so so nice if SCMDraft had some kind of dedicated "walkability" view for the tilesets.
[03:53 am]
Sylph-Of-Space -- :'( dont cry for me cat-gentina
[09:18 pm]
Ultraviolet -- 🔪🐈
[2024-5-19. : 12:34 pm]
NudeRaider -- curiosity kills the cat!
Please log in to shout.


Members Online: Sylph-Of-Space, Roy, Excalibur