Author Topic: Converting NightmareIV to DS2  (Read 2453 times)

Offline Atomic

  • BFF
  • ***
  • Posts: 115
  • To infinity and beyond!
    • View Profile
Converting NightmareIV to DS2
« on: November 13, 2006, 05:18:50 am »

When I have access to 'old' NightmareIV resources (as you mentioned

Praxis on DS-demo), and I want to convert scripts/areas from that

to DS2, which pieces of code should I take care of?



What headers/funs are typically to clash by converting

stuff 1:1?


To infinity and beyond!
Always remember that the early bird gets the worm first, but the fi...*SNAP*...second mouse gets the cheese.

Offline cratylus

  • Your favorite and best
  • Administrator
  • ***
  • Posts: 1024
  • Cratylus@Dead Souls <ds> np
    • View Profile
    • About Cratylus
Converting NightmareIV to DS2
« Reply #1 on: November 13, 2006, 06:32:44 am »

Atomic,



Download the alpha DS2 mudlib from here:



http://dead-souls.net/code/alpha/ds2.1a15.zip">http://dead-souls.net/code/alpha/ds2.1a15.zip



The Praxis I mention is actually Praxis from Nightmare 3. You'll

see it included in DS2 alpha. It's been converted to work with DS2.



DS2 alpha has enabled by default some backward-compatibility

headers which facilitate importing old-school code with minimal

pain.



There are also lsed scripts in /secure/scripts to facilitate the

mass conversion of old school code into DS2 compliant code.



Type: help lsed

for more information



None of this is "fire and forget" stuff. You still need to put in

many hours of labor. But these tools should help limit the unpleasantness.



I should mention that while NMIV code will almost certainly

need *some* changes to work (for example ARMOUR->ARMOR), it's

really not that different from DS2, functionally, so you shouldn't run into

showstoppers.