Jump to content



Photo
- - - - -

Star wars Trilogy WIP


  • Please log in to reply
104 replies to this topic

#21 njamont

njamont

    Enthusiast

  • Silver Supporter
  • 409 posts
  • Location:Houten, Utrecht

  • Flag: Netherlands

  • Favorite Pinball: Monster Bash

Posted 13 March 2010 - 08:44 AM

Well i can't wait anyway to play this FS on my cab

#22 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 13 March 2010 - 05:04 PM

Hopefully this afternoon I will re-visit the X-Wing animation and see if I can sort things out. I didn't spend a whole lot of time on my first attempt and VP scripting for me takes a lot of time and a ton of trial and error! biggrin.gif

#23 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 13 March 2010 - 05:56 PM

I got things figured out. I just want to do a little more testing and I'll make another post later. It turned out to be a little easier than I thought.

#24 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 14 March 2010 - 04:12 AM

subzero1970,

Here's my updated script modification to switch the XWing over from an EMreel to drop walls.

Add XWalls to the Dim statement (around line 63) for it reads like this:
Dim bsTrough,bsTopVUK,bsBotVUK,bsLauncher,bsXWingCannon,dtDrop,XWing,KickDir,XWalls

Put the following right after the Switches (sw) section which is around line 112:
'Drop all XWing walls except for the first one which is "0"
Sub ResetXW()
Dim i
For i=1 to 11
XWalls(i).Isdropped=1
Next
End Sub


Add the following line right before the Sub UpdateXWing section (this defines the array called XWalls to consist of all of our XWing drop walls which we have a total of 12 since our XWing Mech Handler has 12 steps):

XWalls = Array(X0, X1, X2, X3, X4, X5, X6, X7, X8, X9, X10, X11)



Change the Sub UpdateXWing section to the following:

Sub UpdateXWing(aNewPos,aSpeed,aLastPos)

KickDir = aNewPos * 3.5

XWalls(aLastPos).IsDropped = true
XWalls(aNewPos).IsDropped = false

End Sub


