#551
|
|||
|
|||
Quote:
http://www.mediafire.com/download/dh...58/Modules.rar Last edited by Neo Genesis; 07-08-2015 at 02:34 PM. |
#552
|
||||
|
||||
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 07:31 PM. |
#553
|
||||
|
||||
@Neo Genesis
Not quite Finished with the Balance testing, but its Seems OK.
I would like to get maybe some Ideas from you about Player Basebuilding, im currently Working on that and I plan to Include maaaaany features for this. But I could need some Suggestions and Ideas for this, definitely. I even might have an Playable test Build available next Week or so, It all comes down to how long It takes to Test this out myself to see if it causes any Long-time Problems. I think its gonna be Epic
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) |
#554
|
|||
|
|||
nocalora29, you are the best!
|
#555
|
|||
|
|||
Quote:
Quote:
Quote:
Last edited by Neo Genesis; 07-14-2015 at 02:28 PM. |
#556
|
||||
|
||||
@ArtekXDPL: Thanks ^^
@Neo Genesis: Sadly im not able to test anything right now Uhm... I think its gonna take a bit longer than one Week, simply because my Graphics card died yesterday. I know, the timing is awful. I had a spare one and I replaced it with that one, but the one I currently have is extremely weak(GT520) compared to my old one (GTX560)... gonna have to buy a new one, SW3 has like 10 fps when I start it up, even in the Menu... Just wanted to inform you guys, its gonna take a bit longer. Quote:
I have many things on my ToDo list for this.
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) |
#557
|
|||
|
|||
Quote:
Oh yeah If things are working out again maybe you can replace the Matarice with this . its something i whipped up some time ago . Interchanged the Missile & Heavy Gun Slots that are at the side bec. most heavy guns can't hit fighters when put there https://www.mediafire.com/?mua14hp3lpjwc79 Quote:
Last edited by Neo Genesis; 07-15-2015 at 03:36 PM. |
#558
|
||||
|
||||
@Neo Genesis
Check your PM's plz
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) |
#559
|
|||
|
|||
Oops I'm Very Sorry . I Didn't See it till Now . Bec I Just Kept on Checking the Page
|
#560
|
||||
|
||||
@Neo Genesis
Nah its totally fine,
__________________
Discord: Nocalora#6847 | SW3.Expansion Thread | SWX.MouseMovementFix | SWX.TUVMark+Src (.tuv editing Tool) | SWX.SLOTMark+Src (.ini Slots editing Tool) |
|
|