Classic BARC speeder assets patch

kinshi

New Member
Joined
Dec 13, 2011
Messages
18
Attached in the TRE are the files necessary client files to use the classic BARC speeder on a Core3-based SWG server.

Only parts missing are the STF additions for the actual deed title, and the description text when examining. Just need to add the appropriate LUA entries (use the Swoop as an example of what files you need to edit/add on the server side.)

I can provide the server-LUA if anyone needs it, but that part is the easy part of this. (imho)

NOTE: The files are the Publish 15 version of the BARC not NGE. (thus no bit-twiddling was required to make any of the files work). I also started with a Pub 14.1 object_template_crc_string_table file and added the entry to it rather than using the Pub 15 or later versions that include way more than I want)

TRE was packed using TreEdit 1.0
 

Attachments

duffstone

Member
Joined
Sep 13, 2013
Messages
188
RE: [content] Classic BARC speeder assets patch

nice. I'll have to try it out when I get my dev environment back up to speed. :) I miss my Barc and atpt.
 

tatwi

Member
Joined
May 31, 2012
Messages
66
RE: [content] Classic BARC speeder assets patch

kinshi said:
I can provide the server-LUA if anyone needs it, but that part is the easy part of this. (imho)
EDIT:

OK, I have been able to get the mod to "work" by editing the following files:

object/intangible/vehicle/objects.lua
object/intangible/vehicle/serverobjects.lua
object/intangible/vehicle/barc_speeder_pcd.lua

object/mobile/vehicle/objects.lua
object/mobile/vehicle/barc_speeder.lua
object/mobile/vehicle/serverobjects.lua

object/tangible/deed/vehicle_deed/objects.lua
object/tangible/deed/vehicle_deed/serverobjects.lua
object/tangible/deed/vehicle_deed/barc_speeder_deed.lua

Kinshi has conveniently made these files (and all his scripts) available here.

However, the model and the sounds don't actually exist in the client, despite the TRE file loading correctly. I can mount and ride the barc using the /target and /mount commands, but it's invisible (and it plays the generic "spread legs" mount animation). I tried unpacking and repacking the supplied TRE with another that I know works and the result is the same - the parts of TRE that are mine work, so it's being loaded by the client OK, but BARC is still not working.

Any thoughts on what's happening here?

-----------

Edit:

Liakhara was kind enough to have a look at some of the files included in Kinshi's TRE and found some were missing values related to the BARC. With this information, I managed to build a functioning replacement TRE file using the Tarkin server files and Eastwind's Swoop2Barc mod. Thanks to Eastwind, this also fixes the holding a weapon mounted bug. You can download the replacement file here, classic_barc_speeder_fix.tre (updated to include the proper BARC sounds that work!).

Thank you to everyone who helped on the Mod the Galaxy and Tarkin IRC channels! I now have a much better idea of what goes into adding brand new an item to the game. Quite a lot of work! But, worth it. :)

------------

Note: I tried a lot of things to get the customization kits to work with this, but no go. At the moment, the only way I know of to get a custom colored BARC is to use Eastwind's Swoop2Barc mod.
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
222
What was wrong with the files. Can you be more specific?
 

PikkonMG

New Member
Joined
Aug 29, 2013
Messages
14
What file is missing that causes the "spread legs" mount animation, your download link no longer works.
 

Phoenix

Moderator
Staff member
Moderator
Joined
Sep 25, 2010
Messages
222
datatables/mount/
the only 4 files in there control that
 

MDigger

New Member
Joined
Oct 28, 2011
Messages
8
Have a look on it, ported BARC from ULI's vehicle mods I got during May 2012. I had to add it server side as well and it works fine.
[attachment=50]
 

Attachments

Polariszene

Member
Joined
Feb 19, 2017
Messages
101
Have a look on it, ported BARC from ULI's vehicle mods I got during May 2012. I had to add it server side as well and it works fine.
[attachment=50]
if i use this tre file server side and client side do i still have to edit any other tre files to make this work?
 

Aeryna

Active Member
Joined
Oct 10, 2017
Messages
301
if i use this tre file server side and client side do i still have to edit any other tre files to make this work?
* (Server) You need to add "BARC" to your system, registering it and setting it up (objects.lua, serverobjects.lua, config.lua, ...). Just adding the .tre file doesn't make anything.
* (Client) You need to add the .tre file to your swgemu_live.cfg.
 

Polariszene

Member
Joined
Feb 19, 2017
Messages
101
* (Server) You need to add "BARC" to your system, registering it and setting it up (objects.lua, serverobjects.lua, config.lua, ...). Just adding the .tre file doesn't make anything.
* (Client) You need to add the .tre file to your swgemu_live.cfg.
oh great and i cant get the Iff editor working
 

gyrantol

Member
Joined
Jan 16, 2015
Messages
127
oh great and i cant get the Iff editor working
You don't need to use SIE if you are using the tre provided. You need to add the relevant LUA files to the server code. Copy the tre file to the server and tell it to load it and then copy the tre file to your client folder and tell your client to load it as Aeryna said.

Look at Tatwi's post 3 here for a list of server files that need to be added and even a link to a github page where you can find copies of the code.
 
Top Bottom