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.
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.
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".
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.
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
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.
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.
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.
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.