Making A Melee Weapon into Ranged

Error message

Deprecated function: implode(): Passing glue string after array is deprecated. Swap the parameters in drupal_get_feeds() (line 394 of /var/www/pied-piper.ermarian.net/includes/common.inc).

Pages

AuthorTopic: Making A Melee Weapon into Ranged
Lifecrafter
Member # 7252
Profile #0
It's possible..well, with script editing it is..
I managed to make the Puresteel Soulblade a missile weapon..a Reaper Baton to be exact..

Since I'm nice I'll show the edited script:

begindefineitem 83;
import = 68;
it_name = "Puresteel Soulblade";
it_graphic_coloradj = 64;
it_level = 15;
it_value = 5000;
it_stats_to_affect 0 = 7;
it_stats_addition 0 = 2;
it_stats_to_affect 1 = 6;
it_stats_addition 1 = 1;
it_ability = 58;

Note the "it_ability = 58;” it is a part of the "Reaper Baton" script which makes a “Reaper Baton” a "Reaper Baton"...Get the picture? Additionally, the "Puresteel Soulblade/Reaper Baton" hybrid has unlimited ammo..Yep, you read it right..UNLIMITED AMMO..

Also..the Bonuses the PSSB gives is still retained..so my wish of a Missile Weaon with Stat Bonus has come true..=)

Also...the damage of the Reaper Baton is added to the damage of the PSSB...or so it seems...

Other things I did:
Made Limitless Charge Wands...=)
Made a Melee Weapon do Wand things...also has limitless charge...
(Bronze Shortsword which do Aura of Flames! So fun!)
Add stats to weapon that does not give bonus stats..

Things I tried to do but failed:
Armor that casts beneficial spells..or offensive spells..
Make an Uber-Crystal..a crystal which has all the Enhancements..

PS: Is there a script which handles the Enchanted Anvil?
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Shock Trooper
Member # 7662
Profile #1
My own guess is that the Anvil is hard coded into the program itself. I would have to read everything in the Data\Scripts folder to be sure of this though. Certainly there is no script that handles the Anvil alone.
Posts: 292 | Registered: Monday, November 13 2006 08:00
Apprentice
Member # 8939
Profile #2
how would i put an item into an area? im new to scripting

--------------------
A man was walking down the street, and somebody dropped an anvil on his head. Moral: look both ways before you shoot a rock in the leg.
Posts: 20 | Registered: Saturday, June 9 2007 07:00
Councilor
Member # 6600
Profile Homepage #3
You can't place an item into an area. The only way to add an item into the game is to edit the scripts so the item gets added directly to your inventory.

Dikiyoba.

--------------------
Episode 4: Spiderweb Reloaded
Posts: 4346 | Registered: Friday, December 23 2005 08:00
Lifecrafter
Member # 7252
Profile #4
quote:
Originally written by Dikiyoba:

You can't place an item into an area. The only way to add an item into the game is to edit the scripts so the item gets added directly to your inventory.

Dikiyoba.

Shoot..how do you do that?
I did it one time but it was in an accident..

--------------------
But after revenge is taken, nothing remains but a painful scar...
You ain't evil until you hear this!
Looking for group to slaughter the world..
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Apprentice
Member # 7684
Profile #5
reward_give(83,1); // one Puresteel Soulblade

In a dialog.
Posts: 2 | Registered: Tuesday, November 21 2006 08:00
Apprentice
Member # 8979
Profile #6
Meh. Might as well turn this into a place to post scripts, ne?

Some of my random stuffz:

begindefinecreature 48;
cr_name = "Shaper";
//cr_graphic_coloradj = 272;
//cr_graphic_appearadj = 4;
cr_graphic_template = 110;
cr_max_health = 20;
cr_max_energy = 40;
//cr_max_essence = 60
//cr_regen_rate = 8;
//cr_energy_regen_rate = 8;
//cr_base_level = 5;
//cr_walk_speed = 30;
//cr_bonus_aps = 1;

Replace the Lifecraft script-age with that, and you'll play as a shaper.

