Page 1 of 1

Calling All Advanced Modders

Posted: Mon Mar 15, 2004 4:10 pm
by [users]Juan
ok i really need help here.I made a map rebuild.I made a new file for a hog called Hummer.I copyed the normal hog files into the new Hummer file.I edited the files that r in the Hummer file and changed all the ones that said for example rwarthog.mod2 and put it as Hummer.mod2 and i edited it with notepad so when i get on HMT3 it says vehicle/Hummer and vehicle/rwarhog so there 2 seperate hogs also i edited the file deathisland.scnr and looked for

<Dependency>
<Location>0x3BD4</Location>
<Tagclass>ihevtinuejbo</Tagclass>
<Filename>vehicles\rwarthog\rwarthog</Filename>
</Dependency>

and i copyed it and put it to look like this

<Dependency>
<Location>0x3BD4</Location>
<Tagclass>ihevtinuejbo</Tagclass>
<Filename>vehicles\Hummer\Hummer</Filename>
</Dependency>
<Dependency>
<Location>0x3BD4</Location>
<Tagclass>ihevtinuejbo</Tagclass>
<Filename>vehicles\rwarthog\rwarthog</Filename>
</Dependency>

then i looked for scenery\teleporter_base\teleporter_base and changed the location of the Hummer to the location of the teleporter base then i rebuilded the map with HMT3 and it worked but the problem is that when i change the PC model of the Hummer it changes it for the rwarhog too can someone tell me wut i did wrong?

Posted: Mon Mar 15, 2004 4:23 pm
by ddrmmrbboyy
ok heres the fix to it that deadly shadow posted yesterday
go thru the whole tut that i made, and rebuild the map, then after that, open a hex editor, and Go 210 bytes ahead from the Scenario Meta Offset. Change this number - 32 - To the num of things u've added. It is 32 in Hex - 50 in Dec - If you were to say added 20 trees u'd change it to 46. 50 Dec + 20 = 70 converted to Hex = 46. I am going to test this now and if it works then well.. it's just great
i havent tried it, but he seems to know what he's talking about

Posted: Mon Mar 15, 2004 4:27 pm
by [users]Juan
um i have never used Hex before can u tell me where i can can get a tut

Posted: Mon Mar 15, 2004 6:14 pm
by Deadly_Shadow
Erm... It seems right. Yes. But. The mod2 data points to the model. Raw Model Pointers. And. I believe that there cannot be 2 of the same mod2 data files. Because. If they both point to the same thing then when uchange one the other will as well. Like this graph

-----Model
---|--------|
--|----------|---------------Same mod2 data
-|------------|
|--------------|



Model----Model
------|-----------|
------|-----------|----------------------Diff mod2 data
------|-----------|

You would have to modify the mod2 which 1% of people here know how well. But you see. You cannot simply change the file name. Both models if pointed to the same model will change if another is changed. I don't think it is possible yet without more research in the mod2. We cannot yet have 2 of the same vehis with diff model

Posted: Mon Mar 15, 2004 6:25 pm
by [users]Juan
o ok thanks

Posted: Tue Mar 16, 2004 4:17 am
by Master_Makayo
i think deadly is right

Posted: Tue Mar 16, 2004 6:40 pm
by HunterXI
Master_Makayo wrote:i think deadly is right
of course Deadly's right, he's like the only person qualified to be talking... except maybe tjc2k4...

Posted: Tue Mar 16, 2004 7:38 pm
by halofan141
Baisically like deadly said, you need to go back through your xml and check all your dependencies and references with the new vehicle so that the vehicle points to the right mod2.