Monolith Forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Similar topics
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Hey guys.........
Some help with super heroes I_icon_minitimeFri Sep 09, 2011 4:58 pm by WhiteWolf

» Last to post wins
Some help with super heroes I_icon_minitimeFri Sep 09, 2011 4:57 pm by WhiteWolf

» COMBAT ARMS WOOOOO
Some help with super heroes I_icon_minitimeTue Oct 19, 2010 10:59 pm by viperjake31

» Its over (Bye)
Some help with super heroes I_icon_minitimeWed Sep 22, 2010 10:05 pm by Supanooba

» Sorry guys...
Some help with super heroes I_icon_minitimeWed Sep 22, 2010 10:01 pm by Supanooba

» bad feeling...
Some help with super heroes I_icon_minitimeTue Sep 21, 2010 1:16 pm by Supanooba

» This game...
Some help with super heroes I_icon_minitimeSun Sep 19, 2010 10:01 am by Supanooba

» Me, D@rk T3mpl4r, Hacking?
Some help with super heroes I_icon_minitimeSun Sep 19, 2010 12:36 am by D@rk T3mpl4r

» fractured my arm and leg
Some help with super heroes I_icon_minitimeSat Sep 18, 2010 9:08 pm by Supanooba

Navigation
 Portal
 Index
 Memberlist
 Profile
 FAQ
 Search

Some help with super heroes

3 posters

Go down

Some help with super heroes Empty Some help with super heroes

Post by Metal Avalon Sun Jul 25, 2010 1:36 am

I got everything down except a few things.

How can I add more heroes, make them do stuff, and set their level requirement?
How can I add more items?
How can I change current super heroes abilities?
Metal Avalon
Metal Avalon

Posts : 168
Rep : 2
Join date : 2010-06-06
Age : 35

Back to top Go down

Some help with super heroes Empty Re: Some help with super heroes

Post by KenHTMS Sun Jul 25, 2010 9:49 am

How did you change heros names?

Edit: I think you should go to sh_values.lua to add more hero
sh_name: Name of hero
sh_limit: limit point
sh_reg_pt: point you should have to upgrade heros

"Make them do stuff"

I think it's more difficult than the classic super hero but anyway i saw some line in sh_func.lua that does some abilities of 3 heros:

Code:
function sh_second()
    sh_time = sh_time  1
    if sh_time > 3 then
        for i = 1, pl_count do
            if (player(i,"exists")) then
                if sh_id[35 * (i - 1)  8] > 0 then pl_gren[i] = pl_gren[i]  4 if pl_gren[i] > 30 - sh_id[35 * (i - 1)  8] * 4 then sh_equip(i,51); pl_gren[i] = 0; end; end
                if sh_id[35 * (i - 1)  7] > 0 then sh_money(i,sh_id[35 * (i - 1)  7] * 45); end
                if sh_id[35 * (i - 1)  20] > 0 then sh_heal(i,sh_id[35 * (i - 1)  20] * 10); end
                if pl_stunt[i] > 0 then pl_stunt[i] = 0; sh_speed(i,sh_id[35 * (i - 1)  3]  sh_id[35 * (i - 1)  12]  sh_id[35 * (i - 1)  22]  sh_id[35 * (i - 1)  27]); end
                if pl_psn[i] > 0 then pl_psn[i] = pl_psn[i] - 1; parse('sethealth '..i..' ' ..player(i,"health") - 5); end
            end
        end
        sh_time = 0
    end
end

Go to sh_value.lua and you ill see some sh_name, look at this screenshot
https://2img.net/r/ihimizer/img266/4165/45768402.png

In this code you can see 8, 7, 20 . 8 is Bomberman hero. 7 is businessman, 20 Wolverine

Bomber man: if sh_id[35 * (i - 1)8] > 0 then pl_gren[i] = pl_gren[i] 4 if pl_gren[i] > 30 - sh_id[35 * (i - 1) 8 * 4 then sh_equip(i,51); pl_gren[i] = 0; end; end

Businessman: if sh_id[35 * (i - 1) 7] > 0 then sh_money(i,sh_id[35 * (i - 1) 7] * 45); end

Wolverine: if sh_id[35 * (i - 1) 20] > 0 then sh_heal(i,sh_id[35 * (i - 1) 20] * 10); end

The bomberman abilities is get a Grenade every xx second (limit upgrade is 10 so i guess they can just get 10 grenade)

The businessman get [lv of this hero * 45] money every xx second (not credits)

The wolverine get heal every xx second

And these function is abilities of 3 heros, you can search in the sh_func.lua to find more hero then improve it.
Like bomberman, you can improve it to get Mine, laser mine, other grenade every xx second

Sorry if what i said is wrong Some help with super heroes Lol

KenHTMS

Posts : 12
Rep : 0
Join date : 2010-07-24

Back to top Go down

Some help with super heroes Empty Re: Some help with super heroes

Post by Metal Avalon Sun Jul 25, 2010 10:46 am

That helps the understanding of it bu not the overall how too. Thanks though.
Metal Avalon
Metal Avalon

Posts : 168
Rep : 2
Join date : 2010-06-06
Age : 35

Back to top Go down

Some help with super heroes Empty Re: Some help with super heroes

Post by Craig Wed Aug 11, 2010 4:44 am

I'll help Avalon, just give me a week

Craig

Posts : 57
Rep : 0
Join date : 2010-06-07
Age : 33

Back to top Go down

Some help with super heroes Empty Re: Some help with super heroes

Post by Metal Avalon Wed Aug 11, 2010 1:44 pm

kk ty Craig.
Metal Avalon
Metal Avalon

Posts : 168
Rep : 2
Join date : 2010-06-06
Age : 35

Back to top Go down

Some help with super heroes Empty Re: Some help with super heroes

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum