|
 |
|
|
|
|
|
Attention:
|
The Mod Showroom is only for posting previews/downloads of completed or near finished mods. All help topics should be posted in the Editing Discussion forums. Help topics and mod requests posted here will be locked or binned. Thank you.
|
|
GTAGarage.com : Free mod hosting, attach your files and screenshots to your topics
GTAModding.com : A wiki for everything related to GTA modding, including documentation and tutorials
|
Bank Account store money at ATMs, earn interest
 |
|
 |
| |
AngryAmoeba  |
Posted: Saturday, Sep 15 2012, 04:32
|
Symbiont

Group: Members
Joined: Jan 12, 2009


|
If you can narrow down where the unsupported ATMs are, I'll add them immediately. I've added every ATM that I've found, but I knew I probably missed some, especially in Alderney. Thanks for the report!
I agree that the vanilla ATM screen is a big blemish for the mod. I always just ignored it, since you can check your balance by pressing B, but I understand your idea and I like it. I'm just not sure how to perfectly detect when the vanilla ATM screen is displayed. I could check for a nearby ATM every time E is pressed, but it might trigger when you pick up an object or whistle for a taxi near an ATM, for instance.
Another problem is that the starting and ending animations are never perfectly aligned with the ATM. Usually, your hand clips through the ATM. I know there's a way to fix this, but never figured it out.
@ch3y3zze: Previously, it was indeed possible to add ATM locations to the code by yourself. Unfortunately, now the script is compiled into a DLL file, which can't be directly edited in Notepad. You can decompile it, but I've never tried that so I don't know how easy it is.
This post has been edited by AngryAmoeba on Saturday, Sep 15 2012, 04:34
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
ch3y3zze  |
Posted: Saturday, Sep 15 2012, 04:37
|
ni**erKILLER

Group: BUSTED!
Joined: Aug 30, 2012


|
yeah download ILSpy and add scripthookdotnet to it then all .net scripts will be open source for u ;D
if u really want to protect your source u need to obfuscate, compiling isnt enough
AngryAmoeba, for clipping u can get appropriate offset from atm vector3 and control distance u can access atm, perhaps if too close, u remove control from player and task them to go where ur offset is, face the correct heading and then play animation, u can loop these instructions and dont move to next instruction until a condition is satisfied, if u need help let me know ;D
This post has been edited by ch3y3zze on Saturday, Sep 15 2012, 04:43
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
AngryAmoeba  |
Posted: Saturday, Sep 15 2012, 20:55
|
Symbiont

Group: Members
Joined: Jan 12, 2009


|
No need for me to obfuscate, since I'm not trying to keep the code secret. This script is compiled only because it has multiple .CS source files.
Thanks for the suggestion, though it's pretty much what I've already tried to do. Right now when the player starts a transaction, I make them turn toward the proper heading, looping if necessary (can't loop until the heading is exact, though, because sometimes it's just not possible and the loop continues forever). I tried making the player walk to the correct Vector3, but that wasn't precise — the task seemed to end once he was just near the correct position. I'll revisit this and see if I can do better.
|
|
|
|
|
 |
|
 |
 |
|
 |
| |
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
Pages:
(3) 1 [2] 3
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
| |
 |
|
 |
|
|
|
|