Page 1 of 1

SCNR.META Editing Question

Posted: Sat Aug 13, 2005 11:30 am
by DECOY
I have been experimenting with adding additional vehicles and items to maps by adding them into the scenario file via scnr.xml, just prior to the rebuild. So that I dont have to swap them for something else on the map.

They are not showing up on the map when I run the game, but if I open the map with Sparkedit, they are shown as being in the location I put them on the map??

Any help appreciated.

Posted: Sun Aug 14, 2005 9:46 pm
by maca_§
I'm guessing this is for HPC, do you want me to move it to the correct forum?

Posted: Mon Aug 15, 2005 3:01 am
by DECOY
Tech questions is not for halo PC anymore?

Probably not worth moving it, I dont think anyone here has the knowledge to help :(

Posted: Mon Aug 15, 2005 3:39 am
by maca_§
This forum is for technical stuff about computers and other.
Your query is about HPC more directly than technical stuff :).
I'll move it to the HPC forum but leave a shadow topic here.
Sorry for hi-jacking your thread by the way :-/.

Posted: Mon Aug 15, 2005 6:55 am
by CtrlAltDestroy
With Halo PC gametypes, the maximum amount of vehicles is 4 of each (Ghosts, Banshees, Warthogs, Rocket Warthogs, Tanks, and Gun Turrets)

Soo... I'm guessing you have to hex edit the gametypes, mb?

Posted: Mon Aug 15, 2005 8:00 am
by DECOY
The issue is not just related to vehicles unfortunately.

Here's what I'm trying...
I PMI a duplicated weapon folder into the map (say sniper2) so I can
change the attributes and model without affecting sniper1.

I edit the scenario file and make reference to my new item inplace of an
existing item, (say health pack) and uase the healthpacks former location
reference as the spawn point for my new weapon.

Unfortunately.... :roll:

Nothing appears on the map ingame, no new weapon or Healthpack,
but if I open the map with sparkedit I can see the new item in the location
previously held by the healthpack. :evil:

Anyone?

Posted: Mon Aug 15, 2005 8:11 am
by Patrickssj6
DECOY wrote:The issue is not just related to vehicles unfortunately.

Here's what I'm trying...
I PMI a duplicated weapon folder into the map (say sniper2) so I can
change the attributes and model without affecting sniper1.

I edit the scenario file and make reference to my new item inplace of an
existing item, (say health pack) and uase the healthpacks former location
reference as the spawn point for my new weapon.

Unfortunately.... :roll:

Nothing appears on the map ingame, no new weapon or Healthpack,
but if I open the map with sparkedit I can see the new item in the location
previously held by the healthpack. :evil:

Anyone?
well i had that same error when i tried to pmi a pelican.It showed up in Sparkedit but not ingame

Posted: Mon Aug 15, 2005 9:17 am
by DECOY
Well there is one positive side effect of this so far....

By adding the item into the scenario file, it shows up in Sparkedit as its correct model, not a little red box. If you swap it in using Sparkedit (as normal) it appears in game.

With Normal PMI of a new vehicle, you will need to duplicate one of the existing vehicles in the map and then swap it for your new vehicle with Sparkedit to get it to appear ingame.

I was trying to do this by just editing the scenario.
Anyone know a HM member who is handy at scenario editing?

Posted: Mon Aug 15, 2005 9:35 am
by Phenomena
if its a new vehicle or weapon you pmid you have to add it to the globals tag... ill get the offsets for you in a sec :P oh and if its a weapon you also need an item collection :P

edit: oh and when editing the sncr file the weapons dont get added to the weapons section there added as netgame equipment (atleast in ce :P)

Posted: Wed Aug 17, 2005 7:38 am
by thinkreddie
DECOY wrote: Nothing appears on the map ingame, no new weapon or Healthpack,
but if I open the map with sparkedit I can see the new item in the location
previously held by the healthpack. :evil:
Anyone?
I had that problem with my sp-mp mod. try this.

Code: Select all

<value>
<type>reflexive</type>
<offset>0x384</offset>
<name>MP equipment</name>
</value>


<struct>
<name>MP equipment</name>
<size>144</size>

<value>
<type>id16</type>
<offset>0x4</offset>
<name>type</name>
<option>
<value>012</value>
<name>all games</name>
</option>
<option>
<value>00</value>
<name>none</name>
</option>
</value>

</struct>
add that to your scenario plugin for hmt, and change the value to 'all games' in whatever netgame equipment you pmi'd.

if you didnt import it as netgame equipment... do that.

for all of my mods that involve scenario editing (ai, machines, ect...) I created a scenario with the HEK, and imported whatever I needed.

If that doesn't work, then do what phenom said.

Posted: Wed Aug 17, 2005 9:34 am
by DECOY
Excellent :D

Thanks!

EDIT* I wonder if this is what topic threads used to look like at HM?