Hello Friends,
I am tweaking the Conjured Chopper, it`s working fine.
I added this line ate the begin of the script:
:activated=13:plrmoveto=chopper,plrpointatobject=30
So if the entity is activated (this happens after player presses "0") the player will be locked on to the chopper and the camera will have an inclination simulating 3rd person view.
I used this because by default this script uses the command associateplayer, and this command does not work good because the entity will move a lot of times faster than the player, so the player (now the player is our camera view) will never be able to follow the chopper, so we wont be able to simulate 3rd person view.
So my solution is working almost perfect, the only problem is that the player never faces the chopper from backwards (like in race games), the player (camera view) will be facing the opposite direction of the movement, so you see like if you were moving backwards:
player facing backwards chopper facing forward
<--------------------- --------------------->
movement direction
--------------------------------------------->
I tried a lot of things, i tried inverting the model direction in 3dsmax, tried fixnewy= 180 / 90 / -90 / 270 on fpe, but also not working.
So my idea is to change the value of the internal variable for camera angle and even position ($CAY, $CPZ,...), so this way we can "create" a 3rd person camera like in racing games.
But as i am new to script, i don`t now how to work with those internal variables.
I tried this:
:activated=13:plrmoveto=chopper,$CAY=180, but nope
Also tried this:
:activated=13:plrmoveto=chopper,globalvar=$CAY,state=90
:state=90:setvar=180
I am not knowing how to change those internal variables, so i ask you dear folks if someone can help me.
Thanks.
007
Goldenye 007 N64