Welcome, Please Register or Login

Forums \ Street Legal Racing \ Work In Progress Mods \ -= SGD3S1GN GARAGE | Seat Leon Cupra =-

<<<15678910111213>>>

Author Message
#91\2011-03-27 16:29

Members
2
Online

Posts: 117

Jonava
de Germany

now i know all the stuff, how to doo, but the game wont let me do that :I

i add all the parts, like for the 1st car, BMW E34 '91 , but on the 2 and 3 cars, the game don't leet me to add grill, not from catalog , not from shop, only the first car works, how to fix that?

ist looks like, the 2nd and 3th ar diference cars, i see the parts after i buy the car, but i can't buy it for me car, there is no icon that this parts can be added for me car , but i have looked at the doors, same as me parts, but doors works .

help enyone pleas.

#92\2011-03-27 16:44

Avatar

GOM Team
3
Offline

Posts: 6488

gavle
se Sweden

http://www.carmageddon.com/

u need to add a grille slot on the main.cfg files for those versions to :)

May God have mercy upon my enemies, because i wont.
#93\2011-03-27 17:05

Members
2
Online

Posts: 117

Jonava
de Germany

robban_9000 : u need to add a grille slot on the main.cfg files for those versions to :)

i have, in the same place, as the first one, nothink hapen . :o
#94\2011-03-27 17:10

Avatar

GOM Team
3
Offline

Posts: 6488

gavle
se Sweden

http://www.carmageddon.com/

then u need to add the :

compatible 0x00000006 22

line to, under every part on the last 2 versions of the car to make the parts fit the car.

22 is the slot number..

May God have mercy upon my enemies, because i wont.
#95\2011-03-27 17:33

Members
2
Online

Posts: 117

Jonava
de Germany

robban_9000 : then u need to add the :

compatible 0x00000006 22

line to, under every part on the last 2 versions of the car to make the parts fit the car.

22 is the slot number..

MY HERO !




Thx you for your help ... :]
#96\2011-03-27 17:37

Members
2
Offline

Posts: 5118

London City! :]
gb United Kingdom

http://vstanced.com

good to see you progressing! i like people who put effort into learning this.. :/ not those who go "ye ill try oh my i couldn't get it work do it for me" ;)
#97\2011-03-27 18:04

Avatar

GOM Team
3
Offline

Posts: 6488

gavle
se Sweden

http://www.carmageddon.com/

haha, GREAT :D looks good :)

May God have mercy upon my enemies, because i wont.
#98\2011-03-27 18:48

GOM Team
3
Offline

Posts: 6162

Cornfield County USA
us United States

www.gom-team.com

Good job man! It's really not that difficult to do, it's just not a 3 second job like some new people think. I'm very happy to see a new face (well, so to speak, lol) making some mods. Just think, just 3 short years ago, Robban was a total noob. Now look at him. He's a mod machine. Now if only I can get him to finish that damn 69 Camaro...

added through 59 seconds

Oh, and Grudas is still a noob, but we don't call him that when he's around. Oh wait...
This post was edited by JAG (2011-03-27 18:50, 7 years ago)

Antec Three Hundred Illusion / AMD PhenomII X4 960T / Biostar A880G+ / 8GB GSkill Ripjaws
Gigabyte GTX460 V2 1GB Windforce / Seagate Barracuda 250GB & 1TB / Antec Earthwatts EA750
Windows 7 Home Premium 64-bit
#99\2011-03-27 18:58

Members
2
Online

Posts: 117

Jonava
de Germany

JAG : Good job man! It's really not that difficult to do, it's just not a 3 second job like some new people think. I'm very happy to see a new face (well, so to speak, lol) making some mods. Just think, just 3 short years ago, Robban was a total noob. Now look at him. He's a mod machine. Now if only I can get him to finish that damn 69 Camaro...

added through 59 seconds

Oh, and Grudas is still a noob, but we don't call him that when he's around. Oh wait...

lol, thats true, about moding :]

eny way, i got another problem, i make all think right, i think, the same way as parts , but the rim is still invisible :



RPK :

<FILE 00000273.res >
typeof 5
superid 0x00000003
typeid 0x0000BA9A
alias rim91
isparentcompatible 1.00
</FILE>
<FILE 00000273.rsd >
sourcefile cars\racers\BMWEM_data\meshes\rim91.scx
</FILE>
<FILE 00000274.res >
typeof 9
superid 0x00000001
typeid 0x0000A941
alias click
isparentcompatible 1.00
</FILE>
<FILE 00000274.rsd >
shape cars\racers\BMWEM_data\meshes\rim91.scx
</FILE>
<FILE 00000275.res >
typeof 14
superid 0x00000005
typeid 0x0000BA9A
alias rim91
isparentcompatible 1.00
</FILE>
<FILE 00000275.rsd >
mesh 0x0000BA9A
flags 8.000
lod_amp 3.000
texture 0x00000B3F
texture 0x00000B65
</FILE>
<FILE 00000276.res >
typeof 8
superid 0x0000011D
typeid 0x0000A116
alias rim91
isparentcompatible 1.00
</FILE>
<FILE 00000276.rsd >
script cars\racers\BMWEM_data\scripts\rim91.class
native part cars\racers\BMWEM_data\scripts\rim91.cfg
lod_amp 3.000
</FILE>


CFG :

# Vehicle importer wizard generated part configuration file #
# resource ID of this part: 0x0000A116
# resource alias of this part: "rim91"

render 0x0000BA9A
mesh 0x0000BA9A
click 0x0000A941

body 0.000 0.000 0.000 0.000 0.000 0.000 7.401 sphere 0.381
noclick

slot 0.000 0.000 0.000 3.142 0.000 0.000 1 ; this is which the rim connects to the chassis through
compatible 0x00040200 1

slot 0.000 0.000 0.000 0.000 0.000 0.000 2 ; this is which the rim connects to the tyre through
compatible 0x00040200 2
slotdmgmode 0xFFFF0005

category 3
damage 3.0
intdamage 1000000000.0

eof


JAVA :

package java.game.cars;
import java.render.osd.*;
import java.io.*;
import java.util.*;
import java.util.resource.*;
import java.game.*;
import java.game.parts.rgearpart.reciprocatingrgearpart.*;

public class rim91 extends Wheel
{
	float f_offset, default_offset, old_offset, diameter, width;

	public rim91 ( int id )
	{
		name = "BMW E34 '91 Rim";

		rim_type = rtFACTORY;
		diameter = 17.0;
		width = 10.0;
		default_offset = -35.0;
		f_offset = default_offset;
		SetupWheel( diameter, width, default_offset);
		
		description = "Variable offset";
	}
	
	
	public void load( File saveGame )
	{
		super.load( saveGame );

		int	save_ver = saveGame.readInt();

		if (save_ver >= 1)
		{
			f_offset = saveGame.readFloat();
			setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
		}
	}

	public void save( File saveGame )
	{
		super.save( saveGame );

		int	save_ver = 2;

		saveGame.write( save_ver );
		if (save_ver >= 1)
		{
			saveGame.write( f_offset );
		}
	}
	
	public int isTuneable()
	{
		return true;
	}
	
	public void buildTuningMenu( Menu m )
	{
		old_offset = f_offset;

		m.addItem( "Offset", 1, f_offset, -65.0, 65.0, 1.1, null ).printValue("   %1.1f");
		
		m.addItem( "Reset to factory defaults",			0);	//this should always be with cmd=0
		
		GameLogic.player.car.wakeUp();
	}

	public void endTuningSession( int cancelled )
	{
		if( cancelled )
		{
			f_offset = old_offset;
		}
		else
		{
			if (f_offset != old_offset)
				GameLogic.spendTime(5*60);
			getCar_LocalVersion();
			if (the_car)
				the_car.forceUpdate();
		}
	}

	public void handleMessage( Event m )
	{
		if( m.cmd == 0 )
		{
			f_offset = default_offset;
			m.gadget.osd.findGadget( this, 1 ).setValue( default_offset );
			setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
		}
		else
		if( m.cmd == 1 )
		{
			f_offset = ((Slider)m.gadget).value;
			((Slider)m.gadget).changeVLabelText( Float.toString(f_offset, "   %1.1f"));
			setSlotPos( 1, new Vector3(f_offset/1000.0, 0, 0), null );
		}
	}
}

im not sure what can by the problem, cos the will work in catalog, work on car, but its invisible in catalog and on the car, i have tested another texture, still invisible . :s
#100\2011-03-27 19:13

GOM Team
3
Offline

Posts: 6162

Cornfield County USA
us United States

www.gom-team.com

The render and mesh need to have different typeids. You have them as the same thing. Change the render's typeid in the rpk and cfg to "0x0000CA9A" and it should work.

Antec Three Hundred Illusion / AMD PhenomII X4 960T / Biostar A880G+ / 8GB GSkill Ripjaws
Gigabyte GTX460 V2 1GB Windforce / Seagate Barracuda 250GB & 1TB / Antec Earthwatts EA750
Windows 7 Home Premium 64-bit

<<<15678910111213>>>