DSWP wiki

Everything technical and nerdy stuff here plz !

Re: DSWP wiki

Postby zietsh » 07.12.12

Unclefragger wrote:I think I found the problem, try again please



Thank You !!!!!!!!!!!!!! :D :D :D
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby zietsh » 07.12.12

Upps, I just noticed that I did not post the code yet, must have only clicked preview.. well here it is:

EDIT1 13.07 Updated the code:

Code: Select all
<html>
<head>
<title>
</title>

<script language="javascript" type="text/javascript">

var bindforconsole ="";
var radiocom = "";
var space = ' ';
var newline = " \n";
var fus = '"'
var newtext ="";
var sayv ="";

function esc()
   {
      bindforconsole = "bind esc ";
   }
   
function f1()
   {
      bindforconsole = "bind f1 ";
   }
   
function f2()
   {
      bindforconsole = "bind f2 ";
   }

function f3()
   {
      bindforconsole = "bind f3 ";
   }
   
function f4()
   {
      bindforconsole = "bind f4 ";
   }
   
function f5()
   {
      bindforconsole = "bind f5 ";
   }
   
function f6()
   {
      bindforconsole = "bind f6 ";
   }
   
function f7()
   {
      bindforconsole = "bind f7 ";
   }

function f8()
   {
      bindforconsole = "bind f8 ";
   }
   
function f9()
   {
      bindforconsole = "bind f9 ";
   }
   
function f10()
   {
      bindforconsole = "bind f10 ";
   }
   
function f11()
   {
      bindforconsole = "bind f11 ";
   }
   
function f12()
   {
      bindforconsole = "bind f12 ";
   }
   
function n1()
   {
      bindforconsole = "bind 1 ";
   }
   
function n2()
   {
      bindforconsole = "bind 2 ";
   }

function n3()
   {
      bindforconsole = "bind 3 ";
   }
   
function n4()
   {
      bindforconsole = "bind 4 ";
   }
   
function n5()
   {
      bindforconsole = "bind 5 ";
   }
   
function n6()
   {
      bindforconsole = "bind 6 ";
   }
   
function n7()
   {
      bindforconsole = "bind 7 ";
   }

function n8()
   {
      bindforconsole = "bind 8 ";
   }
   
function n9()
   {
      bindforconsole = "bind 9 ";
   }
   
function n0()
   {
      bindforconsole = "bind 0 ";
   }
   
function numnum()
   {
      bindforconsole = "bind KP_NUMLOCK ";
   }

function numsl()
   {
      bindforconsole = "bind KP_SLASH ";
   }
   
function numst()
   {
      bindforconsole = "bind KP_STAR ";
   }
   
function num7()
   {
      bindforconsole = "bind KP_HOME ";
   }
   
function num8()
   {
      bindforconsole = "bind KP_UPARROW ";
   }

function num9()
   {
      bindforconsole = "bind KP_PGUP ";
   }
   
function numpl()
   {
      bindforconsole = "bind KP_PLUS ";
   }
function num4()
   {
      bindforconsole = "bind KP_LEFTARROW ";
   }

function num5()
   {
      bindforconsole = "bind bind KP_5 ";
   }
   
function num6()
   {
      bindforconsole = "bind KP_RIGHTARROW ";
   }

function num1()
   {
      bindforconsole = "bind KP_END ";
   }
function num2()
   {
      bindforconsole = "bind KP_DOWNARROW ";
   }

function num3()
   {
      bindforconsole = "bind KP_PGDN ";
   }
   
function numen()
   {
      bindforconsole = "bind KP_ENTER ";
   }
   
   
function tab()
   {
      bindforconsole = "bind TAB ";
   }
function Q()
   {
      bindforconsole = "bind q ";
   }

function W()
   {
      bindforconsole = "bind w ";
   }
   
function E()
   {
      bindforconsole = "bind e ";
   }
   
function R()
   {
      bindforconsole = "bind r ";
   }
function T()
   {
      bindforconsole = "bind t ";
   }

function Z()
   {
      bindforconsole = "bind z ";
   }
   
function U()
   {
      bindforconsole = "bind u ";
   }
   
function I()
   {
      bindforconsole = "bind i ";
   }
   
function O()
   {
      bindforconsole = "bind o ";
   }

function P()
   {
      bindforconsole = "bind p ";
   }
   
function plus()
   {
      bindforconsole = "bind + ";
   }
function lock()
   {
      bindforconsole = "bind CAPSLOCK ";
   }
   
function A()
   {
      bindforconsole = "bind a ";
   }

function S()
   {
      bindforconsole = "bind s ";
   }
   
function D()
   {
      bindforconsole = "bind d ";
   }
   
function F()
   {
      bindforconsole = "bind f ";
   }
   
function G()
   {
      bindforconsole = "bind g ";
   }

function H()
   {
      bindforconsole = "bind h ";
   }
   
function J()
   {
      bindforconsole = "bind j ";
   }
   
function K()
   {
      bindforconsole = "bind k ";
   }
   
function L()
   {
      bindforconsole = "bind l ";
   }

function ns()
   {
      bindforconsole = "bind # ";
   }

function sshift()
   {
      bindforconsole = "bind SHIFT ";
   }

function la()
   {
      bindforconsole = "bind < ";
   }
   
function y()
   {
      bindforconsole = "bind y ";
   }
   
function x()
   {
      bindforconsole = "bind x ";
   }
   
function c()
   {
      bindforconsole = "bind c ";
   }
   
function v()
   {
      bindforconsole = "bind v ";
   }


function b()
   {
      bindforconsole = "bind b ";
   }
   
function n()
   {
      bindforconsole = "bind n ";
   }
function m()
   {
      bindforconsole = "bind m ";
   }
   
function komma()
   {
      bindforconsole = "bind , ";
   }

