HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Problem rotating camera

07-12-2004, 03:59 AM#1
AFZ
Hello.

I'm making an RPG (with only a few daily minutes to work on it :> ) And... I want the camera to be freely rotated by the user in game. I want the possible camera angles to be 0, 90, 180 and 270. Everything works fine excepts for one thing: When the camera rotates 180 degrees to any direction, te game crashes.
07-12-2004, 04:10 AM#2
FrostCyrus
You could do what I'm planning on doing for my RPG (which I also spend little time working on, hahah). If you have the advanced editor (downloaded here ), you can disable keyboard mouse scrolling using advanced triggers. Johnfn gives a pretty good explanation here.
07-13-2004, 09:47 PM#3
AFZ
Yeah! I already have the advanced editor. I've seen some very interesting advanced triggers, but I can't use them 'cause the editor always gives me a "compiling problem" error when I use advanced triggers. (I did enable them in WEU enhacer). But the problem (*I think*) is not 'how' to do the camera rotation, it is 'why' does the game crash when I rotate it *too much* :(

I could send you a map sample for you to see the problem. (if you want to)
07-13-2004, 09:52 PM#4
harshateja
Quote:
Originally Posted by AFZ
editor always gives me a "compiling problem" error when I use advanced triggers. (I did enable them in WEU enhacer).
I could send you a map sample for you to see the problem. (if you want to)

There is an obvious solution to that problem. First make sure its enabled in WeU Nehancer and you did. You forgot to Initialize Advance Triggers in the editor! To do this, go to yout map initialize triggers, go to advanced and look for initialze advanced triggers. Thats always the problem. As for your camera crashing at 180 degrees. Whats your triggers for it? If you post them up ll t ry my best to see what the prob is.

~HarshaTeja~
07-19-2004, 09:56 PM#5
AFZ
Quote:
Originally Posted by harshateja
There is an obvious solution to that problem. First make sure its enabled in WeU Nehancer and you did. You forgot to Initialize Advance Triggers in the editor! To do this, go to yout map initialize triggers, go to advanced and look for initialze advanced triggers. Thats always the problem.

~HarshaTeja~

I put the 'Initialize Advanced Triggers' trigger under map initialization.

This trigger alone gives me compile problems

Quote:
Originally Posted by harshateja
As for your camera crashing at 180 degrees. Whats your triggers for it? If you post them up ll t ry my best to see what the prob is.

~HarshaTeja~

I'll do It soon, I'm not at home right now.