OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Blanco on 09 Jan 2004, 23:27:21
-
Hi,
- This script will NOT repair your vehicle completely.
- When your car cant move anymore (checked with canmove command) the player got two options via addaction :
"Grab your tools & repair"
&
"Get out"
When you choose the first option the driver disembark automaticly and starts repairing his vehicle until it's driveable again. This does not mean your car's dammage is 0 at the end,
actualy it's more a "change-a-flat-tire" simulation
When you choose "Get out" you're free to enter another vehicle, the script will follow you and check the new vehicle, but you can always enter the dammaged car again and repair it.
How to use :
- Simply copy the repair-folder in the testmission in your own mission folder + the init.sqs. There's no need to name cars.
Bugs:
Yes, I found two , but they will be solved in the next version.
- When your car is turned upside down, the repairing doesn't stop. I solve this simply with a new action "Quit repairing"
- The script checks EVERY vehicle you enter, also vehicles without wheels... but I need a trigger to fix that( (I think)...something with "car" counttype list triggername == 1
I still don't have webspace :'( and attaching it here doesn't work either... ???
I uploaded the testmission in my Yahoo! briefcase :
http://au.f2.pg.briefcase.yahoo.com/
To access the files you need a PW & ID
ID : ftielemans
PW : dey8p7
It's in the folder NEW
Zip is called repair.Abel.zip (2kb) No addons needed.
Please reply 4 suggestions or other bugs
-
Are you GoldMember?
Register at www.tacticalblunder.com/~uploads
or if you want, I can host your files, just e-mail me and if you want a special web page with download link and information, tell me that you want a web page then tell me the information you want on the page, then attatch the file to the email. If it's bigger than 50KB include how big it is and I'll give you an alternate way to contact me to send the file.
-
you coulda just pm'ed him that info
"Grab your tools & repair"
&
"Get out"
you should add a "kick tire" option, with animation ;D
-
No, I'm not Goldmember, But he've used my briefcase for his GMR-mod.
r1c0cH3T, thx. There's already someone who made a special page for me, but he's busy for the moment.
I will remember your offer.
But is it normal I can't attach a 2kb zip here?
Anyways... An update (1.1) of my Repair script is uploaded, same site,same ID, same PW, same location, but a different name (Repair.Abel1.1.zip)
FIXED :
- Now you can only repair cars or trucks
- When your car turns upside down, your vehicle is irreparable
You need 1 trigger, rectangle, dimensions 4*3, named carlist activated by ANYBODY (place him in open sea)
+ the scripts in the repair-folder, dirtoobj.sqf & init.sqs (or the contents)
@Pablo
No problem, exept the animation...