{"id":380,"date":"2010-02-21T11:23:47","date_gmt":"2010-02-21T19:23:47","guid":{"rendered":"http:\/\/www.lostvectors.com\/blog\/?p=380"},"modified":"2010-10-11T11:29:27","modified_gmt":"2010-10-11T19:29:27","slug":"frackin-skin-job","status":"publish","type":"post","link":"https:\/\/www.lostvectors.com\/blog\/2010\/02\/21\/frackin-skin-job\/","title":{"rendered":"Frackin Skin Job"},"content":{"rendered":"<p>Here&#8217;s just a simple example of the skinning stuff I&#8217;ve been  working on (click on the buttons at the top right to change the image).<\/p>\n<p align=\"center\">\n\n<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"\n\t\t\tid=\"fm_skinning_demo_2036637881\"\n\t\t\tclass=\"flashmovie\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"181\">\n\t<param name=\"movie\" value=\"http:\/\/www.lostvectors.com\/swf\/bm_skinning_demo\/skinning_demo.swf\" \/>\n\t<!--[if !IE]>-->\n\t<object\ttype=\"application\/x-shockwave-flash\"\n\t\t\tdata=\"http:\/\/www.lostvectors.com\/swf\/bm_skinning_demo\/skinning_demo.swf\"\n\t\t\tname=\"fm_skinning_demo_2036637881\"\n\t\t\twidth=\"550\"\n\t\t\theight=\"181\">\n\t<!--<![endif]-->\n\t\t\n<p><a href=\"http:\/\/adobe.com\/go\/getflashplayer\"><img decoding=\"async\" src=\"http:\/\/www.adobe.com\/images\/shared\/download_buttons\/get_flash_player.gif\" alt=\"Get Adobe Flash player\" \/><\/a><\/p>\n\n\t<!--[if !IE]>-->\n\t<\/object>\n\t<!--<![endif]-->\n<\/object>\n<\/p>\n<p> Originally I was redesigning the character animation models  to allow me to replace the entire set of body parts with any different set of  body parts so that &#8230; it would make my life easier. But then I started to see  the potential for changing just certain parts of the character such as their  helmet  or weapon. I kind of got carried  away a little and needed to take some steps back to determine all the impacts  that my redesign had on other game systems such as collision detection and  damage calculations. I kept running into chicken-egg conundrums regarding game  unit initialization. Like&#8230; &quot;do I skin the unit first, then reinitialize  the bounding boxes? What if I want to add a weapon after the unit has already  been initialized. But I already initialized all his weapon stats! Oh crap, now  he&#8217;s not doing any damage for some reason. Why are my arrows passing right  through him!?!?&#8230; ::quits and goes to play Mass Effect::&quot; So as you can  see, even if none of that makes any sense to you, I had to re-think some of my  initial design. This is why the frackin skin job has been so hard to kill.  Gladly I think the hard part is over. I&#8217;ve developed a flexible approach that  allows me to skin, reskin, change weapons, remove weapons, change armor, remove  armor for the Pikeman game unit. After a little more testing, I will adopt this  same approach for the rest of the game&#8217;s less complex units.<\/p>\n<p>In other news&#8230;<\/p>\n<p>Snowboarding:<\/p>\n<p>I stopped  (for now) due to injured elbow (it was worse than I thought&#8230; physical therapy  here I come!). I&#8217;m hoping to get back on the slopes soon enough. At least I  didn&#8217;t break an arm like my friend did on the slopes. He just recently got his  cast off right before his 30th birthday. I asked him, &quot;how&#8217;s it feel to be  30?&quot; he says, &quot;It&#8217;s great&#8230; I just started physical therapy.&quot;<\/p>\n<p>Gaming:<\/p>\n<p>I&#8217;ve just beat Mass Effect 1 since I love living in the  past. I missed out on that game&#8230; rather I tried it but didn&#8217;t really give it  a fair chance and it just fell by the way side. After finishing a play through  of Dragon Age I decided to give BioWare&#8217;s space epic another try. My original  mistake the first time I tried Mass Effect 1 was to judge it on its underwhelming  3rd person shooting mechanic. I didn&#8217;t give it a chance to hook me in with the  story and biotics (spells). So with all the news and podcast coverage on Mass  Effect 2, I was dodging ME1 spoiler bullets all matrix style so figured it was  time to give ME1 another shot considering how apparently awesome ME2 is. As  soon as I beat ME1 I bought ME2 from Steam. I couldn&#8217;t wait. It&#8217;s cool how ME2 uses  your personal character&#8217;s save file from ME1. I&#8217;m not very far into it but so  far I&#8217;m really liking it. And they improved the shooting mechanic! Yay. And did  away with all that pesky inventory management&#8230;yay?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s just a simple example of the skinning stuff I&#8217;ve been  working on (click on the buttons at the top right to change the image).<\/p>\n<p> <a class=\"continue-reading-link\" href=\"https:\/\/www.lostvectors.com\/blog\/2010\/02\/21\/frackin-skin-job\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-380","post","type-post","status-publish","format-standard","hentry","category-devlog"],"_links":{"self":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/380","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/comments?post=380"}],"version-history":[{"count":2,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions"}],"predecessor-version":[{"id":382,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/posts\/380\/revisions\/382"}],"wp:attachment":[{"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/media?parent=380"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/categories?post=380"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lostvectors.com\/blog\/wp-json\/wp\/v2\/tags?post=380"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}