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.

adding new slot/att...
 
Notifications
Clear all

adding new slot/attach

21 Posts
8 Users
0 Reactions
44.6 K Views
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter   [#347]

I'm making citroen 2cv for slrr...most things are already placed where they should be but i got a problem...i have 3 grille versions and i want them to be attachable to the hood...but only one at the same time...so can anybody give me example of adding a completely new part to a car? I can already modify existing ones, change it so lights attach to hood instead of chassis or other things like that...but i have no idea how to add new parts

By the way car looks like this...today i tried to make loading order for chassis and hood...everything is ok as you can see

Its not even 30% complete but i make some progress every day

front doors just got shiny new textures...wow loading order is much easier than i thought

Added 21 hours 57 minutes later:

wow so many modders here and not even a single hit on how to do that?



   
Quote
Snowfox
(@snowfox_8058)
Honorable Member
Joined: 13 years ago
Posts: 730
 

Have some patience, not everybody reads every topic. Someone will eventually reply or you could search the forum for an answer. Nice mod by the way, looks good.



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

Sorry but i dont(nor anyone else) live waiting you to write a question here.

This is what you need in the rpk to add a new part from nothing:

<FILE 00000352.res >
typeof 8
superid 0x00040010
typeid 0x000001ID1
alias PARTNAME
isparentcompatible 1.00
</FILE>
<FILE 00000352.rsd >
script cars\racers[color=#73D216]CARFOLDER[/color]\scripts[color=#F57900]PARTNAME[/color].class
native part cars\racers[color=#73D216]CARFOLDER[/color]\scripts[color=#F57900]PARTNAME[/color].cfg
lod_amp 3.000
</FILE>
<FILE 00000274.res >
typeof 14
superid 0x00000005
typeid 0x000001ID2
alias targa
isparentcompatible 1.00
</FILE>
<FILE 00000274.rsd >
mesh 0x000001ID3
flags 8.000
lod_amp 3.000
texture 0x000000ID; texture.format
</FILE>
<FILE 00000175.res >
typeof 5
superid 0x00000003
typeid 0x000001ID3
alias targa
isparentcompatible 1.00
</FILE>
<FILE 00000175.rsd >
sourcefile cars\racers[color=#73D216]CARFOLDER[/color]\meshes[color=#F57900]PARTNAME[/color].scx
</FILE>
<FILE 00000052.res >
typeof 9
superid 0x00000001
typeid 0x000001ID4
alias click
isparentcompatible 1.00
</FILE>
<FILE 00000052.rsd >
shape cars\racers[color=#73D216]CARFOLDER[/color]\meshes[color=#F57900]PARTNAME[/color].scx
</FILE>

Edit IDs with unique ones(and make a cfg with the same ids) and names with whatever are the names of your files.

You said you know already how edit slots so i'm not going to write that part.



   
ReplyQuote
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter  

# Bigg Boss93 :
Sorry but i dont(nor anyone else) live waiting you to write a question here.

Yea i know that...that was just a little provocation to get the answer faster...



   
ReplyQuote
Locomanusa
(@locomanusa_722)
Reputable Member
Joined: 16 years ago
Posts: 328
 

Nice Mod Hope to see more



   
ReplyQuote
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter  

I also have triumph tr3 aston martin db5 and marussia b2...all would have been done sice long time if i didnt have to fight with these stupid slot/attach thing...shure i could release all them as almost one piece cars but i dont wanna do that since i hate unfinished mods.



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

It's all part of learning.. The longer you mod the quicker you get at it! Subaru 22b for e.g. took me around 35h hours to finish.



   
ReplyQuote
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter  

Well that 2cv already took about 50h...but thats becouse i had to start it again from 0 after i messed it up so badly that i couldn't fix it...One question about rpks/cfgs...i know that superid has to be unique but what about typeid?

Do you have to export steering wheel in any special way? i export it like all others but its not in its place
And yes i know that you have to change position in main cfg and steering wheel cfg...and i changed it

Added 56 minutes later:

btw is that proper way of doing glows?



   
ReplyQuote
Gastroker
(@gastroker_7795)
Estimable Member
Joined: 13 years ago
Posts: 173
 

typeid has to be unique, superid shouldn't be touched as I understand it. If someone else can chime in..



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

there are 2 possitions of the steering wheel in cfg.. can't remember which is which! superid shouldn't be changed, superid = id in which catalog page the part will belong..

you need to change TYPEID and that has to be unique.



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

# Jesus Christ :
there are 2 possitions of the steering wheel in cfg.. can't remember which is which!

The top one(near seat and camera slots) is the one that must be edited, and you must export the steering wheel model pivoted to its "ring" center and rotated so that it(the ring) results vertical, a graphical example would be this -> from this position \ to this one | .

# Jesus Christ :
superid shouldn't be changed, superid = id in which catalog page the part will belong..

you need to change TYPEID and that has to be unique.

The super id must be changed only if(as above) you're using a part of rpk from another car(i took that from one of my rpks), so you must search the correct superid to use for your part, a fast example here below:

my super id for stock parts catalog is 0x00000007

<FILE 00000352.res >
typeof 8
superid 0x00000007
typeid 0x000001ID1
alias PARTNAME
isparentcompatible 1.00
</FILE>
<FILE 00000352.rsd >
script cars\racers\CARFOLDER\scripts\PARTNAME.class
native part cars\racers\CARFOLDER\scripts\PARTNAME.cfg
lod_amp 3.000
</FILE>

which is an internal id(aka it's inside the same rpk) and connects it to the actual catalog page(F242), it is meant to prevent parts from appearing in catalog pages when you dont have the car in garage

<FILE 00000340.res >
typeof 8
superid 0x0004F242
typeid 0x00000007
alias >Stock
isparentcompatible 1.00
</FILE>
<FILE 00000340.rsd >
lod_amp 3.000
</FILE>

as you can see in the above the catalog superid starts with a0004 infront of the the actual catalog id, so i'll explain you that as well in few rows:

the first 4 digits of any id are equal to the number of the row with the name of the folder of the file you're looking for(in this case parts.rpk) in the rpk header.

Yeah it sounds a bit complicated, i know, so here's a pratical example(mind that it changes from rpk to rpk so you must check your own):

<FILE external_links >
0001 system\
0002 cars\
0003 cars\racers\
0004 parts\
0005 sound\
0006 particles\
0007 parts\engines\Einvagen_Duhen_Ishima_Focer\
0008 parts\engines\MC_Prime_SuperDuty\
0009 parts\engines\Baiern_Emer\
</FILE>

I hope this will solve most of your questions. 😛



   
ReplyQuote
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter  

Thanks guys...that was a bit tricky but steering wheel is already ok...now im trying to add new parts...will upload more photos soon



   
ReplyQuote
David_2709
(@david_2709_7791)
Noble Member
Joined: 13 years ago
Posts: 1882
 

looks intresting!



   
ReplyQuote
zgredek
(@zgredek_10826)
Estimable Member
Joined: 12 years ago
Posts: 75
Topic starter  

btw could anybody recommend good site with stats like weight distribution engine weight of particular chassis parts size of rims etc? Wikipedia is not enough

Added 1 hour 19 minutes later:

upper arms on chassis set...they no longer stick through the hood...setting the other parts like breakdisks is pain in ass without coordinates script...i do that by trial and error



   
ReplyQuote
Bigg_Boss93
(@bigg_boss93_1370)
Member Admin
Joined: 15 years ago
Posts: 3835
 

why dont you download the coordinate script here in our download area?



   
ReplyQuote
Page 1 / 2
Share: