Cronwerks MCCode/MCCodes Forums

Please login or register.

Login with username, password and session length

News:

Make some extra cash by selling Cronwerks mods with our affiliate system.


Pages: [1] 2

AuthorTopic: Status bars  (Read 861 times)

FrankWiccan

  • Basic Member
  • *
  • Reputation Power: 25
  • FrankWiccan has no influence.
  • Offline Offline
  • Posts: 40
    • View Profile
Status bars
« on: October 29, 2009, 01:45:37 PM »
Any one know how or have a mod to add additional status bars in the game (eng v2)
working on a game and trying to add a few more stats that we need.
thanks

FW
Logged

Danny696

  • Excellent Member
  • ***
  • Reputation Power: 276
  • Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.
  • Offline Offline
  • Posts: 457
    • View Profile
Re: Status bars
« Reply #1 on: October 30, 2009, 12:55:25 PM »
LOL, learn to code, add it in the db, if you know how,  then code it in (doubt you even get this far so im not gonna continue)
Logged
My Game: GraveYard; Madness || Projects; N/A -  Available for work. Please IM/PM me.

FrankWiccan

  • Basic Member
  • *
  • Reputation Power: 25
  • FrankWiccan has no influence.
  • Offline Offline
  • Posts: 40
    • View Profile
Re: Status bars
« Reply #2 on: October 30, 2009, 04:37:17 PM »
The information is not for me actualy so there is no need to be rude.
Im well aware I dont have the ability to code this tht is why I asked for information that I will pas on to a person who has much more then I do.

thanks for the sugestion and the less then encouraging remark.
Logged

Cronus

  • Administrator
  • Excellent Member
  • *****
  • Reputation Power: 1870
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 479
    • View Profile
    • WWW
Re: Status bars
« Reply #3 on: October 31, 2009, 06:05:10 AM »
Danny if you are not going to leave helpful replies then please refrain from posting, you have been warned.
Logged

gambino

  • Active Member
  • **
  • Reputation Power: 0
  • gambino is looked down upon.gambino is looked down upon.gambino is looked down upon.
  • Offline Offline
  • Posts: 113
    • View Profile
Re: Status bars
« Reply #4 on: October 31, 2009, 10:50:46 PM »
please post here on what you are trying to add. maybe I can help.
Logged

Danny696

  • Excellent Member
  • ***
  • Reputation Power: 276
  • Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.Danny696 has a powerful will.
  • Offline Offline
  • Posts: 457
    • View Profile
Re: Status bars
« Reply #5 on: November 01, 2009, 02:03:02 PM »
he allready said he gonna give the info to someone 'who' can code, and if they knew how to code, wouldnt they know how to do it.
Logged
My Game: GraveYard; Madness || Projects; N/A -  Available for work. Please IM/PM me.

RedQueen

  • Basic Member
  • *
  • Reputation Power: 14
  • RedQueen has no influence.
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Status bars
« Reply #6 on: November 01, 2009, 07:22:05 PM »
the information is for me Thank You Frank for asking
and though i do know how to code i have stated on here more than enough that i am still learning that is why it is so nice to have a place like this to come to and learn from others who obviously have more knowledge than i do:)

what we wanted to know is how to add 2 more bars like your
health
brave
experience and will bar
we wanted to have 2 more 1 hunger and the other stamina
i have looked through the files and could not figure out where or how i would do ths
thank you to all who take the time to help us that are new  to this we very much appreciate it
« Last Edit: November 01, 2009, 07:23:40 PM by RedQueen »
Logged

Cronus

  • Administrator
  • Excellent Member
  • *****
  • Reputation Power: 1870
  • Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!Cronus is awe-inspiring!
  • Offline Offline
  • Posts: 479
    • View Profile
    • WWW
Re: Status bars
« Reply #7 on: November 02, 2009, 08:01:58 AM »
he allready said he gonna give the info to someone 'who' can code, and if they knew how to code, wouldnt they know how to do it.
Its obvious they don't know how. That is why they are asking. If you are going to be arrogant/rude then DO NOT POST. The point of this forum is to help those that do not know how to do something, not bash them until they leave. This is not ce, if you want to bicker like a child please go post there. =)
Logged

