CollectionOfStuff

From Spring

At least a million widgets and gadgets have been done in Spring. But alot of cool things are lost because the game vanished or the idea never made it into a public release. Many items from Monthly_Topic_Rotation are actually done or could be done.

It also annoyed me that there are often forum threads where somebody explains in detail how to do something but its just lost in spam. So here is a collection of random things.

Some of the stuff might be outdated or rough "proves of concept":

Contents

Linked Units: if parent units dies, child units die too

http://springrts.com/phpbb/viewtopic.php?f=23&t=25435 pseudo code + working gadget

Widget+Gadget - CEG Spawner

http://springrts.com/phpbb/viewtopic.php?f=23&t=24499 working widget+gadget with chili ui

picture in picture screen

http://springrts.com/phpbb/viewtopic.php?f=23&t=24485 working widget

Tower Defense

http://springrts.com/phpbb/viewtopic.php?f=14&t=22816 ideas how it could be done

http://springrts.com/phpbb/viewtopic.php?f=55&t=28696 TTD = Transportable Tower Defence mission - working example

cover system / units taking cover behind features etc

http://springrts.com/phpbb/viewtopic.php?f=23&t=24820 ideas, code to check if unit is in cover. is now in spring tanks and evoRTS

collecting data from spring games

Unit path tracer

http://springrts.com/phpbb/viewtopic.php?f=23&t=23584

build order visualizer

http://springrts.com/phpbb/viewtopic.php?f=23&t=26360

unit movement, destruction, building placement

http://springrts.com/phpbb/viewtopic.php?f=1&t=22571

unit effectiveness by reading XP on destruction

http://springrts.com/phpbb/viewtopic.php?f=44&t=26092

unit movement, automatic visual replay in SVG

http://springrts.com/phpbb/viewtopic.php?f=55&t=28808 notAtv

Ingame hitbox editor

http://springrts.com/phpbb/viewtopic.php?f=14&t=24882 dynamic hitboxes, reading button presses from keyboard

Teleport areas (for units entering them), wrap around map

http://springrts.com/phpbb/viewtopic.php?f=43&t=24611 working map with gadget

Posing units ingame by moving/rotating pieces to create keyframes or w/e

http://springrts.com/phpbb/viewtopic.php?f=14&t=25104 hackish but working widget,gadget,unitscript brew

non clumping aircraft

http://springrts.com/phpbb/viewtopic.php?f=14&t=24811 tags that make aircraft not clump

Multiple parts units, targeting parts of units (ie head or turret)

http://springrts.com/phpbb/viewtopic.php?f=14&t=24590 discussion

different resource names (ie "wood" instead of "metal")

http://springrts.com/phpbb/viewtopic.php?f=23&t=24771&p=462461&hilit=wood+metal#p462461 an ugly widget

Units that die after a specified life time

http://springrts.com/phpbb/viewtopic.php?f=14&t=25461 different ways to do it, working example

3D drawing library, weapon ranges in 3D, animated water

http://springrts.com/phpbb/viewtopic.php?f=23&t=17935 zip file with various stuff

finite/limited metal

http://springrts.com/phpbb/viewtopic.php?f=13&t=26026

maps with lava

http://springrts.com/phpbb/viewtopic.php?f=13&t=25517 nicer lava with shaders: http://springrts.com/phpbb/viewtopic.php?f=13&t=26698 , http://springrts.com/phpbb/viewtopic.php?f=23&t=31159

multi touch interaction

http://springrts.com/phpbb/viewtopic.php?f=12&t=25865

game mode: score points by dealing damage to a neutral unit

http://springrts.com/phpbb/viewtopic.php?f=14&t=26241

neat animations

http://springrts.com/phpbb/viewtopic.php?f=9&t=8864&start=7962

tech tree

http://springrts.com/phpbb/viewtopic.php?f=23&t=20680

seperate players by a wall & timer

http://springrts.com/phpbb/viewtopic.php?f=13&t=26570 map with working gadget

colored text

http://springrts.com/phpbb/viewtopic.php?f=23&t=26341 some info about colors

How to make a ballistic weapon arc just a little

http://springrts.com/phpbb/viewtopic.php?f=14&t=26660 different ways to do it

melee combat

http://springrts.com/phpbb/viewtopic.php?f=14&t=14373 ideas, some pictures, script pieces

peace time to seperate teams before they can attack each other

http://springrts.com/phpbb/viewtopic.php?f=13&t=26570 a map that does that

CEGs and unitDefs

http://springrts.com/phpbb/viewtopic.php?f=14&t=26612 some other way to do it

noobs coming to mod spring

collection of "hi iam new" threads http://springrts.com/phpbb/viewtopic.php?f=14&t=26642 http://springrts.com/phpbb/viewtopic.php?f=14&t=26604 http://springrts.com/phpbb/viewtopic.php?f=14&t=26519 http://springrts.com/phpbb/viewtopic.php?f=14&t=26216 http://springrts.com/phpbb/viewtopic.php?f=1&t=27739


creating new units in unitdefs_post.lua

http://springrts.com/phpbb/viewtopic.php?f=23&t=26078

Turret rotating independant from unit chassis

http://springrts.com/phpbb/viewtopic.php?f=14&t=26727&p=499627 example script pieces

units avoiding enemy units

http://springrts.com/phpbb/viewtopic.php?f=23&t=26811 widget based on a paper

nicer map edges

http://springrts.com/phpbb/viewtopic.php?f=13&t=26732 discussion, "endless texture"-widget on page 2
several versions from different people now in various games

Spring with 3D glasses

http://springrts.com/phpbb/viewtopic.php?f=1&t=19995 widget

AI Ladder "SpringGrid"

http://springrts.com/phpbb/viewtopic.php?f=15&t=20830 now dead project, source files available

Moving Metal Extractors (Mobile Mex)

http://springrts.com/phpbb/viewtopic.php?f=23&t=11335 http://springrts.com/phpbb/viewtopic.php?f=14&t=26877 working scripts

fun with factories

mobile factory

http://springrts.com/phpbb/viewtopic.php?f=14&t=27503 script

Multiple build pads possible?

http://springrts.com/phpbb/viewtopic.php?f=14&t=27615

building multiple units at once

http://springrts.com/phpbb/viewtopic.php?f=14&t=28092

web lobby in browser

http://springrts.com/phpbb/viewtopic.php?f=64&t=26414

chat about engine trees

http://springrts.com/phpbb/viewtopic.php?f=23&t=27189

BA with "Red Alert" eco

http://springrts.com/phpbb/viewtopic.php?f=44&t=27173 working game with ore based economy

can I force a unit to shoot allies?

http://springrts.com/phpbb/viewtopic.php?f=23&t=27114 ideas, talk

forest fires with Lua

http://springrts.com/phpbb/viewtopic.php?f=23&t=27015 experiments

sharing variables across widgets (and making sure they all get them)

http://springrts.com/phpbb/viewtopic.php?f=23&t=27408

pixel shaders with Lua

http://springrts.com/phpbb/viewtopic.php?f=23&t=20932 simple shader example

http://springrts.com/phpbb/viewtopic.php?f=23&t=27269 even more primitive

railroad / train units

http://springrts.com/phpbb/viewtopic.php?f=14&t=17137 very old but cool techdemo (probally needs fixing for current spring)

benchmarking spring

http://springrts.com/phpbb/viewtopic.php?f=12&t=27411 something about some tool and similiar threads (Phoronix Test Suite)

Lua Lobby

http://springrts.com/phpbb/viewtopic.php?f=12&t=27329 blabla about how to (not) implent it

http://springrts.com/phpbb/viewtopic.php?f=12&t=27526 Lua Sockets implented in engine

"Mini Games" with Lua

http://springrts.com/phpbb/viewtopic.php?f=23&t=19300 http://springrts.com/phpbb/viewtopic.php?f=23&t=19030 Tetris, Pacman, Snake, Pong

Camera at fixed height

http://springrts.com/phpbb/viewtopic.php?f=23&t=20818 widget code

Lua IDE

http://springrts.com/phpbb/viewtopic.php?f=23&t=27608 my text editor is better than yours

common Lua mistakes

a widget so bad we can all learn from it \o/ http://springrts.com/phpbb/viewtopic.php?f=23&t=28113

(mapping) Good way to generate detail texture distribution

http://springrts.com/phpbb/viewtopic.php?f=13&t=28026

(mapping) Proceduraly created map

http://springrts.com/phpbb/viewtopic.php?f=55&t=31122 notAmap - procedural shape of map + set of nice hills

visible LOS / fog of war

http://springrts.com/phpbb/viewtopic.php?f=12&t=28062 lua, engine

third person controlling a unit

http://springrts.com/phpbb/viewtopic.php?f=54&t=27013&start=10 gadget, mutator

Lua weapondefs with inheritance

http://springrts.com/phpbb/viewtopic.php?f=14&t=28123

Multiple unit/feature/weapon defs per file

http://springrts.com/phpbb/viewtopic.php?f=14&t=26888

texture size and atlases

http://springrts.com/phpbb/viewtopic.php?f=9&t=29938&p=538020

scale a unit bigger in gadget:DrawWorld

http://springrts.com/phpbb/viewtopic.php?f=23&t=29934

projectiles, SetProjectileTarget

http://springrts.com/phpbb/viewtopic.php?f=23&t=31799 example gadget