Commit Graph
1299 Commits
Author SHA1 Message Date
drian 243ae82d50 updated two maps 2021-05-22 11:05:05 +02:00
drian fb108ef30e map previews for coal and dusk 2021-05-22 08:42:09 +02:00
drian 63bdfc2939 map cleanup 2021-05-22 08:07:28 +02:00
drian 305e271f23 updated maps and preview pics 2021-05-22 06:45:24 +02:00
drian 3ba6e4298d updated maps and preview pics 2021-05-22 06:30:26 +02:00
drian 0ca1d0c49a updated maps, thanks to BrutalSystem 2021-04-22 06:03:11 +02:00
drian 871f60e210 updated maps, thanks to BrutalSystem 2021-04-22 05:36:55 +02:00
RandumKiwiandGitHub 0522085ea8 added licensing for ./packages/makke/box_*.jpg 2021-04-17 22:26:59 +12:00
drian affe1dc6bd Merge branch 'master' into release_1.3 2021-04-14 05:52:05 +02:00
RandumKiwiandGitHub 164594f58d ac_rattrap is now more playable, as there's now less collideable objects 2021-04-11 18:24:31 +12:00
drian 1d8ae3b763 updated ac_cavern, updated migrated version of douze 2021-04-03 07:16:12 +02:00
drian 91290fcfb6 new official maps based on 2021 map poll 2021-04-03 06:02:54 +02:00
aurhat 98922de3b2 Fix libpng 1.6 warnings
AC printed "libpng warning: iCCP: known incorrect sRGB profile" for PNG
images with incorrect profile. To fix it the iCCP chunk was removed from
the images, using the command: mogrify file.png
2020-06-21 09:08:11 +02:00
aurhat 830f8c0cf7 Cleanup
Thanks DADSGETNDOWN for the report for maps/mapmodel configs.
2017-11-18 14:04:59 +01:00
ac-stef 9bb9cc280b click
shutter sound, cut, edited and compressed

original at: www.freesound.org/people/jgrzinich/sounds/155385/
original license CC0
2017-06-13 14:19:16 +02:00
ac-stef a5fbccbd7c restore htf flag skins
and re-use flag model files
2017-06-11 21:13:51 +02:00
ac-stef 7948212234 add radio buttons and simplify sliders
- omit step size for sliders with value descriptions
- optionally auto-determine max value by list length

  menuitemslider text min max value display action wrap
  menuitemradio text min max value display action

    text: menu item text
    min: min value
    max: max value (or optionally -1 and set by display string length)
    value: initial value
    display: list of value descriptions or value step size
    action: executed on value changes (new value in arg1)
    wrap: if 1, wrap slider around (radio buttons always wrap)

DOCREF menuitemslider menuitemradio
2017-06-06 13:17:20 +02:00
ac-stef 1bf36ca2b3 option to turn off flag score hud transparency
flagscorehudtransparency 0|1

    default: 1

DOCREF flagscorehudtransparency
2017-06-05 01:06:35 +02:00
ac-stef 5e20a2343b add animated inlined images for console text
Images are stored in packages/misc/igraph/*.png and loaded during game
start. Filenames consist of the image shorthand (mnemonic) and optional
frame times, separated by "_". Keep in mind, media file names may only
contain letters, digits and "_-.()".

All texts displayed in the game console are scanned for mnemonics prefixed
with ":". All found matches are replaced by the image.

The images are displayed as squares with width and height the same as the
regular font height. To create animations, put several square images side
by side into the file. For example, a 128x32 image is interpreted as four
frames. Frame duration is encoded in the filename, so, for example the file
"nop_1000_200_100.png" shows the first frame for 1000 milliseconds, the
second frame for 200 msec and the third (as the rest) for 100 msec.

Igraphs "1" to "9" are hardcoded and can be manually encoded in menu texts.
Use the new escape code "\i" plus the number of the image: "\i\1".."\i\9".
Other images can be used in menus as well, but the codes have to be fetched
by getigraph.

new commands:

  updateigraphs

    Checks for new files in packages/misc/igraph. Only necessary, if new
    files are added during the game - for example, by mod package download.

  getigraph <mnemonic>

    Returns an encoded string to display an image outside the console, or
    an empty string, if the mnemonic was not found.

new parameters:

  igraphsize 80..300 (default 120)

    scales the images (in percent)

  igraphsizehardcoded 80..160 (default 106)

    scales the hardcoded images "1".."9" (in percent)

  igraphanimate 0..1 (default 1)

    if 0, only the first frame of every image is displayed

  igraphdefaultframetime 5..2000 (default 200)

    used for images with multiple frames but no frame duration specified
    in the filename

  hideigraphs 0..1 (default 0)

    if 1, no new images will be shown in the console

DOCREF updateigraphs getigraph igraphsizehardcoded
DOCREF igraphsize igraphanimate igraphdefaultframetime hideigraphs
2017-05-28 23:29:06 +02:00
ac-stef 6bafdb0037 allow particle type names in md2emit and md3emit
md[2|3]emit <tag name> <particle type> <attrib1> <attrib2>

  particle type may now be numeric 0..19 or one of SPARK, SMOKE, ECLOSEST,
  BLOOD, DEMOTRACK, FIREBALL, SHOTLINE, BULLETHOLE, BLOODSTAIN, SCORCH,
  HUDMUZZLEFLASH, MUZZLEFLASH, ELIGHT, ESPAWN, EAMMO, EPICKUP, EMODEL,
  ECARROT, ELADDER, EFLAG

also: cleanup

DOCREF md2emit md3emit
2017-05-16 17:50:00 +02:00
ac-stef deafcaab00 add batch map conversion stage to find stray entities
find entities in the middle of 8x8 solid cubes

removed a few ents from depot and venison
2017-05-06 19:37:36 +02:00
ac-stef 5eec79d792 add batch map conversion stage to find some unnecessary heightfields
In old versions of AC it was necessary to trick with heightfields to raise
a pickup entity. However, for quite some time now, pickups can be raised
by attribute.

This additional stage for convmap finds pickup entities where the
heightfield is most probably unnecessary. Fixing is manual work, though.

Updated those pickups on 16 maps.

Also fixed a playerstart on desert3
2017-05-06 00:52:31 +02:00
ac-stef 64c146e52d texture fixes on dev_arabian
thx BrutalSystem
2017-04-30 22:57:07 +02:00
ac-stef 8fdbee225e texture fixes
thx BrutalSystem
2017-04-24 00:14:44 +02:00
aurhat 4d2d326136 Cleanup 2017-02-18 22:40:07 +01:00
ac-stef 206cbdcbd1 better AR approximation
and some fixes
2016-12-03 14:54:18 +01:00
aurhat 55142cbe41 Add transparent 32x32 icon to AC window
It bases on .../docs/images/icon.png from AC website repository,
just removed empty space, edges changed to more noticeable.
Note: on Mac an icon from assaultcube.icns is used.
2016-11-19 18:19:45 +01:00
ac-stef ecb3386f88 fix some entities 2016-11-05 20:45:09 +01:00
ac-stef 5177988bac show faulty playerstarts as yellow players 2016-11-03 14:20:34 +01:00
aurhat 507394fde9 Improve existing and add some new mapmodel definitions 2016-10-22 00:12:48 +02:00
ac-stef 111c8d4d5c mapmodel cleanup 2016-10-17 17:40:02 +02:00
aurhat 72dfcd73fe Cleanup
"showminremain" enabled by default, "fovcompat" removed.

DOCREF showminremain fovcompat
2016-10-14 21:49:53 +02:00
ac-stef bb8bfeb752 mute error messages while probing default model skins
Unless otherwise specified in a config file, every model (md2 or md3)
tries to load skin.jpg, skin.png, ../skin.jpg and ../skin.png (in that
order). This commit silences the errors if some of those attempts fail.

There is still an error message, if none of the four files can be found.

The commit also deletes five identical skin.jpg and places one in ../
2016-10-11 21:36:49 +02:00
ac-stef ade460517d reuse skin 2016-10-10 22:18:26 +02:00
ac-stef f7a54907db map fixes
thx BrutalSystem
2016-10-09 00:49:06 +02:00
ac-stef bc57ac2360 map fixes
thx BrutalSystem
2016-10-08 00:28:33 +02:00
ac-stef 245c0f4c56 map fixes 2016-10-04 22:05:17 +02:00
ac-stef d56d8f91b6 fix restricting watercolour
get coal down from 213 to 91 clipped entities
2016-09-28 16:22:11 +02:00
ac-stef 5ba5d1b4b3 optionally show media origin in slot lists 2016-09-26 22:45:34 +02:00
ac-stef 18375a7c18 sort shadow entities behind lights
- restrict watercolour to edit mode
- some map fixes
- add dev_coal
2016-09-25 16:07:06 +02:00
ac-stef 815f4aa764 add selectall command
selectall

  selects the whole map (minus the two cubes wide border)

DOCREF selectall
2016-09-16 14:06:26 +02:00
ac-stef c5904dc065 add stairs to edit menu 2016-09-16 14:06:26 +02:00
ac-stef 643328b5a1 properly compress chars_default.png
thx BrutalSystem
2016-09-13 21:28:47 +02:00
ac-stef a976e5b4ba map fix 2016-09-11 11:17:25 +02:00
ac-stef 588e9f9de8 some fixes for OSX 2016-09-08 22:36:46 +02:00
ac-stef 123e2b2b12 cleanup 2016-09-08 01:20:45 +02:00
ac-stef 40e8b1cf5e some map fixes 2016-09-05 20:42:56 +02:00
ac-stef ac4e2e60b4 optimised dev_dusk
* heightfield render errors fixed
* model-clipping simplified
* shadowyaw changed a little to avoid ugly artifacts
2016-09-04 00:52:20 +02:00
ac-stef 3e7a0cfb10 added dev_dusk
"Dusk by A&D_Shadow"

initial commit, based on ac_dusk_2013, converted to map format 10
2016-09-03 14:35:33 +02:00
ac-stef 8f95b6d88e more map fixes 2016-09-03 01:42:34 +02:00