sword in campaign??

Discuss Halo 2 modding, progress on figuring things out, mapfiles...you know the drill. Cheating discussion not allowed.
Locked
DrunkenBomber





Posts: 64
Joined: Fri May 27, 2005 10:23 pm

sword in campaign??

Post by DrunkenBomber »

is there any way to make the sword never run out on campaign?
Duncan





Posts: 116
Joined: Mon Oct 04, 2004 10:49 am

Post by Duncan »

Probally. Just look at the values of the single player to the ones in multiplayer.
Jefff




Socialist Miner Logistician Snitch!
Critic Droplet

Posts: 244
Joined: Sun Oct 24, 2004 5:59 pm

Post by Jefff »

Just inject the sword meta over the one is singleplayer. Or, if your really lazy, use insolence to add the sword and swap it to the new one in the scnr and/or globals.
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

It seems that there is another reflexive which points to plasma life...try out the plug below and you should be able to edit it without injecting anything. since youre nulling it out i suggest you put zeros for everything but you might wanna experiment and see what the other values mean....could be somethin cool. Sorry that everything isnt really labeled....it was just a little 5 minute comparison so everything here is just one big assumption...

NOTE: when selecting numbers from the box...ONLY edit the 0. also i wouldnt use this for anything besides the energy sword..im pretty sure this is nested under something else and i dont feel like going back to fix since you only need it for the energy sword but if anyones interested get back to me and ill do it the right way.

Code: Select all

<plugin>
	<tag>weap</tag>
	<struct>
		<name>Main</name>
		<size>0</size>
		<value>
			<type>reflexive</type>
			<offset>0x340</offset>
			<name>Plasma Depletion (sword)</name>
		</value>
	</struct>
	<struct>
		<name>Plasma Depletion (sword)</name>
		<size>36</size>
		<value>
			<type>short</type>
			<offset>0x0</offset>
			<name>ID/deplete ammo value?</name>
		</value>
		<value>
			<type>short</type>
			<offset>0x2</offset>
			<name>ID/deplete ammo value?</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x8</offset>
			<name>Unknown Float</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x18</offset>
			<name>Unknown Float</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x20</offset>
			<name>Unknown Float</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x4</offset>
			<name>EXISTS?</name>
		</value>
		<value>
			<type>float</type>
			<offset>0xc</offset>
			<name>EXISTS?</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x10</offset>
			<name>EXISTS?</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x14</offset>
			<name>EXISTS?</name>
		</value>
		<value>
			<type>float</type>
			<offset>0x1c</offset>
			<name>EXISTS?</name>
		</value>
	</struct>
</plugin>
DrunkenBomber





Posts: 64
Joined: Fri May 27, 2005 10:23 pm

Post by DrunkenBomber »

How am I supposed to use this plugin? Is this for ADI? I saved it as xlm and what not but it still doesent come up...
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

yea its an oldschool xml.....save as "weap.xml" and then put it in the plugins folder of adi or any other h2 modding app that supports them.
DrunkenBomber





Posts: 64
Joined: Fri May 27, 2005 10:23 pm

Post by DrunkenBomber »

Yeah but wont that replace all the plugins I have currently?

Edit: I just added it to my plugin and now it crashes, wtf?
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

when you add this rename your other "weap.xml" to something else and change it back when youre done....also the plug above should only be used for the energy sword, if you click on something else it probly will freeze lol
DrunkenBomber





Posts: 64
Joined: Fri May 27, 2005 10:23 pm

Post by DrunkenBomber »

It worked for the sword actually pretty awesome, but im trying to figure out a way to leave all the plugins in and that one to at the same time, is there a way?
User avatar
xbox7887




Socialist Coagulator Decryptor Advisor
Eureka Commentator Wave Scorched Earth

Posts: 2160
Joined: Mon Dec 27, 2004 6:19 pm
Location: New Lenox, Illinois
Contact:

Post by xbox7887 »

yea but not in an xml plug....it would either have to be in the blue guerilla format or h2x because they are the only ones that support nested refelxives
DrunkenBomber





Posts: 64
Joined: Fri May 27, 2005 10:23 pm

Post by DrunkenBomber »

Can you help me with something else as well?

Im also trying to get unlimited camo in campaign, not permanent, like on and off by white button, if not possible then increasing the time limit on it. Also, heres a real challenge im wondering if its possible to increase the kick effect of the battle rifle? like make it kick more and seem more powerfull, possibly even rumble harder... oh there is one other question i have for you, how do you change the starting weapon in campaign? gas giant...
Locked