Welcome, Guest. Please Login or Register.
09/09/10 at 17:46:07
News:

Pages: 1
Send Topic Print
Death bubble and limit class per team (Read 800 times)
3_stooges_geo
Modder
***


New User!

Posts: 2
Death bubble and limit class per team
04/13/07 at 10:54:39
 
Is it possble to have death bubble for uncappable bases like we had in desert combat?
is there a way to limit the number of a certain class per map?
i would like lost village to have a limit of 2 snipers per team.
Back to top
 
 
Email View Profile   IP Logged
MasterX=DCON=
System Administrator
DCON Staff
Energy Revolutions Research Dept.
*****


Desert Conflict
Coding Dept

Posts: 571
Gender: male
Re: Death bubble and limit class per team
Reply #1 - 04/14/07 at 04:54:14
 
yes just look at bf2's fire effect bundle that decreases your health if you touch it, it has a damager on it, duplicate it, and set the team on it
Back to top
 
 

Ma§†er}{
BKC Squad Leader - Retired
Owner Graebtech Gaming Network
Email View Profile WWW MasterX=DCON= masterxbkc 265028259 brenttg2000   IP Logged
3_stooges_geo
Modder
***


New User!

Posts: 2
Re: Death bubble and limit class per team
Reply #2 - 04/15/07 at 10:35:21
 
ok,thanks,i will look into it.
Back to top
 
 
Email View Profile   IP Logged
Twest
Global Moderator
Modder
*****


Use the TWEST!!!!

Posts: 6
Gender: male
Re: Death bubble and limit class per team
Reply #3 - 04/24/07 at 13:21:42
 
Well i know this sounds funny....but how bout a life bubble instead where anyone in the main base is instantly healed as they are being damaged. It is alot easier then modifying that fire thing, i took a shot at it but couldn't get the height i wanted.
 
For a health bubble i think you can simply replace a spawner with the "health_cabinet" the modify then add the following code to your GPO
 
Code:
**************HEALTH BUBBLE*************
GeometryTemplate.create StaticMesh health_cabinet
CollisionManager.createTemplate health_cabinet

ObjectTemplate.create SupplyObject health_cabinet
ObjectTemplate.collisionMesh health_cabinet
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
ObjectTemplate.geometry health_cabinet
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
[b]ObjectTemplate.radius 0.75 (experiment with this one also until you get the correct size for your area)[/b]
ObjectTemplate.workOnSoldiers 1
[b]ObjectTemplate.workOnVehicles 1 (i changed this to one so soldiers in vehicles will be healed to...but the vehichle probably would blow up so add a repair to the area aswell)[/b]
ObjectTemplate.refillAmmoSpeed 0
[b]ObjectTemplate.healSpeed 9 (experiment with this to see what will instantly heal someone)[/b]
 


 
Hope this helps, i didn't have the time or patience to test this but it should work....i think, maybe some confirmation from MasterX would be what we need  Grin
 
EDIT: sorry forgot that this would change all the medical cabinets.....grrr to bad it doesn't have the hoha_medic like Desert combat, oh well.
Back to top
 
 



View Profile Twest VanTwest   IP Logged
3_stooges_geo
Modder
***


New User!

Posts: 2
Re: Death bubble and limit class per team
Reply #4 - 04/25/07 at 21:49:29
 
sounds good to me.i guess something like that would work,but with vehicles being damaged,dont want someone sitting in main in arty and not being able to be killed for the entire round.
it would be nice if there was a way to make you invincible in main for 5 seconds after you spawn,that gives plenty of time to get out or to take care of anyone camping main.
Quote from Twest on 04/24/07 at 13:21:42:
Well i know this sounds funny....but how bout a life bubble instead where anyone in the main base is instantly healed as they are being damaged. It is alot easier then modifying that fire thing, i took a shot at it but couldn't get the height i wanted.

For a health bubble i think you can simply replace a spawner with the "health_cabinet" the modify then add the following code to your GPO

Code:
**************HEALTH BUBBLE*************
GeometryTemplate.create StaticMesh health_cabinet
CollisionManager.createTemplate health_cabinet

ObjectTemplate.create SupplyObject health_cabinet
ObjectTemplate.collisionMesh health_cabinet
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.physicsType Mesh
ObjectTemplate.geometry health_cabinet
ObjectTemplate.floaterMod 0
ObjectTemplate.hasMobilePhysics 0
[b]ObjectTemplate.radius 0.75 (experiment with this one also until you get the correct size for your area)[/b]
ObjectTemplate.workOnSoldiers 1
[b]ObjectTemplate.workOnVehicles 1 (i changed this to one so soldiers in vehicles will be healed to...but the vehichle probably would blow up so add a repair to the area aswell)[/b]
ObjectTemplate.refillAmmoSpeed 0
[b]ObjectTemplate.healSpeed 9 (experiment with this to see what will instantly heal someone)[/b]
 



Hope this helps, i didn't have the time or patience to test this but it should work....i think, maybe some confirmation from MasterX would be what we need  Grin

EDIT: sorry forgot that this would change all the medical cabinets.....grrr to bad it doesn't have the hoha_medic like Desert combat, oh well.

Back to top
 
 
Email View Profile   IP Logged
MasterX=DCON=
System Administrator
DCON Staff
Energy Revolutions Research Dept.
*****


Desert Conflict
Coding Dept

Posts: 571
Gender: male
Re: Death bubble and limit class per team
Reply #5 - 04/27/07 at 03:02:49
 
you dont need to alter existing supplyobjects, you can create new ones serverside, and when doing so you do NOT want to add collisionmesh or geometry to them such as the 2 above posts, simply create the object:
 
ObjectTemplate.create SupplyObject life_bubbly
 
and define the variables:
 
ObjectTemplate.radius 20 (20 spherical meters)
ObjectTemplate.workOnSoldiers X (x= 1 = on/x = 0 = off)
ObjectTemplate.workOnVehicles X (x= 1 = on/x = 0 = off)
ObjectTemplate.healSpeed 15 (15 is pretty fast)
ObjectTemplate.refillAmmoSpeed 15 (15 is pretty fast)
ObjectTemplate.healStorageSize X
ObjectTemplate.ammoStorageSize X
ObjectTemplate.sharedStorageSize X (x = magazines or bars of health)
 
in the end you have this!
 
ObjectTemplate.create SupplyObject life_bubbly
ObjectTemplate.radius 20
ObjectTemplate.workOnVehicles 0
ObjectTemplate.healSpeed 15
ObjectTemplate.refillAmmoSpeed 15
ObjectTemplate.healStorageSize 0
ObjectTemplate.ammoStorageSize 0
ObjectTemplate.sharedStorageSize 99999
 
i use this one to add healing and reloading capabilities to humvees:
ObjectTemplate.create SupplyObject vehicle_carried_ammo
ObjectTemplate.radius 20
ObjectTemplate.workOnVehicles 0
ObjectTemplate.healSpeed 15
ObjectTemplate.refillAmmoSpeed 15
ObjectTemplate.healStorageSize 0
ObjectTemplate.ammoStorageSize 0
ObjectTemplate.sharedStorageSize 99999
 
then addtemplate to given vehicle!
when calling the vehicle active for changes to add the supply object DO NOTuse ObjectTemplate.activeSafe
 
instead use:    ObjectTemplate.active jeep_faav
 
WARNING!
these items most times make crashes happen if used in serverside mods!!!!  do not use!!!!
GeometryTemplate.create BundleMesh X
GeometryTemplate.create StaticMesh X
CollisionManager.createTemplate X
ObjectTemplate.collisionMesh X
ObjectTemplate.geometry X
Back to top
 
 

Ma§†er}{
BKC Squad Leader - Retired
Owner Graebtech Gaming Network
Email View Profile WWW MasterX=DCON= masterxbkc 265028259 brenttg2000   IP Logged
3_stooges_geo
Modder
***


New User!

Posts: 2
Re: Death bubble and limit class per team
Reply #6 - 04/27/07 at 14:11:04
 
thanks,will give it a shot.
Back to top
 
 
Email View Profile   IP Logged
Pages: 1
Send Topic Print