function dot()
   {
      bindforconsole = "bind . ";
   }
   
function minus()
   {
      bindforconsole = "bind - ";
   }
   
function uparrow()
   {
      bindforconsole = "bind UPARROW ";
   }
   
function downarrow()
   {
      bindforconsole = "bind DOWNARROW ";
   }

function leftarrow()
   {
      bindforconsole = "bind LEFTARROW ";
   }
   
function rightarrow()
   {
      bindforconsole = "bind RIGHTARROW ";
   }
   
function strg()
   {
      bindforconsole = "bind CTRL ";
   }
   
function sspace()
   {
      bindforconsole = 'bind SPACE ';
   }

function aalt()
   {
      bindforconsole = 'bind ALT ';
   }
function del()
   {
      bindforconsole = "bind KP_DEL ";
   }

function num0()
   {
      bindforconsole = "bind KP_INS ";
   }


function radiocommand()
   {
      radiocom = '"'+document.getElementById('radioc').value;
   }

function clear()
   {
   
   }
   
function give()
   {
      space = ' ';
      newline = " \n";
      fus = '"'
      newtext = document.bindform.say.value;
      document.bindform.consoletext.value += bindforconsole+radiocom+space+newtext+fus+newline;
   }
   
function color()
   {
      sayv = document.bindform.say.value;
      document.bindform.say.value = sayv+document.getElementById(color).value;
   }

</script>

</head>
<body>

<form name="bindform">
<table width="800" border="0">
  <tr>
    <td><input type="button" value="Esc" onClick="" /></td>
    <td><input type="button" value="F1" onClick="f1();" /></td>
    <td><input type="button" value="F2" onClick="f2();" /></td>
    <td><input type="button" value="F3" onClick="f3();" /></td>
    <td><input type="button" value="F4" onClick="f4();" /></td>
    <td><input type="button" value="F5" onClick="f5();" /></td>
    <td><input type="button" value="F6" onClick="f6();" /></td>
    <td><input type="button" value="F7" onClick="f7();" /></td>
    <td><input type="button" value="F8" onClick="f8();" /></td>
    <td><input type="button" value="F9" onClick="f9();" /></td>
    <td><input type="button" value="F10" onClick="f10();" /></td>
    <td><input type="button" value="F11" onClick="f11();" /></td>
    <td><input type="button" value="F12" onClick="f12();" /></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
  <tr>
    <td><input type="button" value="^" onClick="" /></td>
    <td><input type="button" value="1" onClick="n1();" /></td>
    <td><input type="button" value="2" onClick="n2();" /></td>
    <td><input type="button" value="3" onClick="n3();" /></td>
    <td><input type="button" value="4" onClick="n4();" /></td>
    <td><input type="button" value="5" onClick="n5();" /></td>
    <td><input type="button" value="6" onClick="n6();" /></td>
    <td><input type="button" value="7" onClick="n7();" /></td>
    <td><input type="button" value="8" onClick="n8();" /></td>
    <td><input type="button" value="9" onClick="n9();" /></td>
    <td><input type="button" value="0" onClick="n0();" /></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td><input type="button" value="Num" onClick="numnum();" /></td>
    <td><input type="button" value="/" onClick="numsl();" /></td>
    <td><input type="button" value="*" onClick="numst();" /></td>
    <td><input type="button" value="-" onClick="nummi();" /></td>
  </tr>
  <tr>
    <td><input type="button" value="Tab" onClick="tab();" /></td>
    <td><input type="button" value="Q" onClick="Q();" /></td>
    <td><input type="button" value="W" onClick="W();" /></td>
    <td><input type="button" value="E" onClick="E();" /></td>
    <td><input type="button" value="R" onClick="R();" /></td>
    <td><input type="button" value="T" onClick="T();" /></td>
    <td><input type="button" value="Z" onClick="Z();" /></td>
    <td><input type="button" value="U" onClick="U();" /></td>
    <td><input type="button" value="I" onClick="I();" /></td>
    <td><input type="button" value="O" onClick="O();" /></td>
    <td><input type="button" value="P" onClick="P();" /></td>
    <td></td>
    <td><input type="button" value="+" onClick="plus();" /></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td><input type="button" value="     7" onClick="num7();" /></td>
    <td><input type="button" value="8" onClick="num8();" /></td>
    <td><input type="button" value="9" onClick="num9();" /></td>
    <td><input type="button" value="+" onClick="numpl();" /></td>
  </tr>
  <tr>
    <td><input type="button" value="Lock" onClick="lock();" /></td>
    <td><input type="button" value="A" onClick="A();" /></td>
    <td><input type="button" value="S" onClick="S();" /></td>
    <td><input type="button" value="D" onClick="D();" /></td>
    <td><input type="button" value="F" onClick="F();" /></td>
    <td><input type="button" value="G" onClick="G();" /></td>
    <td><input type="button" value="H" onClick="H();" /></td>
    <td><input type="button" value="J" onClick="J();" /></td>
    <td><input type="button" value="K" onClick="K();" /></td>
    <td><input type="button" value="L" onClick="L();" /></td>
    <td><input type="button" value="" onClick="" /></td>
    <td></td>
    <td><input type="button" value="#" onClick="ns();" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="button" value="     4" onClick="num4();" /></td>
    <td><input type="button" value="5" onClick="num5();" /></td>
    <td><input type="button" value="6" onClick="num6();" /></td>
    <td></td>
  </tr>
  <tr>
    <td><input type="button" value="Shift" onClick="sshift();" /></td>
    <td><input type="button" value="<" onClick="la<();" /></td>
    <td><input type="button" value="Y" onClick="y();" /></td>
    <td><input type="button" value="X" onClick="x();" /></td>
    <td><input type="button" value="C" onClick="c();" /></td>
    <td><input type="button" value="V" onClick="v();" /></td>
    <td><input type="button" value="B" onClick="b();" /></td>
    <td><input type="button" value="N" onClick="n();" /></td>
    <td><input type="button" value="M" onClick="m();" /></td>
    <td><input type="button" value="," onClick="komma();" /></td>
    <td><input type="button" value="." onClick="dot();" /></td>
    <td><input type="button" value="-" onClick="minus();" /></td>
    <td><input type="button" value="Shift" onClick="sshift();" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="button" value="  Up  " onClick="uparrow();" /></td>
    <td>&nbsp;</td>
    <td><input type="button" value="     1" onClick="num1();" /></td>
    <td><input type="button" value="2" onClick="num2();" /></td>
    <td><input type="button" value="3" onClick="num3();" /></td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td><input type="button" value="Strg" onClick="strg();" /></td>
    <td>&nbsp;</td>
    <td><input type="button" value="Alt" onClick="aalt();" /></td>
    <td>&nbsp;</td>
    <td><input type="button" value="[_]" onClick="sspace();" /></td>
    <td></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="button" value="Strg" onClick="strg();" /></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><input type="button" value=" Left " onClick="leftarrow();" /></td>
    <td><input type="button" value="Down" onClick="downarrow();" /></td>
    <td><input type="button" value="Right" onClick="rightarrow();" /></td>
    <td><input type="button" value="     0" onClick="num0();" /></td>
    <td><input type="button" value="," onClick="del();" /></td>
    <td></td>
    <td><input type="button" value="Enter" onClick="numen();" /></td>
  </tr>
