Page 1 of 1

Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 06:53
by WENEX
with LUA, of course, but I need some help...

I like to have buildings to capture. Maybe I make buildings with transporter abilities. But I think units in it would not be able to shoot?.

So I may have to create a house with pieces to attach my infantry there? But also, will they can shoot?

Could I ressurect corpses from enemies to get special ressource? Like a special unit for every 10 enemy soldiers?
In the same time, I also like to heal my own infantry corpses befor they disapear.

Can I have special abilities near features or special units? I think this must work because S44 gives some bonus near resupply buildings?

How does morphing work?

Can I trigger stuff because of ground textures?

Enough for today.

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 11:33
by FLOZi
WENEX wrote:with LUA, of course, but I need some help...

I like to have buildings to capture. Maybe I make buildings with transporter abilities. But I think units in it would not be able to shoot?.

So I may have to create a house with pieces to attach my infantry there? But also, will they can shoot?
You should be able to have infantry in windows shooting out (in a simple 'click to occupy this building' like red alert 2) but probably they can't be shot at in return without just blowing up the building itself.
Could I ressurect corpses from enemies to get special ressource? Like a special unit for every 10 enemy soldiers?
In the same time, I also like to heal my own infantry corpses befor they disapear.
Should be doable.
Can I have special abilities near features or special units? I think this must work because S44 gives some bonus near resupply buildings?
Yes - the only question is what kinds of abilities you want to grant.
How does morphing work?
Simply replaces one unit with another, and transfers some information like firestate, etc
Can I trigger stuff because of ground textures?
Afaik - no.
Enough for today.
Hope I have helped. :wink:

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 12:05
by jK
FLOZi wrote:
Can I trigger stuff because of ground textures?
Afaik - no.
There are groundtypes and you can trigger stuff on them via Lua.

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 14:14
by Google_Frog
To clarify, morphing is a lua gadget. So there aren't any lua callins to do a morph. It is a fairly general gadget so you should be able to copy it in to you game.

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 15:54
by knorke
yes, bunkers in the style of starcraft can be done.
many spring games have mobile transporters, so just take one of them and make them immobile - tada.

wounded units that can be healed - yes, possible.
(but i would just prevent them from dying instead of allowing them to turn into features/wrecks: http://answers.springlobby.info/questio ... ake-damage )

special abilities:
yes. allowing them only near heros or whatever: yes.
Can I trigger stuff because of ground textures?
Either use groundtypes like jK said. But groundtypes are built into the map and not many maps use them. But of course you can always get the coordinates of a unit and see what you want to do with it.
That idea is used here:
http://www.youtube.com/watch?v=7A0tTHNpDgs
http://springrts.com/phpbb/viewtopic.php?f=23&t=24820

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 16:48
by gajop
knorke wrote:yes, bunkers in the style of starcraft can be done.
many spring games have mobile transporters, so just take one of them and make them immobile - tada.
i think cursed even has a bunker-like building

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 17:33
by WENEX
Thanks, that was quick.

So, I like to have my units die after some time, to make the player hurry to help them . Also he should have some advantage doing it. Also he has to be afraid that the enemy take his units.

The buildings should not blow up. I missed it in RTS to have fights in cities from building to building. Also mobile units like tanks or cars with crew. The building and the car units should give the infantry units in them some armor bonus. While the most weapons damage infantry much more then other stuff, infantry dies befor the building or car is destroyed.

map stuff: If I would deliver my game, i would make two extra downloads, one with special maps for my game and one with the features and textures and introduction to make maps.

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 17:34
by WENEX
I think Cursed is Windows only? I use Ubuntu.

Re: Is spring the right engine for my hobby?

Posted: 28 Oct 2012, 17:49
by gajop
no game here is truly 'windows-only'; it may be that it has an installer for just windows, or that it has some bugs that manifest on linux only (often a case-sensitivity thing), but iirc cursed runs fine, and even if it doesn't, you should be able to dig out the important code for what you need

Re: Is spring the right engine for my hobby?

Posted: 29 Oct 2012, 19:34
by azaremoth
WENEX wrote:I think Cursed is Windows only? I use Ubuntu.
It should work fine with Linux. Only the installer that is windows-only. You can find the game content file here:
http://azaremoth.supremedesign.org/data/cursed_121.sdz

The Cursed feature:

- corpses that can be resurrected into a defined unit (in the feature defs
- aura units: allied units within a certain radius do get stats bonuses (fire range, fire rate etc.) - you should be able to change code to give them (m)any other bonuses
- starcraft style bunkers

PURE had C&C Generals/Red Alert/Warhammer style buildings. The actually were neutral "bunker units" that could be captured by infantry units.

Re: Is spring the right engine for my hobby?

Posted: 29 Oct 2012, 22:37
by zwzsg
Having transported units able to fight from inside the bunker is just a matter of isFirePlatform tag in the unitdef.

Re: Is spring the right engine for my hobby?

Posted: 30 Oct 2012, 08:32
by WENEX
FLOZi wrote: Hope I have helped.
You all did. This sounds great.