Phone mod (beta version)
Please report bugs. Please post your ideas as well.
Updated 27.06.2024 List below
Thanks to:
@Artem.1.9.9.6 — lots of help, rendering stuff, bugfixes
@KaiQ — models
@Kaoru Tanamachi @DimoP5KR @KahnMan — testing, finding bugs, ideas
Activated by entering PPP as a cheat code or by pressing a button. Scroll subscribers with
mouse wheel, left-click to dial, right-click to close the phone.
Button activation is disabled by default — you can activate it in ini. And you can change
the activation cheat code there as well.
This mod uses Motorola MicroTac model — it fits the lore of the game perfectly.
So far you can call:
- Taxi. This is my adapted and stripped Taxi mod Works the same, just deleted the "Hail taxi" part.
- Homies. Four homies will come in Greenwood. They will not be added to yourgroup. They'll just hang around and attack all other gangs except Triads and VLA. They will also kill drug dealers and they will attack anyone who damaged CJ. Homies are armed with weapons that are set by the game or modified by mods (check priority in modloader). So, three of them will carry a set weapon and the fourth one is melee-only. You can make them kill a char — just target someone and hit ~ key (the one right under ESC key). This function will still work if you "hire" them to join your group.
- Cops. Two nasty ones. One with shotgun. Will shoot all dealers, criminals and gangs on sight (including GSF). Bug: will sometimes shoot other cops. This script is so-so. Might have some behavior glitches.
- Medics. An ambulance will come and the medics will will search the area for 15 seconds forkilled peds. If you kill one of them — the remaining one will stop reviving a ped (if he is doing that) and rush to revive his collegue. Search timer will be reset and after 15 seconds they willget into a car and drive away.
- Fire Department (SAFD). Turned out to be too hard to add custom behavior, so this is totally game-controlled. A firetruck will (hopefully) come and put out fires.
- Pizza. A courier will come and give you a pizza. After CJ finished eating it you can paythe courier or fight him. Warning — there is a high chance that he knows martial arts.
- Road Assistance. A mechanic will come and fix your car. He will fix burst tyres ($100 each) and engine ($500). Engine(vehicle) will be fixed up to 600 hitpoints, only if it has less than 550. No full restoration. Works only on cars and bikes. Don't use it on trucks if you have a trailer attached!
Only the phone itself remains in memory. All subscriber scripts are loaded when called
and terminated when finished — when everyone is killed or CJ leaves the script area.
Updates:
27.06.2024
Mod updated to v2.
- Phone model is now rendered using CLEO+ (Thanks ArtemQA)
- A lot of internal code changes and bugfixes to the main part of the mod (the phone itself).
- Now you can add your own .s scripts. Guide is in readme file.
- You can change the text and voice lines of existing scripts in voice_lines.ini file.
- You can change the sound files of existing scripts.
- Changed and fixed a lot of stuff in Road Assistance script.
- Skip call by pressing spacebar.
18.06.2024
- Phone.ini file
MinDistance=125.0
MaxDistance=175.0
These two params set the minimum and maximum distance for car to spawn (any car — homies, dealer, whatever).
Set it to whatever suits you. Note. As I said before — at certain locations (like Groove St.) the car
spawns on the highway and it doesn't have enough time and range to get to the player.
WaitTime=45000
How long to wait for the car to arrive, if the car wouldn't get to player in this time the script will reset.
This kinda helps with situation above — gives the car more time to reach the player. Value is set in ms.
45000 ms = 45 seconds.
ResetRange=300.0
While driving to player the car may exceed
this range and the script will be stopped. Again — solves the problem if the car has to drive a long route to the
player.
Most important one:
Weapon dealer.
added weapons.ini file
added sell menu
added option to add 10 custom weapons to buy menu
custom weapons could be sold too
you can now change name, price and clip size of any weapon that dealer sells
Adding weapons.
At the end of weapons.ini there is a section //Custom weapons
Start with the line:
IHaveCustomWeapons=1
Obvious. If you have them and want to add them — set to 1.
There is an example weapon Skateboard.
Custom0=70 In this line we use weapon id.
Here we add all other info about the weapon:
//Custom0
70=Skateboard weapon name
70Prc=1000 price
70Clp=99999 clip size
70Mdl=12400 model id
Clip size is the amount of bullets that you get with one purchase.
Like pistol: 22Clp=17 This means you will buy or sell 17 bullets at a time.
Setting clip size to 99999 is just to avoid any numbers on the HUD.
fast and easy
-
phone-mod-2_1719446001_432919.rarDownload (2.37 MB)Password: libertycity