Page 1 of 1

FORGE SIMPLE

Posted: Thu Apr 17, 2014 10:38 am
by Eleven Warrior
Hi all..

Ok this is the Forge system ArdTru and myself came up with. It can be a single Forge or Multiple Forge system using both Alcoves and Altars. Every thing is in a Table of contents. What I mean is one Script to do the lot, but need multiple Alcoves and Altars. This depends on if the system is different levels ahy :) So here is the Drop Box link to the demo. It's short but sweet. I cannot release the code as of yet as my Mod is built around it (Sorry).. I am sure someone will figure out how to do it anyway lol..

Ohhh and 2 x daggers on the Altar = 1 x Long Sword just a example of course. I would do that in my mod LOL.....

Here is link

File is called: forge.dat

https://www.dropbox.com/sh/tx8r8dwlz9ibfj8/ppISEmYxel

I remember some people wanting a forge system.. THE FILE WILL BE ON MY DROP BOX FOR 1 WEEK THEN DELETED OK THXS :)

THXS: ARDTRU AWESOME CODING.. :)

Re: FORGE SIMPLE

Posted: Fri Apr 18, 2014 8:44 am
by Eleven Warrior
Hi again lol :)

Well the best thing about this Forge system is:

1 - The sound effects can be changed for each Item created.
2 - The Fx's can be changed for each Item created. I have even used the lasers from Prison Ward awesome ahy.. thxs guys..
3 - hudPrints for each Item see (below)
4 - Additionl things can happen when the player creates a item.. Eg: tile damage, fade to black (thxs Komag) and so on ..... :) or whatever you want to happen. I activate Script functions with it as well..

Eg:
function onRecipeStart(Rec)
if Rec == 1 then
end --- This (end) is required at the last rec start only ----
party:shakeCamera(1,1)
end

function onRecipeEnd(Rec)
if Rec == 1 then

hudPrint("Potion of Healing has been created.")
hudPrint("")
hudPrint("You have gained 25 Exp")
for i = 1,4 do party:getChampion(i):gainExp(25)

Start_Level_2.timer8Start() --- So I can start a Script function here ---

end
end

5 - The Forge Script can be used over and over. The only thing that changes is the names of the Alcoves and Altars..

This Script that ArdTru has created is simply awesome. I tried Localfire's forge system and it was awesome. AdrTru has made it work differently. :) Thxs to localfire for the Idea ahy.. :) His idea gave me something to think about and now it's awesome, well at least I think so ahy..

EDIT: Prison of Bleakhall would have used this for sure. :) I have checked the Code for this Mod.

Re: FORGE SIMPLE

Posted: Fri May 09, 2014 2:46 pm
by Eleven Warrior
Oh hi everone...

Ohhhh yeah I have fully implemented the Code for the forge system for my Mod and when released it will be awesome trust me... :)

2 - I am using the Log Framework to its max now. Eg: OnpickUp,OnUseItem, etc..... This system is so awesome I cant believe not many people are using it ahy. errrrr Thxs to ArdTru for explaining how it works.... The log Framework once you understand how it works......wellllll....so much you can do....

3 - Ohhhhh who said the Jkos and friends dialog system is dead....... Crap it does not create performance issues if you use the basic's of the code eg;

Code: Select all

--- Grimshaw Mine ---

    function LockedDoorl2a()
        Dialog.quickDialog([[So why is there a Mine under
		Grimshaws house?? This door is locked?? Where is
		the Key?? ]],
        clickedmine)      ---- Activates the below function ahy :) ----
    end

--- You can add any thing you want here in this Function ---

    function clickedmine()
-- eg  playSound('secret")
-- eg  spawn("fx", party.level, party.x, party.y, party.facing, "basement1")
        -- basement1:translate(0, 1.5, 0)
        -- basement1:setParticleSystem("fade_red_fast")

--- The above is a custom Fx's sorry --

-- eg  party:shakeCamera(1,2)
-- eg  spawn("dm_fakedoor_wood_broken",2,15,4,2,"fakedoor1")
-- eg  dm_1:destroy()
-- eg  Timer_1:activate()

--- what ever else you want to do lol :) --

       hudPrint("")
       hudPrint("")

    end

Re: FORGE SIMPLE

Posted: Sat May 10, 2014 10:30 pm
by bongobeat
Hello there,

I ve downloaded your file but I can't open the archive, I guess something went wrong when downloading or while compressing.
Will you put the file available later pls, then I can retry? the download link is dead now. :o