A Community discussion forum for Halo Custom Edition, Halo 2 Vista, Portal and Halo Machinima

Home  Search Register  Login Member ListRecent Posts
  
 
»Forums Index »Halo Custom Edition (Bungie/Gearbox) »Halo CE General Discussion »Animation Recorder Issue

Author Topic: Animation Recorder Issue (4 messages, Page 1 of 1)
Moderators: Dennis

Halo CE Noob Modder117
Joined: Aug 9, 2018

Can we just be friends? Chill my dudes...


Posted: Aug 16, 2018 09:51 AM    Msg. 1 of 4       
Q1- Is there a way to make a pelican sit still? Despite using the hover command (and as seen in another video) when I watch the recording the pelican is moving slightly as if the recorder doesn't record dev commands. Is there any work around or way to make a pelican sit still?

Q2- Script question
EDIT: Script was fixed and my dropships are being loaded and deleted correctly.
Edited by Halo CE Noob Modder117 on Aug 16, 2018 at 11:19 AM


DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: Aug 16, 2018 01:14 PM    Msg. 2 of 4       
Quote: --- Original message by: Halo CE Noob Modder117

Q1- Is there a way to make a pelican sit still? Despite using the hover command (and as seen in another video) when I watch the recording the pelican is moving slightly as if the recorder doesn't record dev commands. Is there any work around or way to make a pelican sit still?

Q2- Script question
EDIT: Script was fixed and my dropships are being loaded and deleted correctly.
Edited by Halo CE Noob Modder117 on Aug 16, 2018 at 11:19 AM


The animation recorder MUST be run in version 1.09, and must be run locked at 30FPS. If you cannot guarantee 30FPS, lower your resolution. RECORD WITH A GAMEPAD/CONTROLLER. It makes flying the dropships 1000x easier, huge difference, cannot explain. Also, the dropships have constant thrust facing downwards, so if you're tiled slightly forward or backwards the angle will slightly push you forward or backwards. Try to level out as best you can, use crouch to move straight down (drop), and jump to rise back up after (takeoff). Make sure to give 4-5 seconds for the gravlift/dropship's doors to empty the AI.

You can open Sapien and use

(recording_play DROPSHIP_NAME RECORDING_NAME)

Watch your dropship follow it's path. It'll go along the animation. Now, when it reaches the point where you want the troops to get out, run the command

(recording_time DROPSHIP_NAME)

It'll return the number of ticks remaining in the animation. Let's say the value returned was 446. In your script, do the following.


(recording_play DROPSHIP_NAME RECORDING_NAME)
(sleep_until (> 450 (recording_time DROPSHIP_NAME)) 5)
(vehicle_unload DROPSHIP_NAME)



It'll sleep until the number of ticks is under 450, and then unload the dropship. Perfect timing, every time.


Dropship Scripts? Yeah man. I know that feel. Let me know if they don't cooperate with you. I have an extremely elaborate setup I could loan to you if you needed it.


Halo CE Noob Modder117
Joined: Aug 9, 2018

Can we just be friends? Chill my dudes...


Posted: Aug 17, 2018 12:46 AM    Msg. 3 of 4       
Cheers Hamster. You're one helpful and knowledgeable person. So basically I'm starting to think it has something to do with my frames. I got it to 1.09 and are playing it at 30FPS. I'm using a powerful gaming computer so unless that effects it I dunno. Its just that damn slight movement. I mean it's barely noticeable.

I'm just shocked how when recording, even by using the dev command to hover BEFORE starting the recording, it doesn't record the hover and records it as if it is predicting how and where the pelican is slowly drifting.

What I did- Landed the pelican over a spot, put in the hover command. I then pressed '0' (which is my record key) and began recording my dropship sitting there for about 30seconds. I then made the hover false and started to fly away before ending my recording. Upon testing the animation, the pelican spawns and then begins to move backwards VERY VEEEEERY slowly (barely noticeable) before doing the rest of the flight. I just don't get how the recorder isn't picking up that the pelican wasn't moving at all. Strange...

Side question- I havn't got to that stage yet, as I used my script to evac AI rather than drop off, how would I go about having a marine actor variant spawn seated inside whatever chair label in the pelican? random thought example- create_ai marine1 pelican_seat_LB something like that?

EDIT: Well I got them in all the seats, now my problem is getting them out. I've experimented with some existing scripts but for some reason, only 4 out of my 10 seats are emptying. I have all the seats listed correctly copied and pasted from the script to put them in the seats initially but now I cannot get them to exit those seats...
Edited by Halo CE Noob Modder117 on Aug 17, 2018 at 12:57 PM


DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: Aug 17, 2018 03:43 PM    Msg. 4 of 4       
Quote: --- Original message by: Halo CE Noob Modder117

Cheers Hamster. You're one helpful and knowledgeable person. So basically I'm starting to think it has something to do with my frames. I got it to 1.09 and are playing it at 30FPS. I'm using a powerful gaming computer so unless that effects it I dunno. Its just that damn slight movement. I mean it's barely noticeable.

I'm just shocked how when recording, even by using the dev command to hover BEFORE starting the recording, it doesn't record the hover and records it as if it is predicting how and where the pelican is slowly drifting.

What I did- Landed the pelican over a spot, put in the hover command. I then pressed '0' (which is my record key) and began recording my dropship sitting there for about 30seconds. I then made the hover false and started to fly away before ending my recording. Upon testing the animation, the pelican spawns and then begins to move backwards VERY VEEEEERY slowly (barely noticeable) before doing the rest of the flight. I just don't get how the recorder isn't picking up that the pelican wasn't moving at all. Strange...

Side question- I havn't got to that stage yet, as I used my script to evac AI rather than drop off, how would I go about having a marine actor variant spawn seated inside whatever chair label in the pelican? random thought example- create_ai marine1 pelican_seat_LB something like that?

EDIT: Well I got them in all the seats, now my problem is getting them out. I've experimented with some existing scripts but for some reason, only 4 out of my 10 seats are emptying. I have all the seats listed correctly copied and pasted from the script to put them in the seats initially but now I cannot get them to exit those seats...
Edited by Halo CE Noob Modder117 on Aug 17, 2018 at 12:57 PM



Recorded Animations are only player input. It doesn't actually record any game data, it just records what input the player gave on their input device, and plays those same commands on whatever unit it may be. You can run the same recording on a dropship, ghost, grunt or even the player themselves, it'll all respond the same way (albeit with vastly different results due to acceleration, max speed and turning radius values)

Here's how you do recorded animations;


Open Sapien, place a flag. Call it peliflag1. Place it outside the playable area of the map, where the player is unable to see if a pelican magically spawned there. ROTATE THE FLAG TOWARDS WHERE YOU WANT TO FLY.

Place a pelican, call it pelican1. Place it outside the map, and select "do not create automatically"

In game, run the command (object_create pelican1), and debug_cam and cheat_teleport_to_camera to get next to the pelican and inside the driver seat, or use (vehicle_load_magic pelican1 "w-driver" (players)). Now inside the pelican's driver seat, run the command (object_teleport pelican1 peliflag1).

You'll notice the game has you facing where the flag is, but that your pelican is still looking where it was before. Rotate the pelican towards the flag's orientation. Run the object_teleport command again. Adjust the pelican again towards the flag's orientation, run object_teleport, repeat until it's pretty much perfect.

As soon as you have the orientation right, run object_teleport, and JUST as you hit ~ to get back ingame, press your recording button.

Fly the pelican to where the drop will be. Use a controller. When you're over the area you want to be at, hold crouch to lower yourself. Sit in a lowered position for approximately 5-10 seconds. Press jump to raise yourself. Once a decent amount above the ground and any trees or obstacles, fly off outside of the map where the player can't see you. Once outside immediately hit the record button.


Now you can do the above (recording_play) and (recording_time) commands to get the pelican to complete it's full flight;




(object_teleport pelican1 peliflag1)
(recording_play pelican1 pelicanrecording1)
(sleep_until (> 450 (recording_time pelican1)) 5)
(vehicle_unload pelican1 "")
(sleep_until (= 0 (recording_time pelican1)) 5)
(object_destroy pelican1)



Also, for the pelican don't label the seats. Use (ai_place marines) and (vehicle_load_magic pelican1 "" marines) You probably will end up with a marine inside the driver seat, but they're invisible and when you use (vehicle_unload "") later they'll all pop out anyway. If you want to avoid this, name the pelican's driver seat "HaloCENoobModder117" after you've done the recordings, and no character will be able to get inside the driver seat. Since you play the animation directly on the vehicle that won't cause any issued.




Edit


Dropship Debugging

Wraith Dropoffs


Watch those videos. No tutorials there, just me working on Mombasa, but it should at least give you the framework of what should be going on.



Edited by DeadHamster on Aug 17, 2018 at 03:55 PM

 

 
Previous Older Thread    Next newer Thread







Time: Thu January 19, 2023 12:17 AM 109 ms.
A Halo Maps Website