Some Questions

正在查看此主题的用户

Tüfekçi Başı

Grandmaster Knight
I have some questions for experienced coders or who knows;

Is possible to make "arrow with poisson" ?
Is possible to make "single use melee weapon" or "melee weapon with poison" or both?

Is possible to make "release 2 or more arrow at the same time"?
 
All is doable:
Tüfekçi Başı 说:
Is possible to make "arrow with poisson" ?
It all depends how do you want the poison to work.

If you want damage over time effect you will need extra agent slot (for example slot_agent_poison_level) and two triggers:
- ti_on_agent_hit; just check if weapon is poisoned (for poison arrows you will have to check if poison arrows are in inventory) and if the damage is greater than 0, then increase poison level of attacked enemy;
- generic one; called every 30sec (or whatever you prefer); loop through all agents, check poison levels, if greater than 0 inflict damage; if you want poison to wear off then reduce poison level each poison cycle;
Tüfekçi Başı 说:
Is possible to make "single use melee weapon" or "melee weapon with poison" or both?
For "single use melee weapon" you have to unequip agent weapon (in ti_on_agent_hit trigger) after successful hit (inflicted damage);
The "melee weapon with poison" will work in similar way as "arrow with poison".
Tüfekçi Başı 说:
Is possible to make "release 2 or more arrow at the same time"?
Use add_missile operation in ti_on_weapon_attack trigger.
 
后退
顶部 底部