Home   Help Search Login Register  

Author Topic: Clay pigeons!!!!!  (Read 3522 times)

0 Members and 1 Guest are viewing this topic.

REEDKILLER

  • Guest
Clay pigeons!!!!!
« on: 24 Jun 2003, 01:03:27 »
could someone be botherd to make a clay pigeon and a script to launch them?

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #1 on: 24 Dec 2003, 13:19:47 »
Hmm.. Object would take a few minutes to make, and the script should just be a setvelocity and if shot then blow up type thing..
I'll give it a go tonight :)
- Ben

O Neil

  • Guest
Re:Clay pigeons!!!!!
« Reply #2 on: 25 Dec 2003, 03:22:32 »
Hey

Lol, awsome shit idea man.

(O'Neil

PS: Hate to bragg . . . I'll see if I can win as many compatitions in ofpec CTS (Clay Target Shooting) as I do in real life ;)  ::)

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Clay pigeons!!!!!
« Reply #3 on: 25 Dec 2003, 08:01:51 »
You can't use setvelocity with objects; you can only use it with vehicles and people (the people can't be touching the ground). So in your cpp, the pigeon should be based on a vehicle, such as jeep or airplane.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Unnamed

  • Guest
Re:Clay pigeons!!!!!
« Reply #4 on: 26 Dec 2003, 01:31:25 »
Use setvelocity on an object, then give it a push with a burst from a rifle.

To launch your clay pigeon you could probably cam create your bullets using a script and some trigonometry.

I think COC's UA uses something similar to launch its artillery rounds? But don't quote me on that.

Panzeh

  • Guest
Re:Clay pigeons!!!!!
« Reply #5 on: 27 Dec 2003, 04:39:07 »
No, in CoC UA, the artillery really does fire, no setvelocity or anything..

Unnamed

  • Guest
Re:Clay pigeons!!!!!
« Reply #6 on: 27 Dec 2003, 10:18:20 »
I've not had chance to look closely, but scanning through the UA scripts and the config, plus some comments posted by the designers.

Made me think it was posible to do that way?

But like I said, I have not looked that close.

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #7 on: 27 Dec 2003, 19:27:56 »
No, just make the clay pigeon a vheicle, locked, then setvelocity it ;)
Thats the best way, I guess..
Anyone want to the coding/config (I could get by doing the config, but it would be a modified one from some other car, and wouldn't be the best)

What about the launcher (The object), would it need one?

- Ben

HuNtA

  • Guest
Re:Clay pigeons!!!!!
« Reply #8 on: 01 Jan 2004, 16:47:05 »
no, it wouldnt, but it would look cool.

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #9 on: 03 Jan 2004, 13:42:59 »
Try two.. Mozilla crashed before I could post this message  ::)

Right, here goes :
Yea, it doesn't need the launcher, you woun't see it anyway..
And it would be more stuff to do.. So I'll not bother :P

One thing/problem.. What happens to the thing when you shoot it?
I would think a script needs to delete the clay pigeon, and make some dust type stuff fall from where it was..?
Not sure

Other thing, what weapon would be used? I don't think a M60 or M16 is used much for clay pigeon shooting...  ::)
Maybe the kolize thing.. but you need to reload after every shot, instead of every 2 shots... Maybe a new config for the kolize?

One last thing, when (/how) would the CP be launched?
The radio? But what about in multiplayer? Whats to stop :
1. some one else firing the CP before the persons ready
2 People shooting each other.. Maybe remove there weapons when its not they're turn?

Any ideas?
- Ben

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Clay pigeons!!!!!
« Reply #10 on: 03 Jan 2004, 20:43:10 »
Quote
Maybe a new config for the kolize?

That sounds good--I've seen many shotguns better than the kozlice. Since you are already making an addon (for the pigeons), you may as well make a better shotgun to complete the set. Or just borrow somebody else's shotgun and add it in (with permission of course).

Quote
One last thing, when (/how) would the CP be launched?
The radio? But what about in multiplayer? Whats to stop :
1. some one else firing the CP before the persons ready

Add actions to the players. Only problem with that is (I think) other players can use your actions if they are close to you.

Quote
2 People shooting each other.. Maybe remove there weapons when its not they're turn?

