Jump to content

Photo

Script Request: Level Specific Maps for a Map Shop.


  • Please log in to reply
5 replies to this topic

#1 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 07 May 2019 - 07:33 PM

I'm requesting a map item where you can select what Level it is for, this is for the purpose of wanting to sell maps outside of the dungeons in one particular part of my game. So a kind of map item that will point to whatever levels I am choosing. These levels will certainly be double digit as in like Level 12 or something like that.

 

Specific Details:

  • ZC 2.50.2
  • I believe I will need at least 7 of these maps.
  • This is actually for the final level of my quest, but the level has multiple districts or segments, and I want people to be able to buy all the maps in a shop located in the central hub of the dungeon. 
  • Any other details, just ask. 
  • In case anybody is wondering, I've added script request to the title of this topic mainly so people can tell what it is by looking at the forum sidebar.


#2 Alucard648

Alucard648

    Wizard

  • Members
  • Location:castle Dracula

Posted 07 May 2019 - 11:09 PM

 

I'm requesting a map item where you can select what Level it is for, this is for the purpose of wanting to sell maps outside of the dungeons in one particular part of my game. So a kind of map item that will point to whatever levels I am choosing. These levels will certainly be double digit as in like Level 12 or something like that.

 

Specific Details:

  • ZC 2.50.2
  • I believe I will need at least 7 of these maps.
  • This is actually for the final level of my quest, but the level has multiple districts or segments, and I want people to be able to buy all the maps in a shop located in the central hub of the dungeon. 
  • Any other details, just ask. 

 

//This script gives Link a dungeon map for remote level
//1. Import and compile the script
//2. Assign this script as Pickup script item editor slot.
//3. D0 - Level for map to give.

item script RemoteLevelMap{
	void run (int level){
		Game->LItems[level]|=LI_MAP;
	}
}

You need 7 item slots in Item editor.

Make sure that each area in the dungeon is a separate level in Dmap editor (level 10, level 11, etc.).



#3 Soma C.

Soma C.

    Mr. Coreaix

  • Members
  • Real Name:Josh
  • Location:Akumajou Soma

Posted 08 May 2019 - 09:58 AM

Just popping in to say that that sounds like a really badass and amazing final level.  I'm always into levels like that, and wish to build one myself someday :)  Have lots of fun with it!



#4 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 08 May 2019 - 10:39 AM

D0 is used for a pickup script that displays a message string. 



#5 Saffith

Saffith

    IPv7 user

  • ZC Developers

Posted 08 May 2019 - 01:10 PM

If you're already using a pickup script, they'll need to be combined. Could you post the one you're using?

#6 TheLegend_njf

TheLegend_njf

    Deified

  • Members
  • Real Name:Grant

Posted 09 May 2019 - 05:45 AM

If you're already using a pickup script, they'll need to be combined. Could you post the one you're using?

I've decided not to use the pickup script for these items, since I realized it wasn't all that required.

 

Thanks anyways. 




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users