Page 1 of 1
How do I add Energy Bar drain to a weapon?
Posted: Sun Sep 02, 2007 8:56 pm
by Ace_Azzameen_5
Looking at example odfs, research, etc, couldn't find out myself, so sorry:
How do I add Energy Bar (yellow sprint type) drain to weapon?
(My WIP racemap's speeder's have auto repair...but I have to give it some drawbacks.)
vvvvThanks, -_-.vvv
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
Posted: Sun Sep 02, 2007 9:08 pm
by -_-
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
Posted: Tue Sep 04, 2007 6:53 pm
by Ace_Azzameen_5
Thats not working...might be class restrictions on it. I'm trying it for a weapon on a hover. But just in case its an ODF error, here are the weapon and hover odfs.
ace_weap_veh_fusioncutter
ace_hover_racespeeder
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
Posted: Fri Sep 07, 2007 8:27 am
by MetalcoreRancor
I dont think that can be done the way you are doing it. And honestly, I dont see why you have to give it a drawback, it's not like people are going to ride it around and others will scream "REPAIR NOOB!!!"
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
Posted: Fri Sep 07, 2007 10:06 am
by squipple
I dunno, seems like if you get good at anything in the game people will call you a noob for it.

Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
Posted: Tue Sep 11, 2007 3:17 pm
by Ace_Azzameen_5
Uh...its not inter-player balance, its more of a design thing. Why make a speeder that can constantly repair itself with a weapon instead of just add health?
I still want racers to have to limit damage, and thusly award good maneuvering skill. Repairs have to cost speed._________________________________________
Enter your message here, it may contain no more than 60000 characters.
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
Posted: Sat Sep 22, 2007 10:55 pm
by Syth
Your trying to have a
unit use do this, right? Or you trying to have a vehicle weapon that heals its self/ drains stamina.
Drain stamina values are only reconized by "cannon" types (least to my knoledge). You could try useing the below as the ordinance for any normal weapon (like a rifle or pistol) and then add the "EnergyDrain = 150.0" line to the weapon.
Code: Select all
[OrdnanceClass]
ClassLabel = "emitterordnance"
[Properties]
Radius = "0.75" // sphere used for finding the targets
ConeLength = "1" // cone not used for finding the targets
ConeAngle = "10"
FirstRadius = "0.0"
MaxTargets = "1" // Max number of targets to hit. Chaining is off so the damage will be split between the number of targets
NoChaining = "1" // No chaining - all bolts coming from the attacker
ApplyOnOwnerIfOnOthers = "1"
AffectEnemies = "0"
VehicleScale = "1.0"
ShieldScale = "1.0"
PersonScale = "0.0"
AnimalScale = "0.0"
DroidScale = "0.0"
BuildingScale = "0.0"
BuffHealthTimer = "1"
BuffHealthRate = "100"
Dont know if you can use emitterordnance on vehicles but you could try(I doubt it)
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
Posted: Fri Oct 05, 2007 8:15 pm
by Ace_Azzameen_5
That didn't work... Sorry for the response lag...
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
Posted: Fri Oct 05, 2007 11:44 pm
by PvtParts
What about making the weapon itself overheat? It doesn't slow you down but it does mean that the speeders can't repair nonstop and thus must limit damage to a similar degree.
Or you could have a certain number of repair "rounds" in the clip, so you must reload after you have repaired you're vehicle.
I haven't really tooled with this kind of thing (Closest I've made was a force heal).