Page 1 of 1
Distance to enter the vehicle(LUA string)
Posted: Sun Jan 21, 2018 10:12 am
by DolphinFox
I need to find a line of code that is responsible for the distance to the vehicle entrance. Somebody can tell which configuration files contain this line and how it is better to integrate it into the mod?
Re: Distance to enter the vehicle(LUA string)
Posted: Sun Jan 21, 2018 11:03 am
by eradicator
Making an educated guess: The prototype definition doesn't seem to have anything related to that, so it is very likely to be a hardcoded distance to the outer edges of the vehicles collision box. If you need custom logic you can try linking a custom hotkey to the enter-vehicle key and the scan for vehicles in the vicinity yourself at a distance of your liking.
Re: Distance to enter the vehicle(LUA string)
Posted: Sun Jan 21, 2018 11:09 am
by DolphinFox
I need the parameter itself, which is responsible for the distance to enter the car, how it looks and where to find it
Re: Distance to enter the vehicle(LUA string)
Posted: Sun Jan 21, 2018 5:26 pm
by DaveMcW
It is embedded in the source code, only hacking the EXE can change it. Hence the suggestion to make a different hotkey with custom logic.
Or you could ask nicely in
Modding interface requests.
Re: Distance to enter the vehicle(LUA string)
Posted: Sun Jan 21, 2018 5:58 pm
by DolphinFox
Ok, i understand