How do I add Energy Bar drain to a weapon?
Moderator: Moderators
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
How do I add Energy Bar drain to a weapon?
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
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
Last edited by Ace_Azzameen_5 on Tue Sep 11, 2007 3:08 pm, edited 2 times in total.
-
-_-
- Gametoast Staff

- Posts: 2678
- Joined: Sat May 07, 2005 1:22 pm
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
EnergyDrain = "Value"
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
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
ace_weap_veh_fusioncutter
Hidden/Spoiler:
Hidden/Spoiler:
-
MetalcoreRancor
- Brigadier General

- Posts: 628
- Joined: Thu Jun 07, 2007 11:13 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
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!!!"
- squipple
- 1st Lieutenant

- Posts: 420
- Joined: Tue Jun 28, 2005 7:38 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Contact:
Re: Weapon Odf Settings for Energy bar instead of AMMO/Heat
I dunno, seems like if you get good at anything in the game people will call you a noob for it. 
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
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.
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.
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
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.
Dont know if you can use emitterordnance on vehicles but you could try(I doubt it)
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"
-
Ace_Azzameen_5
- Jedi

- Posts: 1119
- Joined: Sat Apr 23, 2005 8:52 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
That didn't work... Sorry for the response lag...
-
PvtParts
- Jedi

- Posts: 1001
- Joined: Mon Apr 03, 2006 9:12 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: plundering yer booty
Re: UNSOLVED: Weapon subtact from Energy bar instead of AMMO/Hea
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).
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).
