smd reference page rebuilt

smd reference page rebuilt

Discuss maps & map creation - from concept to execution to the ever elusive release.

Moderator: Moderators

User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

smd reference page rebuilt

Post by enetheru »

I was pretty bummed out about the state of the smd reference page being so difficult to look through, so I rebuilt it, adding the information I have found while scouring the map creation forum.

Hope you like it. and I will shift it across if there are less objections than there are approvals.

http://springrts.com/wiki/Enetheru:smd

Cheers :mrgreen:
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

sorry can someone move this to the mapping forum. I posted it here by mistake.
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: smd reference page rebuilt

Post by hoijui »

i hate how the <code> stuff looks practically equal to the normal text. not your fault of course.. it is so on the whole wiki.
is that to be changed here?
http://github.com/spring/spring-website ... spring.css
(end of that file)

maybe a different font color, background, or a small border?

other then that.. maybe the property keys/names could be formatted a bit different then the rest of the text too (bold maybe), where they are explained.
User avatar
Das Bruce
Posts: 3544
Joined: 23 Nov 2005, 06:16

Re: smd reference page rebuilt

Post by Das Bruce »

The wiki is almost to ugly to look at but thanks for doing that. Most of my SMD maker thing was crippled by that cryptic page.
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

hoijui wrote:i hate how the <code> stuff looks practically equal to the normal text. not your fault of course.. it is so on the whole wiki.
is that to be changed here?
http://github.com/spring/spring-website ... spring.css
(end of that file)

maybe a different font color, background, or a small border?

other then that.. maybe the property keys/names could be formatted a bit different then the rest of the text too (bold maybe), where they are explained.
Duly noted, I will work on building contrast between the values and their descriptions.
Das Bruce wrote:The wiki is almost to ugly to look at but thanks for doing that. Most of my SMD maker thing was crippled by that cryptic page.
Cheers :)
User avatar
koshi
Lobby Developer
Posts: 1059
Joined: 14 Aug 2007, 16:15

Re: smd reference page rebuilt

Post by koshi »

wrt wiki css note http://github.com/spring/spring-website ... 6e1e3a9b0b if you haven't already
Edible
Posts: 72
Joined: 09 Feb 2008, 01:46

Re: smd reference page rebuilt

Post by Edible »

It looks pretty sane, will be nice once the fixmes are gone.

Also massive kudos for doing those pages.
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: smd reference page rebuilt

Post by SirArtturi »

You can find default values from \base\maphelper.sdz\maphelper\mapdefaults.lua

- If that's even necessary for the wiki?

And so far, iirc GroundSpecularColor = GroundSunColor and UnitSunColor = UnitSpecularColor. Im not sure about this though. Dunno how this will change after new specular maps for new spring...
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

SirArtturi wrote:You can find default values from \base\maphelper.sdz\maphelper\mapdefaults.lua

- If that's even necessary for the wiki?

And so far, iirc GroundSpecularColor = GroundSunColor and UnitSunColor = UnitSpecularColor. Im not sure about this though. Dunno how this will change after new specular maps for new spring...
some of those defaults look weird.. extractor radius is 500?
User avatar
SirArtturi
Posts: 1164
Joined: 23 Jan 2008, 18:29

Re: smd reference page rebuilt

Post by SirArtturi »

enetheru wrote: some of those defaults look weird.. extractor radius is 500?
Thats probably because first maps didnt have metal patches but huge metal areas that needed big extractor radius. Like in mars or brazillian battlefield etc... you know...
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

SirArtturi wrote:
enetheru wrote: some of those defaults look weird.. extractor radius is 500?
Thats probably because first maps didnt have metal patches but huge metal areas that needed big extractor radius. Like in mars or brazillian battlefield etc... you know...
Thanks for the tip. i have added all the defaults from the lua file, there doesnt seem to be a 1-1 mapping all of the time so I guessed a couple that i was 99% sure on.

and added some questions like water texture?
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

hoijui wrote:maybe the property keys/names could be formatted a bit different then the rest of the text too (bold maybe), where they are explained.
Check out the example at the very top of the page. if its alright I will do it for the rest of the entries. its just a bit of work per entry that I would like to avoid till people are ok with it.

http://springrts.com/wiki/Enetheru:smd
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: smd reference page rebuilt

Post by Forboding Angel »

Ungh, I hate wikis.

Might be best to list this tidbit only once in a prominent position:
The values are in the order Red, Green, Blue.
As 0,0,0 by itself is pretty obvious (it will either be axis or colormap (e.g. xyz, or rgb)).
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

Big thanks to Behe for helping out :-)
Forboding Angel wrote:Ungh, I hate wikis.

Might be best to list this tidbit only once in a prominent position:
The values are in the order Red, Green, Blue.
As 0,0,0 by itself is pretty obvious (it will either be axis or colormap (e.g. xyz, or rgb)).
Wiki's are really good if used properly with people who maintain the information. if they are a dumping ground for half assed documents then they are shit.

And it doesn't hurt to repeat yourself. its not a piece of code :-)
Smoth wrote:SMD's really only need to store the map description and start points. You should contact me in lobby one day eth, I might be worth talking to. if not that is fine but my mapping work revolves around smd being stripped down to next to nothing.
so yeah. I will still bring this page to fruition. and then will try to work with smoth for a replacement, and keep the current page as history.
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

can someone pm me a way to get in contact with smoth?
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: smd reference page rebuilt

Post by Beherith »

I added some stuff to your page. Still some fixme's left though.

Smoth can be found in the lobby under the name 'smoth'
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: smd reference page rebuilt

Post by Forboding Angel »

Smoth is referring to the lua mapoptions/maphelpers he has written. It's all config based and renders smd's useless (And offers a hell of a lot more options than smd could ever hope to).
User avatar
KaiserJ
Community Representative
Posts: 3113
Joined: 08 Sep 2008, 22:59

Re: smd reference page rebuilt

Post by KaiserJ »

:)

i can understand it now!

time to stop stealing SMD information from hunter, and make my own.

thanks for this, any organizational work done on the wiki is a godsend to newbies, as well as to veterans who CBA to sort through a strangely formatted page.
User avatar
CarRepairer
Cursed Zero-K Developer
Posts: 3359
Joined: 07 Nov 2007, 21:48

Re: smd reference page rebuilt

Post by CarRepairer »

Stuff like

Code: Select all

[-1.0-1.0]
looks really weird. You're using the dash for two different things. A more mathematical notation for range would be

Code: Select all

[-1.0,1.0] 
User avatar
enetheru
Posts: 627
Joined: 11 Jun 2010, 07:32

Re: smd reference page rebuilt

Post by enetheru »

CarRepairer wrote:Stuff like

Code: Select all

[-1.0-1.0]
looks really weird. You're using the dash for two different things. A more mathematical notation for range would be

Code: Select all

[-1.0,1.0] 
I was thinking more regex expression myself, rather than a math formula
Post Reply

Return to “Map Creation”