Jump to content

Wingaru

Member
  • Posts

    3
  • Joined

  • Last visited

    Never

Posts posted by Wingaru

  1. This is a very sloppy editor that I put together over the course of a few hours.

     

    As with all editors, BACK UP YOUR SCRIPTS FOLDER.

     

    How to use: Upon making a new game, ignore the store room with armor/a dagger and walk straight toward the door.

     

    What it does: Raises you to level 61, maxes all creations, spells, and skills.

     

    Download: http://www.mediafire.com/download.php?ytmzxmzuntn

     

    Edit: Whoops! Forgot a few semicolons in the part I editted. If you want to fix that error, just pop down to lines 49-51 and add semicolons to end of the text1-3 lines.

     

    Other edit: Found several bugs, all of which are fixed now. New download link!

  2. I'm tired and bored and feel like writing documentation on something that has absolutely none, so I guess I'll write a guide to scripting in the Geneforge language.

     

    BASICS/RULES OF THUMB

    1) Do not ever, ever even attempt to edit Geneforge scripts in notepad. I use Notepad++, you probably should too.

    2) BACK UP YOUR SCRIPTS FOLDER.

     

    Now that those are on the way, let's actually make something useful. I'm going to make a Bronze Shortsword that restores my essence, so I press Ctrl + F with Wordpad/Notepad++/Whateveryouuse and type in "begindefineitem 63;".

     

    I want to give it the ability "Restore Essence", which is ID 220, so I want to add the line "it_ability = 202;"

     

    Also, I guess this is a good time to mention that you always want to end lines with a semicolon.

     

    And there you have it, a sword with an ability. Full list of abilities can be found at http://www.ironycentral.com/forum/ubbthreads.php?ubb=showflat&Number=110269#Post110269

     

    MODIFICATION OF PLAYERS AND OTHER SENTIENT THINGS

    Now how about something even nicer than a bronze shortsword with Restore Essence? Let's replace the default Punch ability of the character.

     

    I feel like giving mine infinite ammo reapers instead of a punch, so I'll do that by going up to "begindefinecreature 48;" and adding the line "cr_abil_num 0 = 58; // Reapers" into the script. This basically means the creatures first ability(usually the punch) should be the ID 58. Get it?

     

    CHANGING GRAPHICS

    I've never liked the look of Lifecrafters in GF4, but I love the Shaper graphic. How about we make Lifecrafters look like Shapers, and give them a glow for kicks?

    We'll want to go back to the lifecrafter script that we edited above, and add the line "cr_graphic_template = 110;" to the top of the script. This changes to graphics template to that of the Shaper. I also want them to have the glow of a Battle Gamma, and the name Shaper, so I'll add in the line "cr_graphic_appearadj = 4;" and change "cr_name = "Lifecrafter";" to " cr_name = "Shaper";"

     

    Simple enough, right?

     

    ADVANCED

    To hell with creatures and items, I want to change energy pools and healing pools. First, open up energypool.txt, and find the lines " restore_energy_nearby(25,25,2,0);

    else restore_energy_nearby(25,25,2,2);"

     

    Remember, pools heal for 25. The first number is energy, the second is essence. I'm changing mine to 3000 and 3000. Don't play with the 2's and 0's.

     

    Now open healpool.txt, and I have a challenge for you:

    Find out which line handles the healing and change it for yourself.

     

    LEET HAX

    This is the section where I put cool stuff that I've made, and let you learn from example. Or just steal things I've made.

     

    begindefinecreature 244; // Servile.

    // base for all War Trall imports

    import = 9;

    cr_name = "War 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;

     

    The above script makes it so you can make War Serviles, that punch, throw rocks, and are very strong critters.

     

    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 = 20;

    cr_energy_regen_rate = 20;

    cr_base_level = 5;

    cr_walk_speed = 30;

    cr_bonus_aps = 2;

     

    The above script is kind of cheaty, but is awesome. It makes you play as a shaper, with a few neat powers.

     

    begindefinecreature 48; //Demigod. Clearly a cheat.

    cr_name = "Demigod";

    cr_graphic_template = 110;

    cr_graphic_appearadj = 4;

    cr_max_health = 30000;

    cr_max_energy = 30000;

    cr_max_essence = 30000;

    cr_regen_rate = 30000;

    cr_energy_regen_rate = 30000;

    cr_essence_regen_rate = 30000;

    cr_walk_speed = 30;

    cr_bonus_aps = 20;

    cr_abil_num 0 = 24; //Ur-Drakon fire

    cr_abil_level 1 = 10;

     

    cr_statistic 0 = 100;

    cr_statistic 1 = 100;

    cr_statistic 2 = 100;

    cr_statistic 3 = 100;

     

     

    This script may or may not work, use at your own risk, and remember to back your scripts folder up before use.

×
×
  • Create New...