Monster Image Spawn       Back to File List | Edit This File

Monster Image Spawn - Click to Download
Submitted by Jonathan T. McClain on 02.14.2008 (732 Downloads)
Spawns an image of the monster being displayed and is consistent! never fails and you know what you might shoot yourself if you saw how easy it was.

//******************************************************************************
//******************************************************************************
//******************************************************************************
//Just copy and paste to the template/fight.php file and upload your own images
//of monsters but be sure to name the image files the same as the monster names.
//******************************************************************************
//******************************************************************************
//******************************************************************************

<?php

$template = <<<THEVERYENDOFYOU

<table width="100%">

<tr><td class="title"><img src="images/title_fighting.gif" alt="Fighting" /></td></tr>

<tr><td>

You are fighting a <b>{{monstername}}</b><br /><br />

<img src="your/directory/{{monstername}}.filetype"/>
<br />
<br />


{{monsterhp}}
{{yourturn}}
{{monsterturn}}
{{command}}

</td></tr>

</table>

THEVERYENDOFYOU;

?>
File rating: 4.20 out of 5.00 (5 votes total).
Rate this file:       (Sucks) 1   2   3   4   5 (Rocks)      

Posted by masterofollies on 02.14.2008
Your description doesn't make sense at all. You need to describe it more rather then posting a coding.
Posted by Whiz on 02.15.2008
It makes sense, if you read his post in the DS forum.  The above code calls an image that has the same name as the monster you are fighting.  Simply upload an image with the appropriate name and path, and ta-da, a monster image.
Posted by masterofollies on 02.15.2008
I don't like DS
Posted by Noramros on 01.22.2009
You whine a lot, masterofollies
Add A Comment

In order to cut down on comment spam, you must be registered on the support forums and provide your username and password before you are allowed to comment. The name shown in your comment will be your forums display name. Sorry it had to be like this. If you haven't already, please register an account.

Forums Username:


Forums Password:


Your Comment:




Information & Rules
This is a file index for any Dragon Knight modifications. If you've made a mod you'd like to share with the community, upload it.

Mod authors, please include a name, version, and brief description along with your file. All files should be submitted in a zip file that includes the actual PHP scripts as well as any readme/instruction files.

DISCLAIMER: I take absolutely no responsibility for the content or functionality of any of these files. You use them entirely at your own risk. Make sure to run all files through a virus scanner before opening them. Hopefully the people here are above such petty nonsense as putting a virus in the files, but you can never be to careful.