PDA

View Full Version : couple of questions



Donut
March 2nd, 2009, 02:18 PM
so yeah i haven't modded halo in a while, but i got a good idea last night and have some questions:

1) if i had a vehicle where it has a weapon that is controlled by the driver, like the tank, could i make another gunner seat like the warthog gun? like the halo 3 tank. im not making an h3 tank but im wondering if it can be done

2) in an sp map, could i script it so that when i die, i dont revert to saved, but rather teleport somewhere? if thats not possible, i was thinking that i could have a script that checks the player biped, and if it drops below 1 it teleports me somewhere and sets my health back to full. what im wondering is if my health is at 15 or something and i get shot with a bullet that does more damage than 15 (like the pistol), would the game read my health as less than 1 and teleport me before killing me?
im trying to make a jailbreak style mod, like ut 2004's jailbreak. i want it in sp because i dont think you can use all of the script functions in mp, and i kinda dont want a bunch of kids pm'ing me asking me why the ai doesnt work

3) do all of the script functions work in mp?
4) am i wasting my damn time?

teh lag
March 2nd, 2009, 02:24 PM
so yeah i haven't modded halo in a while, but i got a good idea last night and have some questions:

1) if i had a vehicle where it has a weapon that is controlled by the driver, like the tank, could i make another gunner seat like the warthog gun? like the halo 3 tank. im not making an h3 tank but im wondering if it can be done.

Only one weapon is allowed per vehicle.


2) in an sp map, could i script it so that when i die, i dont revert to saved, but rather teleport somewhere? if thats not possible, i was thinking that i could have a script that checks the player biped, and if it drops below 1 it teleports me somewhere and sets my health back to full. what im wondering is if my health is at 15 or something and i get shot with a bullet that does more damage than 15 (like the pistol), would the game read my health as less than 1 and teleport me before killing me?
im trying to make a jailbreak style mod, like ut 2004's jailbreak. i want it in sp because i dont think you can use all of the script functions in mp, and i kinda dont want a bunch of kids pm'ing me asking me why the ai doesnt work

The latter idea is the most likely to work, though I don't quite know how dying/checkpoints/reverting function.


3) do all of the script functions work in mp?

Yes and no. While they all "work," don't count on them working the way you expect them to. Player IDs are a great example of this : they're constantly changing during an MP game (this is what made Metroid Online have to drop the Morph Ball).

Donut
March 2nd, 2009, 03:13 PM
would object attach work for the vehicle thing? this is not supposed to be played with more than one human player, regardless of the setting i end up putting the map on, so im not worried about player numbers.
what you are saying is that the functions will work for mp as they work for sp, the issue is just syncing and player numbers? if im the only one playing, i should always be player 0, right?

_TheArbiter_
March 2nd, 2009, 09:37 PM
Yeah. There are actually commands that only refer to player 0, so i dont think its a good idea to use them in mp.