Use the "cheated" soldiers--soldiers who have unlimited life. They can be found using the resistance object patch somewhere in the editors depot. Or, you could add eventhandlers to the players so that whenever they are hit, their damage gets set to 0, thus making them invincible.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #11 on: 03 Jan 2004, 20:59:22 »
Wanders of to find a new shotgun... :)
Good ideas.. Thanks
Is the invisible person the Superman and Superman (Medic) that appered..
I wondered what they did (They didn't fly :( .. :P)

As for launching them, if 2 or more players launch at the same time (using the addaction thing) what would happen... Would 4 (Two for each person, isn't it?) be launcned?

Anyone intrested in doing the little bit of scripting needed? :)
- Ben

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:Clay pigeons!!!!!
« Reply #12 on: 09 Jan 2004, 00:40:38 »
heres a start, take what u need (gimme some cred tho :P):

features:

 -- randomized x/y/z movement (itll always go in the same general direction though)
 -- car is used as a pigeon
 -- every time u hit the car a hint pops up, also shows total hits
 -- once car stops (hits the ground) it is moved back to initial pos (w/ full health)
 -- action menu is used to launch "pigeon"
 -- w/e else i forgot

http://pablo_m123.tripod.com/ofp/ofpmissions.html
« Last Edit: 10 Jan 2004, 21:32:32 by .pablo. »

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #13 on: 10 Jan 2004, 15:18:17 »
heres a start, take what u need (gimme some cred tho :P):

features:

 -- randomized x/y/z movement (itll always go in the same general direction though)
 -- car is used as a pigeon
 -- every time u hit the car a hint pops up, also shows total hits
 -- once car stops (hits the ground) it is moved back to initial pos (w/ full health)
 -- action menu is used to launch "pigeon"
 -- w/e else i forgot

http://pablo_m123.tripod.com/ofp/Clay_Pigeon.Intro.zip
Credit, of course :)
Sounds good, only thing it that you direct linked to the file, and it looks like tripod won't let me download it..
Could you link it from your main page or somthing (Or email me it?)

Thank you so so much!
I'll be working on the stuff more in a minute
- Ben
Could someone tell me how to convert a picture (GIF/JPEG/TGA) to a texture for O2... ::) I can't seem to manage with TexView...

Lt.Shitkilla

  • Guest
Re:Clay pigeons!!!!!
« Reply #14 on: 10 Jan 2004, 17:32:14 »
on the converting texture thing, are the textures in the supported sizes?

(32x32 64x64 128x128 256x256 512x512 1024x1024 2048x2048)

if they are in these sizes o2/texview should load them no worries.

or if this doesn't work, sometimes o2 can convert gif and tga files to paa files for you, although i prefer good ol' texview
« Last Edit: 10 Jan 2004, 17:34:37 by Lt. Shitkilla »

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #15 on: 10 Jan 2004, 21:21:39 »
Oh, right... I'll try that...
Thanks for your help :)
- Ben

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:Clay pigeons!!!!!
« Reply #16 on: 10 Jan 2004, 21:32:15 »
« Last Edit: 10 Jan 2004, 21:32:59 by .pablo. »

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #17 on: 10 Jan 2004, 22:47:11 »
Thank you!!!!!
I've not played it yet, but I had a quick glance at the code, looks good :)

Its getting near finished, the clay pigeon is! Just need to make it look less flay (The texture it just plain orange)..
Then the config!
And done, pretty much!
Oh and the weapon.. Working on that next.. :)

Thank you so so much, again!
- Ben

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:Clay pigeons!!!!!
« Reply #18 on: 11 Jan 2004, 01:16:00 »
well, i had trouble hitting a car, so something the size of my hand seems next to impossible...

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #19 on: 14 Jan 2004, 20:39:23 »
Hmm.. I agree...
First thing I'll do, is make the clay pigeon bigger (Not too big)..
And then I'll try and modify the script so its slower..
And make the shotgun (When I start..) more accurate/longer range..

- Ben
BTW, I tried with a sniper, and a machine gun :P A bit easier..
Hmm, theres an idea, an unreal version.. Machine guns, rocket lauchers (Tracking?) ...Hmmmm...:P
BTW2, there is a bug, I think.. I can shot the car on the ground and get points... It won't be the same for the CP, as its small/a bit a way..
That brings up an other prob.. How do I get the players to stay put, not stand next to the pigeon? A fence.. But people'll get though... How about something like 4 triggers outside (To cover the ground around it), so when a unit gets in to the trigger, it calls a script that puts them back to the start place...
BTW3 ( ::) ), how could I go an infinite ammo crate, so when someone takes some ammo, the box gets topped up? Don't want to run out, now.. :P

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:Clay pigeons!!!!!
« Reply #20 on: 15 Jan 2004, 00:58:55 »
where do you want the players to be?  ex: directly forward/behind/left/right of the car, off to an angle (forward and to the left, etc)

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #21 on: 15 Jan 2004, 14:57:30 »
Out to the left, and back a bit.. I think
- Ben