</table>


<table border="0" cellspacing="0" cellpadding="5">
<tr>
<select id="color" name="color" onChange="color();">
      <option> Text Color... </option>
      <option value="^0"> black </option>
         <option value="^1"> red </option>
        <option value="^2"> green </option>
         <option value="^3"> yellow </option>
        <option value="^4"> blue </option>
         <option value="^5"> light blue/turqouise </option>
        <option value="^6"> pink </option>
         <option value="^7"> white </option>
        </select> </tr>
<td> <textarea name="say" rows="10"> </textarea> </td>
<td>
<input type="button" id="giveit" value="Give it!" onClick="give();" />

<br />
<input type="button" id="clearit" value="Clear it!" onClick="clear();" />
<br />
<select id="radioc" name="radio" onChange="radiocommand();">
      <option> Radio Commands </option>
      <option value="ut_radio 1 1" id="affirmative"> Affirmative. </option>
         <option value="ut_radio 1 2" id="negative"> Negative. </option>
        <option value="ut_radio 1 3" id="affirmative"> I'm on it! </option>
         <option value="ut_radio 1 4" id="negative"> Area secured </option>
        <option value="ut_radio 1 5" id="affirmative"> Base is secure. </option>
         <option value="ut_radio 1 6" id="negative"> Medic on the way, hang in there. </option>
        <option value="ut_radio 1 7" id="affirmative"> I've got your back. </option>
         <option value="ut_radio 1 8" id="negative"> Enemy terminated. </option>
        <option value="ut_radio 2 1" id="affirmative"> Move in. </option>
         <option value="ut_radio 2 2" id="affirmative"> Fall back and regroup! </option>
         <option value="ut_radio 2 3" id="affirmative"> Hold your position. </option>
         <option value="ut_radio 2 4" id="affirmative"> Stick with me. </option>
         <option value="ut_radio 2 5" id="affirmative"> Cover me. </option>
         <option value="ut_radio 2 6" id="affirmative"> Requesting backup. </option>
         <option value="ut_radio 2 7" id="affirmative"> Go for the objective. </option>
         <option value="ut_radio 2 8" id="affirmative"> Flank them! </option>
         <option value="ut_radio 2 9" id="affirmative"> Double time, let's move! </option>
         <option value="ut_radio 3 1" id="affirmative"> I'm moving in. </option>
         <option value="ut_radio 3 2" id="affirmative"> Awaiting orders. </option>
         <option value="ut_radio 3 3" id="affirmative"> I need a medic! </option>
         <option value="ut_radio 3 4" id="affirmative"> Objective in sight. </option>
         <option value="ut_radio 3 5" id="affirmative"> Objective is clear. </option>
         <option value="ut_radio 3 6" id="affirmative"> I'm attacking. </option>
         <option value="ut_radio 3 7" id="affirmative"> I'm defending. </option>
         <option value="ut_radio 3 8" id="affirmative"> I'm flanking. </option>
         <option value="ut_radio 3 9" id="affirmative"> Holding here. </option>
         <option value="ut_radio 4 1" id="affirmative"> Status? </option>
         <option value="ut_radio 4 2" id="affirmative"> Objective status? </option>
         <option value="ut_radio 4 3" id="affirmative"> Base status? </option>
         <option value="ut_radio 4 4" id="affirmative"> Where's the enemy? </option>
         <option value="ut_radio 4 5" id="affirmative"> Where are the medics? </option>
         <option value="ut_radio 4 6" id="affirmative"> Anyone need support? </option>
         <option value="ut_radio 4 7" id="affirmative"> Anyone need a medic? </option>
         <option value="ut_radio 4 8" id="affirmative"> Who's ya daddy? </option>
         <option value="ut_radio 4 9" id="affirmative"> How the hell are ya? </option>
         <option value="ut_radio 5 1" id="affirmative"> Enemy spotted. </option>
         <option value="ut_radio 5 2" id="affirmative"> Enemy heard. </option>
         <option value="ut_radio 5 3" id="affirmative"> Enemy is flanking! </option>
         <option value="ut_radio 5 4" id="affirmative"> Enemy headed your way! </option>
         <option value="ut_radio 5 5" id="affirmative"> Incoming! </option>
         <option value="ut_radio 5 9" id="affirmative"> Objective in danger! </option>
         <option value="ut_radio 6 1" id="affirmative"> North. </option>
         <option value="ut_radio 6 2" id="affirmative"> South. </option>
         <option value="ut_radio 6 3" id="affirmative"> East. </option>
         <option value="ut_radio 6 4" id="affirmative"> West. </option>
         <option value="ut_radio 6 5" id="affirmative"> Base. </option>
         <option value="ut_radio 6 6" id="affirmative"> High. </option>
         <option value="ut_radio 6 7" id="affirmative"> Low. </option>
         <option value="ut_radio 6 8" id="affirmative"> Water. </option>
         <option value="ut_radio 6 9" id="affirmative"> Here. </option>
         <option value="ut_radio 7 1" id="affirmative"> I've got the flag. </option>
         <option value="ut_radio 7 2" id="affirmative"> I'm going for the flag. </option>
         <option value="ut_radio 7 3" id="affirmative"> They have our flag. </option>
         <option value="ut_radio 7 4" id="affirmative"> Base is being overrun! </option>
         <option value="ut_radio 7 5" id="affirmative"> Recover the flag! </option>
         <option value="ut_radio 7 6" id="affirmative"> Flag exiting left. </option>
         <option value="ut_radio 7 7" id="affirmative"> Flag exiting right. </option>
         <option value="ut_radio 7 8" id="affirmative"> Flag exiting front. </option>
         <option value="ut_radio 7 9" id="affirmative"> Flag exiting back. </option>
         <option value="ut_radio 8 1" id="affirmative"> Heading to Bombsite A. </option>
         <option value="ut_radio 8 2" id="affirmative"> Heading to Bombsite B. </option>
         <option value="ut_radio 8 3" id="affirmative"> Enemy at Bombsite A. </option>
         <option value="ut_radio 8 4" id="affirmative"> Enemy at Bombsite B. </option>
         <option value="ut_radio 8 5" id="affirmative"> I have the bomb. </option>
         <option value="ut_radio 8 6" id="affirmative"> The bomb is loose! </option>
         <option value="ut_radio 9 1" id="affirmative"> Good job team. </option>
         <option value="ut_radio 9 2" id="affirmative"> Nice one. </option>
         <option value="ut_radio 9 3" id="affirmative"> Check your fire! </option>
         <option value="ut_radio 9 4" id="affirmative"> Sorry about that. </option>
         <option value="ut_radio 9 5" id="affirmative"> Whatever. </option>
         <option value="ut_radio 9 6" id="affirmative"> No problem. </option>
         <option value="ut_radio 9 7" id="affirmative"> Oh, you idiot! </option>
         <option value="ut_radio 9 8" id="affirmative"> What the f*ck, over? </option>
         <option value="ut_radio 9 9" id="affirmative"> Thanks. </option>
         
   
         </select>
