Brynner Posted March 18, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1951 Reputation: 202 Joined: 01/08/12 Last Seen: 47 minutes ago Share Posted March 18, 2013 how can i make just like this?when you warped to the map you will get a message just like on the images. this is also just like on eAmod. Quote Link to comment Share on other sites More sharing options...
Brian Posted March 19, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted March 19, 2013 One way would be an OnPCLoadMapEvent script, that announces with a fontColor and fontSize. announce "<text>",<flag>{,<fontColor>{,<fontType>{,<fontSize>{,<fontAlign>{,<fontY>}}}}};You could get the map names from /data/mapnametable.txt The icons on the minimap are probably done by editing the .bmp images in /data/texture/À¯ÀúÀÎÅÍÆäÀ̽º/map/ Quote Link to comment Share on other sites More sharing options...
1 iZeal Posted July 16, 2014 Group: Members Topic Count: 10 Topics Per Day: 0.00 Content Count: 55 Reputation: 2 Joined: 06/09/14 Last Seen: August 15, 2014 Share Posted July 16, 2014 it still announces on Teleport or Fly wing on same map can anyone make this to only announce once upon entering a Map? anyone? Quote Link to comment Share on other sites More sharing options...
Brynner Posted March 19, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1951 Reputation: 202 Joined: 01/08/12 Last Seen: 47 minutes ago Author Share Posted March 19, 2013 thanks Quote Link to comment Share on other sites More sharing options...
Brian Posted March 20, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted March 20, 2013 (edited) One way would be an OnPCLoadMapEvent script, that announces with a fontColor and fontSize.Here you go:1. edit trunk/src/map/clif.c so OnPCLoadMapEvent always triggers, even if maps do not have the 'loadevent' mapflag. Find these lines: if(map[sd->bl.m].flag.loadevent) // Lance npc_script_event(sd, NPCE_LOADMAP); and change to look like this: npc_script_event(sd, NPCE_LOADMAP); 2. load this script: where_am_i.txt (I commented out maps that did not have an English translation in mapnametable.txt, so there will be no announcement when you load on those maps. Edited April 5, 2013 by Brian 1 Quote Link to comment Share on other sites More sharing options...
Brynner Posted March 20, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1951 Reputation: 202 Joined: 01/08/12 Last Seen: 47 minutes ago Author Share Posted March 20, 2013 thanks Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 20, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 20, 2013 should i edit the clif.c ? Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 20, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 20, 2013 i try to load the script. i got error. [Error]: Loading NPC file: npc/1.test/mapannoucement.txt script error on npc/1.test/mapannoucement.txt line 17 parse_callfunc: not enough arguments, expected ',' 12 : set .06guild_05$, "Guild War Arena"; 13 : set .06guild_06$, "Guild War Arena"; 14 : set .06guild_07$, "Guild War Arena"; 15 : set .06guild_08$, "Guild War Arena"; 16 : set .06guild_r$, "Guild War Arena - Waiting Room"; * 17 : set .1'@'cash$, "Octopus Cave"; 18 : set .1@cata$, "Catacomb"; 19 : //set .1@ecl$, "┐í┼¼╢≤┴Ω │╗║╬"; 20 : //set .1@lhz$, "║╕╕ú╝╝║Ω└╟ ┐¼▒╕╜╟"; 21 : set .1@ma_b$, "Bakonawa Hideout"; 22 : set .1@ma_c$, "Buwaya Cave"; Quote Link to comment Share on other sites More sharing options...
Brian Posted March 20, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted March 20, 2013 Sorry about that. I forgot variable names can only be alphanumeric and underscore. I fixed it by adding replacestr to change "@" and "-" to underscores. where_am_i.txt Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 21, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 21, 2013 Sorry about that. I forgot variable names can only be alphanumeric and underscore. I fixed it by adding replacestr to change "@" and "-" to underscores. where_am_i.txt thx .. sir what happen if i not edit the clif.c ? Quote Link to comment Share on other sites More sharing options...
Brian Posted March 21, 2013 Group: Members Topic Count: 75 Topics Per Day: 0.02 Content Count: 2223 Reputation: 593 Joined: 10/26/11 Last Seen: June 2, 2018 Share Posted March 21, 2013 If you choose not to edit clif.c, then you need to write a mapflag script that sets the 'loadevent' mapflag on every map (or every map where you want the map name to be announced when you enter). Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted March 21, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted March 21, 2013 ah. that why there are no announce in certain map. hehe. thx bro. i will try it Quote Link to comment Share on other sites More sharing options...
Nokia Posted April 8, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 150 Reputation: 5 Joined: 12/28/11 Last Seen: May 10, 2013 Share Posted April 8, 2013 heya, is there a way to disable the announce if fly wing is used? Quote Link to comment Share on other sites More sharing options...
rqueen Posted August 26, 2013 Group: Members Topic Count: 20 Topics Per Day: 0.00 Content Count: 82 Reputation: 1 Joined: 04/30/13 Last Seen: October 30, 2014 Share Posted August 26, 2013 (edited) One way would be an OnPCLoadMapEvent script, that announces with a fontColor and fontSize.Here you go:1. edit trunk/src/map/clif.c so OnPCLoadMapEvent always triggers, even if maps do not have the 'loadevent' mapflag. Find these lines: if(map[sd->bl.m].flag.loadevent) // Lance npc_script_event(sd, NPCE_LOADMAP); and change to look like this: npc_script_event(sd, NPCE_LOADMAP); 2. load this script: where_am_i.txt (I commented out maps that did not have an English translation in mapnametable.txt, so there will be no announcement when you load on those maps. Any eA-compatible script please? I haven't tried it, but I know for a fact that the method of setting variables shown in the script is an rA thing. :| EDIT: Nvm, misread. I tried it now and the script still doesn't work for eA though. Edited August 27, 2013 by rqueen Quote Link to comment Share on other sites More sharing options...
Light Posted October 26, 2013 Group: Members Topic Count: 21 Topics Per Day: 0.00 Content Count: 49 Reputation: 1 Joined: 12/09/12 Last Seen: December 10, 2016 Share Posted October 26, 2013 Well the script is working but it doesnt show in game. I mean no errors on script but it doesnt show in game, i edited clif.c btw Quote Link to comment Share on other sites More sharing options...
Brynner Posted October 27, 2013 Group: Members Topic Count: 120 Topics Per Day: 0.02 Content Count: 1951 Reputation: 202 Joined: 01/08/12 Last Seen: 47 minutes ago Author Share Posted October 27, 2013 Well the script is working but it doesnt show in game. I mean no errors on script but it doesnt show in game, i edited clif.c btw the script works fine for me. Quote Link to comment Share on other sites More sharing options...
mrlongshen Posted November 8, 2013 Group: Members Topic Count: 98 Topics Per Day: 0.02 Content Count: 1302 Reputation: 79 Joined: 12/04/12 Last Seen: September 26, 2019 Share Posted November 8, 2013 Well the script is working but it doesnt show in game. I mean no errors on script but it doesnt show in game, i edited clif.c btw the script works fine for me. this script not works on hercules. Quote Link to comment Share on other sites More sharing options...
Question
Brynner
how can i make just like this?when you warped to the map you will get a message just like on the images. this is also just like on eAmod.
Link to comment
Share on other sites
16 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.