Rotating Grenade Drops *SSM

Ask questions, discuss ideas, get answers
Post Reply
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Rotating Grenade Drops *SSM

Post by tekk »

I am trying to create the rotating grenade drop as seen in DCX Paintball , this would be for stalingrad Coop server that I am managing and this would make it more intersting I think. I thought of the rotating paradrop and just adding grenades to the radarbun like this ....

OS.con

Code: Select all

rem -----------------------------------------------------
rem --- Rotating Grenade Drops --------------------------
rem -----------------------------------------------------

Object.create radarbun_M1
Object.absolutePosition 535.6/50/326.81
Object.rotation 0/0/1.52588e-005
OST.con

Code: Select all

rem -----------------------------------------------------
rem --- Rotating Grenade Drop Code ----------------------
rem -----------------------------------------------------

ObjectTemplate.Active radarbun_tower_M1
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 5/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 10/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 15/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 20/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 25/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 30/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 35/0/0
ObjectTemplate.addTemplate GrenadeAllies
ObjectTemplate.setPosition 40/0/0
Well that code is not working, then I got thinking that maybe its because there is no code there to tell when the grenades should spawn there or how many. So this code is fubar and I cant think of a solution , I know this could work its just getting pointed in the correct direction, any suggestions ?
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
User avatar
fo0k
Posts: 1434
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Rotating Grenade Drops *SSM

Post by fo0k »

I've not seen the rotating grenade drop.. What is it exactly?
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

you would need to addtemplate a ObjectSpawner that put out the grenades, however its not possible to spawn projectiles ssm. i dont remember if it just dont work or if they spawn but you cant see them.

try and see what happens :)
Jeronimo
Posts: 196
Joined: Sun Dec 27, 2009 8:55 pm
Location: Germany
Contact:

Re: Rotating Grenade Drops *SSM

Post by Jeronimo »

Only ssm, or wasn't spawning projectiles even impossible at all? :?
The "GrenadeAllies" is a HandFireArms template btw, the projectile to use would be "GrenadeAlliesProjectile".
Image
tekk
Posts: 171
Joined: Fri Dec 11, 2009 6:12 pm

Re: Rotating Grenade Drops *SSM

Post by tekk »

Ya I tried it with a spawner attached and then tried again and a few other ways too but neither works , after more searching I did find out that projectiles cannot be spawned SS , sad cause that would have been a fun code, maybe something I will try with a custom map.

And fook , on DCX Paintball they have rotating grenade drops that cover the playing field, keeps you moving as if you stay in the same spot a nade will kill you, very fun and challenging . Thanks thou fellas.
Nodbrother- "getting whiped every single game by some over-active 9 year old kid with too much spare time and a reaction time that is a third of yours."
Post Reply