Files
assaultcube-/config/prefabs.cfg
T
Lee Salzman f0bd9b3f55 loop command fixes
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1530 e016b1c5-ed68-44aa-a2f7-31cac88cffde
2007-12-30 05:31:03 +00:00

27 lines
794 B
INI
Executable File

// this cfg defines the shapes of heightfield prefabs, i.e. arches and such
// arch of 2xN cubes, i.e. 3 vertices [0..2]
// archvertex <cubespan> <vertex> <delta>
// vertices not defined have a 0 delta
alias av [
loop i $arg1 [
archvertex (+ $arg1 1) (+ $i 1) (at $arg2 $i)
]
]
av 1 "2"
av 2 "4 4"
av 3 "5 6 5"
av 4 "5 6 6 5"
av 5 "5 7 8 7 5"
av 6 "5 7 8 8 7 5"
av 7 "7 11 13 14 13 11 7"
av 8 "7 11 13 14 14 13 11 7"
av 9 "7 11 13 14 14 14 13 11 7"
av 10 "7 11 13 14 14 14 14 13 11 7"
av 11 "8 13 16 18 19 19 19 18 16 13 8"
av 12 "8 13 16 18 19 19 19 19 18 16 13 8"
av 13 "8 13 16 18 19 19 19 19 19 18 16 13 8" // these last few can be improved
av 14 "8 13 16 18 19 19 19 19 19 19 18 16 13 8"
av 15 "8 13 16 18 19 19 19 19 19 19 19 18 16 13 8"
// add wider arches here! :)