VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Need a little help ...
 
Notifications
Clear all

Need a little help with adding new textures

7 Posts
3 Users
0 Reactions
4,767 Views
DHR
 DHR
(@dhr_10843)
Reputable Member
Joined: 12 years ago
Posts: 349
Topic starter   [#909]

This is what I have in the rpk

<FILE 00000201.res >
typeof	7
superid	0x000000C1
typeid	0x0000AB00
alias	carundera4bit64.png
isparentcompatible	1.00
</FILE>
<FILE 00000201.res >
sourcefile cars\racers\Ambulance_data\textures\carundera4bit64.png
</FILE>
<FILE 00000201.res >
typeof	7
superid	0x000000C2
typeid	0x0000AB00
alias	fe.png
isparentcompatible	1.00
</FILE>
<FILE 00000201.res >
sourcefile cars\racers\Ambulance_data\textures\fe.png
</FILE>
<FILE 00000201.res >
typeof	7
superid	0x000000C3
typeid	0x0000AB00
alias	metpat64.png
isparentcompatible	1.00
</FILE>
<FILE 00000201.res >
sourcefile cars\racers\Ambulance_data\textures\metpat64.png
</FILE>
<FILE 00000201.res >
typeof	7
superid	0x000000C4
typeid	0x0000AB00
alias	off.png
isparentcompatible	1.00
</FILE>
<FILE 00000201.res >
sourcefile cars\racers\Ambulance_data\textures\off.png
</FILE>

loading order

texture 0x000000C3
texture 0x000000C2
texture 0x00020025
texture 0x00000014
texture 0x000000C4
texture 0x00030004
texture 0x000000C1

The game crashes after the 2 intros on the loading menu. I can't see what I've done wrong so I need some help.



   
Quote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

first of all why are you changing the superid? e.g. -;

<FILE 00000225.res >
typeof	7
superid	0x00000004
typeid	0x0000008E
alias	chrome.png
isparentcompatible	1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\racers\Baiern_data\textures\chrome.png
</FILE>

copy all off the above from <FILE.... to </FILE>

so -;

<FILE 00000225.res >
typeof 7
superid 0x00000004
typeid 0x0000008E
alias chrome.png
isparentcompatible 1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\racers\Baiern_data\textures\chrome.png
</FILE>

<FILE 00000225.res >
typeof 7
superid 0x00000004
typeid 0x0000008E
alias chrome.png
isparentcompatible 1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\racers\Baiern_data\textures\chrome.png
</FILE>

now you need to work with the red bits in the above code..

so your final rpk would look like -;

<FILE 00000225.res >
typeof 7
superid 0x00000004
typeid 0x0000008E
alias chrome.png
isparentcompatible 1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\racers\Baiern_data\textures\chrome.png
</FILE>

<FILE 00000225.res >
typeof 7
superid 0x00000004
typeid 0x0000008Z
alias newtexture.png
isparentcompatible 1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\racers\Baiern_data\textures[color=#EF2929]newtexture.png[/color]
</FILE>

now you need to make sure that typeid is not in use anywhere else in the RPK bar the loading order bits of the mesh.

then do your loading order, makes sense?



   
ReplyQuote
DHR
 DHR
(@dhr_10843)
Reputable Member
Joined: 12 years ago
Posts: 349
Topic starter  

nvm that I was an idiot using /racers/ instead of /traffic/

Thanks for the quick response and help man!!



   
ReplyQuote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

dumb question..b ut is the texture in the correct directory? as in have you actually pasted the texture to -;

cars\racers\Ambulance_data\textures\

directory? and is it really .png? also is xxxxxxxx8Z id really not in use?

and if you said this is your loading order -;

texture 0x000000C3
texture 0x000000C2
texture 0x00020025
texture 0x00000014
texture 0x000000C4
texture 0x00030004
texture 0x000000C1

then you haven't actually done it properly as in the above config I can only see you using 4 textures instead of 6?

Added 27 seconds later:

oh well 🙂 use this thread for your future problems..



   
ReplyQuote
DHR
 DHR
(@dhr_10843)
Reputable Member
Joined: 12 years ago
Posts: 349
Topic starter  

Spoiler:
Thanks for asking if it was .png 😃 . The lights texture was .bmp and I declared it as .png and was trying to figure out what wasn't working for like 10 minutes.

Here's how it is finished, all that's left now is to edit the scripts, fix the mesh a bit and find a way to contact Pumbars for permission even though this is old as dirt.
[spoiler=rpk]

</FILE>
<FILE 00000016.rsd >
mesh 0x00000013
flags 8.000
texture 0x0000008Z
texture 0x0000008E
texture 0x00020025
texture 0x0000000C
texture	0x0000008F
texture 0x00000014
texture	0x0000008C
</FILE>

....

</FILE>
<FILE 00000021.res >
typeof	7
superid	0x00030001
typeid	0x0000000C
alias	general_env_map.png
isparentcompatible	1.00
</FILE>
<FILE 00000021.rsd >
sourcefile cars\traffic\Ambulance_data\meshes\general_env_map.png
</FILE>
<FILE 00000223.res >
typeof	7
superid	0x00000004
typeid	0x0000008Z
alias	metpat64.png
isparentcompatible	1.00
</FILE>
<FILE 00000223.rsd >
sourcefile cars\traffic\Ambulance_data\textures\metpat64.png
</FILE>
<FILE 00000223.res >
typeof	7
superid	0x00000004
typeid	0x0000008E
alias	fe.png
isparentcompatible	1.00
</FILE>
<FILE 00000223.rsd >
sourcefile cars\traffic\Ambulance_data\textures\fe.png
</FILE>
<FILE 00000223.res >
typeof	7
superid	0x00000004
typeid	0x0000008F
alias	off.png
isparentcompatible	1.00
</FILE>
<FILE 00000223.rsd >
sourcefile cars\traffic\Ambulance_data\textures\off.png
</FILE>
<FILE 00000223.res >
typeof	7
superid	0x00000004
typeid	0x0000008C
alias	carundera4bit64.png
isparentcompatible	1.00
</FILE>
<FILE 00000223.rsd >
sourcefile cars\traffic\Ambulance_data\textures\carundera4bit64.png
</FILE>

Here's some pics. I will release it soon, if someone wants to test it PM me. Sucks that it has to use the same wheel mesh for all the wheels. Had to stance the front otherwise it looked weird-ishly tall

This is driving me nuts.

Here is the rpk, I have put this at the bottom, if I put it where the other textures are I get game constructor crash when I spawn it.

Here is the part that is driving me nuts. If I spawn it the only added texture that works is underbody. If I go to valo city with another car and look for it the textures logos.png is working too but it also appears in place of the nomera.png texture. WTF

<FILE 00000225.res >
typeof	7
superid	0x00000004
typeid	0x0000008C
alias	underbody.png
isparentcompatible	1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\traffic\Taxi_data\textures\underbody.png
</FILE>
<FILE 00000225.res >
typeof	7
superid	0x00000004
typeid	0x0000008M
alias	logos.png
isparentcompatible	1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\traffic\Taxi_data\textures\logos.png
</FILE>
<FILE 00000225.res >
typeof	7
superid	0x00000004
typeid	0x0000008Z
alias	nomera.png
isparentcompatible	1.00
</FILE>
<FILE 00000225.rsd >
sourcefile cars\traffic\Taxi_data\textures\nomera.png
</FILE>

tex

general_env_map.dds
Taxi_chassis.png
underbody.png
logos.png
nomera.png

load order

</FILE>
<FILE 00000007.rsd >
mesh 0x0000000E
flags 8.000
texture 0x00000009
texture 0x0000000F
texture 0x0000008C
texture 0x0000008M
texture 0x0000008Z
</FILE>


   
ReplyQuote
Mario
(@mario_582)
Member Moderator
Joined: 16 years ago
Posts: 641
 

In the ID's u can use only 0-9 A-F , if there is M or Z it will not work



   
ReplyQuote
DHR
 DHR
(@dhr_10843)
Reputable Member
Joined: 12 years ago
Posts: 349
Topic starter  

# Mario :
In the ID's u can use only 0-9 A-F , if there is M or Z it will not work

Thanks man!!

Only a few things left and I will release my first slrr car mod. What happens now is I can't set up the color right and I don't know how to make texture with alpha channel work in max.

Another issue just popped up. The car I am driving is on the right and the AI is on the left. My car looks how I want to but the AI is way to high. The only way I can think of to solve it is to just lower the mesh more before exporting, unless someone who knows more about this game can tell me a better solution.
Spoiler:



   
ReplyQuote
Share: