Map recon

Mon Jun 25 00:55:47 CEST 2007

Mon Jun 25 00:55:47 CEST 2007 CoD
Apro questo topic qui perche'... mi sembra la sezione che piu' si avvicina con quello che ho appena fatto. Spesso noto persone che non sanno come si chiama una certa mappa o che dal nome non riescono a capire di che mappa si tratta. Cosi' ho deciso di fare una cosa simile a quella che i militari fanno con gli aerei nemici, ovvero un bel tabellone con le caratteristiche salienti di ogni mappa in modo da capire con un'occhiata di che mappa si sta parlando. L'idea e' quella di espandere questa cosa facendo un vero archivio di mappe, contenente per ciascuna: autore, titolo, nome del file, commento, link, ecc... Per ora ho fatto solo una paginetta sfigata generata con uno scriptino bash e una serie di immagini generate con il glorioso ImageMagick. Per ciascuna mappa trovate: copertina, base aliena, base umana, uno screenshot particolare o una disamibguation (per distinguere tra le versioni di una stessa mappa) Trovate il tutto qui: http://cod.altervista.org/tremulous/maplist/ Ogni commento e' gradito :mrgreen: EDIT: per chi avesse pieta' della mia banda e volesse scaricarselo, puo' prelevare questo file di 12.3 Mb: cod.altervista.org/tremulous/maplist/maprecon1.tar.bz2 (aggiungete http... se metto un link diretto altervista lo blocca) Ma tenete presente che sto ancora uppandolo al momento in cui edito questo messaggio... datemi qualche minuto :P
Mon Jun 25 01:04:16 CEST 2007 White [ITA]
nn hai messo Granerrnik !!!!
Mon Jun 25 01:07:12 CEST 2007 CoD
Giusto, tengo a precisare che mi sono messo a screenshottare solo le mappe che avevo sul mio hd, ma non ho lanciato il map downloader prima, per cui alcune mancheranno... beh per questo esistono le versioni, no? :wink: Abbiate fede.. piano piano... :grin: Stavo pensando che forse si potrebbero integrare questi screenshot con qualche lista gia' esistente... il wikiniubbo per caso ha una lista di mappe?
Mon Jun 25 08:17:32 CEST 2007 Canduz
Ottimo lavoro!!! Davvero bella come idea, secondo me sarebbe perfetto da integrare a questa pagina http://www.capponcino.it/tremulous/inde ... &Itemid=48 ovvero quella del maps downloader e magari a ogni mappa il suo link "Vedi immagini"
Mon Jun 25 10:27:15 CEST 2007 Slux
gia molto fico! Ma il problema e' il tempo che ci vuole (e la voglio) di recuperare screenshot ecc... :(
Mon Jun 25 10:28:40 CEST 2007 CoD
Si puo' fare :grin: Anche se io ho censito TUTTE le mappe, comprese quelle che in teoria non puoi scaricare perche le trovi gia' nel gioco. La mia idea era di fare un database delle mappe che potesse anche raccogliere impressioni di gioco, giudizi e persino idee tattiche. Ho un progettino in mente davvero niente male, ma come al solito mi serve tempo, per cui abbiate pazienza: piano piano crescera' e alla fine dovreste avere un sito con mappe, commenti, tattiche per ciascuna mappa e persino su quali server la si puo' trovare installata :wink: P.S.: ho notato che anche se le avevo fatte, mancano le altre versioni di peorongate... correggo appena posso.
Mon Jun 25 10:40:22 CEST 2007 CoD
Mi rispondo per rispondere a Slux. Ecco gli script che ho usato per automatizzare il sistema (sono brutti e con percorsi relativi al mio hd, ma funzionano :grin:) Estrattore di copertine [code:fgnrrnvt]#!/bin/sh cd /opt/tremulous/base/ for file in `ls *.pk3` do echo Sto aprendo $file cd /home/cod/.tremulous/base/screenshots/maprecon/covers cartella=${file%.pk3} mkdir ${cartella} unzip /opt/tremulous/base/${file} levelshots/*.* -d /home/cod/.tremulous/base/screenshots/maprecon/covers/${cartella} done[/code:fgnrrnvt] Crea una cartella per ogni mappa e dentro ad essa ci mette la cartella levelshots con tutte le immagini. Io estraggo l'immagine di copertina e la chiamo 1.jpg lasciandola dentro alla cartella col nome della mappa. Poi faccio 3 screenshot per ogni mappa: base aliena, base umana e un posto particolare della mappa che serva a ricordarsela facilmente. Gli screenshot li faccio con le seguenti impostazioni: cg_draw2d 0 cg_drawgun 0 (casomai mi serva usare noclip e un umano invece di andare da spettatore) Quindi correggo la gamma: Correttore di Gamma [code:fgnrrnvt]#!/bin/sh for file in `ls *.jpg` do convert ${file} -gamma 1.5 converted/${file} done [/code:fgnrrnvt] Questo script crea una copia di ogni immagine (mantenendo il nome originale) e la mette nella sottocartella "converted" Ora si tratta di sbattere ciascuna immagine nella cartella della mappa a cui appartiene e di chiamarle: 2.jpg per la base aliena, 3 per la base umana e 4 per l'immagine in piu' I numeri servono semplicemente per avere l'ordine giusto quando si compone l'immagine finale divisa in quattro. Che si fa in questo modo: Compositore di immagini [code:fgnrrnvt]#!/bin/sh for file in `ls -d */` do nuovonome=${file%/} montage ./${file}/*.jpg -geometry '320x240' -background black ../final_640/${nuovonome}.jpg done[/code:fgnrrnvt] Questo script crea le immagini riassuntive e le va a mettere in una cartella chiamata "final_640" che NON SI TROVA in questa cartella (../final_640) Questo perche' altrimenti la cosa sarebbe un po' ricorsiva... Se volete delle immagini 800x600 giocate sui valori dopo "geometry" (sono le dimensioni di ciascuna immagine) Grazie a questi script ho potuto fare tutto il lavoro in una serata 8)
Mon Jun 25 10:43:28 CEST 2007 Michi
Se vuoi ti do una mano con la parte tattica... dimmi appena inizi! :F
Mon Jun 25 11:21:41 CEST 2007 Slux
:) mi chiedevo se era possibile fare uno script che: [code:swj0hov1]per ogni mappa 1) avvia trem con map XXX 2) joina umano e fa uno screenshot 3) joina alieno e fa uno screenshot 4) joina spectator e fa uno screenshot 5) esce da trem fine[/code:swj0hov1] poi quando a fatto tutti gli screenshots, un'altro scropt che li prende dalla dir base/screenshots/ e li rinomina/processa e crea il database... :roll: stasera ci penso :)
Mon Jun 25 13:54:30 CEST 2007 pontino
se avete bisogno di aiuto per quanto riguarda il sito ci sono pure io.. avrei già in mente come si potrebbe presentare all'utente finale..
Mon Jun 25 16:09:31 CEST 2007 Slux
Slux
:) mi chiedevo se era possibile fare uno script che: [code:2clw5023]per ogni mappa 1) avvia trem con map XXX 2) joina umano e fa uno screenshot 3) joina alieno e fa uno screenshot 4) joina spectator e fa uno screenshot 5) esce da trem fine[/code:2clw5023] poi quando a fatto tutti gli screenshots, un'altro scropt che li prende dalla dir base/screenshots/ e li rinomina/processa e crea il database... :roll: stasera ci penso :)
eccolo qui :) ma funge si e no -.- spesso gli screenshot non arrivano e si incaglia :( allora: 1) creare un file maps_list.txt con il nome delle mappe http://rafb.net/p/PWFxHQ29.html 2) creare sotto ~/.tremulous/base un file cfg (infomap.cfg) con questo contenuto http://rafb.net/p/O0qPC816.html 3) aggiungete alla fine del file autoexec.cfg la sequeste riga: [code:2clw5023]exec infomap.cfg[/code:2clw5023] 4) Usate questo mio script :) http://rafb.net/p/luYlS179.html enjoy!
Mon Jun 25 16:40:39 CEST 2007 trutlee
mi pare manchino queste http://www.capponcino.it/tremulous/phpB ... php?t=1461 http://www.capponcino.it/tremulous/phpB ... php?t=1406 http://www.capponcino.it/tremulous/phpB ... php?t=1409 http://www.capponcino.it/tremulous/phpB ... php?t=1361 http://www.capponcino.it/tremulous/phpB ... php?t=1357 poi anche: kamalkael [url=http://img454.imageshack.us/my.php?image=shot0000kf6.jpg:n9hfym7u][img:n9hfym7u]http://img454.imageshack.us/img454/3460/shot0000kf6.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img454.imageshack.us/my.php?image=jhjin6.jpg:n9hfym7u][img:n9hfym7u]http://img454.imageshack.us/img454/5493/jhjin6.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img454.imageshack.us/my.php?image=shot0002zb6.jpg:n9hfym7u][img:n9hfym7u]http://img454.imageshack.us/img454/4201/shot0002zb6.th.jpg[/img:n9hfym7u][/url:n9hfym7u] the bunker [img:n9hfym7u]http://img132.imageshack.us/img132/3204/shot0054fm2.jpg[/img:n9hfym7u][img:n9hfym7u]http://img297.imageshack.us/img297/4449/shot0058vb6.jpg[/img:n9hfym7u][img:n9hfym7u]http://img177.imageshack.us/img177/5872/shot0059rs2.jpg[/img:n9hfym7u] Bunker:5634 [url=http://img72.imageshack.us/my.php?image=shot0154ix24yo.jpg:n9hfym7u][img:n9hfym7u]http://img72.imageshack.us/img72/8132/shot0154ix24yo.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img72.imageshack.us/my.php?image=shot0157pg72jk.jpg:n9hfym7u][img:n9hfym7u]http://img72.imageshack.us/img72/1488/shot0157pg72jk.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img72.imageshack.us/my.php?image=shot0155ws41tp.jpg:n9hfym7u][img:n9hfym7u]http://img72.imageshack.us/img72/3746/shot0155ws41tp.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img174.imageshack.us/my.php?image=shot0156wm78tk.jpg:n9hfym7u][img:n9hfym7u]http://img174.imageshack.us/img174/3041/shot0156wm78tk.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img174.imageshack.us/my.php?image=shot0158qi61uy.jpg:n9hfym7u][img:n9hfym7u]http://img174.imageshack.us/img174/2361/shot0158qi61uy.th.jpg[/img:n9hfym7u][/url:n9hfym7u] Dunjeon [url=http://img244.imageshack.us/my.php?image=shot0037rk6zn1.jpg:n9hfym7u][img:n9hfym7u]http://img244.imageshack.us/img244/8266/shot0037rk6zn1.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img152.imageshack.us/my.php?image=couloirdunjeon16e7d4amp7.jpg:n9hfym7u][img:n9hfym7u]http://img152.imageshack.us/img152/6936/couloirdunjeon16e7d4amp7.th.jpg[/img:n9hfym7u][/url:n9hfym7u] Behavioural Research Map [url=http://img175.imageshack.us/my.php?image=forum28cc71jd1.jpg:n9hfym7u][img:n9hfym7u]http://img175.imageshack.us/img175/1801/forum28cc71jd1.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img175.imageshack.us/my.php?image=coldroom9019amr7.jpg:n9hfym7u][img:n9hfym7u]http://img175.imageshack.us/img175/1626/coldroom9019amr7.th.jpg[/img:n9hfym7u][/url:n9hfym7u] hockey [url=http://img258.imageshack.us/my.php?image=shot0007js0.jpg:n9hfym7u][img:n9hfym7u]http://img258.imageshack.us/img258/5001/shot0007js0.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img258.imageshack.us/my.php?image=shot0009ht3.jpg:n9hfym7u][img:n9hfym7u]http://img258.imageshack.us/img258/5277/shot0009ht3.th.jpg[/img:n9hfym7u][/url:n9hfym7u] couse [url=http://img181.imageshack.us/my.php?image=shot0000ba1.jpg:n9hfym7u][img:n9hfym7u]http://img181.imageshack.us/img181/9584/shot0000ba1.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img232.imageshack.us/my.php?image=shot0001gc3.jpg:n9hfym7u][img:n9hfym7u]http://img232.imageshack.us/img232/2985/shot0001gc3.th.jpg[/img:n9hfym7u][/url:n9hfym7u] pizza2 [url=http://img294.imageshack.us/my.php?image=shot0001vz5.jpg:n9hfym7u][img:n9hfym7u]http://img294.imageshack.us/img294/1062/shot0001vz5.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img294.imageshack.us/my.php?image=shot0002rt2.jpg:n9hfym7u][img:n9hfym7u]http://img294.imageshack.us/img294/4368/shot0002rt2.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img294.imageshack.us/my.php?image=shot0004qu8.jpg:n9hfym7u][img:n9hfym7u]http://img294.imageshack.us/img294/878/shot0004qu8.th.jpg[/img:n9hfym7u][/url:n9hfym7u] A.D.O.C. [url=http://img413.imageshack.us/my.php?image=image20cj1jd2.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/162/image20cj1jd2.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img413.imageshack.us/my.php?image=image18ej0cw4.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/8195/image18ej0cw4.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img413.imageshack.us/my.php?image=image16ah3up4.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/3518/image16ah3up4.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img413.imageshack.us/my.php?image=image17ta9ax0.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/1523/image17ta9ax0.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img413.imageshack.us/my.php?image=image19kg8us8.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/3476/image19kg8us8.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img413.imageshack.us/my.php?image=image21vx2aj8.jpg:n9hfym7u][img:n9hfym7u]http://img413.imageshack.us/img413/3884/image21vx2aj8.th.jpg[/img:n9hfym7u][/url:n9hfym7u][url=http://img300.imageshack.us/my.php?image=shot0005fg0.jpg:n9hfym7u][img:n9hfym7u]http://img300.imageshack.us/img300/3481/shot0005fg0.th.jpg[/img:n9hfym7u][/url:n9hfym7u] Darkness [url=http://img183.imageshack.us/my.php?image=ryjditenyaa418cpq4.jpg:n9hfym7u][img:n9hfym7u]http://img183.imageshack.us/img183/6139/ryjditenyaa418cpq4.th.jpg[/img:n9hfym7u][/url:n9hfym7u] Medusa CTM [url=http://img108.imageshack.us/my.php?image=shot0003xz7as8.jpg:n9hfym7u][img:n9hfym7u]http://img108.imageshack.us/img108/4075/shot0003xz7as8.th.jpg[/img:n9hfym7u][/url:n9hfym7u] Storage http://rockishome.de.tl/Storage-Hall-.htm
Mon Jun 25 17:37:27 CEST 2007 CoD
Slux sei un grande! :o Lo provo immediatamente... Io gli screenshot delle basi li prendo muovendomi come spettatore in modo da far vedere dove e' il reattore o il nodo, ma cosi' e' decisamente piu' veloce! trutlee bunker l'ho fatta: http://cod.altervista.org/tremulous/map ... er5634.jpg Per le altre... ok mi attrezzo, aggiorno la lista mappe e le faccio. EDIT: non va :? Ottengo solo una finestra di errore con la scritta: Sv_BotFreeClient bad ClientNum 33551196 Che e'? :o
Mon Jun 25 17:56:24 CEST 2007 Slux
CoD
EDIT: non va :? Ottengo solo una finestra di errore con la scritta: Sv_BotFreeClient bad ClientNum 33551196 Che e'? :o
nello script ? O_o
Tue Jun 26 08:02:43 CEST 2007 CoD
Slux ho corretto il tuo sh e adesso va. L'errore era causato dal fatto che non posso dare il comando map senza essere connesso ad un server... almeno da me funziona cosi'. Ecco cosa ho modificato del tuo script: [code:200uu1e8]#!bin/sh[/code:200uu1e8] in [code:200uu1e8]#!/bin/sh[/code:200uu1e8] [code:200uu1e8] #setting the laodmap echo "map $map" > $TREM_HOME"/loadmap.cfg"[/code:200uu1e8] in [code:200uu1e8] #setting the laodmap echo "connect 127.0.0.1" > $TREM_HOME"/loadmap.cfg" echo "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; " >> $TREM_HOME"/loadmap.cfg" echo "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; " >> $TREM_HOME"/loadmap.cfg" echo "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; " >> $TREM_HOME"/loadmap.cfg" echo "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait;wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; wait; " >> $TREM_HOME"/loadmap.cfg" echo "map $map" >> $TREM_HOME"/loadmap.cfg"[/code:200uu1e8] [code:200uu1e8] #START TREMULOUS! $TREM_EXEC &> /dev/null[/code:200uu1e8] in [code:200uu1e8] #START TREMULOUS! $TREM_EXEC +exec maprecon.cfg &> /dev/null[/code:200uu1e8] [code:200uu1e8]mkdir -p $TREM_HOME"/infomaps/$map"[/code:200uu1e8] in [code:200uu1e8]mkdir -p $INFO_MAPS"/$map"[/code:200uu1e8] Poi faccio partire un server locale e lancio il tuo script, senza modificare autoexec.cfg L'unico vero problema e' che le immagini non sono sempre corrette: in arachnid anche joinando umani o alieni l'immagine resta la stessa, per cui a volte e' necessario rifarle a mano (senza contare le immagini per la disambiguation) Pero' il grosso del lavoro lo fa automaticamente! :D
Tue Jun 26 10:03:40 CEST 2007 Slux
:D Io lo usavo senza server locale.. basta che davo map NOME_MAPPA e avviava la mappa.. poi facela gli shot e chiudeva :) cmq, sono contento che funzioni un po :p
Tue Jun 26 15:26:08 CEST 2007 CoD
Cioe' tu ti puoi girare le mappe in locale senza far partire un server? wow perche' io no? Io ho il client tjw su ubuntu 6.06 (installato manualmente)... sarebbe interessante capire perche' tu si e io no :P Comunque siamo un po OT... a breve un aggiornamento con le varie peorongate e alcune disambiguation corrette (a proposito: avete mai visto procyon con l'angelo? Io l'ho trovata in locale ma non l'avevo mai vista su nessun server. E'.... mistica!)
Tue Jun 26 16:01:48 CEST 2007 Slux
dalla console scrivi /map atcs e ti avvia la mappa in locale :D
Wed Jun 27 11:27:59 CEST 2007 CoD
sul portatile va.... sul fisso mi da quell'errore strano che ti ho detto. :shock:
Wed Jun 27 22:53:59 CEST 2007 jackal@slack
volevo solo sbirciare il contenuto dello script, ma raftb.net risponde 404 :roll: