search -  faq -  rulez -  staff

forums






map cycle
irc              pwnalizer
voice         dswp bar




Register

Login


It is currently 03.28.24

 

All times are UTC + 1 hour




Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: [CODE] UTC v-1.0
PostPosted: 09.07.12 
Offline
Ingame Mod
User avatar

Joined: 12.19.09
Posts: 806
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203
Thought this should get a new thread and not spamming wiki thread.

Urban Terror Configurator

Version -1.0
Yes it's minus. That's because it's just prototype, proof of concept, not even alpha, etc..

Just so zietsh can see where I want to go with this :D
Half of the code is in bad state, as I am in middle of building the basic structure.
Anyway the keyboard is kinda working you. You can bind to keys, for now only radio commands.

Also I did some interactive FOV tool, but it's missing slider, so it doesn't look that good :D
But anyway anybody knows how can you compute if u have an image with width = x pixels, with fov = Phi, what width will you get if u change Phi? I dont know if its even possible. So i faked is with linear functions for now.

5 files included, utc.html, utc.css, utc.js, jquery-1.8.0.js, fov.png


Attachments:
File comment: utc v-1.0
urtConfig_v-1.0.zip [1001.52 KiB]
Downloaded 1424 times



 
Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.08.12 
Offline
Godlike
User avatar

Joined: 03.12.11
Posts: 523
-----tdm:  
nick: [dswp]zietsh
skill: 991.948
kills: 11203
deaths: 8618
ratio: 1.29
-----bomb:  
nick: [dswp]zietsh
skill: 1056.62
kills: 18077
deaths: 14755
ratio: 1.22
I really like where this is going :D

Great work! :)



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Godlike
User avatar

Joined: 08.27.09
Posts: 746
Location: Zagreb, Croatia
-----tdm:  
nick: Zombie
skill: 1153.35
kills: 2521
deaths: 1384
ratio: 1.82
-----bomb:  
nick: Zombie
skill: 799.915
kills: 649
deaths: 361
ratio: 1.79
maybe wurst can put this somewhere on the web server, like http://www.dswp.de/old/utc

_________________
Image <- got this from JRandomNoob



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Ingame Mod
User avatar

Joined: 12.19.09
Posts: 806
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203
v-0.9.5
    - Created dswp javascript namespace
    - Created Light-weight User Interface library aka LUI (not yet separate files)
    - Created tabs in LUI
    - Added Custom Bind Possibilty
    - Created Main Navigation

Known Bugs
    - Import doesn't work (not even started yet)
    - Fov Image doesn't work (broken)

zietsh wrote:
Great work! :)

Aaa thanks! :D
Btw, what else could be in the bind tabs? We could make some usefull misc -> like changing weapons or something? i dont know much about binds in urt :D
Cookie wrote:
maybe wurst can put this somewhere on the web server, like http://www.dswp.de/utc/

Ye, we talked :D but there is no need to hurry, until we are version at least -0.5 :D
Not really too usable at this time..

Anyway i will probably have this 2 weeks shitty and no time (going back home then to university).. arghhh


Attachments:
File comment: v-0.9.5
urtConfig_v-0.9.5.zip [1002.77 KiB]
Downloaded 1401 times



 
Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Godlike
User avatar

Joined: 03.12.11
Posts: 523
-----tdm:  
nick: [dswp]zietsh
skill: 991.948
kills: 11203
deaths: 8618
ratio: 1.29
-----bomb:  
nick: [dswp]zietsh
skill: 1056.62
kills: 18077
deaths: 14755
ratio: 1.22
I wanted to have a mapposition bind (also with image) and a togglemap size which I use especially when playing bomb-mode:

Example:
set tog_mapsizebig "cg_mapsize 500; cg_mapalpha 1"
set tog_mapsizesmall "cg_mapsize 75; cg_mapalpha 0.200000"

bind KP_LEFTARROW "+vstr tog_mapsizebig tog_mapsizesmall"



and then there are lots of thing for the optimized binary for sound and visual effects

Or mby some stuff for a demo-view/record cfg :)



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Godlike
User avatar

Joined: 08.27.09
Posts: 746
Location: Zagreb, Croatia
-----tdm:  
nick: Zombie
skill: 1153.35
kills: 2521
deaths: 1384
ratio: 1.82
-----bomb:  
nick: Zombie
skill: 799.915
kills: 649
deaths: 361
ratio: 1.79
if you need some advice on binds, let me know...

_________________
Image <- got this from JRandomNoob



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Godlike
User avatar

Joined: 07.15.08
Posts: 4645
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09
oki here u go...

separate files:
dswp_tools/utc/utc.html

Integrated and authenticated (maybe u can fix that...)
utc.php
(content gets read from utc.php in ur directory...)

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Ingame Mod
User avatar

Joined: 12.19.09
Posts: 806
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203
Woot!

The css file path is "utc.css" should be ./dswp_tools/utc/utc.css
That will fix it...

Even though it's not really needed to work with php :D
Unless somebody would want saving of the config on the server...

anyway big thanks!



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 09.09.12 
Offline
Godlike
User avatar

Joined: 07.15.08
Posts: 4645
Location: Behind U
-----tdm:  
nick: [dswp]GewitterOma
skill: 1122.83
kills: 25960
deaths: 19847
ratio: 1.30
-----bomb:  
nick: [dswp]GewitterOma
skill: 812.172
kills: 3885
deaths: 3541
ratio: 1.09
ye, u never know :<P
the inclusion brings some features like users etc...
the file parsed in ./utc.php is the ./dswp_tools/utc/utc.php in ur directory....

i think the paths match, anyways the css file must be called in the <head> right?
maybe its possible to throw them inline (or include them for the case the script gets called through board...)

_________________
Image



 


Top
 Profile  
 
 Post subject: Re: [CODE] UTC v-1.0
PostPosted: 10.10.12 
Offline
Godlike
User avatar

Joined: 03.12.11
Posts: 523
-----tdm:  
nick: [dswp]zietsh
skill: 991.948
kills: 11203
deaths: 8618
ratio: 1.29
-----bomb:  
nick: [dswp]zietsh
skill: 1056.62
kills: 18077
deaths: 14755
ratio: 1.22
I was just thinking about this again today, still do not have the time to actually do anything again until next week, probably I will be able to do stuff then.
But the idea was about the way to handle the entire binding part of the keyboard, if we would search for the for the bind in the text-area we could edit configs :) (Where the upload cfg is already)


user copy&paste .cfg into textbox

What is known:
search this||||||get this|||||||||and this||||
bind[SPACE][$KEYBOARDBUTTON]"[$CONTENT]"|
|||||||||||||||||||||||||||||||||||||||||

get the [$KEYBOARDBUTTON] and get[$CONTENT]

I will try to make this in my vacation but im still a js idiot google will tell me how it works ^^
I think its like I will say: delete everything in line after seta, everthing after // and delete all bind[space] now read all to " and read to the next " I'm thinking about something like you could do in powershell or with awk in linux

PS C:\Users\X> Get-Content G:\X_Datein\temp.txt
bind 2 "ut_radio 5 1 ^7enemy.^4visible ^7= ^4true"
bind 5 "ut_radio 1 6 ^7Cardiopulmonary ^7resuscitation ^7on ^7its ^7way^4!"
PS C:\Users\X> Get-Content G:\X_Datein\temp.txt | %{ $_.Split('"')[0];}
bind 2
bind 5
PS C:\Users\X> Get-Content G:\X_Datein\temp.txt | %{ $_.Split('"')[1];}
ut_radio 5 1 ^7enemy.^4visible ^7= ^4true
ut_radio 1 6 ^7Cardiopulmonary ^7resuscitation ^7on ^7its ^7way^4!
PS C:\Users\x>


and this in js would be awesome! :)



 


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Imprint

Powered by phpBB © 2000, 2002, 2005, 2007, 2008, 2009, 2010 phpBB Group

Skin by Lucas Kane
we use apache2 mod rewrite with phpBB SEO
map train_beta1-100 © 2009 by SteveMcQueen
Statistics Backend + Database by XLR Stats and B3 Bot
mapvote robot and gameserver monitor © 2009 by BlinKy
mumble viewer Copyright © 2008 Dominik Radner (aka Urmel)
mumble switcher and integration © 2008 by XTJ7, Unclefragger and Wursti
Localisation Plugin © 2009, Team Leads Plugin © 2009 and Knifer Plugin © 2009 by SvaRoX
for our stats we use Chart.js Copyright (c) 2013-2015 Nick Downie.
the stats also use some jQuery jQuery v2.1.4 | (c) 2005, 2015 jQuery Foundation, Inc.



voice server
top 20 players


nameskillkills
-Dws.BLINGBLING*-*1730.63418631
NormaSnockers1865.75400492
Zottel1760.8276378
make.them.suffer1846.17269872
>8v=1825.35230156
moon1777.56195615
sjas1692.49192315
peace1878.86190660
Wagner_Moura1562.9188001
Goomba1859.75182677
z0rn1608.41181016
Mad1803.76179124
[dswp]PLZ1847.85178516
Graf_ZahlIII1835.73167407
Zohan1611.07159737
ubercunt1634.93159240
Yarrr!1917.33156233
I_am_nOOb1909.64151268
Pandageddon1891.75148319
Pirat1664.08145798