</td>
<td><textarea name="consoletext" rows="10" cols="70"></textarea></td>
</tr>
</table>
</form>



</body>
</html>

choosing colors and clearing does not work :/
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby zietsh » 07.24.12

I now made a few pictures, so one can also adjust the FOV and the general HUD (laggometer timer etc.) but I still did not figure out how to get the colors and clearing to work :/ anyone fluent enough to notice it immediately?
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby Samtron » 07.24.12

You built a keyboard in JavaScript! :) :)

1. About the color: You have a select-element with the id "color", I guess javascript is confused by that. rename the function to something different like "colorize()" and it should work.
2. About the clear: It's an empty function, what do you want to happen? But I think there is also a problem with the naming, if you rename it to "clean()" for example it works... Don't ask me why, perhaps because an element has a id beginning with "clear"... ?
3. And a general advice: It would be nice when there is a short explanation, how to use this tool. I'm not sure about all functions, and in which order to click things...

Happy coding!
Image
User avatar
Samtron
Godlike
 
Posts: 1296
Joined: 01.08.09
Location: Berlin, Germany
-----tdm:  
nick: Samtron
skill: 584.92
kills: 316
deaths: 269
ratio: 1.17

Re: DSWP wiki

Postby zietsh » 07.24.12

Thanks for the help!

The clear is just supposed to clear the "config file".. (sorry for missing that part in the code)

here is how it works:

choose key
input custom text, choose binding, get the output... later (not shown in the code) choose hud elements and general settings and get the output.
-> ending in a fully functional config file for urban terror (mby I'll get to the part where you really see the color, making it more like word or something like that (hould be possible shouldn't it? Giving you the html version displayed for the user to see whats going to happen and only one copy+paste box for the user to get that into his/her config)
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby eXtr33m » 07.24.12

So you fixed the color? Yep suggest you could use more advanced names :)
Beware the JS is case sensitive:
Code: Select all
function clearConsoleText() {
    document.bindform.consoletext.value = '';
}

And the button:
Code: Select all
<input type="button" id="clearit" value="Clear it!" onClick="clearConsoleText();" />


Sorry it took so long, i am really lazy when i come home in the evening :/
I could help you if u need smthing more! :)

Don't know if u made some changes but i just had to reformat the file and change the prefix for button functions. So it's like button_/name/()

Added zip
Attachments
zietsh.zip
(3.03 KiB) Downloaded 773 times
User avatar
eXtr33m
Ingame Mod
 
Posts: 806
Joined: 12.19.09
Location: @Gauss:
-----tdm:  
nick: [dswp]Jan
skill: 330.877
kills: 220
deaths: 210
ratio: 1.04
-----bomb:  
nick: [dswp]Jan
skill: 664.203

Re: DSWP wiki

Postby zietsh » 07.24.12

eXtr33m wrote:So you fixed the color? Yep suggest you could use more advanced names :)
Beware the JS is case sensitive:
[...]
Sorry it took so long, i am really lazy when i come home in the evening :/
I could help you if u need smthing more! :)
[...]


