Project Zomboid

Project Zomboid

Custom Starting Vehicle Trait
127 Comments
Panopticon  [author] 27 Jan @ 3:26pm 
No, this is not compatible with B42
☩ Renaud de Chatillon ☩ 27 Jan @ 2:20pm 
Is it compatible with B42 ?
Panopticon  [author] 17 Jan @ 1:16am 
Been half a year, but once I'm situated, I'll finish adding what needs to be done.
Panopticon  [author] 16 Sep, 2024 @ 6:56pm 
@yashoku.shade
I don't have an ETA, because my priorities have changed. There are likely people in the discord server that would be able to take a look at the code and upload a quick update.
yashoku.shade 16 Sep, 2024 @ 4:59pm 
I've tried adding a second vehicle to the code but its not working for me. What would be your eta to update the mod with the second choice? (for trailers)
marianogamer3332 4 Sep, 2024 @ 10:26am 
Alright,thanks
Panopticon  [author] 4 Sep, 2024 @ 10:04am 
@marianogamer3332
you need to check the mod files if the mod doesn't mention it. You can also try "Base.Satsuma" on a whim to see if it'll work
marianogamer3332 4 Sep, 2024 @ 3:46am 
Ok but how do I check a modded car ID?
Cuz idk what is the ID of the Satsuma car mod
Panopticon  [author] 3 Sep, 2024 @ 5:07pm 
@marianogamer3332
Make sure the ID is correct and contains the correct package. It is usually "Base."
marianogamer3332 3 Sep, 2024 @ 3:20pm 
How does the mod work?
I am trying to spawn with a Satsuma but its not working
yashoku.shade 3 Sep, 2024 @ 9:51am 
@wodsde, There is already a mod where you parachute in. Sure, you're not beside a helicopter, but in your head you could always think the helicopter has crashed 100 squares away.
yashoku.shade 2 Sep, 2024 @ 9:42pm 
@Panopticon I did try myself but I couldn't get it to work. Not LUA fluent yet. I can wait and the 4pts for a trailer or second car/ bike sounds reasonable. I look forward to the future update.
wodsde 2 Sep, 2024 @ 6:56pm 
could you make a version which spawns you in the woods with a crashed helicopter? from the extended helicopter events? or atleast add the IDs for the wrecks, id be willing to donate a few tf2 keys as a thanks if do you make it
Panopticon  [author] 31 Aug, 2024 @ 5:23pm 
@yashoku.shade
I could add another trait for spawning a trailer for another 4 points, which would work the exact same as the first. You could spawn 2 cars if you really wanted to.

I'm not able to implement and test it at the moment, but it should be easy enough to pick up for anyone.
yashoku.shade 31 Aug, 2024 @ 5:08pm 
I just started a game with this mod. I did initially try to load up a Unimog and add the trailer to it, but sadly I can't use .. or + in LUA code to add a trailer to the Unimog iteself. (Also loaded the mod Unimog trailer interior so I could use it as a camp / military crate trailer.

Is there a way to add a trailer line? In Monkey's code for Peterbuilt, you can have the base for 2 pts and base+trailer for 6pts. I guess there are 2 ways to go about it. Take the monkey code and change the Peterbuilt to a Unimog and trailer by going into the LUA code. OR take your code and duplicate some stuff to add a second vehicle to the sandbox settings so that people can spawn in with a car AND a camp trailer? My knowledge of LUA at this point is kindergarten level
wodsde 13 Aug, 2024 @ 2:11pm 
my god im so dumb. i spent 30 mins looking for the code for the custom car i wanted and it was in your list the whole time lol
Panopticon  [author] 24 May, 2024 @ 5:38pm 
The error that is happening is this:

function: sendServerSpawnCommand -- file: CustomVehicleStartClient.lua line # 20 | MOD: Custom Starting Vehicle Trait.
[22-05-24 15:56:28.861] LOG : General , 1716364588861> 417,133,511> -------------------------------------------------------------
attempted index: clientVehicleArgs of non-table: null.

It means that it either cannot find the name of the vehicle you're trying to spawn (which should not be happening with Surprise Me) or it cannot find the table of vehicles to randomly choose a vehicle from. I don't have the means to test, fix, and update this mod anymore, so I am not able to help any further.
BlackWater821 22 May, 2024 @ 12:35am 
Alright later will upload and then send here, thanks
Panopticon  [author] 21 May, 2024 @ 8:29pm 
@BlackWater821
Could you show me that error with your DebugLog.txt and DebugLog-server.txt?
Panopticon  [author] 20 May, 2024 @ 9:35pm 
@BlackWater821
They both spawn vehicles and use the same code. They do not have good compatibility.
BlackWater821 20 May, 2024 @ 9:27pm 
And all testing was done in fresh world
BlackWater821 20 May, 2024 @ 9:26pm 
i thought it suppose to work along together ? Thanks for answering )))
Panopticon  [author] 20 May, 2024 @ 9:13pm 
@BlackWater821
I do not think so. They should not be used together, so pick one trait or the other. The traits currently don't work when you respawn, they require a new game.
BlackWater821 20 May, 2024 @ 8:36pm 
i'm using "Outside Spawn Points & Insertions" as spawn location
BlackWater821 20 May, 2024 @ 8:25pm 
Another questions, is this mod working fine with your "Insurgent - Airdropped LUV Add-on" ?
First tried as insurgent, pick airdropped LUV trait, key and vehicle spawned nearby. Second and third tried, pick random occupations and car trait, no key or vehicle when spawn.

I'm testing in MP, setting in sandbox for both mods is same, vehicle type blank, min 100% max 100%, surprise me.
Panopticon  [author] 20 May, 2024 @ 6:52pm 
@BlackWater821
Yes, they should work separately.
BlackWater821 20 May, 2024 @ 6:32pm 
Can i blank the vehicle type and then enable the "surprise me" option ?
Marceli. 20 Mar, 2024 @ 4:29am 
I tried with modded car ( Isuzu from KI5) and still doesnt work
Panopticon  [author] 18 Mar, 2024 @ 11:37pm 
@Ziemniak
There might be an issue with how it selects vehicle types randomly. Try first with one modded car and set its vehicle type as the one you want to spawn with. If that works, then try Surprise Me at least 5 times to see if there are differing results. If it is always the base pickup, then my code done goofed and it needs fixing.
Marceli. 18 Mar, 2024 @ 10:48am 
I have small problem ig. I've wanted to play with Suprise me option but even if i change Vehicle type on other it still spawns me an Base Pickup. Maybe it's because of my 40 mods with cars ?
anarko_1 14 Mar, 2024 @ 12:37pm 
thanks lol
Panopticon  [author] 13 Mar, 2024 @ 8:38pm 
@anarko_1
Read the second paragraph and click the links.
anarko_1 13 Mar, 2024 @ 3:20pm 
how do i spawn outside
Panopticon  [author] 4 Mar, 2024 @ 2:36pm 
@w00kie_hunt3r
No, it does not do anything if it detects you spawned inside.

@|ASC|Bababoi
Were you able to resolve the issue or find more information?
w00kie_hunt3r 27 Feb, 2024 @ 8:12pm 
Is it at all possible when spawned in a house
⋞⟐KabaliteKing⟐⋟ 13 Feb, 2024 @ 10:22am 
@Panopticon Yes im the host at the moment. Im running other traits mods, however in the panel inside the game where i should see this options as displayed on the images of the mod page, is empty as if the mod isnt enabled.
Panopticon  [author] 13 Feb, 2024 @ 8:01am 
@|ASC|Bababoi
Dedicated server, right? Check if you can see it as a local host instead. If yes, then i need to update the description.
⋞⟐KabaliteKing⟐⋟ 13 Feb, 2024 @ 6:45am 
It doenst appear on my server sandbox configurations...do i need to do something serverside or change a configuration somewhere?
Panopticon  [author] 3 Feb, 2024 @ 9:35am 
@Kai Tzu
Likely, yes.
? 3 Feb, 2024 @ 1:14am 
does it conflict with the deprived trait from the more traits mod? because im not starting with a key but the car spawns perfectly
Panopticon  [author] 2 Feb, 2024 @ 12:12pm 
@Амфетоминов Мефродий
What part isn't working? Is the car not spawning? Does the game crash?
sou si 2 Feb, 2024 @ 12:02pm 
It's doesn't wotk in MP. I'm test this without other mods, only CSVT and Outside spawns
ELRé 10 Dec, 2023 @ 3:44am 
It works in single player but it gives an error as I keep spawning in buildings. I'll look more into MP now..
ELRé 10 Dec, 2023 @ 3:21am 
Im gonna try singleplayer. I only tried with and without mods on MP
Panopticon  [author] 9 Dec, 2023 @ 11:49am 
@ELRé
Have you tested this without other mods? Singeplayer or multiplayer?
ELRé 9 Dec, 2023 @ 11:03am 
It doesn't work for me. Whatever I do, it just won't show in the traits.
Panopticon  [author] 20 Nov, 2023 @ 11:44am 
@soulkingbrook
That's weird as hell, thanks for letting me know. I don't have any idea on how to fix it though, if it is changing on any event.
leave me alone 20 Nov, 2023 @ 11:35am 
hard to see colors with no eyes