SCNR.META Editing Question

Discuss general issues about modding HaloPC. Post ideas for mods here.
Post Reply
DECOY




Socialist Snitch! Articulatist 500

Posts: 1216
Joined: Mon Feb 28, 2005 10:12 am

SCNR.META Editing Question

Post 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.
http://www.customcrysis.com Crysis mapping / modding site under development.
User avatar
maca_§




Grunge

Posts: 5357
Joined: Mon Jan 19, 2004 8:54 pm
Location: Australia
Contact:

Post by maca_§ »

I'm guessing this is for HPC, do you want me to move it to the correct forum?
  • Image
DECOY




Socialist Snitch! Articulatist 500

Posts: 1216
Joined: Mon Feb 28, 2005 10:12 am

Post 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 :(
http://www.customcrysis.com Crysis mapping / modding site under development.
User avatar
maca_§




Grunge

Posts: 5357
Joined: Mon Jan 19, 2004 8:54 pm
Location: Australia
Contact:

Post 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 :-/.
  • Image
CtrlAltDestroy




Designer

Posts: 1509
Joined: Sat Nov 06, 2004 5:14 am
Location: hi2u

Post 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?
DECOY




Socialist Snitch! Articulatist 500

Posts: 1216
Joined: Mon Feb 28, 2005 10:12 am

Post 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?
http://www.customcrysis.com Crysis mapping / modding site under development.
Patrickssj6




Pi Collaborator

Posts: 5426
Joined: Sat Jul 24, 2004 12:12 pm
Location: I'm a Paranoid
Contact:

Post 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
...left for good
DECOY




Socialist Snitch! Articulatist 500

Posts: 1216
Joined: Mon Feb 28, 2005 10:12 am

Post 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?
http://www.customcrysis.com Crysis mapping / modding site under development.
User avatar
Phenomena





Posts: 1510
Joined: Thu Jul 01, 2004 3:25 pm
Location: Training my ducks
Contact:

Post 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)
Image
And if they don't accept Jesus as their Personal Savior, you can kill them later. How cool is that!
User avatar
thinkreddie





Posts: 531
Joined: Fri Jun 18, 2004 4:57 pm
Location: Colorado springs

Post 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.
DECOY wrote:I think everyone should broaden their horizons and learn to spam in a foreign language
DECOY




Socialist Snitch! Articulatist 500

Posts: 1216
Joined: Mon Feb 28, 2005 10:12 am

Post by DECOY »

Excellent :D

Thanks!

EDIT* I wonder if this is what topic threads used to look like at HM?
http://www.customcrysis.com Crysis mapping / modding site under development.
Post Reply