Animation Issue

TheLimeGuyTheLimeGuy Posts: 4
edited April 2016 in GUTS Community Help
So i'm creating a new class based on the Engineer, the idea was to have various grenade abilities that can only be cast using Engineer Charges.
I managed to get the basic ability concept to work the way I wanted it but the only problem is if you try to activate the ability without charges, the character plays the throwing animation with no actual ability being cast, any change at all to the <String Animation> stops the ability from activating at all.
I was hoping someone could give me an idea of how to solve this, or an alternate way of making the ability work, it's been wrecking my head for hours; any insight would be GREATLY appreciated; the text is as follow:
&#91;SKILL&#93;
	&lt;STRING&gt;NAME:GrenadeT
	&lt;TRANSLATE&gt;DISPLAYNAME:Force Grenade
	&lt;TRANSLATE&gt;BASE_DESCRIPTION:
	&lt;STRING&gt;TRIGGER:HIT
	&lt;STRING&gt;SKILL_ICON:skillicon_grenade
	&lt;STRING&gt;SKILL_ICON_INACTIVE:skillicon_grenade_gray
	&lt;STRING&gt;ACTIVATION_TYPE:NORMAL
	&lt;STRING&gt;TARGET_ALIGNMENT:EVIL
	&lt;STRING&gt;ANIMATION:special_Gen_Throw
	&lt;FLOAT&gt;RANGE:10
	&lt;FLOAT&gt;SPEED:1.2
	&lt;FLOAT&gt;TURNRATEOVERRIDE:-1
	&lt;STRING&gt;REQUIREMENT_GRAPH:SKILLTIER4
	&lt;BOOL&gt;DONT_STOP_ON_DEATH:1
	&lt;BOOL&gt;CAN_BE_SILENCED:0
	&lt;BOOL&gt;IGNORES_LOS:1
	&lt;BOOL&gt;REQUIRES_PATHABLE:1
	&lt;INTEGER64&gt;UNIQUE_GUID:-8000744078684765834
	&#91;LEVEL1&#93;
		&#91;EVENT_START&#93;
			&lt;BOOL&gt;NOSTEALEFFECTS:0
			&#91;AFFIXES&#93;
				&lt;STRING&gt;TARGET:SELF
				&lt;STRING&gt;AFFIX:ADD_RAILMAN_CHARGE_ONE
				&lt;STRING&gt;AFFIX:REMOVE_ONE_CHARGE
			&#91;/AFFIXES&#93;
			&#91;STATWATCHER&#93;
				&lt;STRING&gt;STAT:PLAYER CHARGES
				&lt;STRING&gt;PRIMARY_TARGET_TYPE:SELF
				&lt;STRING&gt;SECONDARY_TARGET_TYPE:VALUE
				&lt;STRING&gt;WATCH_TYPE:GREATER THAN
				&lt;FLOAT&gt;SECONDARY_VALUE:0
			&#91;/STATWATCHER&#93;
		&#91;/EVENT_START&#93;
		&#91;EVENT_TRIGGER&#93;
			&#91;EXECUTE_SKILL&#93;
				&lt;STRING&gt;SKILL:GRENADE STRONGT
			&#91;/EXECUTE_SKILL&#93;
			&#91;STATWATCHER&#93;
				&lt;STRING&gt;STAT:RAILMANCHARGE
				&lt;STRING&gt;PRIMARY_TARGET_TYPE:SELF
				&lt;STRING&gt;SECONDARY_TARGET_TYPE:VALUE
				&lt;STRING&gt;WATCH_TYPE:GREATER THAN
				&lt;FLOAT&gt;SECONDARY_VALUE:0
			&#91;/STATWATCHER&#93;
			&#91;AFFIXES&#93;
				&lt;STRING&gt;TARGET:SELF
				&lt;STRING&gt;AFFIX:REMOVE_RAILMAN_CHARGE_ONE
			&#91;/AFFIXES&#93;
		&#91;/EVENT_TRIGGER&#93;
	&#91;/LEVEL1&#93;

Comments

  • *Update*
    I attempted to make the ability only trigger if I had a unit theme active.
    I'm hoping to create a unit theme that applies whenever i'm greater than 0 charges, but I'm unsure how to implement this.
  • Ok, i'm going to keep posting in the hopes that someone takes notice.
    I'm so close to solving this problem now, I just need a tiny bit of input.
    I've set up a passive ability that applies a unit theme when the player has no charges, this unit theme prevents the player from casting the grenade skills.
    However I can't find a way to remove the unit theme when the player has charges. And obviously I want it to reapply when the player drops to 0 charges again. Any help at all would be amazing.
    &#91;SKILL&#93;
    	&lt;STRING&gt;NAME:TechCharge
    	&lt;TRANSLATE&gt;DISPLAYNAME:TechCharge
    	&lt;STRING&gt;ACTIVATION_TYPE:PASSIVE
    	&lt;STRING&gt;TARGET_ALIGNMENT:GOOD
    	&lt;STRING&gt;TARGET_TYPE:SELF
    	&lt;BOOL&gt;CONTINUOUSLOOPING:1
    	&lt;FLOAT&gt;TURNRATEOVERRIDE:-1
    	&lt;BOOL&gt;CAN_BE_SILENCED:0
    	&lt;INTEGER&gt;LEVEL_REQUIRED:0
    	&lt;INTEGER64&gt;UNIQUE_GUID:-2066931443305519216
    	&#91;LEVEL1&#93;
    		&lt;FLOAT&gt;RANDOMRANGE:0
    		&#91;EVENT_START&#93;
    			&lt;BOOL&gt;NOSTEALEFFECTS:0
    			&lt;BOOL&gt;EFFECTSHIDDEN:false
    			&#91;STATWATCHER&#93;
    				&lt;STRING&gt;STAT:PLAYER CHARGES
    				&lt;STRING&gt;PRIMARY_TARGET_TYPE:SELF
    				&lt;STRING&gt;SECONDARY_TARGET_TYPE:VALUE
    				&lt;STRING&gt;WATCH_TYPE:EQUAL TO
    				&lt;FLOAT&gt;SECONDARY_VALUE:0
    			&#91;/STATWATCHER&#93;
    			&#91;AFFIXES&#93;
    				&lt;STRING&gt;TARGET:SELF
    				&lt;STRING&gt;AFFIX:DAMAGEEFFECTTECHPLAYER
    			&#91;/AFFIXES&#93;
    		&#91;/EVENT_START&#93;
    		&#91;EVENT_TRIGGER&#93;
    			&lt;BOOL&gt;NOSTEALEFFECTS:0
    			&lt;BOOL&gt;EFFECTSHIDDEN:false
    			&#91;STATWATCHER&#93;
    				&lt;STRING&gt;STAT:PLAYER CHARGES
    				&lt;STRING&gt;PRIMARY_TARGET_TYPE:SELF
    				&lt;STRING&gt;SECONDARY_TARGET_TYPE:VALUE
    				&lt;STRING&gt;WATCH_TYPE:GREATER THAN
    				&lt;FLOAT&gt;SECONDARY_VALUE:0
    			&#91;/STATWATCHER&#93;
    			&#91;AFFIXESREMOVE&#93;
    				&lt;STRING&gt;TARGET:SELF
    				&lt;STRING&gt;AFFIX:DAMAGEEFFECTTECHPLAYER
    			&#91;/AFFIXESREMOVE&#93;
    		&#91;/EVENT_TRIGGER&#93;
    	&#91;/LEVEL1&#93;
    &#91;/SKILL&#93;
    
Sign In or Register to comment.