| ||
| Views: 14,036,534 |
Home
| Forums
| Uploader
| Wiki
| Object databases
| IRC
Rules/FAQ | Memberlist | Calendar | Stats | Online users | Last posts | Search |
04-05-21 11:57 PM |
| Guest: | ||
| 0 users reading Cameras [Tutorial] | 1 bot |
| Main - Archived forums - General SMG hacking - Cameras [Tutorial] | New reply |
| shibboleet |
| ||||||||||||||||||||||||||||||||||||||||||||||||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 2949/4661 EXP: 17985655 Next: 397259 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
Yep. Probably one of the most complicated things in this entire game.
Entry level- Advanced Cameras are the most important aspect of a game. They make levels look a lot better, make it less glitchy, and just gives a cool effect for a game. Now what you want to do, is take a decent look at the "camera" section in Anarchy In The Galaxy. This is a table I used a while ago, but I've figured out more stuff in the process.
Now go under CameraCubeInfo in "Placement." Create a new object, and replace 'name' with "CameraArea". Set the obj_arg0 to 5, you'll see why later. Go ahead and set the position, and scale. And set the AreaShapeNo to 0. Now, go under the 'camera' section again. Go ahead and add a new camera, and put this information in there: version: 30017 gflag.thru: 0 num2: 0 num1: 1 angleB: 0.576436 angleA: 0.727107 dist: 1800 vpanaxis.X: 0 vpanaxis.Y: 1 vpanaxis.Z: 0 vpanuse: 1 udown: 78 pushdelaylow: 78 lplay: 800 uplay: 300 gndint: A0 lower: 0.1 upper: 0.3 camint: 78 fovy: 45 roll: 0 loffsetv: 0 loffset: 0 woffset.X: 0 woffset.Y: 300 woffset.Z: 0 camtype: CAM_TYPE_XZ_PARA id: c:0005 (remember the 5 we set for the CameraArea? This is what it is used for.) evpriority: 0 evfrm: 0 camendint: 0 More values not listed? Just set them at 0. Save the file, and load it in-game. Watch what happens when you walk into it. The camera shifts! You're probably wondering...what sets the angle? Simple. angleA (Y axis) and angleB (X axis) are the angles. Crazy? Yeah. It uses a unit not many use, called radians. It's something like, 180 degrees = pi. Go ahead and use this converter to convert your angles: http://www.beg.utexas.edu/GIS/tools/deg_rad.htm Save, and test them out. Keep on changing the values until you are happy with your camera. Take notice about placing the CameraArea, though. Anything underneath the object placement will be ignored. I hope this helps. Any questions, ask below! ~MrRean ____________________ a |
| Jesse |
| ||
|
Member Normal user Level: 51 Posts: 365/688 EXP: 949757 Next: 64181 Since: 09-05-13 Last post: 1263 days ago Last view: 824 days ago |
I have a few questions for you below:
- Is this all done with whitehole or do I need anarchy in the galaxy for this? - can I create a camera for round planets with this?(I tried to search for such cameras in other levels but I couldn't find any information) - does this also apply to the camera for a launchstar or is that a different kind of camera? |
| NWPlayer123 |
| ||
|
Member Imma Snuggle You Level: 105
Posts: 3277/3604 EXP: 12228877 Next: 33383 Since: 07-07-12 From: Colorado Last post: 1986 days ago Last view: 144 days ago |
Posted by jjesss064 Yes, Anarchy is needed unless you want to manually modify a table with all the data with Whitehole's BCSV editor (which would be a pain) Can't answer the second one, try again later AFAIK all cameras (except for like the intro ones) are these, including ones for launch stars. ____________________ "I hate playing musical chats" ~ Quote of the month |
| Jesse |
| ||
|
Member Normal user Level: 51 Posts: 367/688 EXP: 949757 Next: 64181 Since: 09-05-13 Last post: 1263 days ago Last view: 824 days ago |
Posted by NWPlayer123 yes oke, I have done research on this but I don't get a camera interacting with the launch stars. so the launch stars have free cameras. |
| PaperplateismGuy |
| ||
|
Member Shpayshe Toads: YAY! Level: 50
Posts: 463/654 EXP: 884351 Next: 62966 Since: 08-10-13 From: Paperplate Land Last post: 471 days ago Last view: 484 days ago |
From what I could see on other galaxies with round plants, had the Y axis with a 1 integer, and flat planets had a 0 for a y axis integer. ____________________ Remember, every user has to start out somewhere,- Every time I look back at my old posts, I cringe. |
| Jesse |
| ||
|
Member Normal user Level: 51 Posts: 370/688 EXP: 949757 Next: 64181 Since: 09-05-13 Last post: 1263 days ago Last view: 824 days ago |
So I tried to make a camera and let it shift. however it doesn't work and I can't really check if the position is wrong because the level doesn't open anymore in whitewhole 1.2, whitehole 1.3 gives a crash. so here a few pictures and the whitehole crash txt.
the crash: the crash text: the camera box object in anarchy in the galaxy: the camera in the camera settings: if you need more information about this crash or the things I did please say. |
| shibboleet |
| ||
![]() Fire Mario DROP TABLE users; Level: 118 Posts: 2951/4661 EXP: 17985655 Next: 397259 Since: 07-07-12 Last post: 233 days ago Last view: 27 days ago |
*sigh*
You need to drag the ____Map.arc into yaz0dec, and remove the .rarc. Anarchy saves in yaz0 but whitehole reads rarc. ____________________ a |
| colinzinho |
|
| Mixlas |
|
| Main - Archived forums - General SMG hacking - Cameras [Tutorial] | New reply |
|
Page rendered in 0.026 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 214/214, time: 0.021 seconds.
Acmlmboard 2.064 (2018-07-20)© 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |