Moin etwas spät aber bei mir findet er den ragecore ordner nicht obwohl er eingefügt ist .
[Tutorial] Spawnintro mit Logo und Musik
-
- Altis Life
-
nox -
9. August 2015 um 05:11
-
-
Schick mal deine Functions.h / hpp
-
Schick mal deine Functions.h / hpp
hier
-
Code
Alles anzeigenclass Functions { file = "core\functions"; class accType {}; class actionKeyHandler {}; class animSync {}; class calWeightDiff {}; class clearVehicleAmmo {}; class dropItems {}; class escInterupt {}; class fetchCfgDetails {}; class fetchDeadGear {}; class fetchVehInfo {}; class isDamaged {}; class giveDiff {}; class handleDamage {}; class handleInv {}; class handleItem {}; class hideObj {}; class hudSetup {}; class hudUpdate {}; class inventoryClosed {}; class inventoryOpened {}; class isUIDActive {}; class keyHandler {}; class loadDeadGear {}; class loadGear {}; class nearATM {}; class nearestDoor {}; class nearUnits {}; class numberText {}; class onFired {}; class onTakeItem {}; class playerSkins {}; class playerTags {}; class pullOutVeh {}; class pushObject {}; class receiveItem {}; class receiveMoney {}; class revealObjects {}; class saveGear {}; class searchPosEmpty {}; class simDisable {}; class stripDownPlayer {}; class tazeSound {}; class teleport {}; class whereAmI {}; class RageCore { file = "core\ragecore"; class initIntro {}; }; };
Nicht so einfügen sondern so
PS: Ersetzen und schau dir mal bitte an wie es gemacht wird schau dir Scripten bitte nochmal an oder leg dir Notepad++ zu nicht böse nehmen habe aber nen Lachflash bekommen als ich das gesehen habe Kannst mich auch gerne per PN anschreiben helfe dir bei weiteren fragen gerne
Code
Alles anzeigenclass Socket_Reciever { tag = "SOCK"; class SQL_Socket { file = "core\session"; class dataQuery {}; class insertPlayerInfo {}; class requestReceived {}; class syncData {}; class updatePartial {}; class updateRequest {}; }; }; class Life_Client_Core { tag = "life"; class Master_Directory { file = "core"; class initCiv {}; class initCop {}; class initMedic {}; class setupActions {}; class setupEVH {}; class survival {}; class welcomeNotification {}; }; class Actions { file = "core\actions"; class arrestAction {}; class buyLicense {}; class captureHideout {}; class catchFish {}; class dpFinish {}; class dropFishingNet {}; class escortAction {}; class gather {}; class getDPMission {}; class gutAnimal {}; class healHospital {}; class impoundAction {}; class mine {}; class packupSpikes {}; class pickupItem {}; class pickupMoney {}; class postBail {}; class processAction {}; class pulloutAction {}; class putInCar {}; class removeContainer {}; class repairTruck {}; class restrainAction {}; class robAction {}; class searchAction {}; class searchVehAction {}; class seizePlayerAction {}; class serviceChopper {}; class stopEscorting {}; class storeVehicle {}; class surrender {}; class ticketAction {}; class unrestrain {}; }; class Admin { file = "core\admin"; class adminCompensate {}; class adminDebugCon {}; class adminFreeze {}; class admingetID {}; class adminGodMode {}; class adminid {}; class admininfo {}; class adminMarkers {}; class adminMenu {}; class adminQuery {}; class adminSpectate {}; class adminTeleport {}; class adminTpHere {}; }; class Civilian { file = "core\civilian"; class civLoadout {}; class civMarkers {}; class demoChargeTimer {}; class freezePlayer {}; class jail {}; class jailMe {}; class knockedOut {}; class knockoutAction {}; class removeLicenses {}; class robPerson {}; class robReceive {}; class tazed {}; }; class Config { file = "core\config"; class houseConfig {}; class itemWeight {}; class vehicleAnimate {}; class vehicleWeightCfg {}; }; class Cop { file = "core\cop"; class bountyReceive {}; class containerInvSearch {}; class copInteractionMenu {}; class copLights {}; class copLoadout {}; class copMarkers {}; class copSearch {}; class copSiren {}; class doorAnimate {}; class fedCamDisplay {}; class licenseCheck {}; class licensesRead {}; class questionDealer {}; class radar {}; class repairDoor {}; class restrain {}; class searchClient {}; class seizeClient {}; class sirenLights {}; class spikeStripEffect {}; class ticketGive {}; class ticketPaid {}; class ticketPay {}; class ticketPrompt {}; class vehInvSearch {}; class wantedGrab {}; }; class Dialog_Controls { file = "dialog\function"; class bankDeposit {}; class bankTransfer {}; class bankWithdraw {}; class displayHandler {}; class gangDeposit {}; class gangWithdraw {}; class garageLBChange {}; class impoundMenu {}; class progressBar {}; class safeFix {}; class safeInventory {}; class safeOpen {}; class safeTake {}; class sellGarage {}; class setMapPosition {}; class spawnConfirm {}; class spawnMenu {}; class spawnPointCfg {}; class spawnPointSelected {}; class unimpound {}; class vehicleGarage {}; class wireTransfer {}; }; class Functions { file = "core\functions"; class accType {}; class actionKeyHandler {}; class animSync {}; class calWeightDiff {}; class clearVehicleAmmo {}; class dropItems {}; class escInterupt {}; class fetchCfgDetails {}; class fetchDeadGear {}; class fetchVehInfo {}; class isDamaged {}; class giveDiff {}; class handleDamage {}; class handleInv {}; class handleItem {}; class hideObj {}; class hudSetup {}; class hudUpdate {}; class inventoryClosed {}; class inventoryOpened {}; class isUIDActive {}; class keyHandler {}; class loadDeadGear {}; class loadGear {}; class nearATM {}; class nearestDoor {}; class nearUnits {}; class numberText {}; class onFired {}; class onTakeItem {}; class playerSkins {}; class playerTags {}; class pullOutVeh {}; class pushObject {}; class receiveItem {}; class receiveMoney {}; class revealObjects {}; class saveGear {}; class searchPosEmpty {}; class simDisable {}; class stripDownPlayer {}; class tazeSound {}; class teleport {}; class whereAmI {}; }; class RageCore { file = "core\ragecore"; class initIntro {}; }; class Gangs { file = "core\gangs"; class createGang {}; class gangCreated {}; class gangDisband {}; class gangDisbanded {}; class gangInvite {}; class gangInvitePlayer {}; class gangKick {}; class gangLeave {}; class gangMenu {}; class gangNewLeader {}; class gangUpgrade {}; class initGang {}; }; class Housing { file = "core\housing"; class buyHouse {}; class containerMenu {}; class copBreakDoor {}; class copHouseOwner {}; class garageRefund {}; class getBuildingPositions {}; class houseMenu {}; class initHouses {}; class lightHouse {}; class lightHouseAction {}; class lockHouse {}; class lockupHouse {}; class placeContainer {}; class PlayerInBuilding {}; class raidHouse {}; class sellHouse {}; }; class Items { file = "core\items"; class blastingCharge {}; class boltcutter {}; class defuseKit {}; class flashbang {}; class jerrycanRefuel {}; class jerryRefuel {}; class lockpick {}; class placestorage {}; class spikeStrip {}; class storageBox {}; }; class Medical_System { file = "core\medical"; class deathScreen {}; class medicLights {}; class medicLoadout {}; class medicMarkers {}; class medicRequest {}; class medicSiren {}; class medicSirenLights {}; class onPlayerKilled {}; class onPlayerRespawn {}; class requestMedic {}; class respawned {}; class revived {}; class revivePlayer {}; }; class Network { file = "core\functions\network"; class broadcast {}; class corpse {}; class jumpFnc {}; class say3D {}; class setFuel {}; class soundDevice {}; }; class Player_Menu { file = "core\pmenu"; class altisPhone {}; class cellphone {}; class giveItem {}; class giveMoney {}; class keyDrop {}; class keyGive {}; class keyMenu {}; class p_openMenu {}; class p_updateMenu {}; class pardon {}; class removeItem {}; class s_onChar {}; class s_onCheckedChange {}; class s_onSliderChange {}; class settingsMenu {}; class updateViewDistance {}; class useItem {}; class wantedAddP {}; class wantedInfo {}; class wantedList {}; class wantedMenu {}; }; class Shops { file = "core\shops"; class atmMenu {}; class buyClothes {}; class changeClothes {}; class chopShopMenu {}; class chopShopSelection {}; class chopShopSell {}; class clothingFilter {}; class clothingMenu {}; class fuelLBchange {}; class fuelStatOpen {}; class vehicleShop3DPreview {}; class vehicleShopBuy {}; class vehicleShopEnd3DPreview {}; class vehicleShopInit3DPreview {}; class vehicleShopLBChange {}; class vehicleShopMenu {}; class virt_buy {}; class virt_menu {}; class virt_sell {}; class virt_update {}; class weaponShopAccs {}; class weaponShopBuySell {}; class weaponShopFilter {}; class weaponShopMags {}; class weaponShopMenu {}; class weaponShopSelection {}; }; class Vehicle { file = "core\vehicle"; class addVehicle2Chain {}; class colorVehicle {}; class deviceMine {}; class FuelRefuelcar {}; class fuelStore {}; class fuelSupply {}; class lockVehicle {}; class openInventory {}; class vehiclecolor3DRefresh {}; class vehicleOwners {}; class vehicleWeight {}; class vehInventory {}; class vehStoreItem {}; class vehTakeItem {}; class vInteractionMenu {}; }; };
MFG. Sebastian
-
Erstens welches Programm nutzt du zum scripten ?
Zweitens wie kann man das übersehen ?
Drittens ich kann da nix mehr zu sagen, sorry das ist für mich zu viel
Sorry aber wie oft hast du schon gescriptet bzw. hast du sowas schonmal gemacht
PS: Da hilft auch immer wieder mal°
-
Kann man es auch so einstellen, dass man es jedes mal sieht? Ich habe den server so eingestellt, dass man nur nach einem Restart umspawnen kann.Nun möchte ich, dass man es auch sieht, wenn man den Spawn nicht ausgewählt hat.
-
Funktioniert leider nicht in der 5.0. Man spawnt ganz normal.
-
Funktioniert 100 % wenn man das Tutorial befolgt ^
Funktioniert leider nicht in der 5.0. Man spawnt ganz normal.
-
Funktioniert 100 % wenn man das Tutoria
Habe ich gemacht, allerdings spawnt man bei mir ganz normal. Habe auch keine Fehlermeldung.
-
Habe ich gemacht, allerdings spawnt man bei mir ganz normal. Habe auch keine Fehlermeldung.
RPT und Client Log kann bei dir nicht ins Gehirn schauen
-
Hier sind die Logs
-
Servus Jungs,
habe gerade eben das Problem mit dem Hud. In Welche Datei soll ich das reinpacken der schreibt da was mit if.
Das das Hud nicht angezeigt wird, also die Anzeige mit dem Nahrungsbalken etc...
Hab mir aber schon was zurecht gebastelt:
JavaScript
Alles anzeigen[] spawn { cutText ["","BLACK IN"]; if(life_firstSpawn) then { private["_handle"]; _handle = [] spawn life_fnc_initIntro; waitUntil {scriptDone _handle}; life_firstSpawn = false; [] call life_fnc_hudSetup; [] call life_fnc_playerSkins; }; };
sehr sauber ist das nicht aber es hilft. Komischerweise ist es so dass die if abfrage anscheinend den aufruf Blockiert/Überschreibt und es deswegen nicht angezeigt wird. Sobald ich aber den Aufruf mit in die if packe wird es sauber ausgeführt pillepalleDanke im Voraus
-
Servus Jungs,
habe gerade eben das Problem mit dem Hud. In Welche Datei soll ich das reinpacken der schreibt da was mit if.
Danke im Voraus
^
Schritt 5:
Öffnen nun eure fn_spawnConfirm.sqf und fügt ganz am Ende über
Code
[] call life_fnc_hudSetup;
folgendes ein:Code
[] spawn {
cutText ["","BLACK IN"];if(life_firstSpawn) then {
private["_handle"];
_handle = [] spawn life_fnc_initIntro;
waitUntil {scriptDone _handle};
life_firstSpawn = false;
};
}; -
^
Hat nicht funktioniert !
Code
Alles anzeigen/* File: fn_spawnConfirm.sqf Author: Bryan "Tonic" Boardwine Description: Spawns the player where he selected. */ private ["_spCfg","_sp","_spawnPos"]; closeDialog 0; cutText ["","BLACK IN"]; if (life_spawn_point isEqualTo []) then { private ["_sp","_spCfg"]; _spCfg = [playerSide] call life_fnc_spawnPointCfg; _sp = _spCfg select 0; if (playerSide isEqualTo civilian) then { if (isNil {(call compile format ["%1",_sp select 0])}) then { player setPos (getMarkerPos (_sp select 0)); } else { _spawnPos = (call compile format ["%1",_sp select 0]) call BIS_fnc_selectRandom; _spawnPos = _spawnPos buildingPos 0; player setPos _spawnPos; }; } else { player setPos (getMarkerPos (_sp select 0)); }; titleText[format ["%2 %1",_sp select 1,localize "STR_Spawn_Spawned"],"BLACK IN"]; } else { if (playerSide isEqualTo civilian) then { if (isNil {(call compile format ["%1",life_spawn_point select 0])}) then { if (["house",life_spawn_point select 0] call BIS_fnc_inString) then { private ["_bPos","_house","_pos"]; _house = nearestObjects [getMarkerPos (life_spawn_point select 0),["House_F"],10] select 0; _bPos = [_house] call life_fnc_getBuildingPositions; if (_bPos isEqualTo []) exitWith { player setPos (getMarkerPos (life_spawn_point select 0)); }; {_bPos = _bPos - [(_house buildingPos _x)];} forEach (_house getVariable ["slots",[]]); _pos = _bPos call BIS_fnc_selectRandom; player setPosATL _pos; } else { player setPos (getMarkerPos (life_spawn_point select 0)); }; } else { _spawnPos = (call compile format ["%1", life_spawn_point select 0]) call BIS_fnc_selectRandom; _spawnPos = _spawnPos buildingPos 0; player setPos _spawnPos; }; } else { player setPos (getMarkerPos (life_spawn_point select 0)); }; titleText[format ["%2 %1",life_spawn_point select 1,localize "STR_Spawn_Spawned"],"BLACK IN"]; }; [] spawn { cutText ["","BLACK IN"]; if(life_firstSpawn) then { private["_handle"]; _handle = [] spawn life_fnc_initIntro; waitUntil {scriptDone _handle}; life_firstSpawn = false; }; }; /*if (life_firstSpawn) then { life_firstSpawn = false; [] call life_fnc_welcomeNotification; }; */ [] call life_fnc_playerSkins;
-
Einmal einen .rpt bitte.
-
Im Anhang
-
ESLotherwise irrgendwas gefunden ?
-
ESLotherwise irrgendwas gefunden
Ich habe da jetzt nichts wildes gefunden,außer dem hier:
Spoiler anzeigen
Code22:39:26 Conflicting addon life_server in 'life_server\', previous definition in 'life_server_old\' 22:39:28 Updating base class RscShortcutButton->RscButton, by a3\editor_f\config.bin/RscDisplayEditObject/Controls/B_OK/ (original bin\config.bin) 22:39:28 Updating base class RscSliderH->RscXSliderH, by a3\editor_f\config.bin/RscDisplayEditObject/Slider/ (original bin\config.bin) 22:39:28 Updating base class RscText->RscPicture, by a3\editor_f\config.bin/RscDisplayEditObject/Preview/ (original bin\config.bin) 22:39:28 Updating base class RscShortcutButton->RscButton, by a3\editor_f\config.bin/RscDisplayMissionLoad/Controls/B_OK/ (original bin\config.bin)
-
Funktioniert leider nicht in der 5.0. Man spawnt ganz normal.
bei mir auch
-
bei mir auch
Es kann doch nicht so schwer sein einfach ein Tutorial zu befolgen das ist Copy und Paste. Und ich nutze es selber es funktioniert auch in der 5.0
-