Page 1 of 1

Rotating Grenade Drops *SSM

Posted: Sat Oct 09, 2010 7:06 pm
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 ?

Re: Rotating Grenade Drops *SSM

Posted: Sun Oct 10, 2010 12:45 am
by fo0k
I've not seen the rotating grenade drop.. What is it exactly?

Posted: Sun Oct 10, 2010 10:00 am
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 :)

Re: Rotating Grenade Drops *SSM

Posted: Sun Oct 10, 2010 11:55 am
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".

Re: Rotating Grenade Drops *SSM

Posted: Sun Oct 10, 2010 2:47 pm
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.