FrankWiccan

  • Basic Member
  • *
  • Reputation Power: 25
  • FrankWiccan has no influence.
  • Offline Offline
  • Posts: 40
    • View Profile
Re: Status bars
« Reply #8 on: November 02, 2009, 08:51:04 AM »
We are trying to move our game forward while Red learns more coding some things we need help with so she can learn more other things were asking to purchase a mod for.
if everyone knew how to code there would be no need or market too sell mods, were trying to learn as we go.

Anyway we want to buy fish while we learn to fish so we dont starve while we learn
thanks
Logged

strats

  • Active Member
  • **
  • Reputation Power: 13
  • strats has no influence.
  • Offline Offline
  • Posts: 109
    • View Profile
Re: Status bars
« Reply #9 on: November 04, 2009, 06:13:13 AM »
I am not a big coder but I think I could help you with this.
Pm your msn and I will have a chat with you
Logged

Maketextgames.com

  • Active Member
  • **
  • Reputation Power: 112
  • Maketextgames.com is working their way up.Maketextgames.com is working their way up.Maketextgames.com is working their way up.
  • Offline Offline
  • Posts: 204
    • MSN Messenger - immortalthug4ever@hotmail.com
    • View Profile
    • WWW
Re: Status bars
« Reply #10 on: November 09, 2009, 04:43:43 PM »
What is really funny is i ended up doing this for them to implement it with the charachter class mod i sold them.

Had it done before i knew what I was doing and now they are set to rock!

Kudos you 2 :)

And thanks for all your purchases :)

RedQueen

  • Basic Member
  • *
  • Reputation Power: 14
  • RedQueen has no influence.
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Status bars
« Reply #11 on: November 13, 2009, 11:49:56 AM »
thank you Strats as Immortalhug said he helped us out with this already it is all good now looks great :)
thank you Immortalhug for all the help and support we look forward to doing more business with you in the future
also i really appreciate all the time and help you have been giving me i have learned alot from it :)thank you again
Logged

Maketextgames.com

  • Active Member
  • **
  • Reputation Power: 112
  • Maketextgames.com is working their way up.Maketextgames.com is working their way up.Maketextgames.com is working their way up.
  • Offline Offline
  • Posts: 204
    • MSN Messenger - immortalthug4ever@hotmail.com
    • View Profile
    • WWW
Re: Status bars
« Reply #12 on: November 13, 2009, 12:50:05 PM »
np and you're welcome red :)

Agon

  • Basic Member
  • *
  • Reputation Power: 13
  • Agon has no influence.
  • Offline Offline
  • Posts: 19
    • View Profile
Re: Status bars
« Reply #13 on: November 19, 2009, 04:58:19 PM »
Here's some info on status bars. Not much, but it should get someone in the right direction.

Here is a status bar from header.php

Code: [Select]
$enperc=(int) ($ir['energy']/$ir['maxenergy']*100);

$enopp=100-$enperc;


Here is what produces the image of the statusbar:

Code: [Select]
{$ir['energy']}/{$ir['maxenergy']}
<img src=barwhite.gif width=$enperc height=8><img src=bargrey.gif width=$enopp height=10>


Examine your database USERS table. Have a look at 'energy' and 'maxenergy'
This should give you a hint on what to do.

Here's a link to an example mod that will also help.

http://www.makewebgames.com/game-engines-and-modifications/mccode-dbscode-game-engine/free-plugins/p67290-mccode-v1-scuba-diving/?highlight=scubadive.php#post67290

It's a free mod out there... Scubadive.php

It goes into detail of adding an 'oxygen' bar.

I hope this information helps. Good luck!
Logged

RedQueen

  • Basic Member
  • *
  • Reputation Power: 14
  • RedQueen has no influence.
  • Offline Offline
  • Posts: 21
    • View Profile
Re: Status bars
« Reply #14 on: November 20, 2009, 11:23:53 AM »
thank you Agon i think this will help others in the same situation i was in :)
Logged
Pages: [1] 2
« previous next »