Starting grenades

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

Starting grenades

Post by CaptainPoopface »

As far as I know, you can only choose whether you start with plasmas, frags, or neither. Whichever type you start with, you will start with two, even if the bipeds have a one-grenade carrying capacity. Is there a way to change this to, e.g., 4 plasmas and 6 frags to start?

I have searched the forum and found no satisfactory answer. In a post from a couple of years back, xbox7887 suggests using H2x, but my versions of H2x are missing the required scnr plugin, or H2x doesn't like my modded maps.

Is there another way?

Edit: I can think of a hacky, ugly way - start the biped with 2 modded grenades that each chain spawn half as many grenades (ammo) as you really want to start with. That's dirty though. I'm looking for a more legit solution.
Last edited by CaptainPoopface on Wed Sep 12, 2007 1:02 am, edited 1 time in total.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
neodos
Readers Club




Artisan Miner

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

Post by neodos »

First you can start by changing the max count of grenades in the "grenades" reflexives in [matg] tag.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

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

Post by CaptainPoopface »

That does not affect starting grenades.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
grimdoomer




System Engineer

Posts: 1440
Joined: Mon Oct 09, 2006 4:36 pm

Post by grimdoomer »

in the biped mabey or equipment idk
Image
AI Zones in MP | Ambiance | Gravemind Beta v1.1
Aumaan Anubis wrote:Grimdoomer. The first person ever to mod Halo 2 Vista.
UpsetSpy




Coagulator Wordewatician 100

Posts: 146
Joined: Fri Jun 16, 2006 6:05 am
Location: Emerging from that dark hole in which hid for the past months

Post by UpsetSpy »

IDK if this will cause the game to freeze but maybe duplicating the starting equipment chunk in the SCNR tag and just nulling out the weapon & swapping up the grenade types for the duplicated chunk.
Needs motivation to continue modding =[
Lockdown - 85% Updated 9/11
GridIron 1.1Prisoner: UPDATED 9/6!
modsforfun





Posts: 17
Joined: Sat Aug 26, 2006 12:17 am
Location: lost somewhere I don't know where I am.

Post by modsforfun »

Ent bipd so grimdoomer is right. 8) ..just finished testing a map I've ben working on with 4sticky starting grunts and 20 for my {custom} bipd :wink:
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

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

Post by CaptainPoopface »

I have long since tried adjusting the settings in the [bipd] and [matg] tags, and they do not affect starting (STARTING) grenades for me, although of course they affect the grenade carrying capacity.

Are you sure, modsforfun?

Where is that magic "2" that sets the number of starting grenades? I have never run across it.

I have also tried cloning [eqip] chunks onto the grenade [itmc]s, with the intention that picking up (or starting with) each nade [itmc] would give you more than one nade, but that doesn't work.

EDIT: Great news! I found a reflexive in the XML plugin called Starting Profiles that has chunk for starting frag count and starting plasma count. I found a map that has a starting profile defined in it, and I set both the starting nade counts! :D

It didn't work.

So far, I think my dirty chain spawn solution is the only workable one.
Last edited by CaptainPoopface on Thu Sep 13, 2007 1:44 am, edited 1 time in total.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
neodos
Readers Club




Artisan Miner

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

Post by neodos »

Well the only sugestion that i have for you, is to try to add a spawning effect,like in coop, and by this effect spaw the greande equipt.
But i did never try to enable the spawning effect on MP.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

scnr Plugin wrote: <struct name="Player Starting Profile" offset="248" visible="True" size="68" label="Name">
<string32 name="Name" offset="0" visible="True" />
<float name="Starting Health Damage" offset="32" visible="True" />
<float name="Starting Shield Damage" offset="36" visible="True" />
<tag name="Primary Weapon" offset="40" visible="True" />
<id name="Primary Weapon" offset="44" visible="True" />
<short name="Rounds loaded" offset="48" visible="True" />
<short name="Rounds Total" offset="50" visible="True" />
<tag name="Secondary Weapon" offset="52" visible="True" />
<id name="Secondary Weapon" offset="56" visible="True" />
<short name="Rounds loaded" offset="48" visible="True" />
<short name="Rounds Total" offset="50" visible="True" />
<byte name="Starting Fragmentation Grenade Count" offset="64" visible="True" />
<byte name="Starting Plasma Grenade Count" offset="65" visible="True" />
<byte name="Starting -Unknown- Grenade Count" offset="66" visible="True" />
<byte name="Starting -Unknown- Grenade Count" offset="67" visible="True" />
</struct>
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

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

Post by CaptainPoopface »

Thanks Xzodia. It really looks like it should work, but it doesn't. Not for me. I set the values to 11 or 17, and I start with my 2 trusty nades every time.

The name of the starting profile chunk I think is "player profile_0". It's from an SP map. Is there something I need to do to activate or select the profile? I'd expect it to be chosen automatically when there's only one controller plugged in...

I'd be surprised if anyone knows what I'm talking about.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
neodos
Readers Club




Artisan Miner

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

Post by neodos »

That's for SP won't work on syslink or more than 2 players >_>
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

well you could set item collections 3 to 6 in Starting Equipment to grenade collections, that at least would let you choose an extra 4 grenades

Edit: Just did a bit of poking around and came up with just what you need...or at least i know for certain what tag its in and im about 90% sure i found the right values

Get my new mulg plugin XD
(and while your there check out my new vehi plugin 0.9 its full of a lot of awsome and 100% correct new stuff)
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
User avatar
CaptainPoopface




Artisan Advisor Literarian 250

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

Post by CaptainPoopface »

Wow, the elusive "2" has been found at last.

The only thing is, I don't see any results from changing it... The indefatigable 2 remains.

Bugger.

I haven't tried your itmc suggestion for the starting equipment, but that sounds like a good idea. I always wondered what those extra slots were for. If it works, then cloning chunks there might be the solution, as UpsetSpy suggests.
Retired. Thank you neodos, DemonicSandwich, DarkShallFall, Dragonfire, foxfanatic2317, GOWO and everyone in the hall of fame.
If you want to know how I did something, take apart my mods.
User avatar
xzodia




Translator Connoisseur Coagulator

Posts: 1981
Joined: Sun May 15, 2005 10:31 am
Location: UK
Contact:

Post by xzodia »

well i must have named the wrong value then however know for a fact that its somewhere in the mulg
Image
Halo 2 Plugins | Lock-on To Just About Anything | My Sites | Snow Hog
Old Plugins you have, upgrade you must...
Always Maintain a High Quality-To-Crap Ratio.
Post Reply