This game will become a mix of RTS and RPG. Playing in an future not too far with a Little touch of apocalypse.

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Add media Report RSS Camera & Turret Scripts
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Description

this Video demonstrates my Camera Script which makes Camera movement possible as known from the Irrlicht engine. While right mouse button is down you can rotate the camera around the MTB with mouse movement. Zoom works always by mousewheel. That script also has an Option to flip the Rotation back behind the mtb after the release of the right mouse button which was disabled for this Video. The next big step was the turret script. This took me the whole week but now it seems to work perfect. You can Limit both Turret and Barrel rotations. The first turret created in the Video (titled "Turret 2") has both limitations enabled and therefor can't hit the enemy turrets from several Positions. This turret also has a pretty low fire rate of 0,5 a Clip amount of 5 and a reload time of 3 seconds, all done by Parameters so u can use the same script for all turrets but give them different Values. Beside that there's a Recoil effect which pulls the muzzle Bone (where the visible Barrel is attached to) backwards and goes back to it's Origin oer time defined by the RecoilDamping Value. With the second turret appearing it's getting obvious that also turret Rotation and Barrel Rotation Speeds can be set individually and as needed the turret works on all orientations. No Need to place it flat on the ground. Due to the Problems i had getting this to work as i wanted i'll add it to the download area so anybody can use it if wanted