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

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #40 on: November 23, 2010, 11:07:39 AM »
So, I just have to change line 2043 to that?

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #41 on: November 23, 2010, 11:35:46 AM »
What does yours read? As long as you did everything like I did (as described in my previous post) and didn't add any additional objects/sections/changes, it should be exactly the same as what I posted.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #42 on: November 23, 2010, 11:38:26 AM »
Ok thanks, i'll do it now.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #43 on: November 23, 2010, 11:44:16 AM »
*LIGHT_COLOR   0xFFFFFF was already there and I dont know what to replace the USE FAR ATTENUATION's with.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #44 on: November 23, 2010, 02:27:13 PM »
OK, send me the GMF and I'll take a quick look.

From the error that Gazea posted, there appears to be an issue around that line for him (not necessarily you unless you are getting the same error).

As for the *USE FAR ATTENUATION thing, you need to add a " =" (one space and one equals sign) before the tab and value. So it should read:
Code: [Select]
*USE FAR ATTENUATION = 0
instead of:
Code: [Select]
                *USE FAR ATTENUATION 0
You don't necessarily need to automate things by using the replace feature but be sure to replace all 6 of the *USE FAR ATTENUATIONs.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #45 on: November 23, 2010, 02:32:58 PM »
Ok, now they dont crash the game but they are still invisible.

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #46 on: November 23, 2010, 02:33:50 PM »
What compiler did you use?
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 #47 on: November 23, 2010, 02:37:07 PM »
I decompiled one with dummies, then used serges to put the decompiled one on the compiled one then I edited the now not compiled one and compiled it with dummies.

I just dont think I understand serges.

Offline G.K.

  • *
  • Posts: 12155
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #48 on: November 23, 2010, 02:39:05 PM »
dummies compiler doesn't do wheels. Compile with serge's.
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 #49 on: November 23, 2010, 02:40:31 PM »
I dont know how to use it though >.<

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #50 on: November 23, 2010, 08:26:43 PM »
For Serge's Decompiler:
1. Double click the decompiler's EXE (gmfdec.exe).
2. Select the compiled GMF in the explorer dialog and click open.
3. Then when the second explorer dialog opens, go to the folder where you found the compiled GMF and enter a name into the "File name" input box (this will be the name of the decompiled file). After entering a name, click save.
4. Unless there were problems with the compiled GMF, the next popup should say that you were successful in making a decompiled version of the file.

For Serge's Compiler:
1. Double click the decompiler's EXE (GMFComp.exe).
2. Select the decompiled GMF in the explorer dialog and click open.
3. Then when the second explorer dialog opens, go to the folder where you found the decompiled GMF and enter a name into the "File name" input box (this will be the name of the decompiled file). After entering a name, click save.
4. Unless there were problems with the decompiled GMF, the next popup should say that you were successful in making a compiled version of the file.

ASCII means that it is readable for humans (aka decompiled).
Binary means that it is readable for the computer (aka compiled).


Unless your computer is incapable of using Serge's (de)compiler or you plan to use self-illumination, always use Serge's (de)compiler. The other compilers don't support nearly as much. The fixes that I suggested ONLY work for Serge's compiler and decompiler.

Offline Clickbeetle

  • *
  • Posts: 3374
  • Rep: 21
  • In Soviet Russia, bugs stomp YOU!
  • Awards BOTM Winner
    • View Profile
    • Beetle Bros site
    • Awards
Re: Part is invisible.
« Reply #51 on: November 24, 2010, 09:47:55 PM »
Alternatively, you can just delete the lights... there is no reason for them to be in there; they don't do anything on components.  You just have to be sure not to mess up the {} brackets or the indentation after deleting, and reduce the object count at the top by however many lights you deleted.


Doing Trov's thing might be easier though.

To lack feeling is to be dead, but to act on every feeling is to be a child.
-Brandon Sanderson, The Way of Kings

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #52 on: November 26, 2010, 12:45:44 PM »
Nope, still cant get it to work.

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #53 on: November 28, 2010, 01:08:28 AM »
Did you use Serge's compiler AND decompiler?
Are you doing anything besides changing the name of the bmp and applying my suggested fixes?

Considering that I was able to edit the wheel without experiencing ANY errors, you are either doing something wrong or doing something that I'm not. Sending me the GMF would allow me to figure it out a lot quicker than guessing but its your call.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #54 on: November 28, 2010, 05:36:19 AM »
I'm uploading a video of what happens when I compile it, I get a couple of messages.

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #55 on: November 28, 2010, 05:45:45 AM »
DP

Here you go :D

Offline Trovaner

  • *
  • Posts: 1222
  • Rep: 32
    • View Profile
    • Awards
Re: Part is invisible.
« Reply #56 on: November 28, 2010, 05:55:29 PM »
From that, it looks like you're missing something at the top. After decompiling an untouched s3wheel.gmf with Serge's decompiler, this should be at the top of your file:

Code: [Select]
GMA
*GABRIEL_ASCIIEXPORT 3
*MODEL_TYPE Basic Model
*SCENE
{
*SCENE_FILENAME wheelworking.max
*SCENE_FIRSTFRAME 0
*SCENE_LASTFRAME 100
*SCENE_FRAMESPEED 30
*SCENE_TICKSPERFRAME 160
*SCENE_BACKGROUND_STATIC 0xFFFFFF
*SCENE_AMBIENT_STATIC 0x000000
}
*MATERIAL_LIST
{
*MATERIAL_COUNT 1

Next scroll down and change the name of the bmp to whatever. Then replace all the "*USE FAR ATTENUATION" with "*USE FAR ATTENUATION =". Lastly save the file and recompile it using Serge's compiler.