YesNoOk
avatar

Versus Screen Add004  (Read 526 times)

Started by mike_mues, November 07, 2021, 02:52:24 AM
Share this topic:
Versus Screen Add004
#1  November 07, 2021, 02:52:24 AM
  • avatar
    • Chile
Hola Chicos estoy usando el motor ikemen, al instalar add004 tiene su propia pantalla de versus, he podido hacer algunas modificaciones pero he buscado y modificado los comando pero no puedo igualar el tamaño de las imágenes.

si alguien tiene conocimiento de esto seria mucha ayuda!! :lugoi:

https://ibb.co/WnxqKxS
Re: Versus Screen Add004
#2  November 07, 2021, 04:45:05 AM
  • ***
    • Peru
Hola mike_mues.

Es probable que lo que tengas que modificar se encuentre en los siguientes apartados:

;;>>@Config.Face_Info>>
;;>>@Config.Face>>

Busca el texto "Scale" y cambia los valores a tu gusto.

Espero haberte ayudado.
Re: Versus Screen Add004
#3  November 07, 2021, 06:29:55 AM
  • avatar
    • Chile
Hola Bro Charles_2011 gracias por contestar, encontré en a4b_main.zss lo que tu me indicaste pero al modificar los valores tanto como en @Config.Face_Info y @Config.Face no dio ningún cambio, seguro que algo estoy haciendo mal

agradecería tu ayuda

#;;>>@Config.Face_Info>> Aqui intente modificar
   #;---face draw info ; 顔描画情報
   #;; fv20-36
   #;; player-main:     f20,f22: pos_x/y,  f24,f26: scale_x/y,  f28: alpha_SSS/DDD,  f32: spr-priority
   #;; player-partners: fv+1, f34-35: offset_x/y, f36: offset_scale_x&y
   #;;--- player-main
   fvar(20):=var(31)/fvar(0) + (var(30)+42) *ifelse(teamside=1,-1,1); #;Pos_X [142]
   fvar(22):=var(32)/fvar(0) - 3; #;Pos_Y
   fvar(24):=1.0; _________________________________AQUI!!!!!
   fvar(26):=1.0; #;Sacle_X/Y
   fvar(28):=256000; #;Alpha_SSS/DDD
   fvar(32):=var(46)+1; #;Spr-Priority
   #;;--- partners
   fvar(21):=var(31)/fvar(0) + (var(30)+42) *ifelse(teamside=1,-1,1); #;Pos_X [136]
   fvar(23):=var(32)/fvar(0) + 18; #;Pos_Y
   fvar(25):=0.5; ________________________________AQUI!!!
   fvar(27):=0.5; #;Sacle_X/Y
   fvar(29):=256000; #;Alpha_SSS/DDD
   fvar(33):=var(46)+5; #;Spr-Priority
   #;---
   fvar(34):=ifelse(teamside=1,6,-6);
   fvar(35):=6; #;OffSet_X/Y
   fvar(36):=0; #;OffSet_Scale_X&Y


##;;>>@Config.Face>> Pero en este no tengo la menor idea
[Function Fnc_DrawFace()]
#addon_ID
let vi = floor(sysfvar(0));

#;sys::-2::face_d_mod
let va = call Fnc_VarAddoo(9);
if !($va&4) || ($va&262144) {
   removeexplod{id:490600}
}

ignorehitpause if roundstate!=2 || (stateno=5150 && time=5 && !alive) {
   removeexplod{id:490600}
}

ignorehitpause if !numexplod(490600) {
ignorehitpause if movetype!=h || (stateno=[120,159]) || (stateno=[5000,5199]) || (stateno=[190190,190196]) {
ignorehitpause if alive && roundstate=2 && $vi>0 && playeridexist($vi) {
ignorehitpause if playerid($vi),var(0)=90900 {
ignorehitpause if playerid($vi),numexplod(490600) {

   let idps = ScreenWidth/320.0; ## MUGEN
##   let idps = ScreenHeight/240.0; ## IKEMEN

   ignorehitpause if id=playerid($vi),var(15) {

      #;sys::-2::face_d_main ; portrait (顔)
      ignorehitpause if selfanimexist(909002) {
         let idpx = playerid($vi),fvar(20) *$idps;
         let idpy = playerid($vi),fvar(22) *$idps;
         let idpsx = playerid($vi),fvar(24) *$idps;
         let idpsy = playerid($vi),fvar(26) *$idps;
         explod{
            id:490600;
            anim:909002;
            space:screen;
            postype:left;
            facing:ifelse(teamside=1,1,-1);
            bindtime:-1;
            removetime:-1;
            pos: $idpx, $idpy;
            scale: $idpsx, $idpsy;
            sprpriority:floor(playerid($vi),fvar(32));
            trans:addalpha;
            alpha:floor(playerid($vi),fvar(28))/1000, floor(playerid($vi),fvar(28))%1000;
            ignorehitpause:1;
            supermovetime:-1;
            pausemovetime:-1;
            ownpal:1 }
      }

      #;#Options_Char_Name
      #;sys::-2::name_d_main_left&right
      ignorehitpause if selfanimexist(909010+teamside) {
         let idpx = playerid($vi),fvar(10) *$idps;
         let idpy = playerid($vi),fvar(12) *$idps;
         let idpsx = playerid($vi),fvar(14) *$idps;
         let idpsy = playerid($vi),fvar(16) *$idps;
         explod{
            id:490600;
            anim:909010+teamside;
            space:screen;
            postype:left;
            facing:1;
            bindtime:-1;
            removetime:-1;
            pos: $idpx, $idpy;
            scale: $idpsx, $idpsy;
            sprpriority:floor(playerid($vi),fvar(32))+2;
            trans:addalpha;
            alpha:floor(playerid($vi),fvar(18))/1000, floor(playerid($vi),fvar(18))%1000;
            ignorehitpause:1;
            supermovetime:-1;
            pausemovetime:-1;
            ownpal:1 }
      }

   }

   #---
   ignorehitpause if numpartner {
   ignorehitpause if (id+numpartner+1-playerid($vi),var(15))%(numpartner+1)=(gametime%numpartner)+1 {
   ignorehitpause if playerid($vi),numexplod(490601+(gametime%numpartner)) {

      #;;sys::-2::face_d_partner_#+option
      ignorehitpause if selfanimexist(909001) {
         let idpx = (playerid($vi),fvar(21) +playerid($vi),fvar(34)*(gametime%numpartner) ) *$idps;
         let idpy = (playerid($vi),fvar(23) +playerid($vi),fvar(35)*(gametime%numpartner) ) *$idps;
         let idpsx = playerid($vi),fvar(25) +playerid($vi),fvar(36)*(gametime%numpartner) *$idps;
         let idpsy = playerid($vi),fvar(27) +playerid($vi),fvar(36)*(gametime%numpartner) *$idps;
         explod{
            id:490600;
            anim:909001;
            space:screen;
            postype:left;
            facing:ifelse(teamside=1,1,-1);
            bindtime:-1;
            removetime:-1;
            pos: $idpx, $idpy;
            scale: $idpsx, $idpsy;
            sprpriority:floor(playerid($vi),fvar(33))+(gametime%numpartner)*10;
            trans:addalpha;
            alpha:floor(playerid($vi),fvar(29))/1000, floor(playerid($vi),fvar(29))%1000;
            ignorehitpause:1;
            supermovetime:-1;
            pausemovetime:-1;
            ownpal:1 }
      }

      #;;sys::-2::name_d_partner_#left&right
      ignorehitpause if selfanimexist(909010+teamside) {
         let idpx = (playerid($vi),fvar(11) +playerid($vi),fvar(34)*(gametime%numpartner) ) *$idps;
         let idpy = (playerid($vi),fvar(13) +playerid($vi),fvar(35)*(gametime%numpartner) ) *$idps;
         let idpsx = playerid($vi),fvar(15) +playerid($vi),fvar(36)*(gametime%numpartner) *$idps;
         let idpsy = playerid($vi),fvar(17) +playerid($vi),fvar(36)*(gametime%numpartner) *$idps;
         explod{
            id:490600;
            anim:909010+teamside;
            space:screen;
            postype:left;
            facing:1;
            bindtime:-1;
            removetime:-1;
            pos: $idpx, $idpy;
            scale: $idpsx, $idpsy;
            sprpriority:floor(playerid($vi),fvar(33))+(gametime%numpartner)*10+3;
            trans:addalpha;
            alpha:floor(playerid($vi),fvar(19))/1000, floor(playerid($vi),fvar(19))%1000;
            ignorehitpause:1;
            supermovetime:-1;
            pausemovetime:-1;
            ownpal:1 }
      }
Re: Versus Screen Add004
#4  November 07, 2021, 04:21:34 PM
  • ***
    • Peru
Saludos nuevamente colega, mike_mues.

Hace unos dias estuve haciendo unas pruebas con este versus screen en particular, pero lo descarte, pero de aquellas pruebas pude ver el tema de la escala pero no a profundidad, chequea este codigo:

; face
[state 0] ;[.65]
   type=explod
   trigger1=(time>6) && (selfanimexist(909002) || selfanimexist(909003))
   space=screen
   postype=left
   facing=ifelse(teamside=1,1,-1)
   ownpal=1
   bindtime=-1
   removetime=1
   sprpriority=100-var(3)*10
   ignorehitpause=1
   supermovetime=-1
   pausemovetime=-1
   ;---
   anim=909002
   pos=floor(fvar(1)), var(4) -floor(const240p(40-var(3)*10))
   scale=3.2-var(3)*0.4, 3.2-var(3)*0.4
   ;---
;;   anim=ifelse(selfanimexist(909003),909003,909002)
;;   pos=floor(fvar(1)), var(4) -floor(const240p(65 +var(3)*14))
;;   scale=0.75-var(3)*0.1, 0.75-var(3)*0.1

Modificando aquellos valores puedes cambiar el tamaño del portrait, pero como te digo no hice muchos cambios ya que lo descarte, espero haberte ayudado colega.
Re: Versus Screen Add004
#5  November 11, 2021, 04:03:02 AM
  • avatar
    • USA
Hey i'm having an issue with editing the VS Screen too. Isn't my VS Screen in the same place where i fixed my character select screen with the same issue of out of place and overly large portraits? I fixed my character select screen in "\data\add004\system.def". Where do i go and how do i do the same fix with the VS Screen portraits, names, and background size etc?