Monster Image Spawn Script (MISS)       Back to File List | Edit This File

Monster Image Spawn Script (MISS) - Click to Download
Submitted by .:LXS::. on 04.22.2008 (2223 Downloads)
-The picture for 40/151 monsters 1 to 40...
-For add the script you must only download and extract in game folder.
-For add new words for monster talking you need to open the file fighttalk.txt and add a new line.
-The best module with description monster, talk monster...
#######################################
OPTIONAL!!!!!!!!!
#######################################
-For changing the border of image, you ned this (9 types of borders :D):

border-style: hidden;
border-style: ridge;
border-style: outset;
border-style: inset;
border-style: dashed;
border-style: dotted;
border-style: groove;
border-style: double;
border-style: solid;

-Cut the PHP random function from file fighttalk() and paste it into file lib.php (the library of function)for more ordonated web space.

SORRY FOR MY BAD ENGLISH :D

LEAVE A POST IF YOU DON'T UNDERSTAND ANYTHING ELSE!

THANKS FOR READING
File rating: 4.44 out of 5.00 (16 votes total).
Rate this file:       (Sucks) 1   2   3   4   5 (Rocks)      

Posted by svetljjjo on 04.23.2008
Gud ideas for the monster talk .
An images is very child's.
Posted by masterofollies on 04.24.2008
Hahaha I fell out of my chair laughing at the graphics. (F)

However talking monsters is a new idea. (A+)
Posted by StitchRFC on 05.12.2008
Should it be saying the whole txt file or just one line? I was expecting it to pick a random line from the txt file every time.
Posted by svetljjjo on 10.03.2011
I did this a little easier.
fighttalk.txt delete the file you will not need
replace the entire file with this fight.php


<?php

$fighttalk[0] = 'Come to me...';
$fighttalk[1] = 'Come to me looser...';
$fighttalk[2] = 'Come to me, to you GOD!';
$fighttalk[3] = 'I kill you with 1 hit!';
$fighttalk[4] = 'Restricted area do you copy?';
$fighttalk[5] = 'Ready for battle?';
$fighttalk[6] = 'I kill you all race from the earth !';
$fighttalk[7] = 'Little N00B';
$fighttalk[8] = 'Infected Zone... RUN!!!';
$ra=mt_rand(0, 8);


$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="images/monsters/{{monstername}}.jpg" style="border-style: dotted"/><br /><br />
<b>She Say:</b> $fighttalk[$ra] <br /><br />
<b>Details:</b> {{monsterhp}}
<b>Description:</b> COMING SOON <br /><br />
{{yourturn}}
{{monsterturn}}
{{command}}
</td></tr>
</table>
THEVERYENDOFYOU;
?>

If you want to add more
add a new row number +1
and change $ ra = mt_rand (0, 8);
instead of 8 is as you add lines
If you have added one more to become the ninth
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.