Figured it out, works very fine
(had to change the 'const int DAMAGETRAILDEFAULTCLK' from 30 to 6, because the distance between the spawned sparkle sprites was to far.
Now, it looks great!!!
Thanks so much,Zoria and Rob
You're great
Damaging Sparkle Sprite Trail for the Sword beam... possible?
#16
Posted 18 July 2020 - 12:32 PM
#17
Posted 18 July 2020 - 12:33 PM
No, don't change the DEFAULT clk! Leave that how it was. Put 6 is InitD[0] for the script, instead!
- Bagu likes this
#18
Posted 18 July 2020 - 12:39 PM
Oh, ok
....yeah, I forgot that's variable by D0
#19
Posted 18 July 2020 - 08:03 PM
THANKS, ONCE MORE!!!
...just wanted to show you the result.
I used the script for my 3 golden Swords (Mastersword "transformations" by the Triforce powers).
These sacred blades call the force of the elemental Phoenix.
Heavenly Phoenix (Farore's Sword), Infernal Phoenix (Din's Sword) and The Phoenix of Light (Nayru's Sword)
- Lüt likes this
#20
Posted 23 July 2020 - 05:36 AM
uhg, zoria....
Remove the 'this->Parent = this;' line. That's.... just completely wrong, and not something you can do.
The intent is that the new weapon's parent is the weapon that spawned it, for the purpose of future linking back to it.
e.g. this->X = this->Parent->X + x2.
LWPNPARENT is only set up to accept FLOAT, which happens to be dead wrong--I wrote it to accept only an item ID, but this is an edge case where an lweapon has another lweapon as its parent. It should be untyped. The script does not require this, but if you want to modify it in a running script based on its parent's properties, then that's a useful coordinate.
It may have consequences that I did not foresee, if it was legal, such as inheriting properties from the parent that are unwanted, but iit does need to be untyped. All ->Parent variables need to be untyped for this very reason, as some may lead back to npc, item, or *weapon. Even so, the user can override them, and I need to correct this. I do see possible clashes with the item ID for ParentItem, rather than ParentID, which I will admit is a general failing point of lweapons in general.
THANKS, ONCE MORE!!!
...just wanted to show you the result.
I used the script for my 3 golden Swords (Mastersword "transformations" by the Triforce powers).
These sacred blades call the force of the elemental Phoenix.
Heavenly Phoenix (Farore's Sword), Infernal Phoenix (Din's Sword) and The Phoenix of Light (Nayru's Sword)
Very nice. Glad to have been of help. My apologies for the blunders: I tend to forget what I have actually implemented at times. I've added thousands of new instructions, and at the end of the day, they occasionally blur together.
- Bagu likes this
Also tagged with one or more of these keywords: LWeapon Script, 2.55
Zelda Classic →
ZQuest Editor Help →
Candle HelpStarted by Jambu , 20 Mar 2024 2.55.1 |
|
|
||
Zelda Classic →
Scripting Discussion →
Couple of questions about 2.55 scriptingStarted by Mephestrial , 20 Mar 2024 2.55, darkrooms, liftgloves |
|
|
||
Script Request
Zelda Classic →
Scripting Discussion →
Script Requests →
[2.55] I would like to request a couple of enemiesStarted by FireSeraphim , 23 Oct 2023 Script Request, Doom and 2 more... |
|
|
||
Zelda Classic →
Scripting Discussion →
CustomBow ScriptStarted by Bagu , 21 Oct 2023 Item Script, LWeapon Script |
|
|
||
Zelda Classic →
Scripting Discussion →
How to make a boss waiting for an intro ? (2.55 Alpha 115)Started by Pier , 23 Sep 2023 2.55, Alpha 155, NPC Script |
|
|
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users