View topic - And you said spring is ugly?


All times are UTC + 1 hour


Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4
Author Message
PostPosted: 23 May 2012, 03:42 
User avatar

Joined: 02 Dec 2011, 22:31
Location: North Dakota, US
ic now it makes perfect sense, do you have it at 50% alpha to tone down the effects or is there some other reason?
Top
 Offline Profile  
 
PostPosted: 23 May 2012, 07:33 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Alpha of what?
Top
 Offline Profile  
 
PostPosted: 23 May 2012, 20:03 
User avatar

Joined: 02 Dec 2011, 22:31
Location: North Dakota, US
your normal map, unless I'm mistaken
Top
 Offline Profile  
 
PostPosted: 23 May 2012, 21:39 
Moderator
User avatar

Joined: 26 Oct 2007, 15:21
Dont know if that has effect, but normals can be toned down regardless.
Top
 Offline Profile  
 
PostPosted: 13 Jun 2012, 22:23 

Joined: 10 Jun 2008, 02:28
Currently, this map fails to load with
mod: ZK
lobby: ZKL
Something to do with units.

I went into the units folder and replaced the alltreeunits.lua file with individual unit files for the trees and it now works.
- Although the trees cause Chilli Cursortip to crash, which I am not qualified to fix

Link to units lua files:
http://dl.dropbox.com/u/10120644/magicforestunits.7z

Maybe fix it somehow? I like the heightmap, would make for an interesting decision/tradeoff in a 1v1 (hill or sides?), at least theoretically
Top
 Offline Profile  
 
PostPosted: 25 Jun 2012, 20:12 
User avatar

Joined: 04 Aug 2011, 07:37
Location: What's a location?
Anyone know where I can get jk's unitshader framework?
Top
 Offline Profile  
 
PostPosted: 25 Jun 2012, 20:21 
Spring Developer
User avatar

Joined: 28 Jun 2007, 06:30
Automatics wrote:
Anyone know where I can get jk's unitshader framework?

ZK & S44 have both the latest revision (S44 has some changes to the default normaltexture finding code)
Top
 Offline Profile  
 
PostPosted: 25 Jun 2012, 21:03 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
jseah wrote:
Currently, this map fails to load with
mod: ZK
lobby: ZKL
Something to do with units.

I went into the units folder and replaced the alltreeunits.lua file with individual unit files for the trees and it now works.
- Although the trees cause Chilli Cursortip to crash, which I am not qualified to fix

Link to units lua files:
http://dl.dropbox.com/u/10120644/magicforestunits.7z

Maybe fix it somehow? I like the heightmap, would make for an interesting decision/tradeoff in a 1v1 (hill or sides?), at least theoretically



Yar, don't use one file for multiple featuredefs. It causes issues.
Top
 Offline Profile  
 
PostPosted: 25 Jun 2012, 22:45 
MC: Legacy & Spring 1944 Developer
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
Why/how?
Top
 Offline Profile  
 
PostPosted: 25 Jun 2012, 23:38 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
Quote:
Yar, don't use one file for multiple featuredefs. It causes issues.
it is not that. is not even featuredef but unitdef.

jseah wrote:
Currently, this map fails to load with
mod: ZK
lobby: ZKL
Something to do with units.
it works with spring.exe (though the trees did not wiggle then like with ba.)
It fails when trying in lobby:

[f=0000000] Failed to load unitDefs
[f=0000000] Error: 2, gamedata/defs.lua, [string "gamedata/defs.lua"]:37: [string "gamedata/defs.lua"]:25: error = 2, gamedata/unitDefs.lua, error = 2, gamedata/unitdefs_post.lua, [string "gamedata/unitdefs_post.lua"]:351: attempt to index field 'unitname' (a nil value)


[f=0000000] Game::LoadDefs (GameData): 458 ms
[f=0000000] Warning: UnsyncedGameCommands singleton was not initialized or is already destroyed
[f=0000000] Warning: SyncedGameCommands singleton was not initialized or is already destroyed
[f=0000000] Warning: CWordCompletion singleton was not initialized or is already destroyed
[f=0000000] Statistics for local connection:
Received: 727 bytes
Sent: 8 bytes

Error: Spring: Incorrect/Missing content: Error in main(): Defs-Parser: [string "gamedata/defs.lua"]:37: [string "gamedata/defs.lua"]:25: error = 2, gamedata/unitDefs.lua, error = 2, gamedata/unitdefs_post.lua, [string "gamedata/unitdefs_post.lua"]:351: attempt to index field 'unitname' (a nil value)

from zk's unitdefs_post.lua:
Code:
if (modOptions and modOptions.factorycostmult) then
  for name, def in pairs(UnitDefs) do
    if def.unitname:find("factory") or def.unitname == "corsy" or def.unitname == "armcsa" or def.unitname == "striderhub" then
removing that made it load. (with spring.exe there are no modoptions that it works there)

Quote:
- Although the trees cause Chilli Cursortip to crash, which I am not qualified to fix

Error in Update(): [string "LuaUI/Widgets/gui_chili_selections_and_curs..."]:1394: attempt to index field '?' (a nil value)
[f=0000059] Removed widget: Chili Selections & CursorTip
[f=0000868] Error in MousePress(): [string "LuaUI/Widgets/gui_contextmenu.lua"]:425: attempt to index field '?' (a nil value)


Code:
and   icontypes[(ud and ud.iconType or "default")].bitmap
and
Code:
file=icontypes and icontypes[(ud and ud.iconType or "default")].bitmap
:arrow: unit has no icon assigned?

tl;dr
There are some ways to make working units/features but zK will fail to load with them.
zK assumes some tags for units to be present and when maps add extra units, sometimes those are missing. (the unit is perfectly fine, just some luas in zK try to read stuff that does not necessarily exist)
At least it seems so.

iirc this line 123 in unitdefs_post.lua
Code:
if (ud.maxvelocity and ud.maxvelocity > 0) or ud.customparams.mobilebuilding then

crashed with this unit: http://pastebin.com/492yNaUp
(didnt bother with it because was old file. not sure if crash because maxvelocity, customparams or .fbi)
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 70 posts ]  Go to page Previous  1, 2, 3, 4

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.