Boards von Warzone2100.de
Boards zum Spiel => Maps & Mods => Archiv => Thema gestartet von: DunklerWolf am 2006-06-15, 01:40:53
-
Hallo zusammen :-)
Ich zocke schon seit einiger zeit warzone und würde nun gerne das spiel ein wenig verändern. Und zwar im multiplayer bereich.
Die maximalen gebäude einstellungen sind mir im Multiplayer bereich zu klein sprich, ich möchte auch mal mehr wie 5 forschung gebäude haben, in der limit einstellung lässt sich die zahl ja leider nur verringern.
dann bin ich im forum (hier) auf den limit mod gestoßen und nach bissel googeln fand ich den auch zum downloaden. leider musste ich feststellen das da die zahl nur auf 7 gesetzt wurde. WIESO? um das rauszufinden hab ich mir WZ Source gehollt und mir das dort beiligende spiel angesehen und festgestellt das sich die werte in "multilim.slo" und gebäude in "multilim.vlo" problemmlos ändern lassen und die zahl von 50 das spiel verträgt. das problemm ist das WZ Source auf den stand von 1.0 war/ist und ich die patches auch gar nicht installieren kann da ich das spiel vor her in ne wdg ("warzone.wdg") packen müsste.
und dann bin ich wieder am ANFANG ich hab nen spiel auf stand von 1.11 das die werte "multilim.slo" und gebäude "multilim.vlo" von patch 1.11 hat. das wiederrum die standart anzahl an gebäuden entspricht und nicht die veränderten in 1.0 ärgerlich aber logisch da die datein mit jeden patch neu dazu kammen und die beinhalten meine änderung nicht.
Ich habe auch mit "WDG-Explorer" die dec00.wdg vom patch 1.11 entpackt und die werte verändert wie ich sie haben will NUR hab ich erstmal blöd gucken müssen als ich feststellte das der WDG-Explorer nicht alles entpackt und schon gar nicht das was ich brauch um die veränderten Files ("multilim.slo" / "multilim.vlo") wieder mit MAKE-WDG zu COMPO dingsens *g* packen halt ;-) also suchte ich nach den source für patch 1.11 und find einfach nix nur einen für 1.12 was ich ja net haben möchte...
naja da komm ich im mom net weiter ich bin auf der suche nach ner wdg datei die mir auf dem stand von patch 1.11 vorhanden gebäude auf die hier setzt.
Name/gewünschte anzahl
-Command Relay Center 1
-Cyborg Factory 20
-Hardcrete Corner Wall 500
-Laser Satellite Command Post 1
-Factory 20
-Powergenerator 20
-Repair Facility 10
-Research Facility 20
-Oil Derrick 80
-Satellite Uplink Center 1
-Tank Traps 500
-VTOL Factory 20
-VTOL Rearming Pad 100
-Cannon Fortress 500
-Mass Driver Fortress 500
-Missile Fortress 500
-Havy Rocket Bastion 500
die zahlen sind übertrieben ich weiß aber ich kann sie mir ja später im game ja anpassen :-) und bin wenigtens an eine übertriebene grenze gebunden als jedes mal ne neue wdg zu machen.. :-)
ich hoffe mir kann einer helfen ich hab versucht mit dem WZ Source auf den stand von 1.0 ne wdg zu erstellen was auch klappte.
1.) Warzone\Warzone\Game\DATA - da ist das spiel ohne wdg format mit den tollen files usw ohne blöden wdg format aber eben auf dem falschen stand :-( (immernoch 1.11 source such)
2.) im wrf ordner die forcedit2.wrf gesucht da sind die "multilim.slo" / "multilim.vlo" verlinkt.
3.) bat datei mit note editor von windows ne patch ausführung geschrieben.
- MakeWDG.exe -v -o "MyLimits.wdg" -x 2000 wolf_limits -s 12 dec -s 11 nov -s 10 oct -s 9 sep30 -s 8 aug27 -s 7 july30 -s 6 June25 -s 5 may28 -s 4 may21 -s 3 NewTech -s 2 NewMaps -s 1 cam2Tech -s 0 warzone -w forcedit2.wrf>makeWDG.txt
Bitte überprüfen wer ne ahnung hat ^^ (12 dec -s selbst eingefügt für patch 1.11 hat aber nicht geklappt...)
4.) die MyLimits.wdg in wz 2100 kopiert (das normale game net das von source)
5.) Funz nur das die neuen gebäude nicht da sind bzw ich die net einstellen kann (die die seit 1.0 eben dazu kammen...)
tja was mach ich falsch? ich teste schon 3 tage rum und ich hoffe jmd findet sich der noch was in die richtung weißt für dieses tolle game...
lang lebe Wz 2100
hoffe auf antwort. bis dann
schreibfehler drin? zeigs mir lern gern dazu.
-
Hello together: -) I zocke being zone and would change now gladly the play a little already for some time. In multiplayer range. The maximum buildings attitudes are me in the Multiplayer range too small speak. I would like to have also times more like 5 research building, in the limits attitude can the number be unfortunately only reduced. then I am pushed in the forum (here) on the limits mod and after bissel googeln found I also to the downloaden. unfortunately I had to determine the number only to 7 was set there. WHY? around the rauszufinden I CR SOURCE gehollt and me the there beiligende play regarded and determined the worth in “multilim.slo” and buildings in “multilim.vlo” change to let problemmlos and the number of 50 the play gets along. problemm the CR SOURCE is on stood from 1.0 was/is and I those the patches also at all to install can I the play forwards ago there into ne wdg (“warzone.wdg”) pack would have. and then I am again at the BEGINNING I have nen play on stood from 1.11 that the worth “multilim.slo” and buildings “multilim.vlo” from patch 1,11 have. wiederrum the kind of number of buildings corresponds and not the changed in 1.0 annoying however datein with everyone patch in addition the kammen and those contains my change again logically there not. I have also with “WDG Explorer” the dec00.wdg from patch the 1,11 unpacked and worth changed like I her having want I first times blöd to look to have only had as I determined that the WDG Explorer not all unpacked and already not at all which I custom around the changed files (“multilim.slo”/“multilim.vlo”) again with MAKE WDG to COMPO dingsens *g* to pack stop; -) thus I looked for for the SOURCE for patch 1,11 and find simply nix only one for 1.12 which I to have net would like… naja come there I into mom net I are further on look for more ner wdg file me on stood from patch 1,11 available for building on those sets here. Name/desired number - COMMAND Relay center 1 - Cyborg Factory 20 - Hardcrete Corner barrier 500 - Laser Satellite COMMAND post office 1 - Factory 20 - Power generator 20 - Repair Facility 10 - Research Facility 20 - Oil Derrick 80 - Satellite Uplink center 1 - Tank Traps 500 - VTOL Factory 20 - VTOL Rearming PAD 100 - Cannon Fortress 500 - Measure of Driver Fortress 500 - Missile Fortress 500 - Havy Rocket bastion 500 pay are exaggerated I white however I can it to me in game adapt later: -) and are wenigtens on an exaggerated border as each times ne new wdg to make bound. : -) I hope myself can one help I have tried with the CR SOURCE for stood from 1.0 ne wdg to provide which also folded. 1.) Being zone \ being zone \ Game \ DATA - there the play without wdg format with the mad files etc. without blöden wdg format is however even on the wrong: - ((always still 1,11 SOURCE look for) 2.) in wrf the file the forcedit2.wrf searched there is “multilim.slo”/“multilim.vlo” linked. 3.) asked file with note editor of windows ne patch execution written. - CODE MakeWDG.exe - v - o “MyLimits.wdg” - x 2000 wolf_limits - s 12 dec - s 11 November - s 10 oct - s 9 sep30 - s 8 aug27 - s 7 july30 - s 6 June25 - s 5 may28 - s 4 may21 - s 3 NewTech - s 2 new maps - s 1 cam2Tech - s 0 being zone - w forcedit2.wrf>makeWDG.txt Please examine who ne notion has ^^ (12 dec - s inserted for patch 1,11 does not have however folded…) 4.) the MyLimits.wdg in CR 2100 copies (the normal game net from SOURCE) 5.) Funz only that the new buildings are and/or I not there net to adjust can (those since 1,0 evenly in addition kammen…) tja which Mach I wrongly? I test already 3 meet to rum and I hope jmd am still which in the direction know for this mad game… long live CR 2100 hope for answer. until then write error in it? zeigs me learn gladly in addition.
sorry - but the translator does not work all that well.... is it possible to have the question in english.... ..thankyou.
-
i will make a limit mod for the buildings of multiplayer. its must have patch 1.11.
how can i edit wdg files and to package it now? (mus have patch 1.11) (i can it make with 1.0 but not 1.11 :-( )
sorry my english is abysmal but i have ah translator *g*
-
Habs gelesen, werde mal nach einer Lösung suchen.
-
danke dir für deine zeit :-)
-
Ich entschuldige mich jetzt schon mal dafür, dass du wahrscheinlich dachtest, dass dies die Lösung deines Problems wäre, als du in der Boardübersicht gesehen hast, dass "Kreuvf" geantwortet hat.
Ich wollte nur kurz mitteilen, dass ich heute noch meine letzte mündliche Abiturprüfung machen muss und ich mich danach (also im Verlauf dieser Woche) um dein Problem kümmern werde.
-
na denn ;-) viel glück und gutes bestehen :p
-
Offtopic: Alles gut gelaufen ;)
Ontopic:
Nach einer kurzen Recherche in den Tiefen meiner Erinnerungen *g* habe ich mich erinnert, dass die Gebäude-Limits per Skript gesetzt werden - ob sie das müssen oder nur können weiß ich nicht mehr.
In \multiplay\skirmish gibt es dazu die KI-Dateien, die afaik auch Einfluss auf deine Limits haben.
In der rules.slo finde ich dann folgenden Code:
event initialisedEvent(CALL_GAMEINIT)
{
//set up the reticule buttons
addReticuleButton(OPTIONS);
addReticuleButton(CANCEL);
addReticuleButton(BUILD);
addReticuleButton(MANUFACTURE);
addReticuleButton(RESEARCH);
addReticuleButton(INTELMAP);
addReticuleButton(DESIGN);
playnum = 0;
while (playnum < 8)
{
enableStructure(command ,playnum); //make structures available to build
enableStructure(factory ,playnum);
// enableStructure(wall ,playnum);
// enableStructure(cornerWall ,playnum);
enableStructure(oilDerrick ,playnum);
enableStructure(powerGen ,playnum);
enableStructure(research ,playnum);
setStructureLimits(factory, 5, playnum); // set structure limits
setStructureLimits(powerGen,5, playnum);
setStructureLimits(research,3, playnum);
setStructureLimits(command, 1, playnum);
setStructureLimits(commandrelay,1, playnum);
setStructureLimits(cybfac, 5, playnum);
setStructureLimits(vtolfac, 5, playnum);
playnum = playnum+ 1;
}
applyLimitSet(); // set limit options
}
Das sind, wenn ich mich nicht irre, die Standardwerte, die angewendet werden, wenn man den Limits-Bildschirm nicht aufruft, also:
- fünf Fabriken
- fünf Kraftwerke
- drei Forschungseinrichtungen
- ein Kommandozentrum
- eine Kommando-Relais-Station
- fünf Cyborg-Fabriken
- fünf VTOL-Fabriken
-
Interesannt :-)
kann man dich auch mal über icq oder irc erwischen? dann hamas schnell geklärt ^^
-
Mein Prob:
stand.1.11
// multilim.slo
//
// define maximum limits for structures in limits screen here
// only stats mentioned here will be added to limits screen.
stand.1.11
// multilim.vlo
//
// define maximum limits for structures in limits screen here
// only stats mentioned here will be added to limits screen.
wie pack ich die files mit MAKEWDG so das die wdg datei die am ende rauskommt den patch 1.11 beinhaltet? oder drauf zugreift???? es kommt dauernd im MP ne fehler meldung wo er net weis was: "A0LasSatCommand" ist.... das gebäude kamm auch erst mit patch 1.11 raus
-
Inhalt der 3 datein mit dennen ich es versuch:
forcedit2.wrf
/*
* forcedit2 .wrf
*
* loaded after pies, used by structlimits and force edit screen.
*
*/
directory "effects"
file IMD "fxvtl01.PIE"
file IMD "fxvtl2and3.PIE"
file IMD "fxvtl04.PIE"
file IMD "fxvtl5to8.PIE"
file IMD "fxvtl09.PIE"
file IMD "fxvtl10.PIE"
file IMD "fxvtl11.PIE"
file IMD "fxvtl12.PIE"
directory "misc"
file IMD "tAljetfx.PIE"
file IMD "tBmjetfx.PIE"
file IMD "tChjetfx.PIE"
directory "components\bodies"
file IMD "runanim.pie"
file IMD "runflame.pie"
file IMD "flamfall.pie"
file IMD "fireknee.pie"
file IMD "walkanim.pie"
// no ani
file IMD "cybdpstd.pie"
file IMD "cybdpair.pie"
// ani
file IMD "cybdpjmp.pie"
file IMD "cybdplnd.pie"
file IMD "cybdprun.pie"
// no ani
file IMD "cybd_std.pie"
// ani
file IMD "cybd_run.pie"
directory "structs"
file IMD "blderik.pie"
directory "stats"
file SWEAPON "Weapons.txt"
file SBODY "Body.txt"
file SBRAIN "Brain.txt"
file SPROP "Propulsion.txt"
file SSENSOR "Sensor.txt"
file SECM "ECM.txt"
file SREPAIR "Repair.txt"
//file SPROGRAM "Program.txt"
file SCONSTR "Construction.txt"
file SPROPTYPES "PropulsionType.txt"
file STERRTABLE "TerrainTable.txt"
file SSPECABIL "SpecialAbility.txt"
file SBPIMD "BodyPropulsionIMD.txt"
//weapon sounds must be loaded in after weapons
file SWEAPSND "WeaponSounds.txt"
file STEMPL "Templates.txt"
file STEMPWEAP "assignWeapons.txt"
//file STEMPPROG "assignPrograms.txt"
file SFUNC "Functions.txt"
file SSTRUCT "Structures.txt"
file SSTRFUNC "StructureFunctions.txt"
file SSTRWEAP "StructureWeapons.txt"
file SFEAT "Features.txt"
// Scripts to enforce structure limits.
directory "multiplay\script"
file SCRIPT "multilim.slo"
file SCRIPTVAL "multilim.vlo"
---------------------------------------------------------------------------------
multilim.vlo
// multilim.vlo
//
// define maximum limits for structures in limits screen here
// only stats mentioned here will be added to limits screen.
script "multilim.slo"
run
{
//structures
factory STRUCTURESTAT "A0LightFactory"
oilDerrick STRUCTURESTAT "A0ResourceExtractor"
powerGen STRUCTURESTAT "A0PowerGenerator"
research STRUCTURESTAT "A0ResearchFacility"
comdroid STRUCTURESTAT "A0ComDroidControl"
cybfac STRUCTURESTAT "A0CyborgFactory"
repair STRUCTURESTAT "A0RepairCentre3"
vtolfact STRUCTURESTAT "A0VTolFactory1"
vtolpad STRUCTURESTAT "A0VtolPad"
hardall STRUCTURESTAT "A0HardcreteMk1Wall"
lassatcom STRUCTURESTAT "A0LasSatCommand"
uplink STRUCTURESTAT "A0Sat-linkCentre"
xcannon STRUCTURESTAT "X-Super-Cannon"
xmass STRUCTURESTAT "X-Super-MassDriver"
xmiss STRUCTURESTAT "X-Super-Missile"
xrock STRUCTURESTAT "X-Super-Rocket"
corwall STRUCTURESTAT "A0HardcreteMk1CWall"
ttrap STRUCTURESTAT "A0TankTrap"
}
multilim.slo
// multilim.slo
//
// define maximum limits for structures in limits screen here
// only stats mentioned here will be added to limits screen.
public STRUCTURESTAT factory;
public STRUCTURESTAT oilDerrick;
public STRUCTURESTAT powerGen;
public STRUCTURESTAT research;
public STRUCTURESTAT comdroid;
public STRUCTURESTAT cybfac;
public STRUCTURESTAT repair;
public STRUCTURESTAT vtolfact;
public STRUCTURESTAT vtolpad;
public STRUCTURESTAT hardall;
public STRUCTURESTAT lassatcom;
public STRUCTURESTAT uplink,xcannon,xmass,xmiss,xrock,corwall,ttrap;
event initialisedEvent(init)
{
setStructureLimits(factory, 20, 0);
setStructureLimits(oilDerrick, 80, 0);
setStructureLimits(powerGen, 20, 0);
setStructureLimits(research, 20, 0);
setStructureLimits(comdroid, 1, 0);
setStructureLimits(cybfac, 20, 0);
//walls
setStructureLimits(hardall, 500, 0);
setStructureLimits(corwall, 500, 0);
setStructureLimits(repair, 10, 0);
//VTOL f
setStructureLimits(vtolfact, 20, 0);
setStructureLimits(vtolpad, 100, 0);
//LASSAT
setStructureLimits(lassatcom, 1, 0);
setStructureLimits(uplink, 1, 0);
//Fortresses
setStructureLimits(xcannon, 500, 0);
setStructureLimits(xmass, 500, 0);
setStructureLimits(xmiss, 500, 0);
setStructureLimits(xrock, 500, 0);
setStructureLimits(ttrap, 500, 0);
}
-
Unser Gespräch wurde unterbrochen, weil die Leute vom IRC-Server gerade an dem arbeiten ^^
-
Offtopic: Alles gut gelaufen ;)
Ontopic:
Nach einer kurzen Recherche in den Tiefen meiner Erinnerungen *g* habe ich mich erinnert, dass die Gebäude-Limits per Skript gesetzt werden - ob sie das müssen oder nur können weiß ich nicht mehr.
In \multiplay\skirmish gibt es dazu die KI-Dateien, die afaik auch Einfluss auf deine Limits haben.
In der rules.slo finde ich dann folgenden Code:
event initialisedEvent(CALL_GAMEINIT)
{
//set up the reticule buttons
addReticuleButton(OPTIONS);
addReticuleButton(CANCEL);
addReticuleButton(BUILD);
addReticuleButton(MANUFACTURE);
addReticuleButton(RESEARCH);
addReticuleButton(INTELMAP);
addReticuleButton(DESIGN);
playnum = 0;
while (playnum < 8)
{
enableStructure(command ,playnum); //make structures available to build
enableStructure(factory ,playnum);
// enableStructure(wall ,playnum);
// enableStructure(cornerWall ,playnum);
enableStructure(oilDerrick ,playnum);
enableStructure(powerGen ,playnum);
enableStructure(research ,playnum);
setStructureLimits(factory, 5, playnum); // set structure limits
setStructureLimits(powerGen,5, playnum);
setStructureLimits(research,3, playnum);
setStructureLimits(command, 1, playnum);
setStructureLimits(commandrelay,1, playnum);
setStructureLimits(cybfac, 5, playnum);
setStructureLimits(vtolfac, 5, playnum);
playnum = playnum+ 1;
}
applyLimitSet(); // set limit options
}
Das sind, wenn ich mich nicht irre, die Standardwerte, die angewendet werden, wenn man den Limits-Bildschirm nicht aufruft, also:
- fünf Fabriken
- fünf Kraftwerke
- drei Forschungseinrichtungen
- ein Kommandozentrum
- eine Kommando-Relais-Station
- fünf Cyborg-Fabriken
- fünf VTOL-Fabriken
hier die von mir modifizierte rules.slo :-) ich bin mal testen hehe ^^
//
// Skirmish Base Script.
//
// contains the rules for starting and ending a game.
// as well as warning messages.
// alex lee. pumpkin studios 99.
//
public STRUCTURESTAT command;
public STRUCTURESTAT factory;
public STRUCTURESTAT wall;
public STRUCTURESTAT cornerWall;
public STRUCTURESTAT oilDerrick;
public STRUCTURESTAT powerGen;
public STRUCTURESTAT research;
public STRUCTURESTAT commandrelay; //oder comdroid?
public STRUCTURESTAT cybfac;
public STRUCTURESTAT vtolfac;
// public STRUCTURESTAT lassat; //oder lassatcom?
// public STRUCTURESTAT uplink;
// public STRUCTURESTAT vtolpad;
// public STRUCTURESTAT repair;
// public STRUCTURESTAT hardall;
// public STRUCTURESTAT xcannon;
// public STRUCTURESTAT xmass;
// public STRUCTURESTAT xmiss;
// public STRUCTURESTAT xrock;
// public STRUCTURESTAT cordwall;
// public STRUCTURESTAT ttrap;
////////
// starting technologies.
public int numCleanTech, numBaseTech, numDefTech;
public RESEARCHSTAT defTech[50];
// research topics
public int numBaseRes;
public RESEARCHSTAT baseRes[10];
// Other Stuff
private INT count;
private INT playnum;
private BOOL gamewon;
// Base Under Attack
private STRUCTURE hitStruc;
private BASEOBJ attackerObj;
private int t;
public SOUND attackSnd1;
public INTMESSAGE endMsg, winMsg;
// /////////////////////////////////////////////////////////////////
trigger endConditions(every, 100);
// /////////////////////////////////////////////////////////////////
//this event is called once the game has initialised itself
event initialisedEvent(CALL_GAMEINIT)
{
//set up the reticule buttons
addReticuleButton(OPTIONS);
addReticuleButton(CANCEL);
addReticuleButton(BUILD);
addReticuleButton(MANUFACTURE);
addReticuleButton(RESEARCH);
addReticuleButton(INTELMAP);
addReticuleButton(DESIGN);
playnum = 0;
while (playnum < 8)
{
enableStructure(command ,playnum); //make structures available to build
enableStructure(factory ,playnum);
// enableStructure(wall ,playnum);
// enableStructure(cornerWall ,playnum);
enableStructure(oilDerrick ,playnum);
enableStructure(powerGen ,playnum);
enableStructure(research ,playnum);
// enableStructure(commandrelay ,playnum); // oder comdroid
// enableStructure(cybfac ,playnum);
// enableStructure(vtolfac ,playnum);
// enableStructure(lassat ,playnum);
// enableStructure(uplink ,playnum);
// enableStructure(vtolpad ,playnum);
// enableStructure(repair ,playnum);
// enableStructure(hardall ,playnum);
// enableStructure(xcannon ,playnum);
// enableStructure(xmass ,playnum);
// enableStructure(xmiss ,playnum);
// enableStructure(xrock ,playnum);
// enableStructure(cordwall ,playnum);
// enableStructure(ttrap ,playnum);
setStructureLimits(factory, 10, playnum); // set structure limits
setStructureLimits(powerGen, 20, playnum);
setStructureLimits(research, 20, playnum);
setStructureLimits(command, 1, playnum);
setStructureLimits(commandrelay,1, playnum);
setStructureLimits(cybfac, 10, playnum);
setStructureLimits(vtolfac, 10, playnum);
// setStructureLimits(lassat, 1, playnum);
// setStructureLimits(uplink, 1, playnum);
// setStructureLimits(wall, 500, playnum);
// setStructureLimits(cornerWall, 500, playnum);
// setStructureLimits(oilDerrick, 80, playnum);
// setStructureLimits(vtolfac, 10, playnum);
// setStructureLimits(vtolpad, 100, playnum);
// setStructureLimits(repair, 10, playnum);
// setStructureLimits(hardall, 500, playnum);
// setStructureLimits(lassat, 1, playnum); // oder lassatcom
// setStructureLimits(uplink, 1, playnum);
// setStructureLimits(xcannon, 500, playnum);
// setStructureLimits(xmass, 500, playnum);
// setStructureLimits(xmiss, 500, playnum);
// setStructureLimits(xrock, 500, playnum);
// setStructureLimits(cordwall, 500, playnum);
// setStructureLimits(ttrap, 500, playnum);
playnum = playnum+ 1;
}
applyLimitSet(); // set limit options
}
event initialisedEventTwo(CALL_GAMEINIT)
{
playnum=0;
while (playnum < 8)
{
count = 0;
while (count < numBaseRes)
{
enableResearch(baseRes[count], playnum);
count = count +1;
}
if(multiPlayerBaseType == CAMP_CLEAN)
{
setPowerLevel(1300,playnum);
count = 0;
while (count < numCleanTech)
{
completeResearch(defTech[count], playnum);
count = count +1;
}
}
else if(multiPlayerBaseType == CAMP_BASE)
{
setPowerLevel(2500,playnum);
count = 0;
while (count < numBaseTech)
{
completeResearch(defTech[count], playnum);
count = count +1;
}
}
else
{
setPowerLevel(2500,playnum);
count = 0;
while (count < numDefTech)
{
completeResearch(defTech[count], playnum);
count = count +1;
}
}
playnum = playnum+ 1;
}
}
// /////////////////////////////////////////////////////////////////
// END CONDITIONS
event checkEndConditions (endConditions)
{
// Losing Conditions
if( ( not anyDroidsLeft(selectedPlayer))
and ( not anyFactoriesLeft(selectedPlayer))
)
{
gameOverMessage(endMsg, MISS_MSG, 0, FALSE);
setEventTrigger(checkEndConditions, inactive);
}
// Winning Conditions. selected Player is the only remaining player
count =0;
gamewon = TRUE;
while (count < multiPlayerMaxPlayers)
{
if ( (count != selectedPlayer) and not(isHumanPlayer(count)) )
{
if( anyDroidsLeft(count) or anyFactoriesLeft(count) )
{
gamewon = FALSE;
}
}
count = count + 1;
}
if(gamewon == TRUE)
{
gamewon = FALSE;
if(dominatingAlliance())
{
gamewon = TRUE;
}
}
if(gamewon == TRUE)
{
gameOverMessage(winMsg, MISS_MSG, 0, TRUE);
setEventTrigger(checkEndConditions, inactive);
}
}
// /////////////////////////////////////////////////////////////////
// WARNING MESSAGES
// Base Under Attack
event baseHit(CALL_STRUCT_ATTACKED, selectedPlayer, ref hitStruc, ref attackerObj)
{
if (t >= 10)
{
t=0;
if (hitStruc != NULLOBJECT)
{
playSoundPos(attackSnd1, selectedPlayer, hitStruc.x, hitStruc.y, hitStruc.z); //show position if still alive
}
else
{
playSound(attackSnd1, selectedPlayer);
}
}
}
event everySec(every, 10)
{
t=t+1;
}
//go to where the structure being attacked is on CTRL B
event seeBaseHit(CALL_MISSION_END)
{
if (hitStruc!=NULLOBJECT)
{
centreView(hitStruc);
t=0; //flag known about!
}
}
ich habe alles auf kommentar gesetzt was neu dazu gekommen ist da es net funz vlt hast du ja mal ne lösung ^^ ich weiß net weiter
-
Welchen Fehler hast du denn genau bekommen?
-
bis auf ein paar bunker und bettonwand und ein kommandorelais konnte ich nix mehr bauen... die sind einfach aus dem menü verschwunden. nachdem ich meine änderungen ins kommentar setzte konnte ich wieder alles bauen
-
Dann hilft nur Trail & Error, genauer:
Füge einen Eintrag jeweils hinzu (oben und unten) und schaue, ob es funktioniert. Funktioniert es nicht, auskommentieren und mit dem nächsten Eintrag weitermachen.