[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  Area Editor
. -> [Folder]  General
. . -> [Subject]  Rom - Mobprog question.

Rom - Mobprog question.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page


Posted by Ascaroth   (2 posts)  [Biography] bio
Date Mon 23 Jul 2007 12:46 PM (UTC)

Amended on Mon 23 Jul 2007 01:51 PM (UTC) by Ascaroth

Message
Hello,
Hopefully someone can better answer this for me.
I want to use mobprogs for the Rom24b6 code base.
I see that when I want to "add mobprog" it says I need the command.dat and socials.dat, which are part of SMAUG.
I am curious though.. Can I modify the Command/Socials.dat to reflect ROM code and thus allow me to use them accordingly?
I have added personal mobprogs directly to the area file I am working on, but if I modify the file with area editor, it removed the mobprog.
Finally, if there is a way to modify the smaug files to reflect ROM code style... Where would I find the information in the rom files to aka copy/paste or edit.

UPDATE:
After playing with AE, I have this result.
#17160
brass statue golem knight~
Brass Knight~
A brass statue of a knight stands before a mural.
~
This statue looks lifelike. It resembles the brass knight standing in the
mural.
~
unique~
AB 0 600 0
100 500 20d200+4000 0d0+0 50d30+50 crush
-60 -60 -60 -60
0 ABLQ D H
stand stand female 0
J 0 large 0
> death_prog 100~
#17100
mob oload 17200 1 room
mob echo The {yBrass knight crumbles to dust and a portal appears.{x
~
|

*** The File ***
should look like this at the end.
M death 17100 100

and at the bottom of the file


#MOBPROGS
#17100
mob oload 17200 1 room
mob echo The {yBrass knight crumbles to dust and a portal appears.{x
~
#0


**********************************************

What I am trying to determine.. How do I modify AE to allow me to place it correctly in the area file and in the correct format?

If anyone can help :)
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #1 on Mon 23 Jul 2007 09:38 PM (UTC)
Message
Have you tried File -> Preferences -> General -> "Save Programs in ROM Areas"?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Ascaroth   (2 posts)  [Biography] bio
Date Reply #2 on Tue 24 Jul 2007 02:36 AM (UTC)
Message
Yeah,
That is when I was able to save it in that format.
It just puts the mobprog right under the mob.
When in a rom area file, the mobprog goes down to the end of the area file itself. It doesn't do that with AE.
[Go to top] top

Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Reply #3 on Tue 24 Jul 2007 03:04 AM (UTC)
Message
If they all go down the end, you could just save them (in a separate file), edit the area with the Area Editor, and put them back.

The format of SMAUG areas (and ROM too I think) has changed a bit over the years. If you want to make it keep being compatible you may have to download the Area Editor source and make the necessary changes.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


15,556 views.

It is now over 60 days since the last post. This thread is closed.     [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]