Page 1 of 1
Research? Upgrades?
Posted: 05 Dec 2013, 18:43
by The_Igishly_Co
Okay, so I've been working on and off over the period of time I've been silent on the forums, and I've been looking to implement this feature for a while. I've checked the wiki, and even asked some other sources, and I'm not sure how to set this up. Or what type of script to modify/create. So, any of you bright chaps know how to code this into a game?
Re: Research? Upgrades?
Posted: 05 Dec 2013, 18:59
by gajop
Be a bit more specific.
Re: Research? Upgrades?
Posted: 05 Dec 2013, 18:59
by smoth
You need to detail what you mean by a research or upgrade.
your current post is akin to saying, how to make a car?
Re: Research? Upgrades?
Posted: 05 Dec 2013, 19:22
by knorke
Or what type of script to modify/create.
a lua gadget script.
http://springrts.com/wiki/Lua_Scripting
Sadly there is no real tutorial how to get started...
Here is example for tech tree:
http://springrts.com/phpbb/viewtopic.php?f=23&t=20680
Re: Research? Upgrades?
Posted: 05 Dec 2013, 23:51
by The_Igishly_Co
Basically, I want it like this:
-Unit Has 25 health
-Unit is sad that he has low health
-Unit wants more health
-Player selects the factory that produces said unit
-Player hits an option(Button, thingie) to research enhanced sheilding
-Research begins
-(Later)
-Unit get's a +15 HP boost
-Unit is happy
-The End
Re: Research? Upgrades?
Posted: 06 Dec 2013, 00:15
by smoth
you want starcraft style.
There is currently no gadget that does this. You can however take one of ZWZSG's gadget and alter it.
Re: Research? Upgrades?
Posted: 06 Dec 2013, 01:42
by SinbadEV
First you should figure out how to do:
The_Igishly_Co wrote:-Player hits an option[...]Unit get's a +15 HP boost
If that doesn't scare you off you can take a look at adapting zwzsg's gadgets.
Re: Research? Upgrades?
Posted: 06 Dec 2013, 17:22
by FLOZi
MCL has something like this but they are unit-level perks, not factory-level.