3D Rad - Free 3D game maker - Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

HOW TO POST TO THIS FORUM: after you have registered to the forum, please don't forget to send me an email with 'Please activate my forum account (e-mail: your-email-here)' as subject.

Pages: 1 [2]

Author Topic: User-created plug-ins  (Read 35521 times)

flesk

  • Newbie
  • *
  • Posts: 15
CamChase with two targets
« Reply #15 on: August 16, 2010, 12:22:24 PM »
The camera is orientated towards a point which is equally distanced from two objects. When the fov is lesser than the angle required to show both objects, the camera orientates towards one of the objects. Instructions are in the script.
« Last Edit: August 28, 2010, 12:16:31 PM by flesk »
Logged

Logmyster

  • 3D Rad Guru
  • *****
  • Posts: 1035
  • HEAVY METAL!
    • WWW
PathPlotter
« Reply #16 on: January 17, 2011, 10:12:47 PM »
Thought up in a dream inspired by a script written by Jestermon I give you the pathplotter.
Simply link your terrain or RB to the script and change the propertys in the int terrain = OBJ_XXX.
Simply move about and press R at point you wish to create a waypoint. When done save the path
and load it in your project.

Please PM me if you have problems, so far I know of one;
If you try to go down or up a steep slope or vertical wall, it won't work.

Change the line
if(iObjectScan(TERRAIN,cycleLocation,Vector3(0,-10,0),0.1,contact,normal))
to
if(iObjectScan(TERRAIN,cycleLocation,Vector3(0,-200,0),0.1,contact,normal))
for a huge scan distance.
With help from jestermon.
« Last Edit: January 18, 2011, 10:30:30 AM by Logmyster »
Logged
I'm never here and if I am I will try and say something...
Sorry tramkp888 I kind of forgot you back in July

chronocide

  • Full Member
  • ***
  • Posts: 132
MouseLook360
« Reply #17 on: January 27, 2013, 10:33:38 PM »
MouseLook360 steers a Car or PCar with the mouse, even up walls and upside down (physics not included). Like Halo's vehicle steering, but fully 360 capable.

Requires Quaternion_to_cartesian.zip from here for it's RadMath2.dll
If the camera doesn't follow the car, there was a problem loading the dll.

Connect a CamChase 1st, and then a Car or PCar. CamChase should ignore everything. Car or PCar should have it's steering keys disabled. Set forward key to A and reverse to Z, or edit the script's dikAccelerate variable. (The script will steer opposite if you're going backwards, unless you're throttling forward)

The float bumpyCamReduction should be from 0 (jarring camera motion, but instant look targeting) to 1 (camera doesn't rotate). Closer to 1 reduces jarring, but makes looking sluggish. (A little work still needed here)

(much thanks to Jestermon)
« Last Edit: January 27, 2013, 10:54:01 PM by chronocide »
Logged
Pages: 1 [2]
« previous next »