SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 01/04/2012, 12:29 PM   #31
Rapgangsta
Huge Clucker
 
Join Date: Sep 2009
Location: Italy
Posts: 229
Reputation: 25
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by [HLF]Southclaw View Post
@Rapgangsta I just ran it through the editor and it all looks fine.

You have 3 lines of data:
  • The first looks at a beach hut.
  • The second is at the beach but looks towards the city
  • The third is on a building in the city

It might be the version you are using, the update is coming soon today
Just working out some bugs!
I got 4 coordinates, one at the beach, and one on the changing room (on the beach) then one on a skycreaper and the last one is in a building of unity station but when i test it, it gives me only *from beach to changing room* *from changin room to the building at unity omitting the sky creaper* *from building to a random wrong coordinate*
Rapgangsta is offline   Reply With Quote
Old 01/04/2012, 12:46 PM   #32
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,513
Reputation: 1057
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by Rapgangsta View Post
I got 4 coordinates, one at the beach, and one on the changing room (on the beach) then one on a skycreaper and the last one is in a building of unity station but when i test it, it gives me only *from beach to changing room* *from changin room to the building at unity omitting the sky creaper* *from building to a random wrong coordinate*
You only sent me 3 coordinates:

Quote:
Originally Posted by Rapgangsta View Post
I put this coord on the file

556.9511, -1840.6011, 5.3149, 552.5361, -1874.2539, 7.9882, 4000, 0, 1
552.5361, -1874.2539, 7.9882, 1521.3917, -1365.4189, 250.5859
1521.3917, -1365.4189, 250.5859, 1777.2450, -1777.5021, 42.4688


first 2 works the third doesn't work


Send me the full 4 and I will have a look for you




By the way:
New version released!

Check first post
[HLF]Southclaw is offline   Reply With Quote
Old 01/04/2012, 01:06 PM   #33
Rapgangsta
Huge Clucker
 
Join Date: Sep 2009
Location: Italy
Posts: 229
Reputation: 25
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by [HLF]Southclaw View Post
You only sent me 3 coordinates:





Send me the full 4 and I will have a look for you




By the way:
New version released!

Check first post
AddPlayerClass(0,556.9511,-1840.6011,5.3149,179.9743,0,0,0,0,0,0); // BEACH 1
AddPlayerClass(0,552.5361,-1874.2539,7.9882,341.9458,0,0,0,0,0,0); // BEACH 2
AddPlayerClass(0,1521.3917,-1365.4189,248.5859,156.6154,0,0,0,0,0,0); // SKYCREAPER
AddPlayerClass(0,1777.2450,-1777.5021,52.4688,246.9187,0,0,0,0,0,0); // UNITYPARK1
Rapgangsta is offline   Reply With Quote
Old 01/04/2012, 01:33 PM   #34
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,513
Reputation: 1057
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

That is only one set of coordinates, there needs to be a camera position and a camera look at location.

The best way to get these is to use The Map Editor by JernejL.

Click the "Views" tab then click "Copy CameraLookAt() coords" when you have the camera in the right place.


It will output as:
Code:
SetPlayerCameraPos(playerid, 366.1500, 1762.8300, 158.9100);

SetPlayerCameraLookAt(playerid, 365.3100, 1763.3800, 158.0600);
So you need to remove all the bits you don't need (grey) and get the co-ords (red)
SetPlayerCameraPos(playerid, 366.1500, 1762.8300, 158.9100);

SetPlayerCameraLookAt(playerid, 365.3100, 1763.3800, 158.0600);


Put them in a line separated by a comma (',') and add data if you need to

366.1500, 1762.8300, 158.9100, 365.3100, 1763.3800, 158.0600, 5000, 0, 1


It should load all the coords from the file, if it still doesn't work send me your new coords
[HLF]Southclaw is offline   Reply With Quote
Old 01/04/2012, 06:29 PM   #35
DarkScripter
Huge Clucker
 
DarkScripter's Avatar
 
Join Date: Jan 2012
Posts: 311
Reputation: 57
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Very Good!
__________________
Quote:
Originally Posted by SpiritEvil
pawn Code:
if (strcmp("/q", cmdtext, true, 10) == 0 || strcmp("/quit", cmdtext, true, 10) == 0)
    {
        new str[128], name[MAX_PLAYER_NAME];
        GetPlayerName(playerid, name, MAX_PLAYER_NAME);
        format(str, sizeof(str), "%s has been permanently banned from the server! Reason: One does not simply quit from my server!!", name);
        SendClientMessageToAll(COL_RED, str);
        Ban(playerid);
        return 1;
    }
DarkScripter is offline   Reply With Quote
Old 02/04/2012, 12:21 PM   #36
WooTFTW
Huge Clucker
 
WooTFTW's Avatar
 
Join Date: May 2011
Location: = GetPlayerPos(WooTFTW);
Posts: 260
Reputation: 35
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

