OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: Twan on 30 May 2010, 22:45:01

Title: SPON Money script help
Post by: Twan on 30 May 2010, 22:45:01
Hey all!

This will be my first post in this forum.  

I am working on a civilian mission and am trying to use SPON money script.  I downloaded SPON Core and Money and followed the readme, but it still does not work.  I was wondering if anybody could spot a problem with the way I copied it.  Here is what is in the data files in my mission's folder:

description.ext:
#include "SPON\Core\ui\core.hpp"

extension.ext:
#include "SPON\Core\ui\common.hpp"
#include "SPON\Money\ui\shop.hpp"
#include "SPON\Money\ui\bank.hpp"

init.sqs:
[] call compile preprocessFileLineNumbers "SPON\Core\initCore.sqf"; [["prices.sqf"]] call compile preprocessFileLineNumbers "SPON\Money\initMoney.sqf";

stringtable.csv:
LANGUAGE, "English"

#include "SPON\Core\stringtable.csv"

LANGUAGE,"English","Czech","German","Polish","Russian","French","Spanish","Italian"

// Shopping.
STR_SPON_SHOP_ACTION, "Browse Shop"

STR_SPON_SHOP_DEFAULT_NAME, "Shop"
STR_SPON_SHOP_BUY_BUTTON, "Buy"
STR_SPON_SHOP_SELL_BUTTON, "Sell"
STR_SPON_SHOP_PLAYER_TITLE, "Gear"

// Banking.
STR_SPON_BANK_ACTION, "Bank"

STR_SPON_BANK_DEFAULT_NAME, "Bank"
STR_SPON_BANK_WITHDRAW_BUTTON, "Withdraw"
STR_SPON_BANK_DEPOSIT_BUTTON, "Deposit"

// Shopping & Banking.
STR_SPON_MONEY_CLOSE_BUTTON, "Close"

STR_SPON_MONEY_NUMBER_SEPERATOR, ",", ".", ".", ".", ".", ".", ".", "."

There is also a SPON folder, and in that folder, is Core and oney.  If anyone would be able to help, I would appreciate it.

Thanks!
I also have a few more basic scripting questions, but i'll tackle this thing one part at a time  :)
Title: Re: SPON Money script help
Post by: JasonO on 01 Jun 2010, 15:16:32
Hi Twan,

What doesn't work specifically?