HomeLatest imagesRegisterLog in



Share
 

 A guide to puzzle making

View previous topic View next topic Go down 
AuthorMessage
cecko0o0o0o0o0


cecko0o0o0o0o0


Team : Genesis

Posts : 592

Duel Points : 100

Duel Season : 0-0-0

Duel Career : 100-0-68

Weekly Bash Gold
Squire
A guide to puzzle making  2ntv8so
1st Division

A guide to puzzle making  Empty
PostSubject: A guide to puzzle making    A guide to puzzle making  Icon_m11Fri Jan 04, 2013 9:08 pm
Guide to making puzzles on YGO Pro


Interested to make your own puzzle ? Just follow the steps bellow .


"Puzzle" flies can be located in the "single" folder and are .lua type . It is recommended for them to be opened with the program wordpad .

Here's how a random puzzle looks like :

[mention][/mention] wrote:

--wcs2011-10
Debug.SetAIName("cecko096")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,7750,0,0)
Debug.SetPlayerInfo(1,11700,0,0)
Debug.AddCard(22567609,1,1,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(22567609,1,1,LOCATION_DECK,1,POS_FACEDOWN)
Debug.AddCard(04906301,1,1,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(40640057,1,1,LOCATION_HAND,1,POS_FACEDOWN)
Debug.AddCard(09411399,1,1,LOCATION_MZONE,3,POS_FACEUP_DEFENCE)
Debug.AddCard(22567609,1,1,LOCATION_MZONE,2,POS_FACEDOWN)
Debug.AddCard(72989439,1,1,LOCATION_MZONE,1,POS_FACEUP_ATTACK)
Debug.AddCard(72302403,1,1,LOCATION_SZONE,1,POS_FACEUP)
Debug.AddCard(72302403,1,1,LOCATION_SZONE,3,POS_FACEUP)
Debug.AddCard(49010598,1,1,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(21502796,1,1,LOCATION_REMOVED,0,POS_FACEUP)
Debug.AddCard(09596126,1,1,LOCATION_REMOVED,1,POS_FACEUP)
Debug.AddCard(09411399,1,1,LOCATION_REMOVED,2,POS_FACEUP)
Debug.AddCard(66602787,1,1,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(66602787,1,1,LOCATION_GRAVE,1,POS_FACEUP)


Debug.AddCard(21454943,0,0,LOCATION_DECK,0,POS_FACEUP_ATTACK)
Debug.AddCard(52430902,0,0,LOCATION_DECK,1,POS_FACEUP_ATTACK)
Debug.AddCard(25401880,0,0,LOCATION_DECK,2,POS_FACEUP_ATTACK)
Debug.AddCard(96782886,0,0,LOCATION_DECK,3,POS_FACEUP_ATTACK)
Debug.AddCard(84653834,0,0,LOCATION_DECK,4,POS_FACEUP_ATTACK)
Debug.AddCard(68392533,0,0,LOCATION_DECK,5,POS_FACEUP_ATTACK)
Debug.AddCard(16191953,0,0,LOCATION_DECK,6,POS_FACEUP_ATTACK)
Debug.AddCard(89547299,0,0,LOCATION_DECK,7,POS_FACEUP_ATTACK)
Debug.AddCard(56594520,0,0,LOCATION_DECK,8,POS_FACEUP_ATTACK)
Debug.AddCard(58453942,0,0,LOCATION_DECK,9,POS_FACEUP_ATTACK)
Debug.AddCard(86780027,0,0,LOCATION_DECK,10,POS_FACEUP_ATTACK)
Debug.AddCard(98147766,0,0,LOCATION_DECK,11,POS_FACEUP_ATTACK)
Debug.AddCard(11232355,0,0,LOCATION_DECK,12,POS_FACEUP_ATTACK)
Debug.AddCard(85060248,0,0,LOCATION_GRAVE,0,POS_FACEUP)
Debug.AddCard(46291010,0,0,LOCATION_GRAVE,1,POS_FACEUP)
Debug.AddCard(21454943,0,0,LOCATION_GRAVE,2,POS_FACEUP)
Debug.AddCard(40101111,0,0,LOCATION_EXTRA,0,POS_FACEUP_ATTACK)
Debug.AddCard(40101111,0,0,LOCATION_EXTRA,1,POS_FACEUP_ATTACK)
Debug.AddCard(95526884,0,0,LOCATION_EXTRA,2,POS_FACEUP_ATTACK)
Debug.AddCard(95526884,0,0,LOCATION_EXTRA,3,POS_FACEUP_ATTACK)
Debug.AddCard(70902743,0,0,LOCATION_EXTRA,4,POS_FACEUP_ATTACK)
Debug.AddCard(53714009,0,0,LOCATION_EXTRA,5,POS_FACEUP_ATTACK)
Debug.AddCard(76891401,0,0,LOCATION_EXTRA,6,POS_FACEUP_ATTACK)
Debug.AddCard(70780151,0,0,LOCATION_EXTRA,7,POS_FACEUP_ATTACK)
Debug.AddCard(70780151,0,0,LOCATION_EXTRA,8,POS_FACEUP_ATTACK)
Debug.AddCard(45379225,0,0,LOCATION_EXTRA,9,POS_FACEUP_ATTACK)
Debug.AddCard(43932460,0,0,LOCATION_EXTRA,10,POS_FACEUP_ATTACK)
Debug.AddCard(29071332,0,0,LOCATION_EXTRA,11,POS_FACEUP_ATTACK)
Debug.AddCard(98558751,0,0,LOCATION_EXTRA,12,POS_FACEUP_ATTACK)
Debug.AddCard(43385557,0,0,LOCATION_EXTRA,13,POS_FACEUP_ATTACK)
Debug.AddCard(43385557,0,0,LOCATION_EXTRA,14,POS_FACEUP_ATTACK)
Debug.AddCard(64898834,0,0,LOCATION_MZONE,2,POS_FACEUP_ATTACK)
Debug.AddCard(36484016,0,0,LOCATION_SZONE,1,POS_FACEDOWN)
Debug.AddCard(70368879,0,0,LOCATION_SZONE,2,POS_FACEDOWN)
Debug.AddCard(02295440,0,0,LOCATION_SZONE,3,POS_FACEDOWN)
Debug.AddCard(48130397,0,0,LOCATION_SZONE,4,POS_FACEDOWN)
Debug.AddCard(39531794,0,0,LOCATION_SZONE,0,POS_FACEDOWN)
Debug.AddCard(73628505,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(80102359,0,0,LOCATION_HAND,1,POS_FACEDOWN)
Debug.AddCard(67723438,0,0,LOCATION_HAND,2,POS_FACEDOWN)
Debug.AddCard(28741524,0,0,LOCATION_HAND,3,POS_FACEDOWN)
Debug.AddCard(32180819,0,0,LOCATION_HAND,4,POS_FACEDOWN)
Debug.AddCard(11232355,0,0,LOCATION_HAND,5,POS_FACEDOWN)
Debug.ReloadFieldEnd()
Debug.ShowHint("Win in this turn!")
aux.BeginPuzzle()

Setting the background ...

The first line -
[mention][/mention] wrote:
Debug.SetAIName("cecko096")
is for optionally choosing the opponent's name .

The second line -
[mention][/mention] wrote:
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
should remain as it is .

The third -
[/mention] wrote:
Debug.SetPlayerInfo(0,7750,0,0)
and forth line
[mention] wrote:
Debug.SetPlayerInfo(1,11700,0,0
are for setting the opponent's LP .

The line -
[mention][/mention] wrote:
Debug.ShowHint("Win in this turn!")
is the message that displays , before starting the duel .

Setting the field ...

Here are the commands for placing a card on your and your opponents hand / field / deck / graveyard / removed from play zone .

Firstly , each card has it's own number :

Image Hosted by ImageShack.us


Image Hosted by ImageShack.us


And each line of how you place it starts with
[mention][/mention] wrote:
Debug.AddCard(22567609
.
Next is either
[/mention] wrote:
1,1
or
[mention] wrote:
0,0
, depending on if your setting your own or your opponent's field .
And now comes the location of the card -
[mention][/mention] wrote:
LOCATION_


Location options :

  • LOCATION_DECK - deck

  • LOCATION_EXTRA - extra deck

  • LOCATION_HAND - hand

  • LOCATION_MZONE - monster card zone

  • LOCATION_SZONE - spell / trap card zone

  • LOCATION_GRAVE - graveyard

  • LOCATION_REMOVED - removed from play


After which you have to decide it's position
[mention][/mention] wrote:
0,POS_


Max hand space - unlimited
Max extra deck space - 15
Max spell / trap card zone space - 6
Max monster card zone - 5
Max graveyard space - unlimited
Max removed from play space - unlimited

Numbers should not be repeated .


Position options :

POS_FACEDOWN
POS_FACEUP
FACEUP_DEFENCE
FACEUP_ATTACK

Further options should not be changed .

A good example of a Puzzle Game .
Austin


Austin


Posts : 1518

Duel Points : 100

Duel Season : 0-0-1

Duel Career : 39-0-14

YGOPro Name : Austin

Weekly Bash Gold
Squire
A guide to puzzle making  2ntv8so
1st Division

A guide to puzzle making  Empty
PostSubject: Re: A guide to puzzle making    A guide to puzzle making  Icon_m11Fri Jan 04, 2013 10:26 pm
thnx man now i finish some puzzle and know how to use them Razz
 

A guide to puzzle making

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

 Similar topics

-
» Puzzle Game
» I need help making a Zombie Deck
» Making the King Proud
» T.G. Guide
» Charmer guide.

Permissions in this forum:You cannot reply to topics in this forum
Chaos Era Academy :: Dueling Arena and Events :: Games :: Duel Puzzles-