• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A16 - Custom Vehicles by Manux [SDX]

NEW FANTASTIC VEHICLES UPDATE

- Custom storages per vehicle: You will need to re-assemble your vehicles to see those changes properly.

- Custom Icon per vehicle on the map and compass

- New buttons for the BackPack and the vehicle storages: Stash All, Take All, Drop All. (I might eventually do a separate modlet out of this one, so it can be used alone with any other SDX mod.)

- A couple more fixes on the Helicopter.

I also did a cleanup of all the loot containers deployed by my mods. And I made sure that all lootcontainer IDs are as high as possible to try to avoid conflicts with other mods.

I hope I didn't break too much, please report any new problems.

on my github as usual.

 
Last edited by a moderator:
Great mod,keep up the good work man !!

I have a question: can the vehicles work with Starvation mod? I install starvation mod trough 7dtd launcher, install vehicles normally with sdx,pointing where is install path of starvation..eg. c:7dtd/starvation but ingame there is no vehicles...

 
Great mod,keep up the good work man !!I have a question: can the vehicles work with Starvation mod? I install starvation mod trough 7dtd launcher, install vehicles normally with sdx,pointing where is install path of starvation..eg. c:7dtd/starvation but ingame there is no vehicles...
Glad you like the mod!

I wish we could build on top of big mods like Starvation. Starvation already modifies the Assembly of the game. Mortelentus would need to make a version of Starvation with the Vehicles, because we don't have access to his code. so we can't mix the C# code from both mods.

Or Mortelentus would need to make an SDX version of his mod, but I really doubt he would want to do that.

 
Last edited by a moderator:
Hey guys,

I'm currently looking at multiplayer.

I already found solutions to some of the bugs, I hope to have something somewhat functional for multi in the near future...

 
Now that's what I am talking about, excited to see the progress! I have been waiting for the multiplayer so me and my brothers can have a couple wars with the vehicles LOL!!

 
Now that's what I am talking about, excited to see the progress! I have been waiting for the multiplayer so me and my brothers can have a couple wars with the vehicles LOL!!
Sounds good, please report any issues with it, I really want this to work, and I'm sure many of you want that too! ;)

 
New Update: First "functional" multiplayer version

- Fixed the vehicle spawning bugs

- Fixed the UIAtlas override NRE

- All vehicle features seem to work

- Has not been tested for animation sync issues

It's possible that animation won't be sync when you look at other players on vehicles, I could not test that yet.

You need both the server and clients to have the mod for everything to work.

Just as usual, in multi, you need to put a lock yourself in your vehicles to see the vehicle icons on the map and compass.

Please report any issues with it, I will do my best to address them as quick as possible...

github

 
@manux what is the bigger backpack size of this mod? I have mine set to 80 and if I need to edit any files in your mod to make sure it functions properly as I have a custom UI for my personal server.

 
@manux what is the bigger backpack size of this mod? I have mine set to 80 and if I need to edit any files in your mod to make sure it functions properly as I have a custom UI for my personal server.
With the new custom storage size feature, the regular sizes are:

- small: 4x6

- medium: 5x9

- large: 8x10

If you use my bigger backpack mod: then it will detect it when you build with SDX and use these sizes instead:

- small: 6x9

- medium: 10x10

- large: 12x15

My bigger back pack mod is actually based on stedman420's Simple UI Plus 120.

Since you use a size of 80, which is the size of my regular backpack large storage, you should be fine to use your own windows.xml values. You'll just need to tweak it a bit if you want to have the new buttons: Take All and Drop All.

And don't forget to add the new Stash All buttons to your backpack, those are really useful and they work with any containers, including vehicle storage.

 
Last edited by a moderator:
Thanks @manux - Will see if I can get it all working and tested on Multiplayer as well and report any issues if there are any. Great job on this again been waiting for this!!

 
@manux - Did have a quick question I don't remember seeing if anyone asked or if it was already said.

1. Are there recipes for all of these to build the vehicles? Or is it strictly Creative only?

2. Once the vehicles is in game, can we take them back and store them like pick them back up and place the item like in a Locked Safe

I seen this on a couple servers with MiniBikes can't remember if that was actually a mod that allowed that or if it was default in the game. I personally never used the minibike myself because didn't like it LOL!

 
@manux - Did have a quick question I don't remember seeing if anyone asked or if it was already said.
1. Are there recipes for all of these to build the vehicles? Or is it strictly Creative only?

2. Once the vehicles is in game, can we take them back and store them like pick them back up and place the item like in a Locked Safe

I seen this on a couple servers with MiniBikes can't remember if that was actually a mod that allowed that or if it was default in the game. I personally never used the minibike myself because didn't like it LOL!
There's no recipes to make the whole vehicle at once. I don't think this is possible in vanilla, since it is built out of parts.

You could disassemble the vehicle and store it's parts in a safe storage.

Right now I didn't make recipes for all the custom parts I have, just didn't have time to fine tune all those details. I also didn't make them appear in loot containers in the world or at traders. But you can easily add all that by editing your xmls.

The pro bike parts are currently the only custom parts for which I made recipes, and they will also appear in loot containers and at traders.

 
Mini Multiplayer Patch

A small patch to fix a couple of things I didn't see in the last update.

- Fixed a couple more benign Null Ref Exceptions with the Helicopter

- Brought back the sound when firing grenades or missiles

github

 
@manux what is the bigger backpack size of this mod? I have mine set to 80 and if I need to edit any files in your mod to make sure it functions properly as I have a custom UI for my personal server.
Actually I think I jumped too quick on your question earlier.

The sizes I gave you up there are the sizes of the different vehicle storages.

The backpack itself just uses the regular size, but if you use my bigger backpack mod (stedman's Simple UI Plus 120), it has 120 slots.

The UI becomes pretty small with that bigger backpack mod and you need a resolution that can take it, like 1920x1080.

But you might be able to use your backpack with it instead. Just not sure if my custom storages will fit well in your UI, might need a little bit of tweaking...

Basically to make the different custom storage size windows, I just make the biggest one, then I copy paste it for the smaller ones, and just reduce the number of slots in it.

You then need to make 3 xui.xml window_groups, one for each storage size, and link your different windows from windows.xml in them.

Just take a look at my ui_edits.xml file, that's where all that stuff is deployed from.

The xui.xml window_groups are what you set in the entityclass of a vehicle in the VehicleXuiName xml property, along with and appropriate LootContainer that has the same number of rows and colums in the LootListAlive property.

For example:

Code:
<property name="VehicleXuiName" value="vehicleMediumStorage" />
<property name="LootListAlive" value="190" />
 
Last edited by a moderator:
Updated with the latest patch brand new installation. No other mods installed

Serious FPS drop, went from driving around at 65-70fps and as soon as I hit anything with it, instant drop to 10fps and as low as 0.07fps

Resolution isn't an issue with me, I run 3440x1440 on a 34-Inch Curved Screen (have 3 of these connected to my system due to the programming and systems administration I do as a career)

System Specs are a Beast and I know its not the system, I can run 7D2D with max settings with all other mods pretty without a stutter. All other vehicles in Helicopter seem to be functioning fine with no issues that I have seen. Just seems to be the Loader AKA The Beast

MSI God Like Gaming Motherboard

i7-6950X Extreme Edition CPU

128 GB DDR4 Ram

3 - 1080TI Gaming X Cards

2 - 1TB SSDs

And much more. :p

 
Last edited by a moderator:
Further test, So seems with the Loader, if the Shopping Basket is loaded that is where the lag and FPS is seriously dropping. Without it, It drops to about half sometimes or 25% but playable Also taking off the weapons on it helped a lot too, not sure if they are related.

 
Further test, So seems with the Loader, if the Shopping Basket is loaded that is where the lag and FPS is seriously dropping. Without it, It drops to about half sometimes or 25% but playable Also taking off the weapons on it helped a lot too, not sure if they are related.
Thanks for the feedback FastBurst.

I also noticed that the Loader had serious FPS issues when it's destroying objects. It's really not as bad in SP.

I will have to look into that...

Do you also have FPS issues with other vehicles? They destroy less stuff, so it should be better.

The weapons and the camera controls are currently separate Unity MonoBehaviours that have their own Update function, so it's very possible that this adds additional overhead.

I only started looking at multi yesterday, so I haven't been able to properly compare all those details yet, and I'm not yet very experienced with making mods that work for multi.

I might try to bring all the sub-systems back to the main vehicle update function, so that there is only 1 update per vehicle...

There might also be optimizations that can be done on the destroy system. It's currently a huge set of if-else conditions to be able to select what gets destroyed through xml properties.

EDIT:

It could also be due to the fact that I don't yet totally understand the role of the server versus the clients.

So I don't yet know which pieces of code should only be called on clients...

 
Last edited by a moderator:
There's definitely a problem with harvesting to storage, and it seems to be what causes the big FPS drop.

The FPS drop is the same in SP and multi, I had not noticed that yet.

On my side, in a SP game, I get the opposite of what you mentioned. If I remove the basket from the loader, I now go back to normal FPS when destroying.

When the basket is there, it drops like crazy.

That could be related to my new custom storage system, I'll dig further to try to find the source of the problem...

Thanks a lot for reporting this and giving me some details on what you get and in which context!

 
Last edited by a moderator:
Back
Top