I would appreciate a function like StopCameraFromPlayingForPlayer(playerid).
WooTFTW is offline   Reply With Quote
Old 02/04/2012, 03:37 PM   #37
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,513
Reputation: 1057
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by WooTFTW View Post
I would appreciate a function like StopCameraFromPlayingForPlayer(playerid).
Thanks for the suggestion!
I'll add this in the next version

Also, any cool cameras people have made, feel free to post them here and I will put them in the main post, I'm curious to how people are using this!
[HLF]Southclaw is offline   Reply With Quote
Old 05/04/2012, 01:07 PM   #38
WooTFTW
Huge Clucker
 
WooTFTW's Avatar
 
Join Date: May 2011
Location: = GetPlayerPos(WooTFTW);
Posts: 260
Reputation: 35
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by [HLF]Southclaw View Post
Thanks for the suggestion!
I'll add this in the next version

Also, any cool cameras people have made, feel free to post them here and I will put them in the main post, I'm curious to how people are using this!
pawn Code:
1938.8500, -1751.3900, 19.0200, 1939.8500, -1751.3800, 18.9500, 100, 0, 1
2139.1167, -1745.6768, 19.4010, 2138.4534, -1746.4249, 19.2810, 15000, 0, 1
2215.2581, -1755.6302, 17.7699, 2215.6675, -1754.7172, 17.6199
2209.7563, -1656.7448, 19.9855, 2210.6631, -1656.3215, 19.8755
2278.6096, -1380.1464, 34.8891, 2279.2136, -1380.9436, 34.7091
2201.6323, -1382.5875, 31.3231, 2202.2026, -1383.4093, 31.1481
2003.7324, -1171.0598, 138.0242, 2002.8063, -1171.4390, 138.0392
1726.4774, -1299.2393, 23.5913, 1725.4773, -1299.2616, 23.5163
1656.4550, -1297.5599, 19.1593, 1656.7570, -1298.5134, 21.7443
1535.6394, -1297.5018, 18.6209, 1534.6405, -1297.5402, 18.6309
1325.4043, -1407.6576, 61.9134, 1324.8309, -1406.8391, 61.7834
Camera moving around the streets of LS.
Waiting for the function
WooTFTW is offline   Reply With Quote
Old 05/04/2012, 03:26 PM   #39
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,513
Reputation: 1057
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

Quote:
Originally Posted by WooTFTW View Post
pawn Code:
1938.8500, -1751.3900, 19.0200, 1939.8500, -1751.3800, 18.9500, 100, 0, 1
2139.1167, -1745.6768, 19.4010, 2138.4534, -1746.4249, 19.2810, 15000, 0, 1
2215.2581, -1755.6302, 17.7699, 2215.6675, -1754.7172, 17.6199
2209.7563, -1656.7448, 19.9855, 2210.6631, -1656.3215, 19.8755
2278.6096, -1380.1464, 34.8891, 2279.2136, -1380.9436, 34.7091
2201.6323, -1382.5875, 31.3231, 2202.2026, -1383.4093, 31.1481
2003.7324, -1171.0598, 138.0242, 2002.8063, -1171.4390, 138.0392
1726.4774, -1299.2393, 23.5913, 1725.4773, -1299.2616, 23.5163
1656.4550, -1297.5599, 19.1593, 1656.7570, -1298.5134, 21.7443
1535.6394, -1297.5018, 18.6209, 1534.6405, -1297.5402, 18.6309
1325.4043, -1407.6576, 61.9134, 1324.8309, -1406.8391, 61.7834
Camera moving around the streets of LS.
Waiting for the function


Ah nice! I will check that one out

At the moment I'm away from home so development is a bit slower, but I'm still working on it when I can.
To be honest the stop function is done, I'm just perfecting the editor.
If you want, I will just upload a quick version without the editor but including the stop function.

Also there are some more functions for getting/setting camera and node data in the script!
[HLF]Southclaw is offline   Reply With Quote
Old 06/04/2012, 06:53 PM   #40
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,513
Reputation: 1057
Default Re: Cinematic Camera Mover [Easy File Loaded Data]

New version released!
A sort of 'Mid-way' update between the current one and the next one which will include the Editor!

Updated Functions!! list at the download link on the first page!


I will write a better first post when I get time, I'm away from home at the moment so I'm not doing much scripting apart from a few minutes here and there in the evening!


@WooTFTW I added the function you wanted!
And btw that camera you set up and posted looks pretty cool! Good work!



Enjoy
[HLF]Southclaw is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] [FS] Easy Camera MX_Master Filterscripts 31 26/11/2012 11:51 AM
[HELP] Saving data into a file Pooh7 Help Archive 4 10/12/2010 05:27 PM
Reading data from file RDragon Help Archive 4 27/06/2009 09:04 AM
How to save data in file. arachimi Help Archive 1 15/05/2009 09:25 AM


All times are GMT. The time now is 01:26 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.