what did i do wrong ?
Author | Topic: what did i do wrong ? |
---|---|
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 19:22
Profile
// the way of the guild Custom Object Types beginscendatascript; // FLOOR TYPES // TERRAIN TYPES // CUSTOM CREATURES // ITEM TYPES begindefineitem 445; clear; import = 506; it_full_name = "draconian armor"; it_variety = 13; // Armor it_weapon_skill_used = 0; // Strength it_protection = 500; it_encumbrance = 5; it_floor_which_sheet = 506; it_floor_which_icon = 506; it_inventory_icon = 506; it_ability_1 = 11; // Assassination it_ability_str_1 = 20; it_ability_2 = 12; // Mage Spells it_ability_str_2 = 20; it_ability_3 = 1; // Strength it_ability_str_3 = 20; it_ability_4 = 16; // Tool Use it_ability_str_4 = 20; am i doing something wrong the pic is in my scenario thewayoftheguild.cmg in 506 what am i doing wrong ? EDIT: is it okay to be using text edit for scripting ? cause if it's not I cant do scripting [ Tuesday, March 22, 2005 19:50: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
...b10010b...
Member # 869
|
written Tuesday, March 22 2005 19:35
Profile
Homepage
It'd help if you explained to us why you think something's wrong. What problem is occuring? Are you unable to place the item in the scenario using the editor, or does it not show up during gameplay when you do place it? One problem could be that your scenario's title is too long; I think bad things happen if the short title is more than a certain number of characters. [ Tuesday, March 22, 2005 19:37: Message edited by: Thuryl ] -------------------- The Empire Always Loses: This Time For Sure! Posts: 9973 | Registered: Saturday, March 30 2002 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 19:45
Profile
quote:begindefineitem 441; ill change the title to twotg [ Tuesday, March 22, 2005 19:47: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Off With Their Heads
Member # 4045
|
written Tuesday, March 22 2005 19:46
Profile
Homepage
Replace with -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 19:53
Profile
quote:should it be like this ? // twotg Custom Object Types beginscendatascript; // FLOOR TYPES // TERRAIN TYPES // CUSTOM CREATURES // ITEM TYPES begindefineitem 445; clear; import = 506; it_full_name = "draconian armor"; it_variety = 13; // Armor it_weapon_skill_used = 0; // Strength it_protection = 500; it_encumbrance = 5; it_floor_which_icon = 0; it_inventory_icon = 1; it_inventory_icon = 506; it_ability_1 = 11; // Assassination it_ability_str_1 = 20; it_ability_2 = 12; // Mage Spells it_ability_str_2 = 20; it_ability_3 = 1; // Strength it_ability_str_3 = 20; it_ability_4 = 16; // Tool Use it_ability_str_4 = 20; Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Warrior
Member # 5289
|
written Tuesday, March 22 2005 19:56
Profile
Also replace next lines. begindefineitem 506; // newly defined item ... import = 445; // base item to modify "Text Edit" is not suitable for script programming, because of smart quote. Download TextWrangler from BareBones [ Tuesday, March 22, 2005 19:59: Message edited by: Notus ] -------------------- Project: BoA Editor Remake on SourceForge.net supports "3D BoA Editor" (Mac and Win), and creates advanced BoA Editor. Posts: 107 | Registered: Tuesday, December 14 2004 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 19:59
Profile
like this ? [ Tuesday, March 22, 2005 20:00: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Warrior
Member # 5289
|
written Tuesday, March 22 2005 20:03
Profile
Like this ;) begindefineitem 506; // newly defined item clear; import = 445; // base item to modify it_full_name = "draconian armor"; it_variety = 13; // Armor it_weapon_skill_used = 0; // Strength it_protection = 500; it_encumbrance = 5; it_floor_which_sheet = 506; // sheet number for icons it_floor_which_icon = 0; // number of icon in the sheet (zero base) it_inventory_icon = 1; // number of icon in the sheet (zero base) it_ability_1 = 11; // Assassination it_ability_str_1 = 20; it_ability_2 = 12; // Mage Spells it_ability_str_2 = 20; it_ability_3 = 1; // Strength it_ability_str_3 = 20; it_ability_4 = 16; // Tool Use it_ability_str_4 = 20; [EDIT] changed it_floor_which_icon and it_inventory_icon [ Tuesday, March 22, 2005 20:12: Message edited by: Notus ] -------------------- Project: BoA Editor Remake on SourceForge.net supports "3D BoA Editor" (Mac and Win), and creates advanced BoA Editor. Posts: 107 | Registered: Tuesday, December 14 2004 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 20:15
Profile
quote:thank you i am sure this would work but my twog file has gone haywire or something the ResEdit graphic is a jumble of coler i loaded the file to see what everything looked like and the items area says draconian armor but the graphic for it is a question mark and when i entered the game to see there it messed he whole town up it said stuff like failed to load door script and i did pick up item and it says (error blades of avernum failed to recognize the items in this scenario you will not see this message until you enter a new town) something like that I'm not sure but it's all going wrong i do not now what to do [ Tuesday, March 22, 2005 20:16: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Warrior
Member # 5289
|
written Tuesday, March 22 2005 20:21
Profile
Sorry, Please revise it as my previous post. -------------------- Project: BoA Editor Remake on SourceForge.net supports "3D BoA Editor" (Mac and Win), and creates advanced BoA Editor. Posts: 107 | Registered: Tuesday, December 14 2004 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 20:28
Profile
quote:i am sorry but what do you mean ? oh i have another qustion in another topic i asked about Skribbane herb i beleve i might now have the code for it would this work ? Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Off With Their Heads
Member # 4045
|
written Tuesday, March 22 2005 20:45
Profile
Homepage
Hawk King, please use punctuation and capital letters. That is a start for skribbane code, but that won't do it by itself. You need to script it with a special ability -- the script for addictive drugs in the Codex is probably the place to start. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Warrior
Member # 5289
|
written Tuesday, March 22 2005 20:55
Profile
quote:i am sorry but what do you mean ? [/quote]I edited the code just after I post it, because I found bugs on it. So, please revise it on your side too. You can find the edited code on my previous post. -------------------- Project: BoA Editor Remake on SourceForge.net supports "3D BoA Editor" (Mac and Win), and creates advanced BoA Editor. Posts: 107 | Registered: Tuesday, December 14 2004 08:00 |
Infiltrator
Member # 5566
|
written Tuesday, March 22 2005 21:11
Profile
quote:hey at least I'm not writing like this r u going to play geneforeg 3 becos im gonna u should 2 see u l8ter but sure i will put in more of an effort. EDIT: i can't get to my file i can't edit twotg. every time i try it says quote: [ Tuesday, March 22, 2005 21:19: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Off With Their Heads
Member # 4045
|
written Tuesday, March 22 2005 21:48
Profile
Homepage
Don't touch item 506. You don't get that many items. Your item numbers have to be below 499 -- so you can neither import nor define anything above 500. -------------------- Arancaytar: Every time you ask people to compare TM and Kel, you endanger the poor, fluffy kittens. Smoo: Get ready to face the walls! Ephesos: In conclusion, yarr. Kelandon's Pink and Pretty Page!!: the authorized location for all things by me The Archive of all released BoE scenarios ever Posts: 7968 | Registered: Saturday, February 28 2004 08:00 |
Warrior
Member # 5289
|
written Wednesday, March 23 2005 02:11
Profile
As Kelandon said, begindefineitem 506; // newly defined item should be changed to begindefineitem 445; // newly defined item Next line also should be changed. import = 445; // base item to modify Umm.. what is your base item? For example, to set it to based on Blessed Plate male(43), change this line to, import = 43; // base item to modify -------------------- Project: BoA Editor Remake on SourceForge.net supports "3D BoA Editor" (Mac and Win), and creates advanced BoA Editor. Posts: 107 | Registered: Tuesday, December 14 2004 08:00 |
Infiltrator
Member # 5566
|
written Wednesday, March 23 2005 04:52
Profile
quote:i already have that i fixed the problem with loading. i had to delete my data file, I'm working on a new one i will repete in my post above i entered a new code with the script for addictive drugs replacing my scenario script file will it work EDIT: look what i made raised eyebrow :D i did not make these mellow smiley huh smiley happy smiley oh my smiley winking smiley smiley sticking tounge out big smile smiley laugh smiley cool smiley rolling eyes smiley sleeping smiley dry smiley smiling smiley smiley in love mad smiley worried smiley unsure smiley waco smiley blinking smiley ninja smiley mac symbol bannana man dancing smiley fighting smiley newbie bunker smiley saying something about noobs rock hard bannana bannana's having a party [ Wednesday, March 23, 2005 06:17: Message edited by: hawk king ] Posts: 507 | Registered: Tuesday, March 1 2005 08:00 |
Shake Before Using
Member # 75
|
written Wednesday, March 23 2005 19:22
Profile
You are a bad person and should remove those from your signature. Posts: 3234 | Registered: Thursday, October 4 2001 07:00 |