Игрался с MaxScript

Поділитися
Вставка
  • Опубліковано 11 гру 2024
  • Написал свой один из первых кривых скриптов)

КОМЕНТАРІ • 16

  • @DenisNIKOBusarinov
    @DenisNIKOBusarinov 9 років тому +2

    Владислав, есть сейчас смысл использовать MAX SCRIPT? Или питон использовать?

  • @halamato
    @halamato 10 років тому +2

    very usefull but that seems to be simple modification of expose transform mod that you can find being used here Expose Transform Trick for 3ds Max

  • @stascrash
    @stascrash 9 років тому

    prvet, klassno!

  • @nzn4act
    @nzn4act 11 років тому

    It would be a nice addition to PolyFX..

  • @clyvejames
    @clyvejames 11 років тому

    Great work! Is the script available in any form?

    • @BodyulCG
      @BodyulCG  11 років тому +1

      Thanks) This script is very raw. He did not write down the animation keys. And unfortunately I deleted all the source code, and the script (

    • @tsam170
      @tsam170 9 років тому +1

      Владислав Бодюл awesome script indeed, i wish that you hadn't deleted it i would have loved to have known if there was any more code on line 20 :) i wanted
      to attempt to type in the script myself :)

    • @Dalplatinum
      @Dalplatinum 9 років тому +1

      Tim Samuels
      There was nothing after 'undefined' that I can think of. I typed it out and it seems to work.
      Rollout EffectsX "EffectsX"
      (
      button btn_scale "ScaleX" pos:[96,38] width:50 height:21
      button btn_bend "BendX" pos:[97,81] width:48 height:21
      button btn_bend_add "Add_Bend" pos:[12,103] width:56 height:21
      button btn_bend_del "Del" pos:[82,103] width:54 height:21
      spinner spn_scale_r "Radius" pos:[24,41] width:70 height:16 range:[1,100,1]
      groupBox grp1 "BEND" pos:[8,65] width:144 height:64
      groupBox grp2 "SCALE" pos:[8,25] width:144 height:40
      spinner spn_bend_r "Radius" pos:[24,83] width:70 height:16 range:[1,100,1]
      button btn5_del_ch "DeleteAllChangeHandlers" pos:[14,4] width:130 height:21
      on btn5_del_ch pressed do (
      deleteAllChangeHandlers id:id
      )
      on btn_bend_del pressed do (
      for b in $box* do (
      bv=b.modifiers as string
      if bv=="#modifiers(BendMod:Bend)" then deleteModifier b b.modifiers[#Bend] else undefined
      )
      )
      on btn_bend_add pressed do (
      for b in $box* do (
      addModifier b (Bend ()) ui:on
      b.modifiers[#Bend].BendAxis = 1
      b.modifiers[#Bend].BendDir = 90
      )
      )
      on btn_scale pressed do (
      deleteAllChangeHandlers id:i
      when transform $point001 changes do (
      for obj in $box* do (
      dis=((Distance $Point001 obj)*3)
      dis2 = (spn_scale_r.value*10)
      if dis>=dis2 then dis=dis2 else dis
      obj.scale=[dis,dis,dis]/(spn_scale_r.value*10)
      )
      )
      )
      on btn_bend pressed do (
      deleteAllChangeHandlers id:i
      when transform $point001 changes do (
      for obj in $box* do (
      dis=((Distance $Point001 obj)*3*spn_bend_r.value)
      dis2 = 360
      if dis>=dis2 then dis=dis2 else dis
      obj.modifiers[#Bend].BendAngle = dis
      )
      )
      )
      )
      CreateDialog EffectsX
      There you go. I hope OP doesn't mind.

    • @tsam170
      @tsam170 9 років тому

      Cool ill have to try it out thanks. im just learning about scripting and really getting into it, this will help further understand whats going on. thank you.

  • @Sivermax3
    @Sivermax3 8 років тому

    amazing i loved wow......

  • @userrussia9718
    @userrussia9718 9 років тому +1

    у меня не работает!
    Rollout EffectsX "EffectsX"
    (
    button btn_scale "ScaleX" pos:[96,38] width:50 height:21
    button btn_bend "BendX" pos: [97,81] width:48 height:21
    button btn_bend_add "Add_Bend" pos:[12,103] width:56 height:21
    button btn_bend_del "Del" pos:[84,103] width:54 height:21
    spinner spn_scale_r "Radius" pos:[24,41] width:70 height:16 range:[1,100,1]
    groupBox grp1 "BEND" pos:[8,65] width:144 height:64
    groupBox grp2 "SCALE" pos:[8,25] width:144 height:40
    spinner spn_bend_r "Radius" pos:[24,83] width:70 height:16 range:[1,100,1]
    button btn5_del_ch "DeleteAllChangeHandlers" pos:[14,4] width:130 height:21
    on btn5_del_ch pressed do (
    deleteAllChangeHandlers id:i
    )
    on btn_bend_del pressed do (
    for b in $box*** do (
    bv=b.modifiers as string
    if bv=="#modifiers(BendMod:Bend)" then deleteModifier b b.modifiers[#Bend] else undefined
    )
    )
    on btn_bend_add pressed do (
    for b in $box*** do (
    addModifier b (Bend ()) ui:on
    b.modifiers[#Bend].BendAxis = 1
    b.modifiers[#Bend].BendDir = 90
    )
    )
    on btn_scale pressed do (
    deleteAllChangeHandlers id:i
    when transform $point001 changes do (
    for obj in $box*** do(
    dis=((Distance $Point001 obj)*3)
    dis2=(spn_scale_r.value*10)
    if dis>=dis2 then dis=dis2 else dis
    obj.scale=[dis,dis,dis]/(spn_scale_r.value*10)
    )
    )
    )
    on btn_bend pressed do (
    deleteAllChangeHandlers id:i
    when transform $point001 changes do (
    for obj in $box*** do(
    dis=((Distance $Point001 obj)*spn_bend_r.value)
    dis2=360
    if dis>=dis2 then dis=dis2 else dis
    obj.modifiers[#Bend].BendAngle=dis
    )
    )
    )
    )
    CreateDialog EffectsX

    • @Sivermax3
      @Sivermax3 8 років тому +1

      +Ass Russia
      crazy effect..... i loved thanks so match

    • @sumairsaeed1466
      @sumairsaeed1466 8 років тому +1

      Thanks alot Russian Ass . , thank you .

  • @muthujm1990
    @muthujm1990 8 років тому

    How to download this script

    • @BodyulCG
      @BodyulCG  8 років тому

      +Moorthy G
      The script file has been lost.