Frictional Games Forum (read-only)
Search a Buy System - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Search a Buy System (/thread-13529.html)

Pages: 1 2


Search a Buy System - Ultimegastriker - 02-23-2012

English:

Hi people,

I am looking for a Buy System where you can buy something, like for Sanity, or healing potions
I've already scripted soein similar system.
However, I've done it with InteractCallback.
The problem is you need no item was "exchanging", however, but simply touching the lever.

I would like to have a system where you need to buy an item for something, otherwise you can not buy anything.

As it is purchased?

- Quite simply, it can be a lever to activate then a sound purchase and it is the item that you bought in the inventory

I see what I buy?

Also, simple, one table has a decorative item on it is, however, where the physics as static.

Greets


Ultimegastriker


-------------------------------------------------------------------------------------------------------------
German:

Hi Leute,

Ich suche ein kaufsystem wo man irgendwas kaufen kann, wie zum beispiel Sanity, oder Heil Tränke
Ich habe schon soein ähnliches System gescriptet.
Allerdings hab ich es mit InteractCallback gemacht.
Das Problem dabei ist man braucht kein Item was dagegen "eintauscht" sondern einfach nur den Hebel berühren.

Ich möchte ein System haben wo man ein Item brauch um etwas zu kaufen, ansonsten kann man nichts kaufen.

Wie wird es gekauft?

- Ganz einfach, es man muss ein Hebel aktivieren dann kommt ein kaufsound und es befindet sich das Item das man gekauft hat im Inventar

Wie sehe ich was ich kaufe?

-Ebenfalls einfach, man hat einen Dekorationstisch wo das Item draufliegt allerdings als Static physics.



Mit freundlichen Gruß

Ultimegastriker

send me a personal message or post it here

----------------------------


Ihr könnt mir auch eine persönliche Nachricht schicken oder halt hier posten.


Gruß Ultimegastriker Big Grin


RE: Search a Buy System - Elven - 02-23-2012

Isnt it same as in the: Killings in alstadadasdastas ?


RE: Search a Buy System - Datguy5 - 02-23-2012

I hope someone will post it here because i would like to learn it too :>


RE: Search a Buy System - Ultimegastriker - 02-23-2012

(02-23-2012, 03:27 PM)Elven Wrote: Isnt it same as in the: Killings in alstadadasdastas ?
Yes this is what i search, but
I'm not getting exactly the way I did it.
It just does not work and I still have problems to understand the variables.
And in his script you are dealing with variables.



RE: Search a Buy System - Ultimegastriker - 02-27-2012

Can help me someone ? ._.


RE: Search a Buy System - Lihas - 02-27-2012

Well, money bags and levers/buttons which take required money and give items.


RE: Search a Buy System - Ultimegastriker - 02-27-2012

How i scripting that .
Variable system is not my "best" part in there.


RE: Search a Buy System - Lihas - 02-27-2012

Then I suggest you to take a look at it, or it will be impossible for you to do it.


RE: Search a Buy System - Ultimegastriker - 03-19-2012

okay i will try it, to do this, because no one can helps me [Image: tongue.gif]


RE: Search a Buy System - flamez3 - 03-19-2012

I can help you but I think it would be better for you to do it on your own.