
SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Aug 28, 2007 10:01 PM
Msg. 1 of 7
I find mobile bases like the H3 Elephant to be interesting so I would like experiment with making scripts with those in mind so that one day it might be possible to make one for Halo Ce.
If you have ideas on how to implement some of this via scripting, please contribute.
I'm aware that a lot of neat stuff just won't sync even if the code looks right so I know not to get my hopes up too high that I'll get this to work exactly how I want it to. The most important aspect to me about them is having a mobile spawn point so thats where I want to start.
Here are my current thoughts on implementing this in a script:
Mobile Spawn Points: * Create an unaccessible spawn area with the fixed spawn points and teleport the player via scripts and trigger volumes to the mobile base as soon as they spawn.
Since I don't know if you can attach an exit flag to a vehicle, sticking them directly into an empty vehicle seat might be worth a try. (The unit_enter_vehicle command might work here, suggestions appreciated).
This doesn't solve the physics issue of standing on a moving object but at least you can "spawn" at its location with something like this. If you wanted to incorporate it into a flying mobile base, targeting empty seats would be the way to go.
I have some more ideas but I'll come back to this later. If I get sample scripts that work I'll post them here on the forums.
|
|
|

Switchblade
Joined: Jul 3, 2007
"Do you believe my threat is ended with my death?"
|
Posted: Aug 28, 2007 10:33 PM
Msg. 2 of 7
i don't know if this will work but you might try forcing it not to sync...reason: on maps where there are ai who can drive or be gunner, when they are killed either driving or gunning their bodies stay sometimes even when the vehicle respawns, what i am saying is if you force the moving platform not to sync where you need to stand or run you won't fall through... maybe you can script it so it works like the dev code where you can't fall out of the vehicle... am i making any sense?
|
|
|

SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Aug 28, 2007 11:16 PM
Msg. 3 of 7
Not sure I follow what you meant SwitchBlade. The physics won't let you stay atop a moving platform so theres nothing really a script can do to fix that.
My work around is to put players into seats when they spawn so they don't get betrayed by the driver if its moving that fast. If it is slow enough, staying atop it might not be that difficult but you still have to keep up by walking in the same direction its driving.
|
|
|

Orange_Geko
Joined: Nov 19, 2005
How long since I last used this account?
|
Posted: Aug 29, 2007 05:50 PM
Msg. 4 of 7
Quote: --- Original message by: SGWraith Here are my current thoughts on implementing this in a script:
Mobile Spawn Points: * Create an unaccessible spawn area with the fixed spawn points and teleport the player via scripts and trigger volumes to the mobile base as soon as they spawn.
Since I don't know if you can attach an exit flag to a vehicle, sticking them directly into an empty vehicle seat might be worth a try. (The unit_enter_vehicle command might work here, suggestions appreciated). since I probly am getting kicked off soon, and I feel sick, and I am feeling lazy, ill just give you the physics, you gotta get the acual comands for these physics yourself.. continuous script, start with a unit enter vehicle (for game start to make sure) then sleep until unit health = -1 (non-existant) and then sleep until = 1 (full 100% health) and then end the script.. at that point, it will restart and make him enter the vehicle, and then start again on waiting for him to die.. this one wouldnt work with the global variables to repersent players since it uses sleeps to wait. for the vehicle, continuous, if biped1 sees vehicle1, then check if biped2 sees vehicle1, then if thats also happening, check if the vehicles flashlight is 1 (on) and if thats also happening, then enter vehicle1 into the cargo seat, and set its flashlight 0.. sleep untill flashlight 1, then eject the vehicle from cargo seat
|
|
|

Nexus Halo
Joined: Feb 24, 2007
Halo's Dark Knight http://www.nexushalo.kk5.org/
|
Posted: Aug 29, 2007 08:30 PM
Msg. 5 of 7
Quote: --- Original message by: selentic My friend told me a vehicle I was making was similiar to this elephant, pretty much it just goes really slow so people can walk about inside, and the easiest way to kill it is to hop in and go to the cockpit and kill the driver. How can that be when you step into a moving object in Halo 1 it kills you? So really your friend is wasting his time unless there are many seats.
|
|
|

Orange_Geko
Joined: Nov 19, 2005
How long since I last used this account?
|
Posted: Aug 29, 2007 09:11 PM
Msg. 6 of 7
Quote: --- Original message by: Nexus HaloQuote: --- Original message by: selentic My friend told me a vehicle I was making was similiar to this elephant, pretty much it just goes really slow so people can walk about inside, and the easiest way to kill it is to hop in and go to the cockpit and kill the driver. How can that be when you step into a moving object in Halo 1 it kills you? So really your friend is wasting his time unless there are many seats. dude.. go download covie cruser, use object_create_anew_containing pwn, then go on top of the ship, grab that new ship up there, park below the docking bay, have some of your friends in the server jump on top.. tilt around to drift threw space.. they dont die, they just have to keep walking to prevent themselfs from falling off the sides, frount, back.
|
|
|

SGWraith
Joined: Apr 15, 2006
[SG] Clan
|
Posted: Aug 30, 2007 12:53 AM
Msg. 7 of 7
Quote: --- Original message by: Orange_GekoQuote: --- Original message by: SGWraith Here are my current thoughts on implementing this in a script:
Mobile Spawn Points: * Create an unaccessible spawn area with the fixed spawn points and teleport the player via scripts and trigger volumes to the mobile base as soon as they spawn.
Since I don't know if you can attach an exit flag to a vehicle, sticking them directly into an empty vehicle seat might be worth a try. (The unit_enter_vehicle command might work here, suggestions appreciated). since I probly am getting kicked off soon, and I feel sick, and I am feeling lazy, ill just give you the physics, you gotta get the acual comands for these physics yourself.. continuous script, start with a unit enter vehicle (for game start to make sure) then sleep until unit health = -1 (non-existant) and then sleep until = 1 (full 100% health) and then end the script.. at that point, it will restart and make him enter the vehicle, and then start again on waiting for him to die.. this one wouldnt work with the global variables to repersent players since it uses sleeps to wait. for the vehicle, continuous, if biped1 sees vehicle1, then check if biped2 sees vehicle1, then if thats also happening, check if the vehicles flashlight is 1 (on) and if thats also happening, then enter vehicle1 into the cargo seat, and set its flashlight 0.. sleep untill flashlight 1, then eject the vehicle from cargo seat Ya, I think I can see how thats supposed to work. If I run into any problems I'll make a thread for it. Thanks for the input, Orange Gecko.
|
|
|
| |
|
|
 |
|