Search

Search found 101 matches

by kalda341
05 Dec 2010, 10:58
Forum: Art & Modelling
Topic: Servo?
Replies: 3
Views: 1409

Servo?

I have heard of a animation tool called servo, that could help me avoid animating in lua. Where can I find it? Why have many people said it's not very good?
by kalda341
05 Dec 2010, 10:52
Forum: Game Development Tutorials & Resources
Topic: Simple Mod Tutorial - Part One - Model Prep
Replies: 22
Views: 26073

Re: Simple Mod Tutorial - Part One - Model Prep

This is the best tutorial so far. When is the part 2 coming?
by kalda341
05 Dec 2010, 08:52
Forum: Lua Scripts
Topic: Custom GUI?
Replies: 36
Views: 4060

Re: Custom GUI?

Where can I get chiliui? The only place I can find it is here: http://code.google.com/p/zero-k/source/ ... e%3Dclosed and I don't want to manually create every individual file.
by kalda341
05 Dec 2010, 00:51
Forum: Lua Scripts
Topic: Custom GUI?
Replies: 36
Views: 4060

Custom GUI?

How would I go about creating a custom interface with a widget? I mostly want to create a different build unit section.
by kalda341
04 Dec 2010, 20:20
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Oh, I see. The sidename isn't a variable for the current side, it's a insert side name here for info about side.
by kalda341
04 Dec 2010, 20:16
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Actually, I think sideName is more applicable. Does anyone know how it functions?
by kalda341
04 Dec 2010, 19:56
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Of course. I am fairly new to lua and quite often get it mixed up with python and basic. Does anyone know how to get the sideid?
by kalda341
04 Dec 2010, 10:44
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Code: Select all

glText(resourcea.. metal, vsx/2, vsy-UIscale*1.5, UIscale*1.5, "oc")
is the problem.
by kalda341
04 Dec 2010, 10:40
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Don't worry, it needed a ==.
by kalda341
04 Dec 2010, 09:40
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

I have added this, but for some reason it won't work:

Code: Select all

local team = Spring.GetSideData()
if team = "MACROBES" then
		resourcea = carbon
		resourceb = energy
end
by kalda341
04 Dec 2010, 00:25
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Can you see anything that might be stopping it from working?
by kalda341
29 Nov 2010, 20:00
Forum: Off Topic Discussion
Topic: What are you listening to?
Replies: 1363
Views: 342153

Re: What are you listening to?

Infected Mushroom
by kalda341
29 Nov 2010, 19:57
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

Thanks.
by kalda341
29 Nov 2010, 00:38
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

I've played around with various syntaxes but cannot get it to function. I am using your widget: --display for resources --because 99999[..]9 storage make the engine resbar look ugly ;) function widget:GetInfo() return { name = "resouce display", desc = "display metal as number, withou...
by kalda341
28 Nov 2010, 23:04
Forum: Lua Scripts
Topic: Custom resources
Replies: 20
Views: 2837

Re: Custom resources

cells for micro-organisms gains from kills. How would I do this? That is easy to do with Lua. Use something like gadget:function Spring.UnitKilled (...) if (killer==that and killed==this) then Spring.AddTeamResource (team of killer, "metal", 100) end end (pseudeo code) http://springrts.co...
by kalda341
27 Nov 2010, 19:28
Forum: Lua Scripts
Topic: Building Animation
Replies: 18
Views: 2147

Re: Building Animation

I have disabled all but game_spawn.lua which contains this: -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: game_spawn.lua -- brief: spawns start unit and sets storage levels...
by kalda341
27 Nov 2010, 05:53
Forum: Lua Scripts
Topic: Building Animation
Replies: 18
Views: 2147

Re: Building Animation

So it's not this variable causing the problem.
by kalda341
26 Nov 2010, 01:54
Forum: Lua Scripts
Topic: Building Animation
Replies: 18
Views: 2147

Re: Building Animation

When I add:

Code: Select all

	showNanoFrame = false,
The unit looks completed straight away, so this is not the problem.
by kalda341
25 Nov 2010, 22:38
Forum: Lua Scripts
Topic: Building Animation
Replies: 18
Views: 2147

Re: Building Animation

SinbadEV wrote:I think you need to set this unitdef to true

showNanoFrame(false)
Adding

Code: Select all

	showNanoFrame = 1,
Doesn't make it appear.
by kalda341
25 Nov 2010, 20:44
Forum: Lua Scripts
Topic: Melee Unit_Script.lua
Replies: 8
Views: 1526

Re: Melee Unit_Script.lua

The unit is just a ball (base) with a flare.

Go to advanced search