Transformation based on Rank

Transformation based on Rank

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

Moderator: Moderators

Post Reply
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Transformation based on Rank

Post by Argh »

Ok, so with CA's nice code for rank, we've got a visual representation of rank. Moreover, they have the transmute stuff, which is rank-dependent. What if this could take place automatically? I.E., every 2-3 seconds, it checks for stuff that has achieved X rank, then instantly transmogrifies them.

I'd like to do something like that, with Hitpoints Now == Hitpoints Then, no delays, etc., and give my Units minor buffs to either Hitpoints Max (to be filled via AutoHeal / IdleAutoHeal / Repair) or to give them a slightly-upgraded weapon. Not a giant change in their appearance or behavior, just a buff, basically.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Sounds good, write it.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Post by jK »

CA already has unit upgrades (pw->warrior->zeus->fatboy and many more), but atm they are xp based and not rank based. I already wrote a gadget that works as an api, so the other gadgets/widgets only have to handle rank changes, but it fights with a crash bug :cry:

I already suggested auto upgrades (depending on the rank) and custom units (black bulldog with extra auto heal etc.) , which are only accessible through upgrades but the other ca devs didn't liked the idea :?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

jK wrote:CA already has unit upgrades (pw->warrior->zeus->fatboy and many more), but atm they are xp based and not rank based. I already wrote a gadget that works as an api, so the other gadgets/widgets only have to handle rank changes, but it fights with a crash bug :cry:
Crash bug as in spring engine crash? please submit a bug report if so.
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

CA already has unit upgrades (pw->warrior->zeus->fatboy and many more), but atm they are xp based and not rank based.
First off, I happily admit that I'm mainly borrowing CA code, other than my energy-stall script- haven't had much time to write anything else that's original. So, yeah, I've seen that script, and I think it's the basis of what I need, just automated, based on rank, and without a need for user input, so that users can do more important things. Obviously, I'm doing something less of a big deal than changing to a whole new Kbot type, so it's not quite the same thing.
Post Reply

Return to “Lua Scripts”