Posted: Sun Jan 22, 2017 12:52 pm Post subject:
No Ammo Weapon Help
So I've been trying to get this thing to work but so far have still yet to get it working (since NoAmmoWeapon logic was introduced)
The Unit in question is Trans_C's Soviet Officer Infantry. The plan is it uses the Sword Frames to fire off an AoE Buff then proceeds to use the Pistol until the ammo recharges for Rally Cry to be usable again. But so far it hasn't worked and refuses to trigger.
Yeah what you are trying to achieve cannot be done in a nice fashion without use of deploy weapon. It is impossible to combine both negative damage weapon and a positive damage weapon on single unit since the different logic when it comes to targeting with both will clash with each other. NoAmmoWeapon does not change this.
What RehteA suggested would sort of work but you'd still be left with the issue that the healing weapon wouldn't properly target your allies - attack cursor on friendlies cannot be toggled on/off on per weapon basis - only on per object. _________________ QUICK_EDIT
I have tried using Positive Damage and Negative Verses. Does that principle also apply to that idea but it also seemed to not accept the Attack Order.
And if it really just won't work how I wanted to it's original setup is made for the Infantry to deploy anyway. Was just trying to squeeze in NoAmmo into the unit to lessen Player Action so the Officer would just buff automatically instead of manually. _________________ ~ Excelsior ~ QUICK_EDIT
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Tue Jan 24, 2017 8:15 pm Post subject:
The deploy approach is probably better for a unit like this. Player should be able to control when they initiate the buff; having to force fire at something within 5 cells, or worse yet, initiate contact with the enemy seems undesirable. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum