Author Topic: Ray Impact in a Placeable  (Read 320 times)

Legacy_ia.Pepper

  • Full Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Ray Impact in a Placeable
« on: June 24, 2014, 10:50:54 am »


               

  So, I decided I really wanted to polish my next project, and I decided to test one of my placeables (I finally got it to be selectable, I made a really silly mistake), and I shot a ray of frost and a negative energy ray at it, and I noticed the end of the ray smashes into the floor, instead of into the center of the placeable which is where it needs to be hitting. I thought it was no big deal, I thought it would be an easy fix! Here I am, on the forums, scratching my head because I can't figure out how NWN handles where rays shoot at on a placeable. I thought I did, and then upon testing, it still smashed straight into the ground. Awee..


 


  If anyone can help me out, it'd be appreciated. '<img'> I am just trying to lift the ray impact point to the center, instead of the bottom, and I am unsure how to go about doing that.  ':huh:'



               
               

               
            

Legacy_Carcerian

  • Hero Member
  • *****
  • Posts: 1655
  • Karma: +0/-0
Ray Impact in a Placeable
« Reply #1 on: June 24, 2014, 05:36:26 pm »


               

That sounds like impact node isn't were you want it?


 


(If nothing else try to look at how an existing plc works, and either strip it down to base components then link what you want to it, or mimic how its put together.)


 


You can test it with my "Giant Lazer" if you like too  '<img'>


 


1220037987_fullres.jpg


 


You can sort by type, to test beams, fnf, dur, etc...


 


1220159785_fullres.jpg


 


169 VFX Machine (Visual Effect Browser)


 


(PLCs = Fire, Fire 10 Misses (Storm), next, prev, next type, prev type, all 8 plcs use 1 script.)



               
               

               
            

Legacy_MannyJabrielle

  • Sr. Member
  • ****
  • Posts: 275
  • Karma: +0/-0
Ray Impact in a Placeable
« Reply #2 on: June 24, 2014, 05:39:02 pm »


               

Have you tried looking at the pentagrams and summoning circles scripting package?  It can handle placing beam VFX's at specific angles and such.



               
               

               
            

Legacy_OldTimeRadio

  • Hero Member
  • *****
  • Posts: 2307
  • Karma: +0/-0
Ray Impact in a Placeable
« Reply #3 on: June 24, 2014, 05:39:08 pm »


               

From memory, there's a node that the beam is looking for on the target.  I think it's the ground node.  Maybe the impact, I can't recall.  If whatever node it's looking for is not present, it defaults to hitting at the model base- which is why you're seeing what you're seeing.  If you have Veltools installed, I know it has a decent placeable creator which creates all the nodes for a placeable.  Now, you don't really need all those nodes but if you're shooting for completeness or just want to get more familiar with the hierarchy/naming it's pretty handy.



               
               

               
            

Legacy_ia.Pepper

  • Full Member
  • ***
  • Posts: 138
  • Karma: +0/-0
Ray Impact in a Placeable
« Reply #4 on: June 25, 2014, 04:44:27 am »


               

 Thanks everyone! Also, without Veltools, I wouldn't have gotten it! I picked apart multiple placeables and found none of them gave me a hint as to how it worked. I don't know how they work, but I figured out how to make my own work at least with Veltools. Also for some reason, Veltools has stopped working on my 3DS MAX, so I had to load up GMAX just to find the tool.


 


  I will likely be posting in an upcoming thread of what I am working on. I am just working on fixing all the variants currently to work with the new node. By the way OTR, it's the impact node.  '<img'>



 


  That is what I might have said, ohhhh, 4 hours ago? Geez! I am absent-minded! I forgot to post, because I got caught up in other things.


 


  Well, since you nice folks were involved in some way, this is what I was working on:


http://forum.bioware...tals-moongates/


               
               

               
            

Legacy_Michael DarkAngel

  • Hero Member
  • *****
  • Posts: 627
  • Karma: +0/-0
Ray Impact in a Placeable
« Reply #5 on: June 25, 2014, 09:07:35 pm »


               If you're using NWMax Plus, when creating your modelbase select "Other"  as the classification and make sure you check "Add Standard Helpers".  This will give you those nodes as well.


The wording may be slightly different, doing this from memory as I'm not sitting in front of my PC at the moment.


MDA