Eclipse
January 05, 2009, 07:03:57 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Chat Help Rules Arcade Search Calendar Gallery Login Register  
 
 
 
Recent Topics +-
Help,With Sprites, by ‪‫‬‭‮‪‫‬‭Admiral Refuge
Today at 07:03:09 PM

Azkanan's Workshop (Graphics) by Keebler Elf
Today at 07:02:36 PM

The New Eclipse Raid on Runscape by Alster
Today at 07:02:12 PM

Spike's Adminishness! by Niko
Today at 07:01:45 PM

No Questions Or Requests by Niko
Today at 07:00:03 PM

MOVED: Help,With Sprites, by Niko
Today at 06:58:33 PM

MUST READ Tutorials!!!!! by Niko
Today at 06:58:02 PM

New DezireSoft forums by Echo ♥ Pie
Today at 06:57:46 PM

Merrimint by Hikaru
Today at 06:54:23 PM

~ Paradise uncharted ~ Supported by Dezire Software Forums by The BanHammer! [Thor!]
Today at 06:51:17 PM

Members Online +-
14 Guests, 28 Users
Gh0st ...,
‪‫‬‭‮‪‫‬‭Admiral Refuge,
Niko,
Keebler Elf,
Alster,
The Tribal,
Hikaru,
Teh_General,
l0lz!,
Seba,
ZeroFusion,
Airscar,
Teh Jna,
Mitus,
Simius Cruentus,
Syner,
Echo ♥ Pie,
Gwendalin,
WolfHammer,
westin444,
The BanHammer! [Thor!],
linetrip,
ralir,
Ambard,
kdjrgej,
Warconn,
SoiWilliamSoi,
Leaf [zach]
Pages: [1]
  Print  
Author Topic: Village News Script  (Read 2467 times)
0 Members and 1 Guest are viewing this topic.
HaleBlazR
Guest


Email
« on: May 15, 2007, 07:44:40 PM »

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.
Zerotix
Member
**
Offline Offline

Posts: 56



View Profile WWW Email
« Reply #1 on: May 15, 2007, 07:46:51 PM »

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.
HaleBlazR
Guest


Email
« Reply #2 on: May 15, 2007, 07:48:32 PM »

Nono you don't have to change the script, just the ini.
Zerotix
Member
**
Offline Offline

Posts: 56



View Profile WWW Email
« Reply #3 on: May 15, 2007, 07:50:43 PM »

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.
HaleBlazR
Guest


Email
« Reply #4 on: May 15, 2007, 07:52:11 PM »

Go ahead, anyone can use it.
But thats a good idea there...
I wonder...?
Zerotix
Member
**
Offline Offline

Posts: 56



View Profile WWW Email
« Reply #5 on: May 15, 2007, 07:56:39 PM »

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.
HaleBlazR
Guest


Email
« Reply #6 on: May 15, 2007, 08:02:22 PM »

theres a download on the post.  this is too off topic.  PM me next time xD
1472000
Programmer
Advanced Member
****
Offline Offline

Posts: 557



View Profile Email
« Reply #7 on: June 14, 2007, 04:53:44 PM »

what if a village covers more maps?  :'(
HaleBlazR
Guest


Email
« Reply #8 on: June 20, 2007, 06:44:20 AM »

*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.
draganviper
Draganviper Studios Ceo
Active Member
***
Offline Offline

Posts: 204


Anime FTW!


View Profile WWW Email
« Reply #9 on: June 20, 2007, 07:11:06 AM »

C'mon Hail, don't be mean to the little post-count hunting newbs XP
HaleBlazR
Guest


Email
« Reply #10 on: June 20, 2007, 07:12:14 AM »

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.
draganviper
Draganviper Studios Ceo
Active Member
***
Offline Offline

Posts: 204


Anime FTW!


View Profile WWW Email
« Reply #11 on: June 20, 2007, 07:14:38 AM »

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
AkselJ
Scripter
Active Member
***
Offline Offline

Posts: 336



View Profile WWW Email
« Reply #12 on: September 22, 2008, 06:39:14 AM »

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?
Munro
Moderator
Advanced Eclipser
*
Offline Offline

Posts: 1,397


View Profile Email
« Reply #13 on: September 22, 2008, 06:51:09 AM »

you have to change data in the .ini file
Pages: [1]
  Print  
 
 

Powered by EzPortal
Powered by MySQL Powered by PHP Powered by SMF 2.0 Beta 4 | SMF © 2006–2008, Simple Machines LLC | Sitemap Valid XHTML 1.0! Valid CSS!
Page created in 0.47 seconds with 34 queries.