Making certain surfaces climbable

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Post Reply
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Making certain surfaces climbable

Post by CaptainPoopface »

Collision surfaces in the BSP have the option to be made climbable, but is there a way to make scenery, machs or blocs climbable? I'd like to make some watchtowers that you have to climb up to reach. Elevators, teleporters and air lifts are no good for what I have in mind. I want the same functionality as Wall Walker, just applied to specific objects or surfaces that I can position wherever I want.

Is it possible?
User avatar
Zone 117




Pi Trickster Stylist Advisor
Snitch! Connoisseur

Posts: 799
Joined: Wed Nov 09, 2005 4:37 pm
Location: Want to be in Asia :'(

Post by Zone 117 »

I don't think so. Halo 2 came with options to make parts of the bsp climbable (for the ladders.)
You would have to add the entire option for objects.
Image Thanks for the sig Xiion :P
[ AI Revision ][ Sewer ][ Boat Mod ][ Archaic ]
Remapped: Mod Archive and Forums.
User avatar
-Treetoad-




Coagulator Commentator

Posts: 736
Joined: Sat Jun 03, 2006 7:58 pm
Contact:

Post by -Treetoad- »

i only remember two ladders in the game, one on outskirts and the other on headlong :P
Sig over file size limit.
User avatar
Zone 117




Pi Trickster Stylist Advisor
Snitch! Connoisseur

Posts: 799
Joined: Wed Nov 09, 2005 4:37 pm
Location: Want to be in Asia :'(

Post by Zone 117 »

-Treetoad- wrote:i only remember two ladders in the game, one on outskirts and the other on headlong :P
Yep, but that's irrelevant. Bungie still made the option to make BSP climbable, they didn't make that option for objects.
Image Thanks for the sig Xiion :P
[ AI Revision ][ Sewer ][ Boat Mod ][ Archaic ]
Remapped: Mod Archive and Forums.
User avatar
Rockymods




Wordewatician 500

Posts: 721
Joined: Sun Apr 08, 2007 10:33 am
Contact:

Post by Rockymods »

You could maybe put a invisible grav lift at the bottom but that wouldn't be that proper since you can't even control if you want to go down the surface.
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Post by kornman00 »

You'd have to change the object's collision model.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

Posts: 408
Joined: Mon Jul 23, 2007 7:56 am

Post by CaptainPoopface »

Well, I've poked around in the [coll] and may have found a trail of breadcrumbs. In the Collision Surfaces reflexive of the [sbsp] class, there are four flags, one of which is "Is Climable." In the [coll] class, there is almost exactly the same series of reflexives, including a byte for Flags. It's a bitmask, I presume. If there are four flags masked by the byte, then each flag gets two bits, right? If they are listed left to right from most significant to least significant bit, and 0 means off, then setting "Is Climable" should be
00 00 11 00 (binary) = 12 (decimal).

If they are listed LSB to MSB, then it should be
00 11 00 00 = 48 (decimal)

However, I tried setting the Flags byte for all the surfaces of a bridge plank to 12, 48, 255, maybe a couple of others, and saw no changes. Same old bridge plank, not climbable, not breakable.

Any ideas? Bueller?

Kornman, can you elaborate on what you mean by changing the collision model?

Image
User avatar
Zone 117




Pi Trickster Stylist Advisor
Snitch! Connoisseur

Posts: 799
Joined: Wed Nov 09, 2005 4:37 pm
Location: Want to be in Asia :'(

Post by Zone 117 »

CaptainPoopface wrote:Well, I've poked around in the [coll] and may have found a trail of breadcrumbs. In the Collision Surfaces reflexive of the [sbsp] class, there are four flags, one of which is "Is Climable." In the [coll] class, there is almost exactly the same series of reflexives, including a byte for Flags. It's a bitmask, I presume. If there are four flags masked by the byte, then each flag gets two bits, right? If they are listed left to right from most significant to least significant bit, and 0 means off, then setting "Is Climable" should be
00 00 11 00 (binary) = 12 (decimal).

If they are listed LSB to MSB, then it should be
00 11 00 00 = 48 (decimal)

However, I tried setting the Flags byte for all the surfaces of a bridge plank to 12, 48, 255, maybe a couple of others, and saw no changes. Same old bridge plank, not climbable, not breakable.

Any ideas? Bueller?

Kornman, can you elaborate on what you mean by changing the collision model?

Image
There just aren't options for it..
Image Thanks for the sig Xiion :P
[ AI Revision ][ Sewer ][ Boat Mod ][ Archaic ]
Remapped: Mod Archive and Forums.
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Post by kornman00 »

The collision bsp is the exact same format in the collision_model as it is in the structure_bsp.
User avatar
DARKPARAD0X
Readers Club





Posts: 13
Joined: Thu Aug 16, 2007 4:33 pm

Post by DARKPARAD0X »

there are two ladders on waterworks you might be able to take them out of there and use them and then stack them in entity :)
User avatar
Zone 117




Pi Trickster Stylist Advisor
Snitch! Connoisseur

Posts: 799
Joined: Wed Nov 09, 2005 4:37 pm
Location: Want to be in Asia :'(

Post by Zone 117 »

DARKPARAD0X wrote:there are two ladders on waterworks you might be able to take them out of there and use them and then stack them in entity :)
Unless they are part of the BSP, which I they probably are.
Image Thanks for the sig Xiion :P
[ AI Revision ][ Sewer ][ Boat Mod ][ Archaic ]
Remapped: Mod Archive and Forums.
User avatar
Alex201
Readers Club





Posts: 119
Joined: Sat Dec 09, 2006 1:01 pm

Post by Alex201 »

But how could Bungie make it so that part of the BSP is climable and the rest isn't?
Ah fudge, I can't get my pic to work. I need to llearn more BBCode. Eithier that or figure out a way to enable HTML.
HTML is disabled on this board. It's simple to add a picture. Just put [img]UrlGoesHere[/img].
User avatar
newbymodder




Blacksmith Articulatist 500

Posts: 1475
Joined: Fri Nov 24, 2006 4:43 pm
Location: San Angelo, Tejas

Post by newbymodder »

probably because its easier to do that then add an entire new thing just to climb on
Image
Join Halo 2.5, Can't stop never stop modding halo 2 http://www.halo25.co.nr/
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

Zonne 117 where you looking on the [coll] tag (which is for bullets) or the [phmo](which is for physics, objects, bipeds,vehicules,etc) ?
User avatar
kornman00




ONI New Age

Posts: 146
Joined: Fri Dec 12, 2003 6:30 pm
Contact:

Post by kornman00 »

Alex201 wrote:But how could Bungie make it so that part of the BSP is climable and the rest isn't?
By specifying in max what kind of material flags are applied to a surface (climbable being one of them). It is something figured out by tool when imported into a structure_bsp tag.
User avatar
neodos
Readers Club




Artisan Miner

Posts: 1394
Joined: Thu Aug 12, 2004 11:57 am

Post by neodos »

You have a relexives with chunks, 1 chunk= 1 vertew and in this chunk you have a bitmask, when you set the bitmast to climbable in 4 vertices that form a plane you get a plane that is climbable.
Post Reply