games finished - firework of doom

games finished - firework of doom

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

Post Reply
User avatar
manolo_
Posts: 1370
Joined: 01 Jul 2008, 00:08

games finished - firework of doom

Post by manolo_ »

so, is it possible to make a lua for the end of a game, where the units of the winning team fire into the air (maybe just com with dgun) or something like that?
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Re: games finished - firework of doom

Post by Argh »

Possible, certainly. Easy, no.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: games finished - firework of doom

Post by Pendrokar »

Argh wrote:Possible, certainly. Easy, no.
Positively, undoubtedly, with no problem DENY this quote(QFD).

This is quite easily achievable through LuaCOB that means in a gadget.
In one way you could just make units order to attack thin air(can be done with a widget) or you could make all units aim their turret upwards as high as possible and shoot by giving parameters to COB(LUA->COB). With attack order units might stop or start turning around, with LUA->COB there wouldn't be such a problem.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: games finished - firework of doom

Post by Hoi »

Pendrokar wrote:
Argh wrote:Possible, certainly. Easy, no.
Positively, undoubtedly, with no problem DENY this quote(QFD).

This is quite easily achievable through LuaCOB that means in a gadget.
In one way you could just make units order to attack thin air(can be done with a widget) or you could make all units aim their turret upwards as high as possible and shoot by giving parameters to COB(LUA->COB). With attack order units might stop or start turning around, with LUA->COB there wouldn't be such a problem.
i would wait doing that Luacob will be integrated in Luarules in 0.76b2
Last edited by Hoi on 11 Jul 2008, 11:42, edited 1 time in total.
User avatar
Pendrokar
Posts: 658
Joined: 30 May 2007, 10:45

Re: games finished - firework of doom

Post by Pendrokar »

Hoi wrote: i would wait doing that Luacob will be integrated in Luaui in 0.76b2
Quite wrong. LuaCob will be integrated into LuaRules in 0.76b2.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: games finished - firework of doom

Post by KDR_11k »

77b1, 76b2 is a backport of some fixes. Also LuaCOB doesn't make it any easier, you have to call a function in the COB and that can be done from LuaRules even in 76b1.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: games finished - firework of doom

Post by Hoi »

Pendrokar wrote:
Hoi wrote: i would wait doing that Luacob will be integrated in Luaui in 0.76b2
Quite wrong. LuaCob will be integrated into LuaRules in 0.76b2.
thats what i meant:P
User avatar
FrOzEnTaCo
Posts: 81
Joined: 02 Jul 2008, 05:52

Re: games finished - firework of doom

Post by FrOzEnTaCo »

lol at this idea 8)
User avatar
Evil4Zerggin
Posts: 557
Joined: 16 May 2007, 06:34

Re: games finished - firework of doom

Post by Evil4Zerggin »

You could just call a COB function from Lua that turns all aim-pieces upwards and emit-sfx's the weapons. Might take a lot of work to do it for all units, though, as you'd have to edit all the .bos files.
User avatar
REVENGE
Posts: 2382
Joined: 24 Aug 2006, 06:13

Re: games finished - firework of doom

Post by REVENGE »

How about spawning a fake enemy target?
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: games finished - firework of doom

Post by jK »

even if there is a lua ceg command, LUPS was the right way to do it ...
User avatar
hunterw
Posts: 1838
Joined: 14 May 2006, 12:22

Re: games finished - firework of doom

Post by hunterw »

yea make it happen

flash shooting straight up ends up being pretty spectacular
Post Reply

Return to “Lua Scripts”