a place for all your custom card needs you can post scripts pics and request for card to be made also please donate to the funding for a new server made for custom card duels
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in

Share | .

 Card scripts

View previous topic View next topic Go down 

Member Title : merdaman
Posts : 22
Join date : 2014-04-25

PostSubject: Card scripts   Sun May 18, 2014 3:13 pm

So, people were giving me scripts like this:

function cXXXXXXXX.initial_effect(c)
local e1=Effect.CreateEffect(c)
function cXXXXXXXX.reccon(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
local bc=c:GetBattleTarget()
return c:IsRelateToBattle() and bc:IsLocation(LOCATION_GRAVE)
function cXXXXXXXX.target(e,tp,eg,ep,ev,re,r,rp,chk)
if chk==0 then return e:GetHandler():GetFlagEffect(XXXXXXXX)==0 end
function cXXXXXXXX.activate(e,tp,eg,ep,ev,re,r,rp)
local c=e:GetHandler()
if Duel.Draw(1-tp,1,REASON_EFFECT)==0 then return end
local tc=Duel.GetOperatedGroup():GetFirst()

But in my folder they all appear like this and when i try those that people give me they dont work.

Look, how mine appear:


So, how do i put my scripts to work and how do i do a c???????? file?
Back to top Go down
View user profile

Member Title : Over Creative Card Ideas
Posts : 451
Join date : 2013-07-14
Age : 26
Location : Tacoma, WA

PostSubject: Re: Card scripts   Sun May 18, 2014 3:59 pm

First you have to replace the XXXXXXX with the card's ID code.  Next make sure the text file is saved as .lua and not .lua.txt or .txt.  Turn on Show File extensions if you have to for checking. Razz

Own Archetypes being worked on: RoseHarpie, OrbLit, Crystal Elemental (No cards yet on the last one).

Current Hamachi Room that isn't full:
Name: StormWing120V3
Pass: 1234

Discord Channel: Instant Invite Let me know if this fails to work right.  If it fully works it'll replace the Hamachi above.

Keep in mind these below are just estimates and even if it says 100% it only means what is needed for the main dueling deck is done
RoseHarpie 50% finished but no code or images
OrbLit 80% finished some images but no code
Crystal Elemental 0% finished
Back to top Go down
View user profile


Member Title : Noob4ever
Posts : 241
Join date : 2014-04-25
Location : I only know that it is dark :/

PostSubject: Re: Card scripts   Sun May 18, 2014 4:03 pm

The windows editor is not the best programm to show script files. It would be better if you use lua.edit.
If you have a script you have to save it in the folder "scripts" and call it "cXXXXXXXX"
("XXXXXXXX" = ID of your card).


This link includes all programms you need (also lua.edit) + a tutorial how to add cards to ygopro or rather mackpro Wink
I recommend you to watch it, it will help you for sure^^


Keep going, keep experiencing, keep learning AND: NEVER STOP!! >.<

Yugioh Custom Cards/ Decks/ Duels: https://www.youtube.com/channel/UCPil2ljKCm4HBhNT7wcNl-Q
Back to top Go down
View user profile

Member Title : merdaman
Posts : 22
Join date : 2014-04-25

PostSubject: Re: Card scripts   Sun May 18, 2014 11:44 pm

Thanks, will try when i have time
Back to top Go down
View user profile
Sponsored content

PostSubject: Re: Card scripts   

Back to top Go down

Card scripts

View previous topic View next topic Back to top 
Page 1 of 1

 Similar topics

» New Payment Method - Credit/Debit Card
» Mothers day card
» Tatty Teddy Leaving Card
» Garfield Birthday Card
» Orange Crochet Flower Card

Permissions in this forum:You cannot reply to topics in this forum
Mackpro :: MackPro :: MackPro Discussion-