Eclipse - Free 2D Mmorpg Maker
September 02, 2010, 10:18:15 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Shop Arcade chat Login Register  
 
 
   
 
collapse

* No Spam Or Websites

Refresh History
  • Ertzel: So... Anyone with basic/none/limited photoshop or even paint skills want to make some money converting sprites for me?
    Today at 10:07:35 PM
  • Gamma™: weaver why are you oflfine on H&H? :S
    Today at 10:04:26 PM
  • Ertzel: Ya, only one try per knife, my one try failed :(
    Today at 10:00:17 PM
  • LegendWeaver: is it one use?
    Today at 09:43:15 PM
  • Ertzel: Wish I didnt spend my 1k+ credits to buy the stupid knife that failed at stealing Robins credits >.<
    Today at 09:42:42 PM
  • Wraith: ) Kreator!
    Today at 09:06:52 PM
  • Wraith: yes! you were! (in red text
    Today at 09:06:46 PM
  • ToshiroHayate: Kreator!
    Today at 08:25:02 PM
  • Kreator: o_0 Was I supposed to Wraith?
    Today at 08:16:02 PM
  • [Pie] ICT: Don't worry.. I commented.
    Today at 07:55:08 PM
  • Wraith: Ay, kreator, wtf is up with you not posting anything about my new cliffs??
    Today at 07:50:36 PM

* Recent Topics

[EO] Attaching Problem. by Ertzel
[Today at 10:11:57 PM]


Project Vertigo [2d Tile-based Side-Scrolling Engine] by Miguu
[Today at 10:03:22 PM]


Zacaras Empire (Hiring) by Ertzel
[Today at 08:43:54 PM]


custom cliff tiles by ToshiroHayate
[Today at 08:29:15 PM]


.: RPG Kingdom :. by LegendWeaver
[Today at 08:25:20 PM]


What do you think? by [Pie] ICT
[Today at 07:54:54 PM]


[Show Off] Aztec Stuff by [Pie] ICT
[Today at 07:50:07 PM]


So I herd you liek mudkipz by Kreator
[Today at 07:36:52 PM]


Haven and Hearth: Epic Screenshot Thread by Tompwnage™
[Today at 07:14:21 PM]


The Lonliest Star [RP] by DDunit
[Today at 07:09:46 PM]


* Who's Online


Site Author : Topic: Village News Script  (Read 5139 times)
0 Members and 1 Guest are viewing this topic.
May 15, 2007, 07:44:40 PM
HaleBlazR
Guest
Difficulty: I made this myself and found it relatively easy.  1/5. 

Well basically the script gets the Player's name and says "PlayerName", heres the news.  And then the news is displayed in the text area.

Code: [Select]
Dim *VILLAGENAME*News

*VILLAGENAME*News = GetVar("VillageNews.ini", "News", "*VILLAGENAME*")
        Call PlayerMsg(index,  GetPlayerName(index) & " , heres the news... ", 7)
        Call PlayerMsg(index, *VILLAGENAME* & "", 9)

Things you need to do...

1)Create Villagenews.ini
2)In it, create
[News]
*VILLAGENAME*News= NEWS HERE

Things to change
1)The villagename is obviously the name of the village you are dealing with, so change that.
2)In villagenews.ini: News here is where you put the news
3)In the script, change the color of the text if you want to.  I set it blue. 