Remove or comment out (as I've done) the very last subroutine at the end of the script:

'Sub ImageTimer_Timer()

'XWalls(aLastPos).IsDropped = true
'XWalls(aNewPos).IsDropped = false

'XWingReel.SetValue Frame

'End Sub

That it. As for the table itself, you need to make 12 "frames" of the XWing starting at it's home position and each step rotating 15 degrees for each step. Save each frame as a separate jpg file (turn off your playfield image in Photoshop as you only need the XWing in its proper location) and import them into the table. Create a drop wall for each frame in the outline of the XWing starting with the name X0 for the first one and ending at X11. Make sure you check Flipbook Animation and can drop. Set the top height for each wall to 125 and the bottom to 120 (I think those are good numbers).

I'd be happy to create the playfield frame images and table walls (and modify the script too). Just upload your new XWing reel or images somewhere (or to www.imged.org) and let me know.

#25 njamont

njamont

    Enthusiast

  • Silver Supporter
  • 409 posts
  • Location:Houten, Utrecht

  • Flag: Netherlands

  • Favorite Pinball: Monster Bash

Posted 14 March 2010 - 08:11 AM

nice work wtiger, do you think FS is easy on this table?

#26 TAB

TAB

    Out of order

  • VIP
  • 2,556 posts
  • Location:Berlin/Germany

  • Flag: Germany

  • Favorite Pinball: BOP The Machine



Posted 14 March 2010 - 10:58 AM

Trying again take some pics of the machine.
But it will have all plastics and so on on. Do then my best to get the best wink.gif
But it will takes time. Post here then the pics.

#27 bolt

bolt

    VPF Veteran

  • VIP
  • 5,161 posts
  • Location:Kiel / Schleswig Holstein

  • Flag: Germany

  • Favorite Pinball: JP's Deadpool, Harlem Globetrotters, Spiderman and much more

Posted 14 March 2010 - 12:10 PM

Thanks helping team TAB and wtiger.
Posted Image

#28 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 14 March 2010 - 04:32 PM

QUOTE (njamont @ Mar 14 2010, 12:11 AM) <{POST_SNAPBACK}>
nice work wtiger, do you think FS is easy on this table?


I don't think it would be too difficult. There are a few decals on the backdrop that hopefully would be easy to convert to walls on the playfield (or can they be left as it). The hard part would be converting the turboreel to drop walls and using images that are more appropriate for an FS view.


QUOTE (TAB @ Mar 14 2010, 02:58 AM) <{POST_SNAPBACK}>
Trying again take some pics of the machine.
But it will have all plastics and so on on. Do then my best to get the best wink.gif
But it will takes time. Post here then the pics.



TAB, that would be great. If you could take several overhead shots of the playfield and plastics (in different sections) including flippers up, I might be able to reconstruct a playfield with a little better clarity than the current one.

#29 pudluther

pudluther

    Hobbyist

  • Silver Supporter
  • 27 posts

  • Flag: ---------

  • Favorite Pinball: star wars - 1992 - DE

Posted 14 March 2010 - 06:02 PM

really looking forward to seeing this one in action.

#30 subzero1970

subzero1970

    Enthusiast

  • VIP
  • 457 posts
  • Location:Scotland

  • Flag: Scotland

  • Favorite Pinball: Medival Madness, Star Wars

  • PS3 Gamer Tag: scotsubzero
  • 360 Gamer Tag: scotsubzero


Posted 15 March 2010 - 01:38 PM

Sadly, due to a nasty virus I lost all images last month, however I think I still have links to the images given to me in my PM inbox - i'll get back to you...

http://scottish-claymores.co.uk  <--- VISIT THE SCOTTISH CLAYMORES ARCHIVE!!!

Tables I've worked on since 2002: Hot Wheels(W/Destruk), Hook(W/Joep, El Condor, Destruk, Apocalypse, DataDragon, Pingod), Maverick(W/Magnox), Star Wars Trilogy(W/Magnox), Robocop(W/Destruk,cyBORG), Batman(W/Pinball Ken,Steve Ellenoff)-and most recently - Gottliebs Victory (W/Destruk) Made some VP Tables too!!!


#31 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 19 March 2010 - 11:50 PM

The new XWing reel image I received from Subzero1970 has half the reel images at one angle and the other half at a different one. I'm not sure if I'd be able to make a smooth animation with them without a lot of work. I decided to explore another route. I did some playing around today with Blender (I've never used it before). I found a free XWing .3ds model and loaded it into Blender and did some rendering as an experiment. The model is not textured yet. I think I have the angle somewhat good. If you want to see how it will look, download the following image:



Import it into your Star Wars Trilogy table and make sure you set the transparency color to green (Red=0, Green=255, Blue=0). Switch over to the Backdrop and click on the XWingReel object. Change the X position to 254, Y position to 229. Change the Reel Width to 190, and height to 125. Under Colors & Formatting make sure you select the new image you imported. NOTE: Don't worry about all the green around the edges. This is only a test. The final version will use drop walls that are traced around outside of each XWing in its various state of rotation. Let me know what you think.

#32 TAB

TAB

    Out of order

  • VIP
  • 2,556 posts
  • Location:Berlin/Germany

  • Flag: Germany

  • Favorite Pinball: BOP The Machine



Posted 20 March 2010 - 09:20 AM

I will also try to take a video of it wink.gif MP4
But get no contact to the owner sad.gif

#33 njamont

njamont

    Enthusiast

  • Silver Supporter
  • 409 posts
  • Location:Houten, Utrecht

  • Flag: Netherlands

  • Favorite Pinball: Monster Bash

Posted 20 March 2010 - 10:55 AM

awesome work wtiger

#34 studmuff

studmuff

    Pinball Fan

  • Charter Member
  • 768 posts
  • Location:Wisconsin

  • Flag: United States of America

  • Favorite Pinball: Tron, ACDC, LOTR

Posted 20 March 2010 - 11:48 AM

I can shot video of my x-wing if you need as I own the machine. rolleyes.gif

PM me with what you need.

#35 marv75

marv75

    Master of Nothing

  • Silver Supporter
  • 1,092 posts
  • Location:Ohio

  • Flag: United States of America

  • Favorite Pinball: Addams Family

Posted 20 March 2010 - 06:00 PM

Thanks for helping out Wtiger...I really like this table! smile.gif
VPF The Premiere Pinball Site








#36 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 21 March 2010 - 02:40 AM

QUOTE (studmuff @ Mar 20 2010, 04:48 AM) <{POST_SNAPBACK}>
I can shot video of my x-wing if you need as I own the machine. rolleyes.gif

PM me with what you need.


Thanks for the offer! At the moment I don't think it will be necessary. I think what Blender can do will work just fine. I'm having quite a bit of problems figuring out how to texture objects. I've been looking at various tutorials on the web and was able to figure some things out. I just had those tutorials that tell you "load in your image, apply it to your object and render the scene". What good is that when they don't tell you HOW to apply the image. Here's what I have so far regarding the texturing:



Took me most of the afternoon figuring out all this UV mapping stuff and then all the trial and error. I still can't figure out how to texture the bottom "rectangle" so that my image doesn't show up on ALL sides and also be stretched. I'm making some progress, but I'm not quite there yet.

#37 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 21 March 2010 - 04:26 AM

Ok,
I found a descent tutorial on Youtube and I discovered that I was not setting seams prior to making the UV map. Now my object unwraps properly, I can paint the individual faces on my bitmap and everything looks good in the editor. When I attempt to render the scene, the textures don't come out the same way they look in the editor. Here's what I mean:



This is soooooooooo frustrating. I guess I'll call it a night and possibly re-visit it tomorrow.



EDIT: I just found another tutorial on Youtube and it mentioned that you need to click on Map Input and select UV. Now it's working:



smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif smile.gif

#38 TAB

TAB

    Out of order

  • VIP
  • 2,556 posts
  • Location:Berlin/Germany

  • Flag: Germany

  • Favorite Pinball: BOP The Machine



Posted 21 March 2010 - 06:16 AM

@ wtiger. Now Amazing smile.gif

@studmuff. When you own this machine, can you take the pics of the playfield? Perhaps without ramps or have you cleaned the machine and have a stripped one wink.gif

#39 wtiger

wtiger

    Pinball Fan

  • VIP
  • 1,148 posts
  • Location:Los Angeles, CA

  • Flag: United States of America

  • Favorite Pinball: Junkyard



Contributor

Posted 21 March 2010 - 09:21 PM

Here's the XWing with its final textures:



Now on to rendering it in the various states of rotation...



#40 KEG

KEG

    Virtual Pinball Fan

  • Charter Member
  • 687 posts
  • Location:Philadelphia, Pa.

  • Flag: United States of America

  • Favorite Pinball: PINBOT

  • PS3 Gamer Tag: The_Real_KEG
  • 360 Gamer Tag: KEG

Posted 21 March 2010 - 09:40 PM

Great job Wtiger. Looks awesome.