One of the reasons we would often betray our allies in the campaign levels for Halo 1 was because unlike the second or third game, players could not switch weapons with allies.
Let's say you finished clearing out a mess of grunts with fuel rods. Instead of hoarding the, say 4 fuelrods, for yourself, you decide to ration them out to your four surviving marines and ODSTs.
So you set out in your troop transport hog with your allies, and because they've been upgraded from AR's and Br's, you have no reason to worry. Why? Now you've got four cannons firing, blasting the enemy to oblivion in all directions! The game is grossly unbalanced in your favor.
So was the case for me in Halo 3. I want to do that in Halo 1.
I believe that a script might be possible for this, but I'm not quite sure.
I think you could enable the script for particular trigger volumes, but not in general cases.
Command lines that might help are:
(player_action_test_action)
(player_action_test_zoom)
(player_add_equipment )
(objects_attach )
(player_action_test_reset)
(for when the script repeats)Of course, attaching a weapon to the AI doesn't give it the ability to wield it, as I found out with my elite friend a while back...

However, the object swap for the AI would only occur while the player was in the trigger volume, still deciding if he liked what weapon he swapped for or not. As soon as the player leaves it, the AI would be swapped and replaced with the AI that really does hold the weapon (kind of similar to the berserking sword elite script I did a while back).
So...player clears area of all enemies. Optional objective flashes up on the screen: "go to the waypoint/marker to switch a weapon with a marine. Several markers pop up and all surviving marines approach his assigned trigger volume, which are where each of the markers are. The player picks up a fuel rod, walks over to one of the markers, presses the action button "e" to swap a weapon.
The game checks to see what weapons the player has before he switches. If he has a fuel rod as a primary and a pistol as a secondary, it will assign him an equipment profile of a battle rifle for a primary and a pistol for his secondary.
I'll check how the duel-wielding weapons script works later to see how to do this part right. The marine will have a fuel rod weapon "attached" to his right hand. When the player leaves the trigger volume, the marine will wait there until the player starts leaving the room.
When the player starts leaving the room, the optional objective disappears. The marines are then swapped with marines that actually carry the given weapons, and then the marines follow the player-- the script is now turned off.
---------
Now, assuming this is all possible, the fact remains that a lot of one-time, single use encounters, trigger volumes, objects will have to be created, taking up a lot of space that could be used for something else. Does anyone have a logical solution to this that is more efficient (requires less scripting and single-use content) and effective?
---------
One last thing, not related to the above question: is it possible for a map to retrieve data from a previous mission that the player played? Like in Halo 2 when you ended the level with a sniper rifle, you might be able to carry it on into the next one, with the same ammunition level.
I'm thinking about this because my SP maps may be too big to put into one map file and I might need to split it up into several.
Edited by er449 on Feb 6, 2010 at 07:33 PM