Search found 101 matches
- 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?
- 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?
- 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.
- 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.
- 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.
- 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?
- 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?
- 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")
- 04 Dec 2010, 10:40
- Forum: Lua Scripts
- Topic: Custom resources
- Replies: 20
- Views: 2837
Re: Custom resources
Don't worry, it needed a ==.
- 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
- 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?
- 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
- 29 Nov 2010, 19:57
- Forum: Lua Scripts
- Topic: Custom resources
- Replies: 20
- Views: 2837
Re: Custom resources
Thanks.
- 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...
- 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...
- 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...
- 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.
- 26 Nov 2010, 01:54
- Forum: Lua Scripts
- Topic: Building Animation
- Replies: 18
- Views: 2147
Re: Building Animation
When I add:
The unit looks completed straight away, so this is not the problem.
Code: Select all
showNanoFrame = false,
- 25 Nov 2010, 22:38
- Forum: Lua Scripts
- Topic: Building Animation
- Replies: 18
- Views: 2147
Re: Building Animation
AddingSinbadEV wrote:I think you need to set this unitdef to true
showNanoFrame(false)
Code: Select all
showNanoFrame = 1,
- 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.