Page 2 of 4
Re: Let's make a Tutorial Game for new modders
Posted: 27 Apr 2011, 07:16
by SanadaUjiosan
knorke wrote:Just noticed there is some error:
[f=0000000] Inconsistent movedata 1 for simplehover (moveclass hover2x2): neither canhover nor floater, but not a ground movetype
(everything works but it gives this message in infolog)
there might be more things like that, that are not 100% spot on...
Pretty sure that's the engine being like "you put hover in the movedef, but the unit has no actual hover abilities."
Sounds like good progress, I approve of your approach through teaching with increasing levels of "difficulty".
Re: Let's make a Tutorial Game for new modders
Posted: 27 Apr 2011, 15:56
by Wombat
Re: Let's make a Tutorial Game for new modders
Posted: 27 Apr 2011, 16:05
by FLOZi
Yeah, Hovers need canhover = true in the unitdef as well as a movedef with the HOVER keyword.
Why? I don't know.
Re: Let's make a Tutorial Game for new modders
Posted: 27 Apr 2011, 17:23
by knorke
yes i carefully copied over the colors from advice dog to the textures.
thanks, will test the hover thing.
Re: Let's make a Tutorial Game for new modders
Posted: 27 Apr 2011, 22:38
by PicassoCT
well, seems i have no excuses to be lazy left. Nailed me into the corner, like a snail with salt, like a prisoner by a searchlight..
Re: Let's make a Tutorial Game for new modders
Posted: 28 Apr 2011, 23:48
by Wombat
So far there is:
u probably got these in mind already but... air trans and gunship would be good.
Re: Let's make a Tutorial Game for new modders
Posted: 29 Apr 2011, 09:34
by Forboding Angel
FLOZi wrote:Yeah, Hovers need canhover = true in the unitdef as well as a movedef with the HOVER keyword.
Why? I don't know.
Also, without this little script, they will always be upright = 1,
Code: Select all
setSFXoccupy(setSFXoccupy_argument)
{
terraintype = setSFXoccupy_argument;
if(terraintype == 2)
{
move base to y-axis [-0.85] speed [50];
set UPRIGHT to 1;
}
else
{
move base to y-axis [0.0] speed [50];
set UPRIGHT to 0;
}
if(terraintype == 4)
{
move base to y-axis [0] speed [50];
set UPRIGHT to 0;
}
else
{
move base to y-axis [-0.85] speed [50];
set UPRIGHT to 1;
}
}
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 00:49
by knorke
no country for old cob.
aircraft & transporters would def. be good to have.
but while i got both working in other games i dont know what a minimal example would look like.
was wondering if some gadget/widget would be good to have?
In theory it is not needed but then you will usually have unit_script.lua, game_spawn.lua & some healthbar widget anyway. So maybe just something small.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 00:50
by SinbadEV
I was thinking when you get the basics down you can make a few forks to demonstrate advanced topics like gadgets and gui frameworks.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 00:57
by knorke
if someone wants to make a fork with ie chili, nice. but i have no idea on the ui frameworks.
also do not want to script tons of stuff when most new mods die before they even get one model into the game. lua crash course would indeed be good to have but i wont do it, i think there even is some .pdf floating around already?
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 00:58
by Wombat
i think taking at least one feature from every game could be good idea. metal makers(*A), overdrive and connecting mex with E for bigger income(0k), E buildings unlocking units (evo) etc.
(according to sinbads latest post)
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 01:15
by knorke
no, thats excactly what should not be included.
zeroK's mex overdrive alone is 1400 lines:
http://code.google.com/p/zero-k/source/ ... rdrive.lua
that is zero helpful to beginners.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 01:28
by PicassoCT
maybe make modchapters? chapter 1 mod is finnished, if you can implement and understand all of those, move towards chapter two mod.
1400 lines of code sounds like a chapter 8 or nine mod though.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 01:36
by Wombat
olol, ok then, didnt know, thought it would be cool to show some more possibilities of engine.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 01:40
by knorke
there are lots of complete/wip games showing what the engine can do. the engine can do
too much, it is impossible to show everything.
Would be like trying to show everything you can draw with a pencil.
The idea is to show how you sharpen the pencil and then avoid poking it into your eye.
after chapter 2 nubs will find their own way.
that is, if you rotate them toward the water.

Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 04:22
by bobthedinosaur
chapter 2 sounds to me like an entire chapter on DSD and BA spin offs since I am assuming chapter 1 is an intro into modifying things.
Re: Let's make a Tutorial Game for new modders
Posted: 30 Apr 2011, 08:25
by Forboding Angel
Wombat wrote:i think taking at least one feature from every game could be good idea. metal makers(*A), overdrive and connecting mex with E for bigger income(0k), E buildings unlocking units (evo) etc.
(according to sinbads latest post)
Has nothing to do with energy, that's just the building I chose for it (so you wouldn't have to build special buildings just for tech.
It's all based on zwzsg's teching gadget.
Re: Let's make a Tutorial Game for new modders
Posted: 04 May 2011, 20:00
by knorke
added a buildervehicle and a helicopter:

the helicopter folds up the rotor blades when landed.
sometimes does that when hovering in mid air too. dont know why:
http://code.google.com/p/springtutorial ... copter.lua
http://code.google.com/p/springtutorial ... copter.lua
I think I wont add any more stuff now unless I really see somebody new using this.
Re: Let's make a Tutorial Game for new modders
Posted: 04 May 2011, 20:07
by SinbadEV
knorke wrote:I think I wont add any more stuff now unless I really see somebody new using this.
Perhaps making a fresh post in the community news section with some screenshots and summarizing the state of the project, with brief instructions on how to use the project to get started?
Re: Let's make a Tutorial Game for new modders
Posted: 04 May 2011, 20:13
by knorke
yes, will do that but have to clean up first and write instruction etc.
fun fact: my post some days ago in "community news section" got deleted without anybody telling me why.