Author Topic: [solved] buildings being built have weird behavior  (Read 1467 times)

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
[solved] buildings being built have weird behavior
« on: 4 April 2012, 14:15:15 »
Some buildings are built others arnt.
Windows 7
MG revision - 3225

UPDATE: Buildings not being built is fixed, it was because the cellmap was all 0.

And the models of the buildings are missing while being built. a Video of it can be seen here.
********

Pastebin of the two buildings in question.

********
********

I also tried running my game in the stable megaglest release. No luck. And im pretty sure it worked back then.

Also the game validates in command line. and loads fine.

allright. Update My worker have a meeting point for some reason. It have no be_built skill. it did have a be_built at some point in time tho.
(allright, that was just a unit parameter easy fix).

UPDATE: I tried copying the megaglest worker unit and editing to fit my techtree. Buildings stopped dissapearing.

UPDATE Newest It appears a blind unit can't see the building he is building.

in short you need to have sight on your units(that means a value higher than 0)...how werid is that  ::)

SOLVED!
« Last Edit: 9 April 2012, 11:42:44 by tomreyn »
WiP Game developer.
I do danish translations.
"i break stuff"

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: buildings being built have weird behavior.
« Reply #1 on: 4 April 2012, 21:57:08 »
Pust ur moduls.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: buildings being built have weird behavior.
« Reply #2 on: 5 April 2012, 22:06:47 »
Can we see the texture of one of these unvisible objects?
I bet its a transparent plane!
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: buildings being built have weird behavior.
« Reply #3 on: 5 April 2012, 22:14:31 »
The model is completely static and have no texture.
WiP Game developer.
I do danish translations.
"i break stuff"

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: buildings being built have weird behavior.
« Reply #4 on: 6 April 2012, 08:21:40 »
Pust ur moduls.
Really. How do you expect us to help if you won't supply more information?
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: buildings being built have weird behavior.
« Reply #5 on: 6 April 2012, 10:33:41 »
Im sorry, i dind't really understand what you meant in the first place omega. And im not expecting anything, im hoping somebody can help me :).

http://www.mediafire.com/?4kzwhtvt47dv1ki
WiP Game developer.
I do danish translations.
"i break stuff"

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: buildings being built have weird behavior.[solved error 40]
« Reply #6 on: 7 April 2012, 10:53:29 »
Give your models a texture and try it gain. I bet they are completly transparentor something like this.
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: buildings being built have weird behavior.[solved error 40]
« Reply #7 on: 7 April 2012, 10:55:44 »
Titi, i solved the problem, look at my first post :), i updated the post and gave the topic a solved name :).
WiP Game developer.
I do danish translations.
"i break stuff"

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: buildings being built have weird behavior.[solved error 40]
« Reply #8 on: 7 April 2012, 10:57:45 »
oh   ::)
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: buildings being built have weird behavior.[solved error 40]
« Reply #9 on: 7 April 2012, 11:50:45 »
Thats how i felt XD
WiP Game developer.
I do danish translations.
"i break stuff"

tomreyn

  • Local Moderator
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: buildings being built have weird behavior.[solved error 40]
« Reply #10 on: 9 April 2012, 11:18:36 »
Since there seem to be a bunch of possible pitfalls when modding, it sure would be good if someone would write those up in a list or modder FAQ, probably best hosted on https://docs.megaglest.org.

Cellmap = 0 or workers' sight = 0 seem to be problematic based on this current discussion topic, but i bet there are more things you mustn't do but can...

Btw. I changed the title slightly, please ensure it's still correct. Can you explain where you came across "error 40"?
« Last Edit: 18 June 2016, 14:45:00 by filux »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: [solved] error 40: buildings being built have weird behavior
« Reply #11 on: 9 April 2012, 11:35:59 »
The error is 40 cm from the monitor.  :D

And yes, a list of common pitfalls would properly be good!
WiP Game developer.
I do danish translations.
"i break stuff"

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: [solved] buildings being built have weird behavior
« Reply #12 on: 9 April 2012, 11:44:27 »
A so called EBKAC error  ( Error Between Keyboard And Chair )
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: [solved] buildings being built have weird behavior
« Reply #13 on: 9 April 2012, 14:30:34 »
Hahaha, Indeed!
WiP Game developer.
I do danish translations.
"i break stuff"