|RJD||I have drawn diagonal views for a secret project, but do not know how to incorporate them into my game. What script would I change and what would I change in it?|
Wow, I thought there was a solution already posted here, but I guess not. An attempt was made here, but a minor typo led to an unsolved mystery (Cloudee, & and | are bitwise functions...you needed to use or and and). Some correct (and relatively accurate) code is provided below:|
Replace this with "DirLoop(...)" in cycle.sc. The loops 4, 5, 6, and 7 represent upper left, upper right, lower left, and lower right respectively. Feel free to change the loops to whatever you want. Hope this helps!
Thanks. I got it working! The views are used at the wrong times, where he will do the moonwalk, etc, but that will be easy to fix. Thanks!|
Edit: It works fine now, but it looks akward when Ego stops walking and has a leg in the air, etc. I looked through the forums, but apparently nobody's asked about idle views. I know its been done, in LockerGnome Quest and many Sierra SCI games, but..how?
|Nychold||Download the source code to LockerGnome Quest, and look in Cycle.sc. There's an extra class at the end called StopWalk. Start there.|
|RJD. at school||I've copied n pasted the StopWalk code from LockerGnome, but it doesnt seem to do anything. Is it supposed to work, or do I need more directions? Remember, I need idle views for all 8 directions.|
You have to set your actors' and/or ego's cycler to StopWalk, instead of Walk. ie:|
(send gEgo:setCycle(StopWalk 1))
And there are some other, smaller details, but I'll let you figure them out. :D
Well, I got that fixed, thanks to Nychold, but now I have yet another question. I know I'm probably being a bit annoying with all these questions.... |
I don't recall having seen this done in any SCI0 games before, but it is in nearly all VGA games. I want the Ego to turn as he walks. For example: Ego is facing east, and player clicks to west of him. I want Ego to face directly front or back and then a diagonal view inbetween these two side views. Do you guys understand my question? Has this been done before in an EGA game?
|doan sephim||i think that that was done in quest for glory 2, but i definately dont know how you'd go about pulling it off...sorry. anyone else have an idea?|