Offline .pablo.

  • Former Staff
  • ****
  • When in doubt, empty the magazine.
Re:Clay pigeons!!!!!
« Reply #22 on: 15 Jan 2004, 17:29:22 »
updated the mission:

 -- use the radio to get w/e gun u want (mguns, sniper rifles, rocket launchers)
 -- if u run outta ammo, just use the radio to get the same gun again
 -- once u get a gun from the radio, u need to hit the space bar before it will work (ofp issue)
 -- the player is restricted to an area behind and to the left of the car
 -- hits will only register if the car is in the air (above 5 meters)

here's the link again:
http://pablo_m123.tripod.com/ofp/ofpmissions.html

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #23 on: 16 Jan 2004, 21:13:13 »
THANKS!!
I'll try it in a minute! :D
Could someone help me with the CPP file.. I've had a go, but it just closes the game (to desktop) when I add the object in, and preview the mission..
Also, what LOD's do I need (Memory, Geomerty ect, not 0.00, 1.00 etc)..

I'll check the LODs, but I'm stuck with the config file..
Could someone throw one togheter..
It needs to be configed as a car so the setvelocity works.. But apart from that, just the stuff OFP needs to not crash ;)

Once again.. THANKS!!
- Ben

HuNtA

  • Guest
Re:Clay pigeons!!!!!
« Reply #24 on: 16 Jan 2004, 22:36:12 »
Y not use a red barrel instead of a car?

If U set it with a low enuff health itll blow up in mid air :D

HuNtA

  • Guest
Re:Clay pigeons!!!!!
« Reply #25 on: 19 Jan 2004, 17:33:00 »
BTW, ive made a clay pigeon shot gun to use with this. If U want it email me at huntadude@hotmail.com and dont forget to put:
clay pigeon shottie in the title.

I may also be modding this script for MP and makin it into a tournament (if anybody wants to help, email same address above with:
clay pigeon tourney help)

Offline wired

  • Members
  • *
  • Explosion Scripter for the [unsung] mod!!!
Re:Clay pigeons!!!!!
« Reply #26 on: 20 Jan 2004, 21:13:28 »
Quote
well, i had trouble hitting a car, so something the size of my hand seems next to impossible...
lol! u think thats bad....i couldn't hit a bus!
We have a problem at 'Oscar-Charlie 2-7' do you read me? Well its that guy with the RPG!

HuNtA

  • Guest
Re:Clay pigeons!!!!!
« Reply #27 on: 21 Jan 2004, 21:51:48 »
lol, heres the most fun way.

Put it so youve got the car at 45 degrees 2 you and your really close to it. then try to hit it jus after its launched. Its a blast and alot easier

DBR_ONIX

  • Guest
Re:Clay pigeons!!!!!
« Reply #28 on: 22 Jan 2004, 20:29:53 »
Just throw the car ( ::) ) once, to see rougtly where the car lands, use the weapon sights (The thing the v button does..) and aim there.. Then aim below the car (I think, or just try to aim at the bottom of the car)..
I managed to hit it twice in one go..

An other idea for the script..
Problem : When you hit the car the first time, say once, your total is one.. You know you've hit the car once..
But when you throw the car again, and hit it twice, the total is 3.. But it can be hard to work out how many times you hit the car in one go.. After you been mucking around for a while..
Could you do something like : When you hit the car, a "prevoius hits" shows up in the Hint thing, when the car gets reset, the previous hits gets added to a total hits line in the Hint..
When you launch the car the next time, Previous hits gets wiped to 0, ready to count this launch's hits..

So the hint the first time looks like :
Your hits the last though it : 0
Your total hits are : 0

Then after the first launch, and one hit :
Your hits the last though it : 1
Your total hits are : 1

After a few trys
Your hits the last though it : 2
Your total hits are : 15

You understand?

Thanks for all the feed back :)
And biiig thanks to pablo!
- Ben
BTW, I'm not sure about the fence around the player.. It kinda gets in the way.. If you see what I mean?
It can block you view, sometimes...
What about using the sandbag wall? its a lot lower.. I don't think you can run though it either..?