Page 1 of 1

Looking for help/tutor

Posted: 28 Jul 2011, 12:47
by Yaaar's Revenge
Hey

I've just started working on my own RTS project for Spring, and was wondering if there is anyone who would either want to help, or give me some assistance teaching me some of the functionalities of the Spring engine

If you want more details about the project I'm more than happy to give them - I'm not asking someone to build my game for me, I'm just asking if anyone can help me out in learning/becoming better at working in Spring

Thanks :)

Re: Looking for help/tutor

Posted: 28 Jul 2011, 12:48
by Beherith
Your best bet is to keep the wiki open, search through the forums whenever you get stuck. If that still doesnt help, the forum is helpful and people answer very quickly. Also, you can hang out in many of the lobby channels mod devs hang out in.

Re: Looking for help/tutor

Posted: 28 Jul 2011, 12:50
by Yaaar's Revenge
What channel is that for? The Spring mumble, as I hopped on there and didn't really see any developers =S

Re: Looking for help/tutor

Posted: 28 Jul 2011, 12:52
by Beherith
Lobby channels, like #moddev, #lua, And the ZK people are very helpful and knowledgeable in #zk.

Re: Looking for help/tutor

Posted: 28 Jul 2011, 12:54
by Yaaar's Revenge
Ah right ok - and I assume that's on the mumble server right?

Re: Looking for help/tutor

Posted: 28 Jul 2011, 12:59
by hoijui
lobby channels are on the lobby server, not mumble.
When you are in SpringLobby or TASClient or ZeroK(-Lobby), and you see people chatting, then you are on the lobby server.

Re: Looking for help/tutor

Posted: 28 Jul 2011, 14:26
by smoth
pretty much any one of us with a project name above our avatar. We cannot personally tutor you constantly but asking us questions as you get stuck from time to time can be useful for you. Be sure to try different projects out to see what features you can stea... acquire from them

Re: Looking for help/tutor

Posted: 28 Jul 2011, 15:23
by Forboding Angel
Yeah, most of us, especially Gundam, have tons of luaz that will make your life infinitely easier. The good news is that its getting to the point to where just about everything you could want is already done.

Re: Looking for help/tutor

Posted: 28 Jul 2011, 15:34
by FLOZi
You must have a small imagination, Forb :P

Re: Looking for help/tutor

Posted: 28 Jul 2011, 16:30
by KaiserJ
lots of helpful people already responding here (they among others are ones i would seek for advice anyways) might as well start asking stuff here and revealing your secrets :3

Re: Looking for help/tutor

Posted: 28 Jul 2011, 17:04
by knorke
get familiar with Springs controlls by playing some games (ie BA but other games will do too)
Before you can make stuff you need to learn how to play ;)
Not being good at the game but stuff like camera, important keys, chat commands, where files go, F11 widget menu etc.
Otherwise things will potentially be very frustrating.

Then:
http://springrts.com/wiki/Game_and_Unit_development
I especially recommend:
http://springrts.com/wiki/The_Complete_ ... pring_Game

http://springrts.com/wiki/SpringTutorialGame

http://answers.springlobby.info/questio ... est-my-mod

For scripting:
http://springrts.com/wiki/Lua_Scripting
sadly there are no real tutorials, only a function reference etc.
Or just learn that Lua = the stuff that you can copy&paste.

Re: Looking for help/tutor

Posted: 29 Jul 2011, 11:39
by Yaaar's Revenge
Ah wow - great response, thank you guys =)

Well I guess my first question:
I'm trying to build a naval factory for making a basic ship unit. I am using the land factory model from the spring example engine (the brightly coloured thing) but when I make the ship (which is a tank but I have set it to floater = true) it simply sticks to the seabed and doesn't move.
Now I've set minimum water level to 15, category to SHIP but I'm not sure what I'm missing

How can I fix that, or does anyone have a demo basic ship I can use or see how it works?

Thanks =)

Re: Looking for help/tutor

Posted: 29 Jul 2011, 14:27
by FLOZi
You need a gamedata/movedefs.lua and you need to have a move category with SHIP or BOAT in the name - category is for weapon targeting only. That move category also must have the relevant min/max water depth tags - the ones in the unitdef are for structures only.

See
http://springrts.com/wiki/Movedefs.lua
for more on move defs and

and http://springrts.com/wiki/Units-UnitDefs
for explanation of unit tags

Example movedefs.lua:
Spring:1944 - http://spring1944.svn.sourceforge.net/v ... iew=markup (apologies for terrible white spacing)
ZeroK - http://code.google.com/p/zero-k/source/ ... vedefs.lua

May a moderator please move this thread to Games & Mods?

Re: Looking for help/tutor

Posted: 30 Jul 2011, 06:00
by Forboding Angel
They aren't for buildings only. If you have a mobile unit building another mobile unit the those tags take effect.

Re: Looking for help/tutor

Posted: 30 Jul 2011, 13:46
by FLOZi
Thanks for the pointless obfuscation :roll: I believe that may be changed in 0.83 anyway.

Re: Looking for help/tutor

Posted: 04 Aug 2011, 04:04
by Forboding Angel
It isn't pointless... Not everything uses factories for building units.

Re: Looking for help/tutor

Posted: 04 Aug 2011, 06:52
by PicassoCT
Forboding Angel wrote:Yeah, most of us, especially Gundam, have tons of luaz that will make your life infinitely easier. The good news is that its getting to the point to where just about everything you could want is already done.
wrong Sir, wrong Sir!