|
Author | Message |
---|
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Dragonball z set - Goku Tue Aug 20, 2013 9:44 pm | |
| Hi i have a collection of Dbz cards i would love to use them but im really struggling learning scripting, Id like you guys to tell what you think. And if you want to help me create them. - Goku:
Goku Goku Super Sayian Goku super sayian 2 Goku super Sayian 3 Kid Goku Kid Goku super sayian Kid Goku super sayian 3
|
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 9:49 pm | |
| i fell like each upgraded form actually has a weaker effect.
as for scripting them, they wouldn't be really hard as most monsters already have all these effects. i could do them, but i'm currently helping another guy with his cards, if i can find the time i could script yours too. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 9:55 pm | |
| - Project Leviamon wrote:
- i fell like each upgraded form actually has a weaker effect.
as for scripting them, they wouldn't be really hard as most monsters already have all these effects. i could do them, but i'm currently helping another guy with his cards, if i can find the time i could script yours too. Thanks alot! As for the effects i think the new atk and def makes up for the little weaker effect. |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:07 pm | |
| - Goku:
--Goku function c4266927.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4266927,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_START) e1:SetTarget(c4266927.targ) e1:SetOperation(c4266927.op) c:RegisterEffect(e1) end function c4266927.targ(e,tp,eg,ep,ev,re,r,rp,chk) local d=Duel.GetAttackTarget() return e:GetHandler()==Duel.GetAttacker() and d and d:IsFacedown() and d:IsDefencePos() Duel.SetOperationInfo(0,CATEGORY_DESTROY,d,1,0,0) end function c4266927.op(e,tp,eg,ep,ev,re,r,rp) local d=Duel.GetAttackTarget() if d:IsRelateToBattle() then Duel.Destroy(d,REASON_EFFECT) end end
i didn't test it but it should work. just make sure that in cards.cdb Goku's ID is 04266927 (taken from the card picture) and that the script file is named c4266927 (before any other number 0s are skipped) |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:12 pm | |
| - Project Leviamon wrote:
- Goku:
--Goku function c4266927.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4266927,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_START) e1:SetTarget(c4266927.targ) e1:SetOperation(c4266927.op) c:RegisterEffect(e1) end function c4266927.targ(e,tp,eg,ep,ev,re,r,rp,chk) local d=Duel.GetAttackTarget() return e:GetHandler()==Duel.GetAttacker() and d and d:IsFacedown() and d:IsDefencePos() Duel.SetOperationInfo(0,CATEGORY_DESTROY,d,1,0,0) end function c4266927.op(e,tp,eg,ep,ev,re,r,rp) local d=Duel.GetAttackTarget() if d:IsRelateToBattle() then Duel.Destroy(d,REASON_EFFECT) end end
i didn't test it but it should work. just make sure that in cards.cdb Goku's ID is 04266927 (taken from the card picture) and that the script file is named c4266927 (before any other number 0s are skipped) Wow that was fast thanks so so much! |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:15 pm | |
| np.
that effect is nothing compared to the problem i'm facing with my card right now lol. try looking at other cards that already exist that have similar effects to yours and see if you can do some yourself. i could possibly do all of them in a hour and few minutes if i didn't have my own cards to script and a card from another person. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:31 pm | |
| I see you want to do Digimon cards, I personaly love digimon. And i"ll look from now on. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:36 pm | |
| Ive found an error on the card. It says theres and error in line 16: 'end' expected (to close 'function' at line 12) near duel. |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:41 pm | |
| digimon best anime ever. i have them on hold for now because i am a bit short on ideas, and it may also be a little too hard to script, even for me. i also have Dark Army and DA-END(somehow) planned out so i want to do these first, and they feel more fun to script(except Sorcerer, i have been trying to fix his effect for like a hour now)
if i ever manage to fix Sorcerer i will probably look at your cards and hopefully script all of them(well if i feel like it) otherwise i probably script them all tomorrow, they are not really hard, compared to what i have done it's nothing but compared to what outlaw has done, my scripting is nothing
as for the error try removing end at the end of "and d~=nil and d:IsFaceup() and d:IsDefencePos() and d:IsDestructable() " (line 16), if it still doesn't work i take a look and test it with actual ygopro |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:43 pm | |
| thanks alot! oh and i have a bunch of Digimon cards made just not scripted. They are a year old thou. |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:44 pm | |
| did it work?
also you can give me the digimon cards so i can script them when i'm bored. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:53 pm | |
| no but i think im doing it wrong. i'll look around on it. as for the pics i'll put a link here to them for you. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 10:58 pm | |
| i must warn you there's over a hundred of them. |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:00 pm | |
| i tried removing that end and still said the same, think i did it wrong sorry... really noob at this. |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:03 pm | |
| i looked up the wrong card when i was telling you how to fix the script. i look at it, and give you the fixed script once i get it to work correctly. |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:05 pm | |
| tested this one. it should work now
--Goku function c4266927.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4266927,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_START) e1:SetTarget(c4266927.targ) e1:SetOperation(c4266927.op) c:RegisterEffect(e1) end function c4266927.targ(e,tp,eg,ep,ev,re,r,rp,chk) local d=Duel.GetAttackTarget() if chk ==0 then return Duel.GetAttacker()==e:GetHandler() and d~=nil and d:IsFacedown() and d:IsDefencePos() end Duel.SetOperationInfo(0,CATEGORY_DESTROY,d,1,0,0) end function c4266927.op(e,tp,eg,ep,ev,re,r,rp) local d=Duel.GetAttackTarget() if d~=nil and d:IsRelateToBattle() and d:IsDefencePos() then Duel.Destroy(d,REASON_EFFECT) end end |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:08 pm | |
| Thank you so much it works perfectly! |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:10 pm | |
| np. that was my mistake, i incorrectly fuse 2 card effects(Sasuke and Mystic Swordsman LV6). that will hopefully teach me to not publish scripts before testing them |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:11 pm | |
| oyeah and there's over a hundred digimon cards. do you still want them? |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:13 pm | |
| give me 10-15, you can chose which. no point of getting them all right away since i probably won't complete even 2-3 in one day(my cards and user requests come first) |
|
| |
Dranken
Member Title : Dranken Posts : 34 Join date : 2013-07-14 Age : 27
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:27 pm | |
| |
|
| |
Project Leviamon
Member Title : Busy with high school sadly Posts : 320 Join date : 2013-08-03 Age : 24 Location : Digital World
| Subject: Re: Dragonball z set - Goku Tue Aug 20, 2013 11:31 pm | |
| |
|
| |
Sponsored content
| Subject: Re: Dragonball z set - Goku | |
| |
|
| |
|