|
Post by The Final Rune on Mar 29, 2005 15:02:34 GMT -5
I'm creating a custom camera for a section of one of my games and I'm trying to create a pseudo first person view where the character is looking up.
What I tried to do is this: 1.) zoom in to 100 distance 2.) hide the party 3.) move the character forward one space 4.) move the character vertically 1 (16/16) unit up 5.) change camera angle to -45
I'm figuring based on how it looks that being 100 distance from the character is roughly equivealent to 1 space on the dungeon grid. So, working off this assumption I would think moving the character 1 unit up would allow for a camera angle tilted from the ground level looking up.
I have my camera control script running constantly as an action script. And I call my camera alterations as a content script.
But, this doesn't appear to be working.
When I press the assigned button the camera zooms in and tilts, but the character doesn't disappear or move. So it appears as though you are looking through the ground instead of from it.
I'm confused. I could probably figure it out on my own, but I won't be going home till about 10pm tonight, so I figured while I was here I would ask all of y'all what you think the problem is here.
|
|
|
Post by The Smurf on Mar 29, 2005 15:36:56 GMT -5
:Dyeah like i could help. i'm am so horrible with this kind of stuff. this is why i use the default for just about everything. it keeps me out of trouble. -the pathetically unoriginal smurf
|
|
Deleted
Deleted Member
Posts: 0
|
Post by Deleted on Mar 29, 2005 16:26:40 GMT -5
It sounds like the Action script is calling the content script, so the content script is behaving like and action script, and the party move and (probably) party disappear commands can't be done in an action script (and there's no way to call a content script from an action script). Perhaps you could try moving the camera viewpoint (vertically) down instead of moving the character up, and perhaps the 'Member' commands work in action scripts but not the 'Party' (though I have no idea) ones. If the character's resized small enough all-the-time you could see over his head pretty easily. Gl
|
|
|
Post by The Smurf on Mar 29, 2005 16:31:02 GMT -5
all greek to me, my friends. -the smurf
|
|
|
Post by The Final Rune on Mar 29, 2005 16:32:52 GMT -5
I'm sure I'll figure out something.
|
|
|
Post by doyleman on Mar 29, 2005 19:31:30 GMT -5
Yeah, as Will said, your prob. using a action script, but if you wanted the camera to move up about 16/16 height, you could use Camera: Height or something *not sure what its called*. I'm not sure what you want the camera to do though, so if you could explain it simpler for me *heh, i work on 5 letter words and less ONLY *
|
|
|
Post by Neo Samurai on Mar 29, 2005 19:53:12 GMT -5
Hey, smurf. It's actually not all that hard. Doan had some kind of topic on the pavilion boards about it all. If you want, I can try to find it for you.
|
|
|
Post by The Final Rune on Mar 29, 2005 20:03:49 GMT -5
Doan's topic refered to the making of a custom camera. I practically know his sample scripts by heart. This problem is something different.
|
|
|
Post by vespuleth on Mar 30, 2005 1:12:52 GMT -5
use the 'vertical angle command'. this will pivot the camera to the desired angle from its position in space. this way, you dont have to move the party to have the camera look where you want it to. also, the horizontal angle does the same thing, it pans. just some tips. (i dont remember if thats the exact name or not of the command).
|
|
|
Post by The Smurf on Mar 30, 2005 15:29:45 GMT -5
the default camera's cool with me, as i don't really use cutscenes (being different) (actually that's only cause i don't know how to make cutscenes; i'm so pathetic ) ehh, i think my game's fine w/o cutscenes tho. -the smurf
|
|
|
Post by The Final Rune on Mar 30, 2005 18:39:15 GMT -5
I fixed it by making the camera zoom in, change angle and change height above the head of the character.
My next challeng is making an over the shoulder view. It should be simple, I'll just use an indirect effect to check the party direction and then adjust the camera accordingly.
It might cause problems in some enviroments though. So, I'll have to create a secondary view when the camera gets stuck on the enviroment.
NOTE: I have discovered that a wait command in an action script will still allow the player to move around. This my be odl news to some of you, but its new to me.
Also, the input buttons: constant wait command won't regester moving the joysticks. This can possibly cause some problems. I hope there is a way to prevent this. I'll keep looking.
|
|
|
Post by NASH7777 on Mar 30, 2005 18:52:06 GMT -5
If you don't want the party to be able to move in the middle of the Action script change the flag of No Movement on and No Menus on. :-)
|
|
|
Post by The Final Rune on Mar 30, 2005 18:54:35 GMT -5
Thanks NASH, knowing that'll help.
|
|
|
Post by vespuleth on Apr 1, 2005 3:03:55 GMT -5
moving the joysticks are not registered buttons. pressing down on them is.
|
|
|
Post by NASH7777 on Apr 1, 2005 8:08:55 GMT -5
I wish they would have made the joystick with a varaible for button press and then a variable to what degree it is. Like 90 would be stright ahead and 180 to the left. This could add a lot of extra options to the game.
|
|
|
Post by The Final Rune on Apr 1, 2005 9:14:30 GMT -5
Yeah, if that was possible we could program custom moves for our characters. You could make a player rotate the stick then press X to attack in a spin, or press forward and X to jab, or back - forward with a quarter rotate to prefrom a ka-ma-ya-ma-ya wave attack or you get the idea.
Just imagine how many cool different min games we could make using it!
That possiblities would be awesome.
|
|
|
Post by vespuleth on Apr 2, 2005 0:29:15 GMT -5
someones been playing a little too much budakai. i think its time you put the controller down and get some fresh air. go on. (just kidding of course. game until your pupils are red, thats my theory)
|
|
|
Post by doyleman on Apr 2, 2005 0:37:39 GMT -5
theory? you mean motto? theory is a educated guess... (i think some one stays up to late), lol, j/k
|
|
|
Post by vespuleth on Apr 2, 2005 0:39:33 GMT -5
no no, i think your quite right. as a matter of fact, when i get off work, i have to go out of town (i should be back late tomorrow night) which is why all updates/board work is waiting until sunday.
|
|
|
Post by doyleman on Apr 2, 2005 0:44:38 GMT -5
ha, have fun and like i said before, you know yourself more than anyone else, but you can never be to cautious, unless your my grandma...
|
|