begindefinecreature 244; // Servile, srs.
// base for all War Trall imports
import = 9;
cr_name = "Servile";
cr_graphic_template = 130;
cr_max_health = 400;
cr_regen_rate = 20;
cr_base_level = 32;
cr_creature_type = 1;
cr_default_attitude = 1;
cr_default_courage = 100;
cr_sound_when_slain = 127;
cr_stain_when_slain = 0;
cr_default_strategy = 1;

cr_resistances 0 = 30;
cr_resistances 2 = 40;
cr_resistances 6 = 40;
cr_resistances 7 = 60;

cr_abil_num 0 = 0; // punch attack
cr_abil_level 0 = 2;
cr_abil_step_of_launch 0 = 8;
cr_abil_anim_in_reverse 0 = 1;

cr_abil_num 1 = 21; // rock
cr_abil_level 1 = 2;
cr_abil_step_of_launch 1 = 7;
cr_abil_anim_in_reverse 1 = 1;
cr_abil_time_per_step 1 = 1;

Replace War Trall script with that to shape serviles.
Posts: 8 | Registered: Friday, June 15 2007 07:00
BANNED
Member # 8997
Profile #7
Which ones are the lifecrafter script? and the war trall script called?

--------------------
AWESOME
Posts: 10 | Registered: Sunday, June 17 2007 07:00
Warrior
Member # 8872
Profile #8
Why, when, and where did Richardiscool get banned? EDIT: Oh dear. I got it. Not good. Is it a permaban or just a warning ban?

Anyway, I have a scripting question. Does anyone have a list of all the abilities and their numbers? i.e. reaper baton ability is 58 (in GF1)

[ Sunday, June 17, 2007 22:12: Message edited by: Fractal ]

--------------------
Slarty: "Why don't we all just get along?"

The Mystic: "Vista is a funky and finicky OS to begin with."
Posts: 197 | Registered: Saturday, June 2 2007 07:00
Law Bringer
Member # 6785
Profile #9
Richardiscool got banned a few hours ago for posting that he would help people pirate Spiderweb games by giving them registry codes. Well that and topic necromancy.
Posts: 4643 | Registered: Friday, February 10 2006 08:00
Warrior
Member # 8872
Profile #10
Edit: Never mind!

[ Friday, August 24, 2007 15:01: Message edited by: frain200 ]

--------------------
Slarty: "Why don't we all just get along?"

The Mystic: "Vista is a funky and finicky OS to begin with."
Posts: 197 | Registered: Saturday, June 2 2007 07:00
Warrior
Member # 7195
Profile #11
Regarding abilities - a lot of them are pretty identifiable by their name and some even have the descriptions.
And i believe it is just reward_give(38) without the ,1 part.
And well done for the melle-turned-to-missle weapons - i always wondered why missle weapons don't have enchantments in Geneforge series. If they had, it'd be much more fun to use them.

--------------------
USA is evil!
Europe is bust!
Wars are elsewhere!
Unity is a must!
Posts: 185 | Registered: Sunday, June 4 2006 07:00
Lifecrafter
Member # 7252
Profile #12
Edit: Sorry Triple Posted..

[ Thursday, June 21, 2007 04:57: Message edited by: Haakai-Tender Valcrist ]

--------------------
But after revenge is taken, nothing remains but a painful scar...
You ain't evil until you hear this!
Looking for group to slaughter the world..
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Lifecrafter
Member # 7252
Profile #13
Edit: Sorry Triple Posted

[ Thursday, June 21, 2007 04:58: Message edited by: Haakai-Tender Valcrist ]

--------------------
But after revenge is taken, nothing remains but a painful scar...
You ain't evil until you hear this!
Looking for group to slaughter the world..
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Lifecrafter
Member # 7252
Profile #14
Abilities?
Here's a list starting from Firebolt:

3 = Firebolt
4 = Searer
5 = Essence Orbs
7 = Diamond Spray
10 = Stun
13 = Terror (Monster Cast)
14 = Terror (PC Cast)
15 = Dominate
16 = Fyora Fire.. =)
17 = Ice Breath
18 = Ice Spray
19 = Ice Spray (Shaila Version)
20 = Javelin
21 = Flung Rock
22 = Stunning Rock
23 = Drayk/Drakon Fire
24 = Ur-Drakon Fire
25 = Disruption
50 = Thorn
52 = Venom Thorn
54 = Acid Thorn
56 = Submission Thorn
58 = Reapers
60 = Decaying Ray (Ray Damage+Poison)
62 = Charm Ray (Ray Damage+Charm)
64 = Slowing Mist (Ray Damage+Slow)
65 = Confusing Mist (Ray Damage+Curse)
80 = Poison Sting (Ray Damage+Poison)
81 = Poison Bite (Ray Damage+Poison)
82 = Icy Touch (Cold Damage+Slow)
83 = Rotting Touch (Melee Damage+Acid)
84 = Stunning Blow (Melee Damage+Stun)
85 = Radiate Energy (Stronger Stunning Blow)
86 = Confusing Touch (Damage+Curse)
87 = Terror Touch (Damage+Terror)
100 = War Blessing
101 = Elemental Cloak
110 = Speed
120 = Unlock
130 = Mass Restore
140 = Mass Energize
160 = Burning Spray
161 = Venomous Spray
162 = Acid Shower
164 = Aura of Flames
165 = Stunning Aura
166 = Kill
168 = Daze
170 = Strong Daze
172 = Mass Madness
190 = Light
191 = Charm
192 = Wrack
192 = Essence Shackles
195 = Lightning Aura
196 = Essence Lance
197 = Unbound Death Breath
198 = Unbound Fear Breath
200 = Heal
201 = Heal Self
202 = Heal Group
206 = Minor Heal
207 = Major Heal
210 = Cure Affliction
211 = Cure Self
212 = Cure Group
213 = Banish Affliction
214 = Aura of Cleansing
215 = Haste Other
216 = Haste Self
217 = Haste Group
220 = Restore Essence (VERY NICE.)
225 = Protection
226 = Shield Self
227 = Shield Group
230 = Bless Other
231 = Bless Self
232 = Bless Group
174 = Mental Barrier
178 = Essence Shield
180 = Essence Armor
182 = Steel Skin
183 = Spine Shield
184 = Augmentation
185 = Regeneration
186 = Battle Roar

My my..that's many..anyways..you might find that I skipped at some points..either that I choose not to post it (Uselessness) or there's really no ability in that number..

A favor..how do you change Item Graphics?

Edit: To put a certain ability to an object
it_ability = (Insert Ability Number)
Currently works only on Handheld Items. (Weapons and such.)

[ Thursday, June 21, 2007 05:01: Message edited by: Haakai-Tender Valcrist ]

--------------------
But after revenge is taken, nothing remains but a painful scar...
You ain't evil until you hear this!
Looking for group to slaughter the world..
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Warrior
Member # 9790
Profile #15
hi guys since this truned into Random scripts, i have a question. I know ramza posted the ability list for weapons, but does anyone know the list for your stats? i only know Create Fyora, Luck, Firebolt, war blessing and minor heal

--------------------
Perfect Geneforge artifact: Solidified flame+unmelting ice+Belgian chocolate+ Never-fade food colouring= The perfect m'n'm. Always heals you and never runs out. Take THAT, you make-expensive-chocolate-that-costs-too-much-andd-that-you-make-cost-too-much-
because-your-jerks-and-you-store-everyone's-money-and-jewelry-and-your-stuck-up swedes!!!!!!! :D:D:D:D
Posts: 79 | Registered: Thursday, August 16 2007 07:00
Infiltrator
Member # 9887
Profile #16
How do you increase the create creation stats? I've figured out stats but that's it.

--------------------
Ornk Meat and Guacamole --------- $6.00
Gazer Tentacle Stew -------------- $10.00
=:T:=
Posts: 454 | Registered: Monday, August 20 2007 07:00
Shock Trooper
Member # 9906
Profile Homepage #17
um excuse me but is the hybrid a reaper baton WITH a PSSB like if ur at range with the enemy will it fire a reaper and if u are at melee will it be a PSSB? :confused:

--------------------
Vivan los Drayks! Viva Khyryk! Vivan los Serviles! Vivan los Travokites!
Tastes like Bambi, delicious
No matter what name I have, people can call me Xel
Pylons! this is what you send to blizzard if they cancel Starcraft 2.
Posts: 301 | Registered: Tuesday, August 21 2007 07:00
Canned
Member # 8014
Profile #18
quote:
um excuse me but is the hybrid a reaper baton WITH a PSSB like if ur at range with the enemy will it fire a reaper and if u are at melee will it be a PSSB? :confused:
I'm sorry, but I can't understand you. Could you not abbreviate and don't use u, r, or ur please?

I am not trying to flame or anything, I just can't understand you.

--------------------
Don't judge a sentence until you know all the words.
Muffins n' Hell|Muffins n' Hell: The Muffins Are Back Again
Muffins n' Hell: The End is Near
Not in your shed -We are sort of done. Helpful criticism is welcome.
Everyone, just call me Iffy. Please.

Be grateful you have your unsellabe trowels -Goldenking

Just so you know, I am working on Muffins n' Hell the scenario.
Posts: 1799 | Registered: Sunday, February 4 2007 08:00
Infiltrator
Member # 9887
Profile #19
I think PSSB means Puresteel SoulBlade, and he's basically asking how a SoulBlade with the reaper ability attacks.

Also, can weapons/armor have a "create creation" stat bonus on them?

--------------------
Ornk Meat and Guacamole --------- $6.00
Gazer Tentacle Stew -------------- $10.00
=:T:=
Posts: 454 | Registered: Monday, August 20 2007 07:00
Councilor
Member # 6600
Profile Homepage #20
Originally by The Ratt:

quote:
Also, can weapons/armor have a "create creation" stat bonus on them?
Presumably yes to things like "+2 to battle shaping" or "+3 to creation endurance", but probably not to things like "+1 to create ornk".

Dikiyoba.

[ Tuesday, August 21, 2007 20:56: Message edited by: Dikiyoba ]

--------------------
Episode 4: Spiderweb Reloaded
Posts: 4346 | Registered: Friday, December 23 2005 08:00
Lifecrafter
Member # 7252
Profile #21
Ahem...the Reaper Hybrid is still a Reaper Baton except for the fact that is has more damage and has the stat bonus of the Puresteel Soulblade..

--------------------
But after revenge is taken, nothing remains but a painful scar...
You ain't evil until you hear this!
Looking for group to slaughter the world..
Posts: 732 | Registered: Saturday, June 24 2006 07:00
Infiltrator
Member # 9887
Profile #22
quote:
Originally written by Lifecrafterandnoobeditor:

i only know Create Fyora, Luck, Firebolt, war blessing and minor heal
Hmmm, he made it sound like weapons/armor might be able to have the "create ornk +1" ability on them.

--------------------
Ornk Meat and Guacamole --------- $6.00
Gazer Tentacle Stew -------------- $10.00
=:T:=
Posts: 454 | Registered: Monday, August 20 2007 07:00
Apprentice
Member # 8682
Profile Homepage #23
Hello... Im new at the whole script editing and i was wondering if you could tell me how to do it? :(

--------------------
... And the sky was torn asunder and he, the great lord of the dark, took reign and the world was his...

- A passage from " the cronicles of shadow"
Posts: 4 | Registered: Wednesday, May 9 2007 07:00
Agent
Member # 2759
Profile Homepage #24
Well what you do see, is you get a script, and you edit it.

The scripts are in the folder Geneforge 4\Data\Scripts. Edit them with a text editor (make a backup copy first!).

There's no official documentation of the script language for GF, but it's similar to the BoA script language and if you visit the Blades of Avernum editor forum, there you'll find links to various docs and tips on scripting.

--------------------
Geneforge 4 stuff. Also, everything I know about Avernum | Avernum 2 | Avernum 3 | Avernum 4
Posts: 1104 | Registered: Monday, March 10 2003 08:00

Pages