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 »Vehicle Boarding

Author Topic: Vehicle Boarding (7 messages, Page 1 of 1)
Moderators: Dennis

JadeMcLain
Joined: Nov 13, 2018

Moved to JadeUndead


Posted: Dec 14, 2018 04:39 PM    Msg. 1 of 7       
We can manipulate the driver with:
(script static unit g1_driver (vehicle_driver g1))


(script continuous board0
(if (= (vehicle_test_seat_list g1 "ghost-b-b" (players)) 1)
(begin
(ai_command_list_by_unit (g1_driver) pause0)
(damage_object "weapons\pistol\bullet" (g1_driver))
(sleep_until (= (ai_command_list_status (g1_driver)) 0))
)
)
)


https://www.youtube.com/watch?v=fjfcXutjVNo

I can make him exit after a couple seconds, or do whatever.

Edited by JadeMcLain on Dec 14, 2018 at 06:28 PM


SOI_7
Joined: Mar 23, 2012

ZA WARUDO! TOKI WO TOMARE!


Posted: Dec 14, 2018 06:15 PM    Msg. 2 of 7       
B-but... how did you manage to get inside the boarding seat while the ghost is used by another AI? Iirc in stock Halo you can't do that unless you and the driver are on the same team


JadeMcLain
Joined: Nov 13, 2018

Moved to JadeUndead


Posted: Dec 14, 2018 06:23 PM    Msg. 3 of 7       
Quote: --- Original message by: SOI_7
B-but... how did you manage to get inside the boarding seat while the ghost is used by another AI? Iirc in stock Halo you can't do that unless you and the driver are on the same team


Just found this out, but you can attach the player with AI on the same team as the enemy, and then quickly detach the player and it will still let you inside the vehicle.

I updated the link:

Edit: Im not sure why the player freezes after killing the boarded enemy, but I'll find out soon enough.

Edit2: We can just attach the player to a blank encounter instead of detaching, that fixes it.

Edit3: The fixed map.
https://mega.nz/#!EHIjRKCB!cMa_XXwfjLoQF6pIf_BEI8SpknBr_8ZRcMklIkAq3iA
Edited by JadeMcLain on Dec 14, 2018 at 07:14 PM


DeadHamster
Joined: Jun 8, 2014

https://discord.gg/Neu4EJM


Posted: Dec 14, 2018 07:36 PM    Msg. 4 of 7       
Quote: --- Original message by: JadeMcLain

Quote: --- Original message by: SOI_7
B-but... how did you manage to get inside the boarding seat while the ghost is used by another AI? Iirc in stock Halo you can't do that unless you and the driver are on the same team


Just found this out, but you can attach the player with AI on the same team as the enemy, and then quickly detach the player and it will still let you inside the vehicle.

I updated the link:

Edit: Im not sure why the player freezes after killing the boarded enemy, but I'll find out soon enough.

Edit2: We can just attach the player to a blank encounter instead of detaching, that fixes it.

Edit3: The fixed map.
https://mega.nz/#!EHIjRKCB!cMa_XXwfjLoQF6pIf_BEI8SpknBr_8ZRcMklIkAq3iA
Edited by JadeMcLain on Dec 14, 2018 at 07:14 PM



What is it you're doing here, exactly? I'm missing what you mean by attaching the players to encounters.

If I was doing it in stock Halo without OS, I would attach be using objects_attach and custom markers, instead of actual seats. Curious what this is


JadeMcLain
Joined: Nov 13, 2018

Moved to JadeUndead


Posted: Dec 14, 2018 08:35 PM    Msg. 5 of 7       
I'm using ai_attach on the player to allow them into enemy vehicles. I gave the ghost a custom seat that only drones can enter.
https://youtu.be/eWcBr3K7htg
Edited by JadeMcLain on Dec 14, 2018 at 09:22 PM


SOI_7
Joined: Mar 23, 2012

ZA WARUDO! TOKI WO TOMARE!


Posted: Dec 15, 2018 06:43 AM    Msg. 6 of 7       
Quote: --- Original message by: JadeMcLain

Quote: --- Original message by: SOI_7
B-but... how did you manage to get inside the boarding seat while the ghost is used by another AI? Iirc in stock Halo you can't do that unless you and the driver are on the same team


Just found this out, but you can attach the player with AI on the same team as the enemy, and then quickly detach the player and it will still let you inside the vehicle.

I updated the link:

Edit: Im not sure why the player freezes after killing the boarded enemy, but I'll find out soon enough.

Edit2: We can just attach the player to a blank encounter instead of detaching, that fixes it.

Edit3: The fixed map.
https://mega.nz/#!EHIjRKCB!cMa_XXwfjLoQF6pIf_BEI8SpknBr_8ZRcMklIkAq3iA
Edited by JadeMcLain on Dec 14, 2018 at 07:14 PM


Very interesting. For my mod I used to create a temporary allegiance between the player and the AIs, but the concept is the same. Which conditions are you using to perform the attach? Distance to object? I made a "portable trigger volume" with attached bipeds checking when they both see the player, but your method seems to be better


JadeMcLain
Joined: Nov 13, 2018

Moved to JadeUndead


Posted: Dec 15, 2018 07:12 AM    Msg. 7 of 7       
Quote: --- Original message by: SOI_7
Quote: --- Original message by: JadeMcLain

Quote: --- Original message by: SOI_7
B-but... how did you manage to get inside the boarding seat while the ghost is used by another AI? Iirc in stock Halo you can't do that unless you and the driver are on the same team


Just found this out, but you can attach the player with AI on the same team as the enemy, and then quickly detach the player and it will still let you inside the vehicle.

I updated the link:

Edit: Im not sure why the player freezes after killing the boarded enemy, but I'll find out soon enough.

Edit2: We can just attach the player to a blank encounter instead of detaching, that fixes it.

Edit3: The fixed map.
https://mega.nz/#!EHIjRKCB!cMa_XXwfjLoQF6pIf_BEI8SpknBr_8ZRcMklIkAq3iA
Edited by JadeMcLain on Dec 14, 2018 at 07:14 PM


Very interesting. For my mod I used to create a temporary allegiance between the player and the AIs, but the concept is the same. Which conditions are you using to perform the attach? Distance to object? I made a "portable trigger volume" with attached bipeds checking when they both see the player, but your method seems to be better


That portable trigger vol and allegiance is a great idea. For conditions, I'm going to attach the player with some AI that has a short sight and hear distance, and that can detect when the enemy is near, and also if "g1_driver" exists, and is in a large trigger vol near me. Think I'm going to try out that portable trigger vol, objects_can_see_objects seems like it would be useful for this.

Edit: I think migration by unit would be very useful for this.

Edit2: We can duplicate seats and markers, force the AI into these seats they wont be able to exit. This is better than making them braindead so they dont exit vehicles when the enemy hops in.


(script continuous g1_board
(if (= (vehicle_test_seat_list g1 "ghost-b-b" (players)) 1)
(begin
(vehicle_load_magic g1 "driver2" (g1_driver))
(damage_object "weapons\pistol\bullet" (g1_driver))
(sleep 30)
)
)
)


https://youtu.be/SXjAstlzj4Y

I recommend stalking it when the ghost is still and distracted by the flood.

Edit3: If you enter the driver seat while its being occupied by an enemy, it will kick the enemy out of his diver seat, and its really cool. If you enter from the front of the ghost the Drone will beat the enemy to death.

Edit4: Better script.


(script continuous g1_board
(if (= (vehicle_test_seat_list g1 "ghost-b-b" (players)) 1)
(begin
(vehicle_load_magic g1 "driver2" (g1_driver))
(damage_object "weapons\pistol\bullet" (g1_driver))
(sleep 30)
(if (= (vehicle_test_seat_list g1 "ghost-b-b" (players)) 0)
(begin
(vehicle_load_magic g1 "driver" (g1_driver))
)
)
)
)
)


Updated map.
https://mega.nz/#!EXQ0gSYJ!RNMzxlU7MGc2Yr6gufNwwomjiZM2OoIISn-jlBfiMYA

Edit5: I have ways of detecting player team for online multiplayer, and I'm going to use this to fix the reticle issue with everyone being considered an enemy or friend.
Edited by JadeMcLain on Dec 16, 2018 at 05:08 PM

 

 
Previous Older Thread    Next newer Thread







Time: Sun October 20, 2019 8:46 AM 172 ms.
A Halo Maps Website