To create more villagenews...
Since your game will obviously have more than one village, then copy this script and put it under another scriptedtile.  Then just edit the things again.
Logged
May 15, 2007, 07:46:51 PM
Member
**
User No : 2691
Posts: 52
  • 0 credits
  • View Inventory
  • Send Money To Zerotix
  • Location : New Jersey
    • View Profile
    • WWW
    Youre better off creating an ini that you can update every so often instead of having to change the script all the time, it makes things less of a hassle.
    Logged
    May 15, 2007, 07:48:32 PM
    HaleBlazR
    Guest
    Nono you don't have to change the script, just the ini.
    Logged
    May 15, 2007, 07:50:43 PM
    Member
    **
    User No : 2691
    Posts: 52
  • 0 credits
  • View Inventory
  • Send Money To Zerotix
  • Location : New Jersey
    • View Profile
    • WWW
    Oh haha I didnt see that in there.

    Well Im no scripter, I just had an opinion, but can someone confirm it I might use it myself.
    Logged
    May 15, 2007, 07:52:11 PM
    HaleBlazR
    Guest
    Go ahead, anyone can use it.
    But thats a good idea there...
    I wonder...?
    Logged
    May 15, 2007, 07:56:39 PM
    Member
    **
    User No : 2691
    Posts: 52
  • 0 credits
  • View Inventory
  • Send Money To Zerotix
  • Location : New Jersey
    • View Profile
    • WWW
    If you didnt catch the post I put in your games topic, Im still interested in it. Can you post a download on here somewhere.
    Logged
    May 15, 2007, 08:02:22 PM
    HaleBlazR
    Guest
    theres a download on the post.  this is too off topic.  PM me next time xD
    Logged
    June 14, 2007, 04:53:44 PM
    Active Member
    ***
    User No : 2847
    Posts: 488
  • 8 credits
  • View Inventory
  • Send Money To 1472000
    • View Profile
    what if a village covers more maps?  :'(
    Logged
    June 20, 2007, 06:44:20 AM
    HaleBlazR
    Guest
    *cough*necroposter*cough*
    If it takes up more maps, that doesn't effect anything, nooblet.  :P
    You put the script in, like, the village square.
    Logged
    June 20, 2007, 07:11:06 AM
    Draganviper Studios Ceo
    Active Member
    ***
    User No : 2740
    Posts: 189
  • 0 credits
  • View Inventory
  • Send Money To draganviper
  • Location : Rensselaer, NY
    Anime FTW!
    • View Profile
    • WWW
    C'mon Hail, don't be mean to the little post-count hunting newbs XP
    Logged

    _______________________________________ _________________________
    http://www.dontclickthere.com/
    Where the user is the judge!
    _______________________________________ _________________________
    June 20, 2007, 07:12:14 AM
    HaleBlazR
    Guest
    C'mon Hail, don't be mean to the little post-count hunting newbs XP
    That's exactly what he is.
    A little post count hunting newb.
    Logged
    June 20, 2007, 07:14:38 AM
    Draganviper Studios Ceo
    Active Member
    ***
    User No : 2740
    Posts: 189
  • 0 credits
  • View Inventory
  • Send Money To draganviper
  • Location : Rensselaer, NY
    Anime FTW!
    • View Profile
    • WWW
    Yeah, ....we all know by now.....but *sigh* lets face it, not everyone has something thats interesting (or in some cases even relevant 0.o) to add to a discussion :P
    Logged

    _______________________________________ _________________________
    http://www.dontclickthere.com/
    Where the user is the judge!
    _______________________________________ _________________________
    September 22, 2008, 06:39:14 AM
    Moderator
    Teh Uberleet
    *
    User No : 7966
    Posts: 2162
  • 112 credits
  • View Inventory
  • Send Money To Aksel
  • Location : Right here
    [SB] Paladin
    • View Profile
    I can't get the script working. I placed the code under scripted tile, and added the script to a map. When I walked on the tile, nothing happened. What's wrong?
    Logged

    Once a SB, always a SB.
    September 22, 2008, 06:51:09 AM
    Teh Uberleet
    ******
    User No : 2747
    Posts: 2195
  • 0 credits
  • View Inventory
  • Send Money To Munro
    • View Profile
    you have to change data in the .ini file
    Logged
    January 15, 2009, 12:42:45 AM
    God's Elite of Justice
    Member
    **
    User No : 10145
    Posts: 27
  • 0 credits
  • View Inventory
  • Send Money To Guardian of Love
  • Hold on, be strong, we guardians are here around!.
    • View Profile
    Difficulty: I made this myself and found it relatively easy.  1/5. 

    Well basically the script gets the Player's name and says "PlayerName", heres the news.  And then the news is displayed in the text area.

    Code: [Select]
    Dim *VILLAGENAME*News

    *VILLAGENAME*News = GetVar("VillageNews.ini", "News", "*VILLAGENAME*")
            Call PlayerMsg(index,  GetPlayerName(index) & " , heres the news... ", 7)
            Call PlayerMsg(index, *VILLAGENAME* & "", 9)

    Things you need to do...

    1)Create Villagenews.ini
    2)In it, create
    [News]
    *VILLAGENAME*News= NEWS HERE

    Things to change
    1)The villagename is obviously the name of the village you are dealing with, so change that.
    2)In villagenews.ini: News here is where you put the news
    3)In the script, change the color of the text if you want to.  I set it blue. 

    To create more villagenews...
    Since your game will obviously have more than one village, then copy this script and put it under another scriptedtile.  Then just edit the things again.

    Its one think with I don't understund. You set:

    1)Create Villagenews.ini
    2)In it, create
    [News]
    *VILLAGENAME*News= NEWS HERE

    OK but:

    Dim *VILLAGENAME*News

    *VILLAGENAME*News = GetVar("VillageNews.ini", "News", "*VILLAGENAME*")
            Call PlayerMsg(index,  GetPlayerName(index) & " , heres the news... ", 7)
            Call PlayerMsg(index, *VILLAGENAME* & "", 9)

    So I must repeat NEWS in INI file and same to Call PlayerMsg?. Somone know?
    « Last Edit: January 15, 2009, 12:45:46 AM by Guardian of Love » Logged

    January 15, 2009, 09:07:59 AM
    Novice graphicer,Advanced Mapper,Advanced Scripter,C++ & VB
    Active Member
    ***
    User No : 6345
    Posts: 264
  • 0 credits
  • View Inventory
  • Send Money To Sigait
  • Hail Sigait,the prince of light!!!
    • View Profile
    Oh cmon people,this script is really really easy and I can't understand how you can implent it in a wrong way!
    So I must repeat NEWS in INI file and same to Call PlayerMsg?. Somone know?

    You need to edit just the INI file.

    Sigait.
    Logged


    My computer geek score is greater than 73% of all people in the world! How do you compare? Click here to find out!

    IF you have an idea and you don't know how to make it reality just open your main and start scripting
    January 15, 2009, 09:15:35 AM
    Moderator
    Teh Uberleet
    *
    User No : 7966
    Posts: 2162
  • 112 credits
  • View Inventory
  • Send Money To Aksel
  • Location : Right here
    [SB] Paladin
    • View Profile
    Code: [Select]
    [News]
    *VILLAGENAME*News= NEWS HERE"
    *VILLAGENAME*News= NEWS HERE"
    *VILLAGENAME*News= NEWS HERE"
    *VILLAGENAME*News= NEWS HERE"

    Like this. And you need to add the script for each village.
    Logged

    Once a SB, always a SB.
     


    Powered by MySQL Powered by PHP Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
    SimplePortal 2.3.1 © 2008-2009, SimplePortal
    Valid XHTML 1.0! Valid CSS!
    Page created in 0.469 seconds with 30 queries.