Jump to content

Making Camera an Element?


12p

Recommended Posts

Posted

I please you, MTA team, make the camera an element, or make a function that retrieves it as an element. It will make easier some "camera hacks", for example, using attachElements (player,camera,1,1,0.5) so camera position from player is changed.

Posted

There is no problem with attaching camera to the player, the problem is you can't use your mouse to free look.. But i don't know if this can be solved anyway (never seen such thing in scm, original gta scripting)

Posted

It's not. I tried making a RE4 static camera. "setCameraMatrix" in "onClientRender" event doesn't work properly. I want to ATTACH the element (if player rotates, camera gets static to the player look).

Posted

use onClientPreRender for camera matrix setting - and i havent successfully make custom camera with mouse look - but it's possible in some way - there was a server with fps look.

Posted
use onClientPreRender for camera matrix setting - and i havent successfully make custom camera with mouse look - but it's possible in some way - there was a server with fps look.

Yeah, I tried doing it... It works fine, camera works... But the direction is the problem D:

Posted

Aiming and looking (with mouse). It's not possible to aim the weapon, and change your point of view uisng the mouse. You can move and change direction, but you must use your keyboard for that.

Posted
But i don't know if this can be solved anyway (never seen such thing in scm, original gta scripting)

I have an example of "free look" through SCM (in VC, but same code more or less will work in SA, too). It's not smooth 360º rotation, though I think it'd be possible to do so. This SCM is trx's work back in February 2005. Here is a YouTube video:

I've no idea how to achieve the same thing in LUA/MTASA, though.

Posted
aiming your weapon will probably never be possible that way.

If setPedAimTarget worked on players, there would be no problem.

Posted

It would be nice to use the stage resource to make an media tracker like track mania, use advanced reccorded camera matrix to make a kind of movie to present the map ingame and it take no big size its just a custom camera movement ingame and rotation like the video editor of gta IV , I see a little work of that in basemod to present the map, one of my suggestion I need to post. That + animated texture = MTA can do what Track mania does and a better GAME ! :mrgreen:

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...