No Problem! I'll come back to that offer when I need it, thank you :)

To case sensitivity: I'm just spoiled by c++ editors that correct that stuff :P and in school I only learned some delphi which fucked up my whole maintaining a good format thing ^^
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby zietsh » 08.11.12

not too much new stuff (actually just 3 tiny bits), just a small update... will probably finish this tomorrow or the next week after that my life will have other problems to solve but the coming weeks I will probably always be sitting in front of my pc at Saturday evenings so I hope I will finish this and that for the wiki :)

Code: Select all
<!DOCTYPE html>
<html>
<head>
    <title>
    </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <script language="javascript" type="text/javascript">

    var bindforconsole ="";
    var radiocom = "";
    var space = ' ';
    var newline = " \n";
    var fus = '"'
    var newtext ="";
    var sayv ="";

    function button_esc()
    {
        bindforconsole = "bind TESTINGTHIS ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f1()
    {
        bindforconsole = "bind f1 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f2()
    {
        bindforconsole = "bind f2 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f3()
    {
        bindforconsole = "bind f3 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f4()
    {
        bindforconsole = "bind f4 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f5()
    {
        bindforconsole = "bind f5 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f6()
    {
        bindforconsole = "bind f6 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f7()
    {
        bindforconsole = "bind f7 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f8()
    {
        bindforconsole = "bind f8 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f9()
    {
        bindforconsole = "bind f9 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f10()
    {
        bindforconsole = "bind f10 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f11()
    {
        bindforconsole = "bind f11 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_f12()
    {
        bindforconsole = "bind f12 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n1()
    {
        bindforconsole = "bind 1 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n2()
    {
        bindforconsole = "bind 2 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n3()
    {
        bindforconsole = "bind 3 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n4()
    {
        bindforconsole = "bind 4 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n5()
    {
        bindforconsole = "bind 5 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n6()
    {
        bindforconsole = "bind 6 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n7()
    {
        bindforconsole = "bind 7 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n8()
    {
        bindforconsole = "bind 8 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n9()
    {
        bindforconsole = "bind 9 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n0()
    {
        bindforconsole = "bind 0 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_numnum()
    {
        bindforconsole = "bind KP_NUMLOCK ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_numsl()
    {
        bindforconsole = "bind KP_SLASH ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_numst()
    {
        bindforconsole = "bind KP_STAR ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num7()
    {
        bindforconsole = "bind KP_HOME ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num8()
    {
        bindforconsole = "bind KP_UPARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num9()
    {
        bindforconsole = "bind KP_PGUP ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_numpl()
    {
        bindforconsole = "bind KP_PLUS ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_num4()
    {
        bindforconsole = "bind KP_LEFTARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num5()
    {
        bindforconsole = "bind bind KP_5 ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num6()
    {
        bindforconsole = "bind KP_RIGHTARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num1()
    {
        bindforconsole = "bind KP_END ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_num2()
    {
        bindforconsole = "bind KP_DOWNARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num3()
    {
        bindforconsole = "bind KP_PGDN ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_numen()
    {
        bindforconsole = "bind KP_ENTER ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }


    function button_tab()
    {
        bindforconsole = "bind TAB ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_Q()
    {
        bindforconsole = "bind q ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_W()
    {
        bindforconsole = "bind w ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_E()
    {
        bindforconsole = "bind e ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_R()
    {
        bindforconsole = "bind r ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
   
    function button_T()
    {
        bindforconsole = "bind t ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_Z()
    {
        bindforconsole = "bind z ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_U()
    {
        bindforconsole = "bind u ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_I()
    {
        bindforconsole = "bind i ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_O()
    {
        bindforconsole = "bind o ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_P()
    {
        bindforconsole = "bind p ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_plus()
    {
        bindforconsole = "bind + ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_lock()
    {
        bindforconsole = "bind CAPSLOCK ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_A()
    {
        bindforconsole = "bind a ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_S()
    {
        bindforconsole = "bind s ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_D()
    {
        bindforconsole = "bind d ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_F()
    {
        bindforconsole = "bind f ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_G()
    {
        bindforconsole = "bind g ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_H()
    {
        bindforconsole = "bind h ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_J()
    {
        bindforconsole = "bind j ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_K()
    {
        bindforconsole = "bind k ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_L()
    {
        bindforconsole = "bind l ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_ns()
    {
        bindforconsole = "bind # ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_sshift()
    {
        bindforconsole = "bind SHIFT ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_la()
    {
        bindforconsole = "bind < ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_y()
    {
        bindforconsole = "bind y ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_x()
    {
        bindforconsole = "bind x ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_c()
    {
        bindforconsole = "bind c ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_v()
    {
        bindforconsole = "bind v ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }


    function button_b()
    {
        bindforconsole = "bind b ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_n()
    {
        bindforconsole = "bind n ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_m()
    {
        bindforconsole = "bind m ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_komma()
    {
        bindforconsole = "bind , ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_dot()
    {
        bindforconsole = "bind . ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_minus()
    {
        bindforconsole = "bind - ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_uparrow()
    {
        bindforconsole = "bind UPARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_downarrow()
    {
        bindforconsole = "bind DOWNARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_leftarrow()
    {
        bindforconsole = "bind LEFTARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_rightarrow()
    {
        bindforconsole = "bind RIGHTARROW ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_strg()
    {
        bindforconsole = "bind CTRL ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_sspace()
    {
        bindforconsole = 'bind SPACE ';
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_aalt()
    {
        bindforconsole = 'bind ALT ';
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }
    function button_del()
    {
        bindforconsole = "bind KP_DEL ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function button_num0()
    {
        bindforconsole = "bind KP_INS ";
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }


    function radiocommand()
    {
        radiocom = '"'+document.getElementById('radioc').value;
      document.getElementById('buttontobind').innerHTML = bindforconsole;
    }

    function clearConsoleText()
    {
        document.bindform.consoletext.value = '';
    }

    function give()
    {
        space = ' ';
        newline = " \n";
        fus = '"'
        newtext = document.bindform.say.value;
        document.bindform.consoletext.value += bindforconsole+radiocom+space+newtext+fus+newline;
    }

    function colorSelect()
    {
        sayv = document.bindform.say.value;
        document.bindform.say.value = sayv+document.getElementById('colorSelectId').value;
    }
   
   function clear_fov_enter()
    {
        document.bindform.fov_enter.value = "";
    }
   function make_fov_for_console()
    {
        document.bindform.fov_for_console.value = "cg_fov "+document.bindform.fov_enter.value;
    }

    </script>

</head>
<body>
    <form name="bindform">
        <table width="800" border="0">
          <tr>
            <td><input type="button" value="Esc" onClick="" /></td>
            <td><input type="button" value="F1" onClick="button_f1();" /></td>
            <td><input type="button" value="F2" onClick="button_f2();" /></td>
            <td><input type="button" value="F3" onClick="button_f3();" /></td>
            <td><input type="button" value="F4" onClick="button_f4();" /></td>
            <td><input type="button" value="F5" onClick="button_f5();" /></td>
            <td><input type="button" value="F6" onClick="button_f6();" /></td>
            <td><input type="button" value="F7" onClick="button_f7();" /></td>
            <td><input type="button" value="F8" onClick="button_f8();" /></td>
            <td><input type="button" value="F9" onClick="button_f9();" /></td>
            <td><input type="button" value="F10" onClick="button_f10();" /></td>
            <td><input type="button" value="F11" onClick="button_f11();" /></td>
            <td><input type="button" value="F12" onClick="button_f12();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td><input type="button" value="^" onClick="" /></td>
            <td><input type="button" value="1" onClick="button_n1();" /></td>
            <td><input type="button" value="2" onClick="button_n2();" /></td>
            <td><input type="button" value="3" onClick="button_n3();" /></td>
            <td><input type="button" value="4" onClick="button_n4();" /></td>
            <td><input type="button" value="5" onClick="button_n5();" /></td>
            <td><input type="button" value="6" onClick="button_n6();" /></td>
            <td><input type="button" value="7" onClick="button_n7();" /></td>
            <td><input type="button" value="8" onClick="button_n8();" /></td>
            <td><input type="button" value="9" onClick="button_n9();" /></td>
            <td><input type="button" value="0" onClick="button_n0();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td><input type="button" value="Num" onClick="button_numnum();" /></td>
            <td><input type="button" value="/" onClick="button_numsl();" /></td>
            <td><input type="button" value="*" onClick="button_numst();" /></td>
            <td><input type="button" value="-" onClick="button_nummi();" /></td>
        </tr>
        <tr>
            <td><input type="button" value="Tab" onClick="button_tab();" /></td>
            <td><input type="button" value="Q" onClick="button_Q();" /></td>
            <td><input type="button" value="W" onClick="button_W();" /></td>
            <td><input type="button" value="E" onClick="button_E();" /></td>
            <td><input type="button" value="R" onClick="button_R();" /></td>
            <td><input type="button" value="T" onClick="button_T();" /></td>
            <td><input type="button" value="Z" onClick="button_Z();" /></td>
            <td><input type="button" value="U" onClick="button_U();" /></td>
            <td><input type="button" value="I" onClick="button_I();" /></td>
            <td><input type="button" value="O" onClick="button_O();" /></td>
            <td><input type="button" value="P" onClick="button_P();" /></td>
            <td></td>
            <td><input type="button" value="+" onClick="button_plus();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td><input type="button" value="7" onClick="button_num7();" /></td>
            <td><input type="button" value="8" onClick="button_num8();" /></td>
            <td><input type="button" value="9" onClick="button_num9();" /></td>
            <td><input type="button" value="+" onClick="button_numpl();" /></td>
        </tr>
        <tr>
            <td><input type="button" value="Lock" onClick="button_lock();" /></td>
            <td><input type="button" value="A" onClick="button_A();" /></td>
            <td><input type="button" value="S" onClick="button_S();" /></td>
            <td><input type="button" value="D" onClick="button_D();" /></td>
            <td><input type="button" value="F" onClick="button_F();" /></td>
            <td><input type="button" value="G" onClick="button_G();" /></td>
            <td><input type="button" value="H" onClick="button_H();" /></td>
            <td><input type="button" value="J" onClick="button_J();" /></td>
            <td><input type="button" value="K" onClick="button_K();" /></td>
            <td><input type="button" value="L" onClick="button_L();" /></td>
            <td><input type="button" value="" onClick="button_" /></td>
            <td></td>
            <td><input type="button" value="#" onClick="button_ns();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td><input type="button" value="4" onClick="button_num4();" /></td>
            <td><input type="button" value="5" onClick="button_num5();" /></td>
            <td><input type="button" value="6" onClick="button_num6();" /></td>
            <td></td>
        </tr>
        <tr>
            <td><input type="button" value="Shift" onClick="button_sshift();" /></td>
            <td><input type="button" value="<" onClick="button_la();" /></td>
            <td><input type="button" value="Y" onClick="button_y();" /></td>
            <td><input type="button" value="X" onClick="button_x();" /></td>
            <td><input type="button" value="C" onClick="button_c();" /></td>
            <td><input type="button" value="V" onClick="button_v();" /></td>
            <td><input type="button" value="B" onClick="button_b();" /></td>
            <td><input type="button" value="N" onClick="button_n();" /></td>
            <td><input type="button" value="M" onClick="button_m();" /></td>
            <td><input type="button" value="," onClick="button_komma();" /></td>
            <td><input type="button" value="." onClick="button_dot();" /></td>
            <td><input type="button" value="-" onClick="button_minus();" /></td>
            <td><input type="button" value="Shift" onClick="button_sshift();" /></td>
            <td></td>
            <td></td>
            <td><input type="button" value="Up" onClick="button_uparrow();" /></td>
            <td></td>
            <td><input type="button" value="1" onClick="button_num1();" /></td>
            <td><input type="button" value="2" onClick="button_num2();" /></td>
            <td><input type="button" value="3" onClick="button_num3();" /></td>
            <td></td>
        </tr>
        <tr>
            <td><input type="button" value="Strg" onClick="button_strg();" /></td>
            <td></td>
            <td><input type="button" value="Alt" onClick="button_aalt();" /></td>
            <td></td>
            <td><input type="button" value="&#91;_&#93;" onClick="button_sspace();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td><input type="button" value="Strg" onClick="button_strg();" /></td>
            <td></td>
            <td></td>
            <td></td>
            <td><input type="button" value=" Left " onClick="button_leftarrow();" /></td>
            <td><input type="button" value="Down" onClick="button_downarrow();" /></td>
            <td><input type="button" value="Right" onClick="button_rightarrow();" /></td>
            <td><input type="button" value="     0" onClick="button_num0();" /></td>
            <td><input type="button" value="," onClick="button_del();" /></td>
            <td></td>
            <td><input type="button" value="Enter" onClick="button_numen();" /></td>
        </tr>
    </table>
    <table border="0" cellspacing="0" cellpadding="5">
        <tr>
            <select id="colorSelectId" onChange="colorSelect();">
                <option> Text Color... </option>
                <option  name="black" value="^0"> black </option>
                <option value="^1"> red </option>
                <option value="^2"> green </option>
                <option value="^3"> yellow </option>
                <option value="^4"> blue </option>
                <option value="^5"> light blue/turqouise </option>
                <option value="^6"> pink </option>
                <option value="^7"> white </option>
            </select>
        </tr>
        <td> <textarea name="say" rows="10"> </textarea> </td>
        <td>
           Type custom text to your left.<br>
         Output the text by clicking "Give It!".
            <p>
            <b id = buttontobind> bind button</b> to radio-command:
            <select id="radioc" name="radio" onChange="radiocommand();">
                <option> Radio Commands </option>
                <option value="ut_radio 1 1" id="affirmative"> Affirmative. </option>
                <option value="ut_radio 1 2" id="negative"> Negative. </option>
                <option value="ut_radio 1 3" id="affirmative"> I'm on it! </option>
                <option value="ut_radio 1 4" id="negative"> Area secured </option>
                <option value="ut_radio 1 5" id="affirmative"> Base is secure. </option>
                <option value="ut_radio 1 6" id="negative"> Medic on the way, hang in there. </option>
                <option value="ut_radio 1 7" id="affirmative"> I've got your back. </option>
                <option value="ut_radio 1 8" id="negative"> Enemy terminated. </option>
                <option value="ut_radio 2 1" id="affirmative"> Move in. </option>
                <option value="ut_radio 2 2" id="affirmative"> Fall back and regroup! </option>
                <option value="ut_radio 2 3" id="affirmative"> Hold your position. </option>
                <option value="ut_radio 2 4" id="affirmative"> Stick with me. </option>
                <option value="ut_radio 2 5" id="affirmative"> Cover me. </option>
                <option value="ut_radio 2 6" id="affirmative"> Requesting backup. </option>
                <option value="ut_radio 2 7" id="affirmative"> Go for the objective. </option>
                <option value="ut_radio 2 8" id="affirmative"> Flank them! </option>
                <option value="ut_radio 2 9" id="affirmative"> Double time, let's move! </option>
                <option value="ut_radio 3 1" id="affirmative"> I'm moving in. </option>
                <option value="ut_radio 3 2" id="affirmative"> Awaiting orders. </option>
                <option value="ut_radio 3 3" id="affirmative"> I need a medic! </option>
                <option value="ut_radio 3 4" id="affirmative"> Objective in sight. </option>
                <option value="ut_radio 3 5" id="affirmative"> Objective is clear. </option>
                <option value="ut_radio 3 6" id="affirmative"> I'm attacking. </option>
                <option value="ut_radio 3 7" id="affirmative"> I'm defending. </option>
                <option value="ut_radio 3 8" id="affirmative"> I'm flanking. </option>
                <option value="ut_radio 3 9" id="affirmative"> Holding here. </option>
                <option value="ut_radio 4 1" id="affirmative"> Status? </option>
                <option value="ut_radio 4 2" id="affirmative"> Objective status? </option>
                <option value="ut_radio 4 3" id="affirmative"> Base status? </option>
                <option value="ut_radio 4 4" id="affirmative"> Where's the enemy? </option>
                <option value="ut_radio 4 5" id="affirmative"> Where are the medics? </option>
                <option value="ut_radio 4 6" id="affirmative"> Anyone need support? </option>
                <option value="ut_radio 4 7" id="affirmative"> Anyone need a medic? </option>
                <option value="ut_radio 4 8" id="affirmative"> Who's ya daddy? </option>
                <option value="ut_radio 4 9" id="affirmative"> How the hell are ya? </option>
                <option value="ut_radio 5 1" id="affirmative"> Enemy spotted. </option>
                <option value="ut_radio 5 2" id="affirmative"> Enemy heard. </option>
                <option value="ut_radio 5 3" id="affirmative"> Enemy is flanking! </option>
                <option value="ut_radio 5 4" id="affirmative"> Enemy headed your way! </option>
                <option value="ut_radio 5 5" id="affirmative"> Incoming! </option>
                <option value="ut_radio 5 9" id="affirmative"> Objective in danger! </option>
                <option value="ut_radio 6 1" id="affirmative"> North. </option>
                <option value="ut_radio 6 2" id="affirmative"> South. </option>
                <option value="ut_radio 6 3" id="affirmative"> East. </option>
                <option value="ut_radio 6 4" id="affirmative"> West. </option>
                <option value="ut_radio 6 5" id="affirmative"> Base. </option>
                <option value="ut_radio 6 6" id="affirmative"> High. </option>
                <option value="ut_radio 6 7" id="affirmative"> Low. </option>
                <option value="ut_radio 6 8" id="affirmative"> Water. </option>
                <option value="ut_radio 6 9" id="affirmative"> Here. </option>
                <option value="ut_radio 7 1" id="affirmative"> I've got the flag. </option>
                <option value="ut_radio 7 2" id="affirmative"> I'm going for the flag. </option>
                <option value="ut_radio 7 3" id="affirmative"> They have our flag. </option>
                <option value="ut_radio 7 4" id="affirmative"> Base is being overrun! </option>
                <option value="ut_radio 7 5" id="affirmative"> Recover the flag! </option>
                <option value="ut_radio 7 6" id="affirmative"> Flag exiting left. </option>
                <option value="ut_radio 7 7" id="affirmative"> Flag exiting right. </option>
                <option value="ut_radio 7 8" id="affirmative"> Flag exiting front. </option>
                <option value="ut_radio 7 9" id="affirmative"> Flag exiting back. </option>
                <option value="ut_radio 8 1" id="affirmative"> Heading to Bombsite A. </option>
                <option value="ut_radio 8 2" id="affirmative"> Heading to Bombsite B. </option>
                <option value="ut_radio 8 3" id="affirmative"> Enemy at Bombsite A. </option>
                <option value="ut_radio 8 4" id="affirmative"> Enemy at Bombsite B. </option>
                <option value="ut_radio 8 5" id="affirmative"> I have the bomb. </option>
                <option value="ut_radio 8 6" id="affirmative"> The bomb is loose! </option>
                <option value="ut_radio 9 1" id="affirmative"> Good job team. </option>
                <option value="ut_radio 9 2" id="affirmative"> Nice one. </option>
                <option value="ut_radio 9 3" id="affirmative"> Check your fire! </option>
                <option value="ut_radio 9 4" id="affirmative"> Sorry about that. </option>
                <option value="ut_radio 9 5" id="affirmative"> Whatever. </option>
                <option value="ut_radio 9 6" id="affirmative"> No problem. </option>
                <option value="ut_radio 9 7" id="affirmative"> Oh, you idiot! </option>
                <option value="ut_radio 9 8" id="affirmative"> What the f*ck, over? </option>
                <option value="ut_radio 9 9" id="affirmative"> Thanks. </option>
            </select>
            <br />
            <input type="button" id="giveit" value="Give it!" onClick="give();" />
            <input type="button" id="clearit" value="Clear it!" onClick="clearConsoleText();" />
        </td>
        <td><textarea readonly name="consoletext" rows="10" cols="70"></textarea></td>
    </tr>
</table>

Now here are some changes for your HUD, you will be given a line to input into your console.

Choose your FOV (110 is recommended).
<p>
<img src="FOV110.jpg" width="480" height="270">
<br />Click <a target="_blank" href="#">here</a> for a larger view.
<br />
<textarea onChange="make_fov_for_console()" onFocus="clear_fov_enter()" id="fov_enter" name="fov_enter" rows="1">Enter your desired FOV</textarea><textarea readonly onMouseOver="make_fov_for_console(), this.select()" on id="fov_for_console" name="fov_for_console" rows="1">FOV for console.</textarea>
<p>
<input type="button" id="give_as_config" value="HUD as linse for a .cfg file" onClick="give_hud_cfg();" />
<br /><textarea id="hud_as_cfgtxt" name="hud_as_cfgtxt" rows="10">Here you will get your HUD settings ready for a .cfg file or you will find the single lines for the ingame console right next to every option.</textarea>



</form>
</body>
</html>


FOV110.jpg is a picture comparing fov 90, 100 and 110.
FOV110.jpg


I'm not all to familiar with color-blindness but I hope this suites all!


Still to add:


laggometer (netgraph)
scores/teamoverlay
gunsize
ping/fps
timer
scopebinding

maybe some toggle scripts and custom scripts
I'm thinking about a hoverable keyboard showing what you binded where while in the progress(might help with the overview).

finished:
radiocommands
Custom Text/Color for radiocommands
allmost all "bindable" buttons
FOV
mapposition and size/alpha
hud on/off






I HOPE NONE OF THIS STUFF CHANGES WITH URT HD AND 4.2 !!!!!!!!!!!!!
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby zietsh » 09.06.12

Hi, since I tried out 4.2 this tool has come in handy for me. I failed to find a way to post it to the wiki. So I just wanted to ask how we could make it available, Pirat suggested to offer a simple download (since its a .html file anybody should be able to use it). Is this the best way or are there other options?
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Re: DSWP wiki

Postby zietsh » 10.14.12

Hey,
I started a little bit translating :)

http://www.dswp.de/old/wiki/doku.php/tutorials:mumble-how_to_german

Maybe someone would like to check it out and tell me about my horrible writing(?).
I just thought this is a good idea since a friend of mine had a bit of trouble setting up a few things :)


EDIT:
I have started translating the Beginners Guide to UrT, I have finished translating the rules but I seem to be missing the rights to create a new page. If someone would be so nice to tell me that he/she can create a new page there I'd be happy to send the translation, who ever would do that would have to edit the text to look nice though cause I only wrote it down in notepad.
User avatar
zietsh
Godlike
 
Posts: 524
Joined: 03.12.11
-----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

Previous

Who is online

Users browsing this forum: No registered users and 2 guests

Misc