2025-08-13 05:24 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002367Spring engineUnit Scriptingpublic2011-03-02 22:00
Reporteruser744 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
Product Version0.82.7.1 
Target VersionFixed in Version0.82.7+git 
Summary0002367: Unit does not show ingame, no messages about it in infolog
DescriptionMade a unit that does show up in game:
[f=0000139] /give tpgunturret
[f=0000139] Couldnt find wreckage info tpgunturret
[f=0000139] tpgunturret is not a valid unitname

The strange thing is that infolog.txt does not mention contain anything about why the unit could not be loaded. It is not mentioned at all.

This is the unitdef, filename is tpgunturret.lua:
http://pastebin.com/NsaPAxgt

Tried different (working) .s3o files and scripts, makes no difference.
Tried giving the .s3o to a different unit - it works there.

When I put an error into the unitdef file (like remove an ,) infolog gives a message about that. So the unitdef is in correct folder and found by spring.
When I "repair" that, "tpgunturret" is nowhere mentioned in infolog again, yet it can not be spawned.
Additional Informationinfolog
http://pastebin.com/JQc1TSSE

unitdef
http://pastebin.com/NsaPAxgt
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0006433

user744

also tried /give all (in case i was mistyping the unitname)

~0006435

jK (developer)

[f=0000139] Couldnt find wreckage info tpgunturret
[f=0000139] tpgunturret is not a valid unitname
-> "COULD NOT FIND WRECKAGE INFO!"
THIS IS THE MESSAGE IN THE INFOLOG!!!


Sorry, for the uppercase, but obvious is obvious ...

~0006436

user744

isnt that just the message that always comes up when a unit is not found?
ie also on bogus unit names:
[f=0000159] /give ifuckinskylol
[f=0000159] Couldnt find wreckage info ifuckinskylol
[f=0000159] ifuckinskylol is not a valid unitname

~0006461

Kloot (developer)

This unit is actually spawnable in master (after copying the .lua into BA and changing only its objectName), so try adding/removing tags based on some other functional unit until it shows up in 82.7 also.
+Notes

-Issue History
Date Modified Username Field Change
2011-02-25 18:08 user744 New Issue
2011-02-25 18:12 user744 Note Added: 0006433
2011-02-26 00:00 jK Note Added: 0006435
2011-02-26 01:11 user744 Note Added: 0006436
2011-03-02 22:00 Kloot Note Added: 0006461
2011-03-02 22:00 Kloot Status new => closed
2011-03-02 22:00 Kloot Resolution open => fixed
2011-03-02 22:00 Kloot Fixed in Version => 0.82.7+git
+Issue History