Armed-Assault.de Twitter


Editing The world is a Script - write it!

Antwort
 
Themen-Optionen Ansicht
Alt 23.06.2008, 15:21   #1 (permalink)
50 Beiträge
 
Registriert seit: 08.08.2004
Ort: Mainz
Beiträge: 68
Standard Respawn Dialog anpassen

Hallo,

Habe mein Problem zwar schon im Forum.german-gamers-club.de vorgetragen dort konnte man mir schon teilweise helfen. (hier der thread dazu Forum des German Gamers Club e.V. - Powered by vBulletin )

Es geht um folgendes ich muss für eine Map den Respawndialog von Dr. Eyball anpassen
MP Respawn Dialog - Files, News, Reviews, Addons, Mods, Missions, Scripts, Videos and more. man soll nämlich in stellungen spawnen die von der eigenen Seite bereits eigenommen wurden bzw dessen Markerfarbe rot oder grün ist.(je nachdem welche Seite die Stellung eingenommen hat)

Im german-gamers-club Forum hat man mir schon soweit geholfen das es tatsächlich den anschein hat dass es funktioniert Aber leider nur bedingt denn man muss die Stellungen nacheinander einnehmen damit diese überhaupt Respawndialog erscheinen Beispiel wenn ich an der Stellung 6 Spawnen will muss man die anderen Stellungen die davor sind Stellung 5 ,4, 3 usw auch einnehmen damit die Stellung im Dialog überhaupt erscheint.

Respawn_Dialog.sqf

Code:
SPWN_Start =
{
  _Params = _this;
  
  _MyDualList = [];

 if (playerSide == west) then
 { 
   _MyDualList =
   [ // [Spawn description, marker name]
     ["1 - Base", "m_West_Start"] // renamed to "m_West_Start"
    
   ]; 
 };
   if (getMarkerColor "stellung1" == "ColorGreen") then   
   {
   _MyDualList =
   [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorGreen") and (getMarkerColor "stellung2" == "ColorGreen")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorGreen") and (getMarkerColor "stellung2" == "ColorGreen") and (getMarkerColor "stellung3" == "ColorGreen")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorGreen") and (getMarkerColor "stellung2" == "ColorGreen") and (getMarkerColor "stellung3" == "ColorGreen") and (getMarkerColor "stellung4" == "ColorGreen")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorGreen") and (getMarkerColor "stellung2" == "ColorGreen") and (getMarkerColor "stellung3" == "ColorGreen") and (getMarkerColor "stellung4" == "ColorGreen") and (getMarkerColor "stellung5" == "ColorGreen")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"],
    ["6 - Factory", "stellung5"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorGreen") and (getMarkerColor "stellung2" == "ColorGreen") and (getMarkerColor "stellung3" == "ColorGreen") and (getMarkerColor "stellung4" == "ColorGreen") and (getMarkerColor "stellung5" == "ColorGreen") and (getMarkerColor "stellung6" == "ColorGreen")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"],
    ["6 - Factory", "stellung5"],
    ["7 - Bagango", "stellung6"]
  ];
};
 if (playerSide == east) then
 { 
   _MyDualList =
   [ // [Spawn description, marker name]
     ["1 - Base", "m_East_Start"] // renamed to "m_West_Start"
    
   ]; 
 };
   if (getMarkerColor "stellung1" == "ColorRed") then   
   {
   _MyDualList =
   [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorRed") and (getMarkerColor "stellung2" == "ColorRed")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorRed") and (getMarkerColor "stllung2" == "ColorRed") and (getMarkerColor "stellung3" == "ColorRed")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorRed") and (getMarkerColor "stellung2" == "ColorRed") and (getMarkerColor "stellung3" == "ColorRed") and (getMarkerColor "stellung4" == "ColorRed")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorRed") and (getMarkerColor "stellung2" == "ColorRed") and (getMarkerColor "stellung3" == "ColorRed") and (getMarkerColor "stellung4" == "ColorRed") and (getMarkerColor "stellung5" == "ColorRed")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"],
    ["6 - Factory", "stellung5"]
  ];
};
if ((getMarkerColor "stellung1" == "ColorRed") and (getMarkerColor "stellung2" == "ColorRed") and (getMarkerColor "stellung3" == "ColorRed") and (getMarkerColor "stellung4" == "ColorRed") and (getMarkerColor "stellung5" == "ColorRed") and (getMarkerColor "stellung6" == "ColorRed")) then
{
_MyDualList =
  [ // [Spawn description, marker name]
    ["1 - Base", "m_East_Start"],
    ["2 - Mercalillo", "stellung1"],
    ["3 - Obregan", "stellung2"],
    ["4 - vehicle factory", "stellung3"],
    ["5 - Radiostation", "stellung4"],
    ["6 - Factory", "stellung5"],
    ["7 - Bagango", "stellung6"]
  ];
};
Nun hat man im forum.german-gamers-club.de gesagt ich solle die zusätzlichen Abfragen rausnehmen

was dann bei mir in etwa so aussieht

Code:
SPWN_Start =
{
  _Params = _this;
  
 if (playerSide == west) then
 { 
  _MyDualList = 
    [ // [Spawn description, marker name]
    ["1 - Base", "m_West_Start"]
  ];
  if (getMarkerColor "stellung1" == "ColorGreen") then   {_MyDualList=_MyDualList+[["2 - Mercalillo", "stellung1"]];    };
  if (getMarkerColor "stellung2" == "ColorGreen") then   {_MyDualList=_MyDualList+[["3 - Obregan", "stellung2"]];    }; 
 };
aber dann spawne ich immer Wasser
hoffe Ihr könnt mir helfen

mfg
__________________

stolzes member der Freaky Fraggers
Hannibal ist offline   Mit Zitat antworten
Alt 23.06.2008, 22:26   #2 (permalink)
10 Jahre hx3
500 Beiträge1000 Beiträge
 
Benutzerbild von Buliwyf
 
Registriert seit: 11.03.2005
Ort: HH
Alter: 52
Beiträge: 1.930
Standard

Kann man sich die Map irgendwo runterladen? Ehrlich gesagt bin ich wenig motiviert mir mit den Schnipseln an Informationen was zurecht zu denken...
Buliwyf ist offline   Mit Zitat antworten
Alt 24.06.2008, 06:03   #3 (permalink)
50 Beiträge
 
Registriert seit: 08.08.2004
Ort: Mainz
Beiträge: 68
Standard

RapidShare Webhosting + Webspace das ist zwar nicht die eigentliche mission aber hier wird das problem auch erkenntlich worum es letzendlich geht
__________________

stolzes member der Freaky Fraggers
Hannibal ist offline   Mit Zitat antworten
Antwort


Aktive Benutzer in diesem Thema: 1 (Registrierte Benutzer: 0, Gäste: 1)
 
Themen-Optionen
Ansicht

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
Lautstärken in einem Sound-Mod anpassen. honkitonk Mods & Addons 1 05.06.2008 19:49
Respawn Fehler General Hummel Editing 6 08.03.2008 01:37
Vehicle Respawn ryboth Editing 10 28.12.2006 22:25
Respawn FireFighter14 Editing 6 26.06.2005 20:34
Probleme mit Dialog Oberflächen FireBlade Editing 8 21.03.2003 14:19


Kontakt - HX3.de - Archiv - Nach oben

Angetrieben durch vBulletin, Entwicklung von Philipp Dörner & Tobias



SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119