Forum MUGENATION: Dimensioni e numero delle celle dei chars selezionabili - Screen-Pack di default del mugen - Forum MUGENATION

Salta al contenuto

Pagina 1 di 1
  • Non puoi iniziare una nuova discussione
  • Non puoi rispondere a questa discussione

Dimensioni e numero delle celle dei chars selezionabili - Screen-Pack di default del mugen

#1 L   maxim 

  • Senpai
  • Gruppo: Membro Speciale
  • Messaggi: 884
  • Iscritto: 09-September 05

Inviato 01 November 2006 - 18:36

Per modificare le misure delle celle x avere piu' caratteri disponibili, senza scaricare Screen-Pack dedicati...
Basta editare il file System.def allegato al mugen dello Screen-Pack di base nella directory "data"

Per esempio questo e' il mio screen-pack con 120 chars selezionabili
- 24 columns x 5 rows ( 24 x 5 = 120 celle disponibili per i chars )
- il valore cell.size ( misura delle celle x,y in pixel ) e' 13 x 13 pixel

http://img221.imageshack.us/img221/231/mugen4lk7.jpg

1) Fate sempre un Back-Up dei files originali di tutta la directory "data" del mugen...
2) Aprite il file System.def con il blocco-note di windows e
provate a editare principalmente i valori evidenziati in blu:

Il valore standard delle celle di questo Screen-Pack e' di 27 x 27
se vogliamo ridurre le dimensioni delle celle occorrera' variare il numero del
valore cell.size...questo x poter aumentare i valori colums e rows per avere una griglia di chars
piu' grande.....a questo punto pero' si presenta il problema del ridimensionamento
del cursore, della grafica delle celle piene, random e vuote..
possiamo agire in due modi:

1) Modificare la grafica editando le immagini
2) O piu' semplicemente inserire o modificare ( nel caso tali righe non fossero presenti nel file System.def )
i valori o parametri .scale ( ridimensionamento )

I valori .scale vanno diminuiti in base alla misura delle celle:

per esempio:

celle 27x27 = valori .scale 1,1 ( valore di default si possono omettere anche i valori .scale )
celle 13x13 = valori .scale .50,.50 ( ovvero 1/2 della misura originale )
celle 7x7 = valori .scale .25,.25 ( ovvero 1/4 della misura originale )


Parte del file System.def :

;-------------------------------------------------------------------
;Character select definition
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 5 ; numero delle righe della griglia ( Y )
columns = 24 ;numero delle colonne della griglia ( X )
wrapping = 1
;se 1 il cursore si muove oltre i margini della griglia
pos = 3,170 ;posizione dell' inizio grigia angolo sinistro in alto
showemptyboxes = 0 ;se 1 mostra i box delle celle vuoti
moveoveremptyboxes = 0 ;se 1 il cursore si muove oltre i box vuoti
cell.size = 13,13 ;x,y misura di ogni cella in pixel
cell.spacing = 0 ;spazio tra le celle
cell.bg.spr = 150,0 ;Note: Don't use animation for cells
cell.bg.scale = .50,.50 ;-ridimensionamento - della cella vuota
cell.random.spr = 151,0 ;Icon for random select (don't use animation)
cell.random.scale = .50,.50 ;-ridimensionamento - della cella random
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,0
p1.cursor.active.spr = 160,0
p1.cursor.active.scale = .50,.50 ;Player1 -ridimensionamento - del cursore
p1.cursor.done.spr = 161,0
p1.cursor.done.scale = .50,.50 ;Player1 -ridimensionamento - del cursore attivo (selezione)
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 0,4
p2.cursor.active.spr = 170,0
p2.cursor.active.scale = .50,.50 ;Player2 -ridimensionamento - del cursore
p2.cursor.done.spr = 171,0
p2.cursor.done.scale = .50,.50 ;Player2 -ridimensionamento - del cursore attivo (selezione)
p2.cursor.blink = 1 ;1 to blink p2's cursor if overlapping p1's
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,1
cancel.snd = 100,2
portrait.offset = 0,0
portrait.scale =.50,.50 ;-ridimensionamento - dell' immagine del portaritratti piccolo
title.offset = 159,13 ;Position of title (Arcade Mode, etc)
title.font = 3,0,0 ;Font of title (-1 for none)
;----------------- Big portraits --------------------------------
p1.face.offset = 18,13 ;Player1 - posizione del portaritratti Grande
p1.face.scale = 1,1
p1.face.facing = 1
p2.face.offset = 301,13 ;Player2 - posizione del portaritratti Grande
p2.face.scale = 1,1
p2.face.facing = -1
;Name
p1.name.offset = 10,162 ;Player1 - posizione del nome
p1.name.font = 3,4,1 ;Set to -1 for no display
p2.name.offset = 309,162 ;Player2 - posizione del nome
p2.name.font = 3,1,-1
;Stage select
stage.pos = 160,237
stage.active.font = 3,0,0
stage.active2.font = 3,2 ;Second font color for blinking
stage.done.font = 3,0
;Team menu
teammenu.move.wrapping = 1
p1.teammenu.pos = 20, 30
;p1.teammenu.bg.spr =
p1.teammenu.selftitle.font = 3,0, 1
p1.teammenu.selftitle.text = Select team mode
p1.teammenu.enemytitle.font = 3,0, 1
p1.teammenu.enemytitle.text = Opponent team mode
p1.teammenu.move.snd = 100,0
p1.teammenu.value.snd = 100,0
p1.teammenu.done.snd = 100,1
p1.teammenu.item.offset = 0,20
p1.teammenu.item.spacing = 0,15
p1.teammenu.item.font = 3,0, 1
p1.teammenu.item.active.font = 3,3, 1
p1.teammenu.item.active2.font = 3,0, 1 ;Second font color for blinking
p1.teammenu.item.cursor.offset = -10, 0
p1.teammenu.item.cursor.anim = 180
p1.teammenu.value.icon.offset = 60,1
p1.teammenu.value.icon.spr = 181,0
p1.teammenu.value.empty.icon.offset = 60,1
p1.teammenu.value.empty.icon.spr = 182,0
p1.teammenu.value.spacing = 6,0
;p2 team
p2.teammenu.pos = 299, 30
;p2.teammenu.bg.spr =
p2.teammenu.selftitle.font = 3,0, -1
p2.teammenu.selftitle.text = Select team mode
p2.teammenu.enemytitle.font = 3,0, -1
p2.teammenu.enemytitle.text = Opponent team mode
p2.teammenu.move.snd = 100,0
p2.teammenu.value.snd = 100,0
p2.teammenu.done.snd = 100,1
p2.teammenu.item.offset = 0,20
p2.teammenu.item.spacing = 0,15
p2.teammenu.item.font = 3,0, -1
p2.teammenu.item.active.font = 3,1, -1
p2.teammenu.item.active2.font = 3,0, -1 ;Second font color for blinking
p2.teammenu.item.cursor.offset = 10, 0
p2.teammenu.item.cursor.anim = 190
p2.teammenu.value.icon.offset = -60,1
p2.teammenu.value.icon.spr = 191,0
p2.teammenu.value.empty.icon.offset = -60,1
p2.teammenu.value.empty.icon.spr = 192,0
p2.teammenu.value.spacing = -6,0
;Sounds





---------------------------------------------------------------------------------------
Per esempio questo e' il mio screen-pack con ben 450 chars selezionabili
- 45 columns x 10 rows ( 45 x 10 = 450 celle disponibili per i chars )
- il valore cell.size ( misura delle celle x,y in pixel ) e' 7 x 7 pixel

Pero' piu' piccola e' la cella peggio si vedranno le immagini dei chars nei portaritratti piccoli!!!!

http://img182.imageshack.us/img182/8993/mugen5qd5.jpg

Modificate il file System.def come spiegato sopra:

;-------------------------------------------------------------------
;Character select definition
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 10
columns = 45
wrapping = 1
;1 to let cursor wrap around
pos = 3,170 ;pos = 90,170 ;Position to draw to
showemptyboxes = 0 ;1 to show empty boxes
moveoveremptyboxes = 0 ;1 to allow cursor to move over empty boxes
cell.size = 7,7 ;x,y size of each cell (in pixels)
cell.spacing = 0 ;Space between each cell
cell.bg.spr = 150,0 ;Note: Don't use animation for cells
cell.bg.scale = .25,.25 ;****************
cell.random.spr = 151,0 ;Icon for random select (don't use animation)
cell.random.scale = .25,.25 ;****************
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,0
p1.cursor.active.spr = 160,0
p1.cursor.active.scale = .25,.25 ;****************
p1.cursor.done.spr = 161,0
p1.cursor.done.scale = .25,.25 ;****************
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 0,4
p2.cursor.active.spr = 170,0
p2.cursor.active.scale = .25,.25 ;****************
p2.cursor.done.spr = 171,0
p2.cursor.done.scale = .25,.25 ;****************
p2.cursor.blink = 1 ;1 to blink p2's cursor if overlapping p1's
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,1
cancel.snd = 100,2
portrait.offset = 0,0
portrait.scale =.25,.25 ;*****************
title.offset = 159,13 ;Position of title (Arcade Mode, etc)
title.font = 3,0,0 ;Font of title (-1 for none)
;----------------- Big portraits --------------------------------
p1.face.offset = 18,13 ;Position to put big portrait
p1.face.scale = 1,1
p1.face.facing = 1
p2.face.offset = 301,13
p2.face.scale = 1,1
p2.face.facing = -1
;Name
p1.name.offset = 10,162 ;Position to put name
p1.name.font = 3,4,1 ;Set to -1 for no display
p2.name.offset = 309,162
p2.name.font = 3,1,-1
;Stage select
stage.pos = 160,237
stage.active.font = 3,0,0
stage.active2.font = 3,2 ;Second font color for blinking
stage.done.font = 3,0
;Team menu
teammenu.move.wrapping = 1
p1.teammenu.pos = 20, 30
;p1.teammenu.bg.spr =
p1.teammenu.selftitle.font = 3,0, 1
p1.teammenu.selftitle.text = Select team mode
p1.teammenu.enemytitle.font = 3,0, 1
p1.teammenu.enemytitle.text = Opponent team mode
p1.teammenu.move.snd = 100,0
p1.teammenu.value.snd = 100,0
p1.teammenu.done.snd = 100,1
p1.teammenu.item.offset = 0,20
p1.teammenu.item.spacing = 0,15
p1.teammenu.item.font = 3,0, 1
p1.teammenu.item.active.font = 3,3, 1
p1.teammenu.item.active2.font = 3,0, 1 ;Second font color for blinking
p1.teammenu.item.cursor.offset = -10, 0
p1.teammenu.item.cursor.anim = 180
p1.teammenu.value.icon.offset = 60,1
p1.teammenu.value.icon.spr = 181,0
p1.teammenu.value.empty.icon.offset = 60,1
p1.teammenu.value.empty.icon.spr = 182,0
p1.teammenu.value.spacing = 6,0
;p2 team
p2.teammenu.pos = 299, 30
;p2.teammenu.bg.spr =
p2.teammenu.selftitle.font = 3,0, -1
p2.teammenu.selftitle.text = Select team mode
p2.teammenu.enemytitle.font = 3,0, -1
p2.teammenu.enemytitle.text = Opponent team mode
p2.teammenu.move.snd = 100,0
p2.teammenu.value.snd = 100,0
p2.teammenu.done.snd = 100,1
p2.teammenu.item.offset = 0,20
p2.teammenu.item.spacing = 0,15
p2.teammenu.item.font = 3,0, -1
p2.teammenu.item.active.font = 3,1, -1
p2.teammenu.item.active2.font = 3,0, -1 ;Second font color for blinking
p2.teammenu.item.cursor.offset = 10, 0
p2.teammenu.item.cursor.anim = 190
p2.teammenu.value.icon.offset = -60,1
p2.teammenu.value.icon.spr = 191,0
p2.teammenu.value.empty.icon.offset = -60,1
p2.teammenu.value.empty.icon.spr = 192,0
p2.teammenu.value.spacing = -6,0
;Sounds
0

#2 L   Marko46 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 9
  • Iscritto: 18-May 08

Inviato 18 May 2008 - 21:43

scusa...1 domanda...ho visto che tutte le celle senza personaggi hanno 1 punto di domanda...come hai fatto a mettere quelle celle?
0

#3 L   Squall LionHeart™ 

  • Programmatore M.U.G.E.N.
  • Gruppo: Moderatore
  • Messaggi: 1097
  • Iscritto: 23-July 07

Inviato 18 May 2008 - 22:48

basta mettere al posto del nome del char (che in questo caso non c'è), "randomselect" (senza virgolette).

in questo modo, apparirà il punto interrogativo, e se ci vai sopra inizierà a vagliare in modo random tutti i personaggi inseriti.

Saluti

Squall
0

#4 L   Marko46 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 9
  • Iscritto: 18-May 08

Inviato 18 May 2008 - 22:58

e un ultima cosa...non mi modifica il cursore...cioè resta grande come all'inizio...ti posto il mio file system

;Character select definition
[Select Info]
fadein.time = 10
fadeout.time = 10
rows = 5
columns = 24
wrapping = 1 ;1 to let cursor wrap around
pos = 3,170 ;Position to draw to
showemptyboxes = 0 ;1 to show empty boxes
moveoveremptyboxes = 0 ;1 to allow cursor to move over empty boxes
cell.size = 13,13 ;x,y size of each cell (in pixels)
cell.spacing = 0 ;Space between each cell
cell.bg.spr = 150,0 ;Note: Don't use animation for cells
cell.bg.scale = .50,.50 ;-ridimensionamento - della cella vuota
cell.random.spr = 151,0 ;Icon for random select (don't use animation)
cell.random.scale = .50,.50 ;-ridimensionamento - della cella random
cell.random.switchtime = 4;Time to wait before changing to another random portrait
p1.cursor.startcell = 0,0
p1.cursor.active.spr = 160,0
p1.cursor.active.scale = .50,.50 ;Player1 -ridimensionamento - del cursore
p1.cursor.done.spr = 161,0
p1.cursor.move.snd = 100,0
p1.cursor.done.snd = 100,1
p1.random.move.snd = 100,0
p2.cursor.startcell = 0,4
p2.cursor.active.spr = 170,0
p2.cursor.active.scale = .50,.50 ;Player2 -ridimensionamento - del cursore
p2.cursor.done.spr = 171,0
p2.cursor.done.scale = .50,.50 ;Player2 -ridimensionamento - del cursore attivo (selezione)
p2.cursor.blink = 1 ;1 to blink p2's cursor if overlapping p1's
p2.cursor.move.snd = 100,0
p2.cursor.done.snd = 100,1
p2.random.move.snd = 100,0
random.move.snd.cancel = 0;1 to have random move sound cancel itself when played repeatedly
stage.move.snd = 100,0
stage.done.snd = 100,1
cancel.snd = 100,2
portrait.offset = 0,0
portrait.scale =.50,.50 ;-ridimensionamento - dell' immagine del portaritratti piccolo
title.offset = 159,13 ;Position of title (Arcade Mode, etc)
title.font = 3,0,0 ;Font of title (-1 for none)
;Big portraits
p1.face.offset = 18,13 ;Player1 - posizione del portaritratti Grande
p1.face.scale = 1,1
p1.face.facing = 1
p2.face.offset = 301,13 ;Player2 - posizione del portaritratti Grande
p2.face.scale = 1,1
p2.face.facing = -1
;Name
p1.name.offset = 10,162 ;Player1 - posizione del nome
p1.name.font = 3,4,1 ;Set to -1 for no display
p2.name.offset = 309,162 ;Player2 - posizione del nome
p2.name.font = 3,1,-1
;Stage select
stage.pos = 160,237
stage.active.font = 3,0,0
stage.active2.font = 3,2 ;Second font color for blinking
stage.done.font = 3,0
;Team menu
teammenu.move.wrapping = 1
p1.teammenu.pos = 20, 30
;p1.teammenu.bg.spr =
p1.teammenu.selftitle.font = 3,0, 1
p1.teammenu.selftitle.text = Select team mode
p1.teammenu.enemytitle.font = 3,0, 1
p1.teammenu.enemytitle.text = Opponent team mode
p1.teammenu.move.snd = 100,0
p1.teammenu.value.snd = 100,0
p1.teammenu.done.snd = 100,1
p1.teammenu.item.offset = 0,20
p1.teammenu.item.spacing = 0,15
p1.teammenu.item.font = 3,0, 1
p1.teammenu.item.active.font = 3,3, 1
p1.teammenu.item.active2.font = 3,0, 1 ;Second font color for blinking
p1.teammenu.item.cursor.offset = -10, 0
p1.teammenu.item.cursor.anim = 180
p1.teammenu.value.icon.offset = 60,1
p1.teammenu.value.icon.spr = 181,0
p1.teammenu.value.empty.icon.offset = 60,1
p1.teammenu.value.empty.icon.spr = 182,0
p1.teammenu.value.spacing = 6,0
;p2 team
p2.teammenu.pos = 299, 30
;p2.teammenu.bg.spr =
p2.teammenu.selftitle.font = 3,0, -1
p2.teammenu.selftitle.text = Select team mode
p2.teammenu.enemytitle.font = 3,0, -1
p2.teammenu.enemytitle.text = Opponent team mode
p2.teammenu.move.snd = 100,0
p2.teammenu.value.snd = 100,0
p2.teammenu.done.snd = 100,1
p2.teammenu.item.offset = 0,20
p2.teammenu.item.spacing = 0,15
p2.teammenu.item.font = 3,0, -1
p2.teammenu.item.active.font = 3,1, -1
p2.teammenu.item.active2.font = 3,0, -1 ;Second font color for blinking
p2.teammenu.item.cursor.offset = 10, 0
p2.teammenu.item.cursor.anim = 190
p2.teammenu.value.icon.offset = -60,1
p2.teammenu.value.icon.spr = 191,0
p2.teammenu.value.empty.icon.offset = -60,1
p2.teammenu.value.empty.icon.spr = 192,0
p2.teammenu.value.spacing = -6,0
;Sounds

noti qualcosa che non va? grazie mille x l'aiuto!
grazie!
0

#5 L   LarryHazard 

  • Larryhazard, reparto ferramenta.
  • PuntoPuntoPunto
  • Gruppo: Membro
  • Messaggi: 727
  • Iscritto: 15-November 07

Inviato 25 May 2008 - 14:11

io mi sono sempre domandato come si puo fare in modo che ci sia ad esempio una colonna con 2 sole caselle anche se le righe sono 4, come nel select del progetto mugen di mortal kombat.
0

#6 L   rasteryx 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 32
  • Iscritto: 07-July 08

Inviato 07 July 2008 - 23:20

Ottima guida per smanettoni!
Farò subito una prova
0

#7 L   luka04 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 37
  • Iscritto: 07-August 07

Inviato 25 August 2008 - 11:34

ho un problema con il mio winmugen,
ho installato uno screenpack ma la dimensione dello schermo è ridotta...
come faccio a ingrandirla??
grazie
0

#8 L   Manic 

  • Art is deader than dead
  • PuntoPuntoPunto
  • Gruppo: Membro
  • Messaggi: 749
  • Iscritto: 16-February 08

Inviato 25 August 2008 - 11:46

Non è questo il posto giusto per questadomanda apri un topic tuo.
0

#9 L   luka04 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 37
  • Iscritto: 07-August 07

Inviato 25 August 2008 - 12:24

a ok...
scusate
0

#10 L   Lion_Hadouken 

  • Chan
  • Punto
  • Gruppo: Membro
  • Messaggi: 21
  • Iscritto: 13-November 08

Inviato 10 December 2008 - 12:28

Niente ho già trovato la risposta alla domanda che avevo fatto, scusate XD
0

Condividi questa discussione:


Pagina 1 di 1
  • Non puoi iniziare una nuova discussione
  • Non puoi rispondere a questa discussione

1 utenti stanno leggendo questa discussione
0 utenti, 1 ospiti, 0 utenti anonimi