Jump to content

[LE3] Useful scripts


Rick
 Share

Recommended Posts

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)

Link to comment
Share on other sites

- 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.

Stop toying and make games

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...