OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Resources Beta Testing & Submission => Topic started by: Merc on 17 Jan 2005, 18:53:51

Title: Throwing Objects
Post by: Merc on 17 Jan 2005, 18:53:51
I posted my first script (it is still pending) a few days ago and I would like some feedback on how good it is.

Brief Description:
This script lets you "switch" one thing for another. In the demo mission it "switches" a Hand Grenade for a Laser Guided Bomb. But with simply changing 2 things, you could "switch" a M203 grenade for a tank shell. You can do a lot with this script.

I would like to know ways to make this script better.

(I once threw a M1Abrams  ;D)
Title: Re:Throwing Objects
Post by: Merc on 17 Jan 2005, 19:36:35
I don't think the script uploaded so I will send it again.
Title: Re:Throwing Objects
Post by: Merc on 17 Jan 2005, 19:37:38
Will someone reply to tell me if the file uploaded?
Title: Re:Throwing Objects
Post by: Merc on 17 Jan 2005, 19:38:08
Nevermind it uploaded.
Title: Re:Throwing Objects
Post by: greg147 on 17 Jan 2005, 20:08:33
I'll test it for ya in an hour. Stuff to do till then. I'll get back to you  ;)
Title: Re:Throwing Objects
Post by: Dubieman on 17 Jan 2005, 22:22:07
LMAO ;D

Very fun script. I didn't see many problems, just I woulda liked to find the names of more items.

I found that armor and ppl when thrown get little if any air. Ppl don't go anywhere and are without brains.  :P

Cars/trucks are fun to throw. :)
Throwing sabot shells and such is fun too, and I've actually found soething probably worthy of a mission.

Throw the AT3 or AT6 rocket. Damn that is fun, I sparred off with some T72s in Houdan. Wow, what destruction, what fun. Good script. ;)
Title: Re:Throwing Objects
Post by: penguinman on 17 Jan 2005, 23:14:58
somthing is wrong for me,

it says can not  load mission, missing addons seb remington
Title: Re:Throwing Objects
Post by: RujiK on 17 Jan 2005, 23:16:17
Is this script on OFPEC?
Title: Re:Throwing Objects
Post by: Triggerhappy on 18 Jan 2005, 01:20:04
@rujik
yeah, in the pending scripts

@GRK
you could probably use this script to simulate and IED (improvised explosive device) as well
Title: Re:Throwing Objects
Post by: Merc on 18 Jan 2005, 02:25:32
@anyone that said they liked my script
Thanks.

@penguinman
Maybe this version of the script will work. I took out the addon.
Title: Re:Throwing Objects
Post by: penguinman on 18 Jan 2005, 04:33:53
wow, very funny :)

but what use would this have other than a good laugh.
Title: Re:Throwing Objects
Post by: greg147 on 18 Jan 2005, 18:31:00
Funny, real funny  ;)
Title: Re:Throwing Objects
Post by: Dubieman on 18 Jan 2005, 20:43:15
Lol, had so much fun with the rockets I forgot the addon error. It was already a sqm so I just edited out the addon. :P

@ for use, I like TriggerHappy's idea of IEDs. Something like a satchel charge that goes on contact or explodes when you hit the "fire"/"throw" button again. :)
Title: Re:Throwing Objects
Post by: Merc on 20 Jan 2005, 01:42:03
I am happy lots of people liked my script.  ;D

There is a problem with my script.  :'(
It won't throw satchal charges. They just hover in midair. I think I know a way to solve this so I will work on it to try to make it work.
Title: Re:Throwing Objects
Post by: Dubieman on 20 Jan 2005, 04:38:12
Setvelocity it maybe, or replace it with a moving object that looks like it and when it lands make it camcreate a satchel. :P
Title: Re:Throwing Objects
Post by: Merc on 21 Jan 2005, 20:16:44
My solution failed.

@Gulityroachkillar
setvelocity won't work, I tried. What object looks like a satchel but is not a satchel?
Title: Re:Throwing Objects
Post by: Dubieman on 21 Jan 2005, 20:51:02
Err, just a suggestion, cause ppl have used smoke grenades that don't smoke to simulate time fuse grenades. So no more explode on contact, but I've got no idea what looks like a satchel or how to mess with it other than setpos. :P
Title: Re:Throwing Objects
Post by: Serial Killer on 21 Jan 2005, 21:16:45
This script wont work on my OFP, there is something wrong..
Title: Re:Throwing Objects
Post by: Dubieman on 21 Jan 2005, 21:33:03
Might depend on your version. Certain commands are introduced in diff versions. :P
Title: Re:Throwing Objects
Post by: BronzeEagle on 24 Jan 2005, 15:54:13
this would be good if you're a super hero.  you could throw stuff.