[QUESTION] - Mixing an Arrow and Blaze - TDworD

Weekly updated column for helping skill development. Users can't directly post requests but a PM or mail can be sent to Skill-Clinician.

Moderator: Skill Clinician

0
No votes
 
Total votes: 0

User avatar
Skill Clinician
Retired staff
Warrior
Posts: 23
Joined: Thu Jul 22, 2004 9:15 pm

[QUESTION] - Mixing an Arrow and Blaze - TDworD

Post by Skill Clinician » Tue Mar 29, 2005 7:07 pm

Hi Skill Clinician

I want to make a skill for amazon that fires an Arrow that creates a
wall of fire as it advance, like a blaze but with the missile and not
the player. I'm new in skill development. Can you help me?

Many Thanks
This is a very basic case of missile edition more than skill edition.
Anyway it'll let us see how to fake "skill combo" (here Arrow+Blaze)
by neat missiles edition.

TECHNIC :
So we'll mod the Fire Arrow skills as a base. Of course feel free to translate the technic exposed here to any other missile skills.

Open skills.txt and go to Fire Arrow row (row #9, ID 7). Then go to the 'srvmissile' and 'cltmissile' columns and then change the 'firearrow' to 'blazingarrow'. Save and close skills.txt

Now open missiles.txt, go to the end and create a new row by copying the 'firearrow' missile.Rename it 'blazingarrow', change ID to match. Then set 'pCltDoFunc' and 'pSrvDoFunc' respectively to '19' and '15'. Those values are the index for Frozen Orb move function. This function periodically spawns a submissile when moving. This will be the trick we'll use to make the game spawn little firewalls on the trajectory of the arrow. Once this is done, go to the 'Param1','Param2','CltParam1' and 'CltParam2' and set them all to 1. Those parameters control how often the missile spawn submissiles. Setting it to 1 make it spawn a missile per frame. Doing this will ensure our "blazing arrow" firewall look 'solid'.

Now we have to set this missile to spawn actual submissile. Go to the 'SubMissile2' and 'CltSubMissile2' columns and set them to be 'blazingarrowfirewall'. Now copy the missile and rename it to 'blazingarrowfirewall', change column 'Skill' to be 'Fire Arrow' so the missile can use the Fire Arrow missile damages correctly.

Save missiles.txt and voila :)

ACTION SHOT !
Here is Blazing Arrow in action

WHAT HAVE WE LEARNED ?
* Frozen Orb move function is actually a missile spawning function
You do not have the required permissions to view the files attached to this post.
Last edited by Skill Clinician on Wed Mar 30, 2005 8:36 am, edited 2 times in total.

Return to “Skill Clinic”