Project Zomboid

Project Zomboid

Custom Starting Vehicle Trait
127 kommentarer
Panopticon  [ophavsmand] 27. jan. kl. 15:26 
No, this is not compatible with B42
☩ Renaud de Chatillon ☩ 27. jan. kl. 14:20 
Is it compatible with B42 ?
Panopticon  [ophavsmand] 17. jan. kl. 1:16 
Been half a year, but once I'm situated, I'll finish adding what needs to be done.
Panopticon  [ophavsmand] 16. sep. 2024 kl. 18:56 
@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 kl. 16:59 
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 kl. 10:26 
Alright,thanks
Panopticon  [ophavsmand] 4. sep. 2024 kl. 10:04 
@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 kl. 3:46 
Ok but how do I check a modded car ID?
Cuz idk what is the ID of the Satsuma car mod
Panopticon  [ophavsmand] 3. sep. 2024 kl. 17:07 
@marianogamer3332
Make sure the ID is correct and contains the correct package. It is usually "Base."
marianogamer3332 3. sep. 2024 kl. 15:20 
How does the mod work?
I am trying to spawn with a Satsuma but its not working
yashoku.shade 3. sep. 2024 kl. 9:51 
@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 kl. 21:42 
@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 kl. 18:56 
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  [ophavsmand] 31. aug. 2024 kl. 17:23 
@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 kl. 17:08 
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 kl. 14:11 
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  [ophavsmand] 24. maj 2024 kl. 17:38 
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. maj 2024 kl. 0:35 
Alright later will upload and then send here, thanks
Panopticon  [ophavsmand] 21. maj 2024 kl. 20:29 
@BlackWater821
Could you show me that error with your DebugLog.txt and DebugLog-server.txt?
Panopticon  [ophavsmand] 20. maj 2024 kl. 21:35 
@BlackWater821
They both spawn vehicles and use the same code. They do not have good compatibility.
BlackWater821 20. maj 2024 kl. 21:27 
And all testing was done in fresh world
BlackWater821 20. maj 2024 kl. 21:26 
i thought it suppose to work along together ? Thanks for answering )))
Panopticon  [ophavsmand] 20. maj 2024 kl. 21:13 
@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. maj 2024 kl. 20:36 
i'm using "Outside Spawn Points & Insertions" as spawn location
BlackWater821 20. maj 2024 kl. 20:25 
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  [ophavsmand] 20. maj 2024 kl. 18:52 
@BlackWater821
Yes, they should work separately.
BlackWater821 20. maj 2024 kl. 18:32 
Can i blank the vehicle type and then enable the "surprise me" option ?
Marceli. 20. mar. 2024 kl. 4:29 
I tried with modded car ( Isuzu from KI5) and still doesnt work
Panopticon  [ophavsmand] 18. mar. 2024 kl. 23:37 
@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 kl. 10:48 
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 kl. 12:37 
thanks lol
Panopticon  [ophavsmand] 13. mar. 2024 kl. 20:38 
@anarko_1
Read the second paragraph and click the links.
anarko_1 13. mar. 2024 kl. 15:20 
how do i spawn outside
Panopticon  [ophavsmand] 4. mar. 2024 kl. 14:36 
@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 kl. 20:12 
Is it at all possible when spawned in a house
⋞⟐KabaliteKing⟐⋟ 13. feb. 2024 kl. 10:22 
@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  [ophavsmand] 13. feb. 2024 kl. 8:01 
@|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 kl. 6:45 
It doenst appear on my server sandbox configurations...do i need to do something serverside or change a configuration somewhere?
Panopticon  [ophavsmand] 3. feb. 2024 kl. 9:35 
@Kai Tzu
Likely, yes.
? 3. feb. 2024 kl. 1:14 
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  [ophavsmand] 2. feb. 2024 kl. 12:12 
@Амфетоминов Мефродий
What part isn't working? Is the car not spawning? Does the game crash?
♥♥♥♥♥) 2. feb. 2024 kl. 12:02 
It's doesn't wotk in MP. I'm test this without other mods, only CSVT and Outside spawns
ELRé 10. dec. 2023 kl. 3:44 
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 kl. 3:21 
Im gonna try singleplayer. I only tried with and without mods on MP
Panopticon  [ophavsmand] 9. dec. 2023 kl. 11:49 
@ELRé
Have you tested this without other mods? Singeplayer or multiplayer?
ELRé 9. dec. 2023 kl. 11:03 
It doesn't work for me. Whatever I do, it just won't show in the traits.
Panopticon  [ophavsmand] 20. nov. 2023 kl. 11:44 
@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 kl. 11:35 
hard to see colors with no eyes