Jump to content

Scripting[G5]


Spddin Ignis
 Share

Recommended Posts

Just guessing here, since I don't have easy access to scripts right now but:

 

Find the script folder which contains the spells, I can't remember what it is (or if it actually exists...). Find the spell you would like to replace. Then, go to a game with the spell you want to copy. Insert the desired spell on top of the spell being replaced. There may be a few differences in the scripting styles, so just double check and make sure the language is the same. If you can get this far but the language seems to be off, I would recommend posting here to see if anyone can help you.

Link to comment
Share on other sites

I haven't tested this, but it seems like it might work.

 

Open gf5objsmisc.txt and replace this:

Code:
begindefineability 31; // energy damage rain, is a spell, medium damage	ab_name = "Shocking Rain";	ab_missile_type_fired = 134;		ab_stat_ability_linked_to = 45; 	ab_stat_for_ability_bonus = 9;	ab_damage_type = 1;	ab_effect_base = 10;	ab_effect_per_level = 5;		//ab_num_of_missiles = 3;	ab_ability_sound = 107;	//ab_impact_sound = 117;	ab_energy_cost = 75;	ab_essence_cost = 4;begindefineability 32; // ice rain, low damage	ab_name = "Icy Rain";	ab_missile_type_fired = 139;		ab_damage_type = 6;	ab_effect_base = 5;	ab_effect_per_level = 3;		ab_ability_sound = 107;

With this:

Code:
begindefineability 31;	import = 5;	ab_name = "Essence Orbs";begindefineability 32; // ice rain, low damage	import = 30;	ab_name = "Icy Rain";	ab_missile_type_fired = 139;      	ab_stat_ability_linked_to = 45; 	ab_stat_for_ability_bonus = 9;		ab_damage_type = 6;	ab_effect_base = 5;	ab_effect_per_level = 3;		ab_ability_sound = 107;   	ab_energy_cost = 75;	ab_essence_cost = 4;

Basically, this should overwrite the Shocking Rain ability with the Essence Orbs ability, allowing you to cast it as you would Shocking Rain. Equally importantly, it should not cause Icy Crystals to behave weirdly. Let me know if it works.

Link to comment
Share on other sites

Originally Posted By: Desmarestia
I haven't tested this, but it seems like it might work.

Open gf5objsmisc.txt and replace this:
Code:
begindefineability 31; // energy damage rain, is a spell, medium damage	ab_name = "Shocking Rain";	ab_missile_type_fired = 134;		ab_stat_ability_linked_to = 45; 	ab_stat_for_ability_bonus = 9;	ab_damage_type = 1;	ab_effect_base = 10;	ab_effect_per_level = 5;		//ab_num_of_missiles = 3;	ab_ability_sound = 107;	//ab_impact_sound = 117;	ab_energy_cost = 75;	ab_essence_cost = 4;begindefineability 32; // ice rain, low damage	ab_name = "Icy Rain";	ab_missile_type_fired = 139;		ab_damage_type = 6;	ab_effect_base = 5;	ab_effect_per_level = 3;		ab_ability_sound = 107;

With this:
Code:
begindefineability 31;	import = 5;	ab_name = "Essence Orbs";begindefineability 32; // ice rain, low damage	import = 30;	ab_name = "Icy Rain";	ab_missile_type_fired = 139;      	ab_stat_ability_linked_to = 45; 	ab_stat_for_ability_bonus = 9;		ab_damage_type = 6;	ab_effect_base = 5;	ab_effect_per_level = 3;		ab_ability_sound = 107;   	ab_energy_cost = 75;	ab_essence_cost = 4;

Basically, this should overwrite the Shocking Rain ability with the Essence Orbs ability, allowing you to cast it as you would Shocking Rain. Equally importantly, it should not cause Icy Crystals to behave weirdly. Let me know if it works.


Are you sure that works? You left out the information on the spell, like, for example,

ab_missile_type_fired = 134;

ab_stat_ability_linked_to = 45;
ab_stat_for_ability_bonus = 9;

ab_damage_type = 1;
ab_effect_base = 10;
ab_effect_per_level = 5;

//ab_num_of_missiles = 3;
ab_ability_sound = 107;
//ab_impact_sound = 117;
ab_energy_cost = 75;
ab_essence_cost = 4;

Shouldn't something like that be put in?
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...