Page 1 of 1

Rebuild succeeded... sparkedit will not import and save tags

Posted: Wed Oct 20, 2004 10:53 pm
by Deus
I guess no one pays attention to the scripting and programming section. =P Anyways, here is my issue, and please tell me if I did anything wrong along the way.

From what all the tutorials said, I have done the right thing so far. For this particular endeavor, I was trying to add the rocket hog and the plasma cannon into the SP level "The Maw".

Here was my step by step procedure

1. Opened up d40. Created two folders within one root folder. One folder is "maw extract" and holds the meta batch extract data. Other one is simply titled bsp and holds the Maw's bsp data.

2. Open up blood gulch, save the metas (with recursive checked). Put the two different groups of files into two separate folders; plasmacannon and rwarthog.

3. I take the CVS file, load it, and extract the raw models into their respective folders.

4. After that, I run them through the decrapper, producing d40.sbsp.meta, d40.vertices.new, and d40.indices.new.

5. Then move the files into one folder. The contents of maw extract go in first, followed by the CONTENTS (I did not place the folder in, I opened the folder and placed the CONTENTS) of rwarthog and plasmacannon, overwriting duplicate files.

6. I create the folder levels/test/d40 and place d40.sbsp.meta in it.

7. I attempt to build. I copy the d40.map file into the root directory of my work. For my BSP chunk file I point it towards the d40.sbsp.meta (I should probably also note that I renamed this file to d40a.sbsp.meta). I autofill the rest. For the "Add files" part at the bottom, I toss in rwarthog.mod2.meta, rwarthog.sbsp.meta, plasma_cannon.mod2.meta, and plasma_cannon.sbsp.meta.

Unlike in what I posted in the scripting and programming section of the site, I managed to figure out my error and get the map to compile and actually be able to open it in HMT and not crash. =P I gave it the vertices, the intrices, etc etc etc...

But when I tried to open it in Sparkedit I get a "seek failed on an unnamed file" error. From what I understand, I've done all the right things, I don't know what's wrong.

I also have one small unrelated question. In maps like the Library, the flamethrower I know is loaded with the map. But when I click on a shotgun or rocket launcher in that level my only swapping options are to swap between the shotgun or rocket launcher. Is there a way for me to swap in a flamethrower?

Posted: Thu Oct 21, 2004 3:31 pm
by Edwin
the map is probably the problem, Maw does not like being modded (i've tried soooo many imes to mod it, but to no avail)

Posted: Thu Oct 21, 2004 3:51 pm
by Locke
With your shotgun thing.You have to go to tools--->import,and import the new weapon.Then you can swap it for other weapons.

Posted: Thu Oct 21, 2004 5:36 pm
by Deus
I decided to change the map then, so I tried adding the rocket hog to the Silent Cartographer. I was pleased when the map loaded up in Sparkedit. =)

But I still have some problems. The Rocket Hog is there, and I can swap it with other vehicles on the map, but by doing so I sometimes create exceptions that cause the game to crash. The first time I tried to have the rocket hog get flown in by the Pelican... the level booted up, I played some, and then it crashed. Then I swapped out the warthog down the beach with the rocket hog. In this case, the failed failed to boot up at all.

Are there only limited options in placing these imported items? Or is something funky?

And for the flamethrower in the library... Maybe my sparkedit is messed up, but it only lets me import vehicle and scenery tags... weapon tags aren't even and option.

Posted: Thu Oct 21, 2004 5:45 pm
by Locke
Oh yeah.Make the weapon in to a vehicle.Import with se.Then change back to weapon

Posted: Thu Oct 21, 2004 7:57 pm
by Deus
I changed the flamethrower to scenery, since there are no vehicles in there. I tell it to import, but it never imports the tag. No error message or anything, and it's there if I try to do it again but just keeps failing. =(

And does anyone know what is wrong with my rocket hog mod? Is there any crucial step that I missed when I imported the vehicle? I also found the escape key doesn't work in my compile. =/

Posted: Thu Oct 21, 2004 8:24 pm
by Edwin
Deus wrote: Are there only limited options in placing these imported items? Or is something funky?

And for the flamethrower in the library... Maybe my sparkedit is messed up, but it only lets me import vehicle and scenery tags... weapon tags aren't even and option.
yes, there is something funky, rebuilding SP maps does not allways work properly.

and no, your spark edit is fine, what you need to do s use HMT to make the gun into a scenery piece, import t that way, and swap it back to weapon.

Posted: Thu Oct 21, 2004 10:35 pm
by Scarecrow
i got so bored that i imported a warthog into the library, made it so i controlled the turret also, put a second fire, which sped up the rate of fire from the turret, but also caused it to become inaccurate................

Posted: Fri Oct 22, 2004 4:04 am
by Deus
But like I said, the item appears in the import tag list, but I am never actually allowed to import them. =/

Trying out a second mod, I import the weapon as a vehicle, but what do I do from there? I go back into HMt and change it back to a weapon, but it stil isn't placeable on the weapons list...

Posted: Fri Oct 22, 2004 6:45 pm
by Deus
Now, if I say, wanted to add the fuel rod gun to a map, what models do I need to decrap, etc, in order for it to appear and function properly? The gun itself? The fp model? The projectile?

Posted: Fri Oct 22, 2004 7:08 pm
by Edwin
Deus wrote:Now, if I say, wanted to add the fuel rod gun to a map, what models do I need to decrap, etc, in order for it to appear and function properly? The gun itself? The fp model? The projectile?
all except projectile, all the mod2 models for it.

lol, i just noticed your name, god, lol.

Posted: Sat Oct 23, 2004 10:31 am
by Deus
I simply do not understand this, because it seems like everything that I am doing is correct, but it's just not functioning the way it needs to. I almost think that SparkEdit is bugged with my computer (although I have installed and reinstalled)

Here are my list of problems...

Level is Silent Cartographer, and I want to be able to import the Rocket Hog into it and replace it with the one that the Pelican brings to you in the beginning. I rebuild the map with the rocket hog, and check to make sure the model is there and looks right. It does, and so I go to import tag to scenario and import it into the level. I swap with the hog that gets brought in with the Pelican. The level will crash every time the game has to spawn the rocket hog (right after the last covenant on the beach is killed). I have noticed that whenever I import a tag, it only remains imported for that particular sparkedit session. After I click 'save changes' and reopen it to check on the rocket hog, it doesn't appear in the map until I reimport it again.

I'm trying to import the flamethrower into the library. I change it's meta to that of a vehicle, etc etc, but in this case, it doesn't import at all. No error message or anything, the thing just doesn't import (although it lists it as an option to import, and I click 'OK', nothing happens)

On Keyes, I'm trying to bring in the plasma cannon from blood gulch. Etc etc etc, rebuild. When I rebuild, only the model for the plasma cannon is showing, the projectile and fp are corrupted. And importing tags on this map works the same as it does on Silent Cartographer... it imports for that session, but after I save and reopen, the item that I have swapped with my plasma cannon is nothing more than a red box... and I have to import the tag again.

It seems my biggest issue is that for some reason, sparkedit is not saving the tags that I import, and I have idea why that is.

EDIT: Perhaps someone can confirm or deny this, but as I understand it, for single player levels, you don't place the scnr file and the sbsp file a levels/test directory, but rather the levels/d20 directory. I noticed that hmt tries to find these files in the levels/test directory by default. Either way, I always point hmt to the files that I have in the the /levels/d20 directory (the scnr and the BSP). But maybe sparkedit needs a map to be compiled in a certain way? Could that be my issue?

Posted: Sat Oct 23, 2004 11:00 am
by Edwin
i think that most of the problem is you are trying to go MP--->SP. tat rarely works right, and takes a crapload of skill/luck to make it work.

Posted: Sat Oct 23, 2004 12:05 pm
by DremolitoX
oh for the love of god!

http://www.halomods.com/forums/viewtopi ... ht=#126601

and if you cant get that right it is because you are retarded

Posted: Sat Oct 23, 2004 12:18 pm
by Deus
But the single player map tutorial uses the fuel rod from blood gulch as it's example. And it still doesn't address the issue regarding the fact that the silly stuff won't import the tags and keep them saved as being imported, unless you really do have to import the tag every single time into sparkedit when you run it.

Posted: Sat Oct 23, 2004 12:32 pm
by Deus
DremolitoX wrote:oh for the love of god!

http://www.halomods.com/forums/viewtopi ... ht=#126601

and if you cant get that right it is because you are retarded
Guess what? I've already done that entire thing, step by step. Nice attempt to make me into an idiot.

Posted: Sat Oct 23, 2004 12:36 pm
by DremolitoX
well it isnt my fault!

Posted: Sat Oct 23, 2004 2:44 pm
by Deus
Well, I don't want to be continuing to take up space with this topic... but does anyone think that I could IM them and ask them some questions I have... some things that can't be found in the tutorials.

Posted: Sun Oct 24, 2004 7:25 pm
by Tyrant
Deus wrote:But the single player map tutorial uses the fuel rod from blood gulch as it's example. And it still doesn't address the issue regarding the fact that the silly stuff won't import the tags and keep them saved as being imported, unless you really do have to import the tag every single time into sparkedit when you run it.
you can import the fuel rod gun into single player? that's awesome! wait, i thought it wasn't possible to rebuild sp maps...

Posted: Sun Oct 24, 2004 7:25 pm
by Tyrant
maybe that'll be fixed in the new release of HMT! that would be awesome!