Research? Upgrades?

Research? Upgrades?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
The_Igishly_Co
Posts: 34
Joined: 10 Oct 2013, 01:56

Research? Upgrades?

Post 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?
gajop
Moderator
Posts: 3051
Joined: 05 Aug 2009, 20:42

Re: Research? Upgrades?

Post by gajop »

Be a bit more specific.
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Research? Upgrades?

Post 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?
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Research? Upgrades?

Post 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
User avatar
The_Igishly_Co
Posts: 34
Joined: 10 Oct 2013, 01:56

Re: Research? Upgrades?

Post 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
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Research? Upgrades?

Post 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.
User avatar
SinbadEV
Posts: 6475
Joined: 02 May 2005, 03:56

Re: Research? Upgrades?

Post 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.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6241
Joined: 29 Apr 2005, 01:14

Re: Research? Upgrades?

Post by FLOZi »

MCL has something like this but they are unit-level perks, not factory-level.
Post Reply

Return to “Game Development”