Rick Posted March 14, 2013 Share Posted March 14, 2013 Eventually, not right now, I plan on making a package of useful generic scripts. I'm going to copy some of these from iTween but would like for people to just list some stuff they think would be generic enough and useful. CameraFade (fades the camera in and out) ShakeCamera (shakes the camera) MoveTo (move an entity to another entity over a specific amount of time) ScaleTo (scales an entity to a certain value over time) RotateTo (rotates an entity to a certain value) PointAt (points an entity at another entity) Some useful character controller AI command(s) could be: TakeCover (could either use specific cover volume triggers placed in the world or dynamically scan near geometry to find cover) Quote Link to comment Share on other sites More sharing options...
YouGroove Posted March 14, 2013 Share Posted March 14, 2013 - Follow : the mob will turn to face player or another entity and will follow parameters : entity to follow (like barbarian and goblins) Distance far away when follow will be activated activation Distance closest to stop follow - Take Cover for player : some 3 raycast (left, right, mid) to detect plain surface and it would take cover Ability to crouch in the cover position - Go to player and avoid obstacle with cylinder collision (could it be golbin or big trees or anything) All that could be used with space ship game from top view or otehr game style , not only characters based game. Quote Stop toying and make games Link to comment Share on other sites More sharing options...
cassius Posted March 14, 2013 Share Posted March 14, 2013 That sounds brilliant. I see theres no EntityDistance command with Leadwerks 3. Thar too would be usefull. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
josk Posted March 14, 2013 Share Posted March 14, 2013 Theres a DistanceToPoint command, e.g. self.distone = self.position:DistanceToPoint( self.target5:GetPosition(true) ) Quote Elite Cobra Squad Link to comment Share on other sites More sharing options...
cassius Posted March 14, 2013 Share Posted March 14, 2013 Can DistanceToPoint SEE through hills in a Terrain.( when we get terrain) Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.