Author Topic: Part is invisible.  (Read 3349 times)

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #20 on: November 20, 2010, 01:15:03 PM »
you have to manually add the .gmf when you save it.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #21 on: November 20, 2010, 01:16:07 PM »
Wa?

So I use dummies to open it, then copy an paste the stuff inside into the one that is blank?

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #22 on: November 20, 2010, 01:18:09 PM »
DP

Never mind I figured it out.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #23 on: November 20, 2010, 01:20:12 PM »
TP
The component now crashes tha game, I dont know what i've done wrong.

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #24 on: November 20, 2010, 01:28:13 PM »
Neither do we.
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #25 on: November 20, 2010, 01:30:21 PM »
swheel2.txt

name = S3 Wheel
preview = S3_preview.bmp
dir = s3
model = s3wheel2.gmf
type = mobility
base = Wheel
passthru = wheel
styles = Default
description = Nemesis's round things.
contact = wheel_traction
resistance = .2
grip = 1.0
damagesounds = sounds\rubber_collision2.wav
attachsound = sounds\cmp_wheels.wav
hitpoints = 10000
mass = 23
standard = 1
sort = 21

s3wheel.txt

name = S3 Wheel
preview = S3_preview.bmp
dir = s3
model = s3wheel.gmf
type = mobility
base = Wheel
passthru = wheel
styles = S3, s3wheel2.txt, Nemesis
description = Nice big wheels from S3.  3000 hitpoints.
contact = wheel_traction
resistance = .2
grip = 1.0
damagesounds = sounds\rubber_collision2.wav
attachsound = sounds\cmp_wheels.wav
hitpoints = 3000
mass = 23
standard = 1
sort = 21


Anything wrong with these?

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #26 on: November 20, 2010, 01:32:17 PM »
is the new one in the styles folder?
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #27 on: November 20, 2010, 01:32:30 PM »
Send me the .gmf of the original one and the edited one.


Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #28 on: November 20, 2010, 01:33:36 PM »
yes, It crashes when I choose Nemesis in the drop down bar.

@Gazea, i'll send just give me a moment.

Offline Naryar

  • Posts: 23283
  • Rep: 21
  • hybrids oui oui
    • http://www.youtube.com/us
  • Awards BOTM Winner
    • View Profile
    • Awards
  • Skype: TheMightyNaryar
Re: Part is invisible.
« Reply #29 on: November 21, 2010, 04:48:51 AM »
If your reskinned part is called s3wheel2 in the txt of the main S3 wheel BUT the styles's new txt is called swheel2, the program will not find "s3wheel2".

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #30 on: November 21, 2010, 04:55:16 AM »
typo, it is called s3wheel2.

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #31 on: November 21, 2010, 09:10:33 AM »
I'm going to take a look now.


Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #32 on: November 21, 2010, 09:20:53 AM »
DP!

The lighting is all messed up. I'm trying to fix it.


Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #33 on: November 21, 2010, 09:29:48 AM »
How did that happen?

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #34 on: November 21, 2010, 09:35:15 AM »
Here's the error report if anyone else wants to take a look:

"readFloat(): Expected *LIGHT_INTENS but found .000000 instead! Ignore and continue?"

"readFloat(): Expected *LIGHT_ASPECT, but found *LIGHT_INTENS instead! Ignore and continue?"

"readFloat(): Expected *LIGHT_ATTNSTART but found *LIGHT_ASPECT instead! Ignore and continue?"

"readFloat(): Expected *LIGHT_ATTNEND, but found *LIGHT_ATTNSTART instead! Ignore and continue?"

"readFloat(): Expected *LIGHT_TDIST, but found *LIGHT_ATTNEND instead! Ignore and continue?"

"readFloat(): Expected =, but found *LIGHT_TDIST instead! Ignore and continue?"

"closeBracket(): Expected closing bracket, found *USE instead!"

"FAR ATTENUATION 1063766528
}
*LIGHT
{
*NODE_NAME Omni02"

All of it's messed up.


Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #35 on: November 21, 2010, 09:36:30 AM »
What the?

So, should I remake the gmf again?

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #36 on: November 21, 2010, 09:37:31 AM »
No. It wasn't anything that you did. I got that from the clean .gmf.

I'll try to fix it but you may need someone more experienced (Serge or Joe) to look at it.


Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #37 on: November 21, 2010, 11:55:17 AM »
There shouldn't be any issues as long as you change all 6 "*USE FAR ATTENUATION" to "*USE FAR ATTENUATION =" because Serge's compiler and decompiler are not compatible unless you do this when before recompiling. In normal notepad, just hit CTRL-H and enter the above into the search and replace input boxes (then click "Replace All" once).

Offline Gazea2

  • Ultra Heavyweight
  • Posts: 3670
  • Rep: 9
  • the one and only
    • View Profile
    • Awards
  • Skype: gazea2
Re: Part is invisible.
« Reply #38 on: November 21, 2010, 12:26:28 PM »
^Ok. I'll try that. Cheers, Trovaner. That could help me with lots of wheels.

EDIT: I still got the same error messages. Anything else that I could try?


Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #39 on: November 21, 2010, 11:29:32 PM »
I decompiled the standard s3wheel.gmf, changed the name of bmp, and replaced all the "USE FAR ATTENUATION" before recompiling with no problems. Did you mess with anything else?

If I had to guess, I think a mistake was made around line 2043. It should read:
Code: [Select]
      *LIGHT_COLOR   0xFFFFFF