YGOPRO Forum

Welcome Guest! To enable all features please try to register or login.
6 Pages«<456
Options
Go to last post Go to first unread
FoxyBoxes  
#101 Posted : Friday, July 15, 2016 5:45:52 PM(UTC)
FoxyBoxes

Rank: Newbie

Joined: 6/10/2016(UTC)
Posts: 1

Hey, I know it's pretty late into this discussion, but this is less of a coding issue, just more of a...card ID issue?

I'm trying to make a support card for the "Armor" anime deck, but it needs to target Psychic Armor Head. Now, the card has an ID in the program, but I can't find it in the database, or the script in the subsequent folder. So where would I find that, if at all?

Thanks,

FoxyBoxes~
Michael Lawrence Dee  
#102 Posted : Saturday, July 16, 2016 11:07:06 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Originally Posted by: FoxyBoxes Go to Quoted Post
Hey, I know it's pretty late into this discussion, but this is less of a coding issue, just more of a...card ID issue?

I'm trying to make a support card for the "Armor" anime deck, but it needs to target Psychic Armor Head. Now, the card has an ID in the program, but I can't find it in the database, or the script in the subsequent folder. So where would I find that, if at all?

Thanks,

FoxyBoxes~


expansions folder - cards-tf.cdb.

Their scripts are in cards-tf.zip

Most updated Anime scripts are located here.
Now this is how I play:
Valossa  
#103 Posted : Tuesday, January 31, 2017 7:50:32 PM(UTC)
Valossa

Rank: Advanced Member

Joined: 2/19/2015(UTC)
Posts: 520

Thanks: 41 times
Was thanked: 8 time(s) in 8 post(s)
A little thing i wanna understand if i don' t want use the pre defined variables i will need to declare once per once in the code?
Like this
function c12345678()
-- i will need declare c, e, tp, ep, etc here?
end
I think if these scripts had been done in Java i will understand better, but its ok kkkkkkkk, i dont hate the lua scripts kkkkkkk
Michael Lawrence Dee  
#104 Posted : Wednesday, February 01, 2017 1:08:38 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Originally Posted by: Valossa Go to Quoted Post
A little thing i wanna understand if i don' t want use the pre defined variables i will need to declare once per once in the code?
Like this
function c12345678()
-- i will need declare c, e, tp, ep, etc here?
end
I think if these scripts had been done in Java i will understand better, but its ok kkkkkkkk, i dont hate the lua scripts kkkkkkk


You can check Night Beam/Utility Code how manual variables are used.
Now this is how I play:
thanks 1 user thanked Michael Lawrence Dee for this useful post.
Metaceejay97  
#105 Posted : Sunday, April 09, 2017 5:25:02 PM(UTC)
Metaceejay97

Rank: Newbie

Joined: 4/9/2017(UTC)
Posts: 4

Thanks: 1 times
Does anyone know how to script this effect:
"When this card destroys a monster by battle, you can Special Summon 1 Level 10 monster from your hand, Deck, or Graveyard."
Michael Lawrence Dee  
#106 Posted : Thursday, July 06, 2017 3:04:22 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
I updated my Tutorial to further expain making a cdb since people are having mistakes on making one, especially in the use of expansions format.
Now this is how I play:
Michael Lawrence Dee  
#107 Posted : Sunday, July 09, 2017 1:53:12 PM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Change the interpreter.cpp to edo's repo since we have been using Custom Functions which are not available in the original YGoPro.
Now this is how I play:
MaxAngelo149  
#108 Posted : Tuesday, July 11, 2017 4:03:13 AM(UTC)
MaxAngelo149

Rank: Member

Joined: 9/3/2015(UTC)
Posts: 59

Thanks: 5 times
Was thanked: 10 time(s) in 10 post(s)
I have a quick question. Regarding this script...

Code:

function c44508094.condition(e,tp,eg,ep,ev,re,r,rp)
	if e:GetHandler():IsStatus(STATUS_BATTLE_DESTROYED) or not Duel.IsChainNegatable(ev) then return false end
	if re:IsHasCategory(CATEGORY_NEGATE)
		and Duel.GetChainInfo(ev-1,CHAININFO_TRIGGERING_EFFECT):IsHasType(EFFECT_TYPE_ACTIVATE) then return false end
	local ex,tg,tc=Duel.GetOperationInfo(ev,CATEGORY_DESTROY)
	return ex and tg~=nil and tc+tg:FilterCount(Card.IsOnField,nil)-tg:GetCount()>0
end


This is the condition for Stardust Dragon's negate effect. I know that the "tg" and "tc" stand for "Target Group" and "Target Card" respectively, but does anyone know what is "ex" and what purpose it serves?

Because I use this script as a base for similar negation effects I make, but I noticed that they work without the "ex" as far I know.
Michael Lawrence Dee  
#109 Posted : Tuesday, July 11, 2017 9:53:07 AM(UTC)
Michael Lawrence Dee

Rank: Advanced Member

Joined: 1/28/2014(UTC)
Posts: 8,804

Thanks: 730 times
Was thanked: 1337 time(s) in 1077 post(s)
Originally Posted by: MaxAngelo149 Go to Quoted Post
I have a quick question. Regarding this script...


We have the whole subforum so make use of the whole place, not in this topic.
Now this is how I play:
MaxAngelo149  
#110 Posted : Wednesday, July 12, 2017 1:43:05 AM(UTC)
MaxAngelo149

Rank: Member

Joined: 9/3/2015(UTC)
Posts: 59

Thanks: 5 times
Was thanked: 10 time(s) in 10 post(s)
Originally Posted by: Michael Lawrence Dee Go to Quoted Post

We have the whole subforum so make use of the whole place, not in this topic.


Alright, sorry. Didn't think it was something that needed its own topic. I guess I'll be making a topic for my question.
Users browsing this topic
6 Pages«<456
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Notification

Icon
Error