![]() |
|
Star Wolves 3D space RPG with deep strategy and tactical elements |
|
Thread Tools | Display Modes |
#23
|
||||
|
||||
![]()
Hello Community, or whats left of it
This may be late, but maybe there is Interest for this... I looked inside the exe of the game with an hex editor, and viewed every available Lua-Function inside it (Well, atleast the Names of them) Here is an List of seemingly all Lua Functions that exist Code:
sw3cw.exe registered lua commands I used Hex-Editor MX btw. --These seem to be the Standard Functions CreateQuaternionFromVector3 LOG SLOG FocusOn Message StartDialog HideAnswer ShowAnswer SetReplaceValue StartTradeDialog Puase SetNormalTimeMode SetPlayerCredits AddPlayerCredits SubPlayerCredits GetPlayerCredits Exit AddPost RemovePost FixTeam TradeStationDlg PatrolStationDlg TeleportToLocation CustomTeleportate EndGame EnablePortals GetLastLocation GetCurrentLocation Terminate CreatePilot AssignPilotToShip CreateTeam CreateCarcass Vector3 Quaternion SetPlayerMotherShip AddPilotToPlayer PlaceModule GetShipName RepairBase QuestActionDone QuestStart QuestChoice SetQuestLabel GetQuestLabel ClearQuestLabel GetPlayerQuestState ClearQuests SetObjectLabel GetObjectLabel GetObjectByLabel SetNavPointLabel GetNavPointByLabel GetPlayerMotherShip PlacePlayerShipsToHangar CreatePortalGlow CreateFadeScreen AddPilotExperience RecruitsPayRequest RecruitsPayTest RecruitsSetMinCount RecruitsSetMaxCount RecruitsGetMsgDlgText RecruitsCanProcessLocation GetRecruitGroupName SetInitTeamRelation SetGroupRelation GetGroupRelation GetTeamRelation GetLevelDifficult CreatePlayerTeam GetCarcassCountInSphere OutputToScreenlog LoadCloud PlayVideo GetPrevMissionExitCode RotateSkyBox GetUserFolder SoundLength ClearFuncMessage UpdateTradeSystem CreateShop DestroyShop GetWhiteMarket GetBlackMarket -- Weird Functions -- -- Probably something to do with Relations (duh) NOINIT EASY NORMAL HARD RELATION_POWER_NC RELATION_POWER_NORMAL RELATION_POWER_FIXED -- Normal Functions again -- These seem to be some more "special" Commands... AutoSave GetCurHP CombineStr StopHere CreateRoute ClearRoute GetOwnerTeamOfGroup GetGroupByName RemoveBaseDriver SetGodMode after these only the Error messages would show up from these Commands -- But then I found some more -- These seem to be Parameters for Pilots, you know something like that: "Pilot001:GetSide" or "Pilot001:HavePerk" GetSide HavePerk Kill GetPoints SetPoints GetPiloting GetGunnery GetMissiles GetElectronicsOperation GetFlightRole GetShip FocusOnFirstRocket HasProperty IsAlive IsInBase IsEscort IsCanSayReplica SetRank SetRankCorporation SetRankValue SetRankUp SetRankDown SetRankClear SetPerk IsBasePilot GetName GetTreeName Pilot_ShowMessageLog after these I again encountered the Error messages that normally would be parsed inside the log files if something wrong would happen -- But then I found even more -- These seems to be Parameters for flights, you know something like that: "Flight_Inoco001:AddShip" or "Flight_Inoco001:SetLeader" etc... AddShip SetLeader SetFormation GetPosition SetOrientation GetLeader Stop Blow RocketAttack EnableChaseDistanceInfinity DisableChaseDistanceInfinity SetChaseDistance GetCount GetPilotCount GetPilotByNumber and again I encountered the Error messages -- And again I found more normal Functions -- These seem to be for Carcasses, Ships & Stations alike. CreateQuaternionByAxis ShipGoodsState ModuleGoodsState DefaultGoodsPrice CommonGoodsPrice ClearGoodsState ClearMarket SetName AssignPilot AddModule ToHangar SetRole SetPosition AddModuleToInventory AddShipToInventory GetManeurability ImBigShip PlayFX ResetFX RotateOff SetHP SetOverVisibleForPlayer AddMeshFX RemoveMeshFX IsCanPlaceTo DrawBoundSphere ApplyImpulse GetOrientation GetVectorOrientation SetShield AddToGroup GetGroupName Push ClearInventory SetMaxSpeed GetMaxSpeed SetSteeringPower GetSteeringPower and again error messages -- but yay more Functions! ScriptFile SAV InitEnvironment CreateNavPoint CreateLine DrawLine CreateCloud reload_script CreatePortal CreateManagedPortal CreateTradeStation CreateStation CreateAsteroid InitMap PlaySound3D PlaySound PlayerMusic AddMusicToPlayList StartPlayList AddMusicToBattlePlayList SwitchToMap SwitchToGame FlashOn FlashOff and again error messages -- These seem to be Functions and Parameters for creating an In-Game scripted Cutscene. they are indeed neat but very hard to code. -- and to make them look good, would take even more time and skill... goddamn these Cutscenes... Elitegames are lucky to have their engine tools for this one tho.. CreateMovie PlayList StopCurrentMovie MovieIsPlaying _FREECAM _TARGETCAM _ASIMUTHCAM _MAPCAM _MOTHERSHIPDEAD _HERMIT _LINEAR _COSINE _SINE InitMovie Play AddOrientKey AddOrientVectorKey AddPosKey SetInterpolate SetLength AttachEscapeScript AddScriptKey SetTarget SetFollowRocketParam AddKeys and again error messages -- These seem to be mostly Engine Functions, at this Point don't expect them to work normally anymore. LoadOggFile LoadState() FillEntireBufferFromStreamCurrentPos() GetBufForPlay KinematicCarcass ApplyImpulseAtPosition --((%f %f %f)) ui_inertion_rotation ui_inertion_move ui_inertion_movetofocus ui_inertion_cameramo AbstractModule -- something interesting that I found would be that I maybe found Strings that refer - -- to the XMLShema and Read from it with these Strings that I found, and also ones that refer to the carcasses.xml file -- Maybe someday I'll be able to change a few of those Strings to unlock some potential without breaking the exe. but that is for another day. If its any interest, here are some Strings for the XML Files short_desc mesh_name flat_image hit_points mass disable_trade technology TECHNOLOGY_HUMAN TECHNOLOGY_ANGOR -- lol they still have that faction from the second game... TECHNOLOGY_ALIEN TECHNOLOGY_BERSERK TECHNOLOGY_PRECURSOR BaseModule attach_type ALL_SHIPS NOT_ALLOWED ONLY_FIGHTER ONLY_BIGSHIP -- some more engine functions LoadCarcassXML LoadModuleXML LoadRocketXML LoadShipDescriptionsXML CreateNullCarcass CreateCarcassFromDesc CreateGameObject FindElementByName -- intersting thing I found: remember the interface folder & both Carcass,Module folders where those 32,64,128 folders are? - -- apparently this game WAS supposed to suport 256 pics too, not important but hey. -- more engine functions StoredVariable AssignFrom() VarStruct WeaponModule recharge_time vieweing_angle dispersion min_distance max_distance UpdateModulePoint() BaseCarcass explosion_script silence work_sound esc ModuleArray::MinimalLoadState() ModuleArray::SetMaxCount ModuleAttachInfo::CreateMesh BROCKENENGINE ENGINEBOSOST ShipCarcass max_energy energy_restore max_speed maneurability steering_power sensor_resolution sensor_length threat engine_sound engine_start_sound ShipCarcass::GetBaseName at this point there weren't any more interesting Functions/Stuffs which I could grab. if you want you can search yourself too, use Hex-Editor MX for easy lookings. @Neo Genesis: I still have to Test it, Didn't got to do it until now.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) Last edited by nocalora29; 07-12-2015 at 06:31 PM. |
|
|