![]() |
|
|
|
#1
|
|||
|
|||
|
Quote:
|
|
#2
|
|||
|
|||
|
Hm . . . no, it`s magic dmg :
Code:
ball {
hinthead=pet_ball_name
class=scripted
script_calccells=lightning_ball_calccells
script_attack=pet_ball
attack_cursor=magicstick
place=3
level=9
default=level1
upgrade {
level1=level:0/damage:magic:10:15,shock:20,rage:15,rest:1,exp:10,level:1
attack1=level:>0,attack:0/damage:magic:+0:+5,shock:+2,rage:+3,exp:+4,attack:1
attack2=attack:1/damage:magic:+0:+7,shock:+2,rage:+4,exp:+6,attack:2
attack3=attack:2,LV:>25/damage:magic:+10:+15,shock:+2,rage:+7,exp:+8,rest:+1,attack:3
attack4=attack:3,LV:>30/damage:magic:+10:+5,shock:+4,rage:+7,exp:+10,attack:3
}
}
Any way i think red sands dev crew, and some of our fellow moders are on vacation because no1`s sending any kind of suggestions about implementing new item in game what got me stuck(among other things). Last edited by Fatt_Shade; 09-08-2011 at 03:15 PM. |
|
#3
|
|||
|
|||
|
the resurrection ability of inquistor don't working.
I'm reinstall KBCW and redsand but it doesn't work. Any suggestion? |
|
#4
|
|||
|
|||
|
Hi
I'd like to repeat yujys' request for a tweak to exp_system.lua (unfortunately changing "abs" to "in percent" in exp_system_cfg doesn't work), as I'm a noob when it comes to lua scripting i don't know how to write/modify the appropriate function but I'm pretty sure some modding guru will be able to do it in a blink P.S. thanks to the Red Sands team for their excellent mod and to grimeleven for RSE |
|
#5
|
|||
|
|||
|
@Fat shade
What items did you change earlier? I copied the new files and now i couldn't load my previews save. I started a new campaign (to see if it works) and works fine. Therefore i believe there is an error in the items.txt or eng_items (an error with one of my items i have on me). @Rudi I'm still trying to do that, but i don't know which parameter to use to indicate the HP of the unit. I tried hitpoint(like is written in the units files), health and several others. For damage, for example, they use dam_min and dam_max.I will let everyone know if make a breakthrough. I'm also a noob about editing but if you really want something you have to try to modify the game as it fits you. Fad Shade for example has different ideas on how to augment the, so call, weaker classes but that only refers to the way he plays the game, while i have different styles and desires for my play through. All i'm saying is to give it a try who knows. Last edited by yujy; 09-08-2011 at 09:19 PM. |
|
#6
|
|||
|
|||
|
@langtu87 I dont think so , i only added new units to items already existing, didnt change or add new items i`m trying, those files are in other folder.
For exp : i added new fireskeleton and venskeleton to bow items that give bonus to archer units, i added griffin_spirit and harl to griffin items +1speed,-20lds , added spiritist, harl, griffin_spirit and legendary phoenix to horseman gloves +1 speed to mounted and flying units, and such. I didnt change any items at all. In eng_items i changed description to items i added new units to. Special params, i added maelstrom to sp_lead_warrior , medium darkmage,sinister and all other new undead to their sp_lead_undead. All in all i didnt change anything there, only added new units that got missed in red sands mod. Whole lizardead race isnt considered in red sands, so i added them also to item bonus. @Rudi As langtu said, try it our yourself. I`m not good at this but i got some ideas and trying them out. But before i mod anything i copy file i`m planing to change to folder outside game and then play with it. Start game, and if it`s not working i copy original file i knew is ok, and back to drawing board If you have any ideas you want to try share with others, maybe some1 already did something similar, and can give you advice. And ffs, pls some1 tell me cheat code for getting item`s in hero inventory. I make some items and dont want to try new games since i never use KBscanner, just want to see if game accept my items or not. I try magicbook, and got all scrolls in my spell book, so it works, but i cant figure out how to get item i want. I`ll try making new spell to check my other ideas since magicbook cheat works. Last edited by Fatt_Shade; 09-08-2011 at 11:24 PM. |
|
#7
|
|||
|
|||
|
I made a little modification in the exp_system.lua
Code:
local maxhp = Attack.act_get_par(attacker,"health") Attack.act_attach_modificator(attacker,"health","expa_health_"..tostring(chp_health),maxhp*chp_health*expa_hp_par*0.01,0,0,duration,false) Also I can post screens showing the matter clearly if needed |
|
#8
|
|||
|
|||
|
I think i managed to fix hp%, for unit lvlup. In exp exp_system.lua file find this string
Code:
Attack.act_attach_modificator(attacker,"health","expa_health_"..tostring(chp_health),chp_health * expa_hp_par,0,0,duration,false) Code:
Attack.act_apply_par_spell("health","expa_health_"..tostring(chp_health),chp_health*expa_hp_par,0,0,duration,false)
Last edited by Fatt_Shade; 09-09-2011 at 07:59 AM. |
|
#9
|
|||
|
|||
|
Quote:
hero_mage { // ******************** Ìàã ******************** // ñòàðòîâûå ïàðàìåòðû start { leadership=100 attack=0 defense=0 intellect=3 mana=20 rage=10 gold=1000 rune_might=1 rune_mind=1 rune_magic=6 crystals=20 book=10 // ñòàðòîâûå óìåíèÿ èçó÷åííûå è íåäîñòóïíûå skills_open=wizdom //rage,wizdom,meditation //chaos, alchemist skills_off=blood_lust,resurrection,megamage,contrs trike,holy_armor army=sprite|11|peasant|20|dragonfly_lake|11 spells { spell_fire_arrow=1 spell_slow=1 spell_fire_ball=-1 spell_healing=-1 } items { time_clock=1 picture_inspirit=1 } } In items {}, you just add your_item=1 For anyone don't want the restriction when hero lev > 50, just edit logic_hero.lua file, find a code have: < 51 and a code have > 50 and change it I added my mage crown of chaos, live bow and gain diffculty 500%. It really interesting @Shad for the error about resurction of inquitor above, I think I will change redsand mod to 1.1 version. The problem cause when I upgrade it to 1.3
|
|
#10
|
|||
|
|||
|
Yea this item change is for starting new game i thought adding items for game already at 43lvl. But thx i`ll try it out to check my made items.
As for changing 1.1 to 1.3 i`m sorry, i knew i didnt cause any problems, only added new units to items.txt nothing that would cause game problems |
![]() |
|
|