Page 1 of 1

SSP Pickups - Scripting

Posted: September 9th, 2010, 5:26 pm
by TheGreatStone
Hi all,
I'm pretty new to this engine, but I'm not new to coding/scripting. I'm working with a dev team that wants to make a SSP puzzle game, which means we need triggers or trigger-like objects. Triggers don't seem to work in SSP, so I was wondering if and how and where I could go about tweaking pickups to function a bit like one-time-only triggers or switches?
I've combed the forums looking for info and I haven't found what I'm looking for. My apologies if this question has been asked before.

Re: SSP Pickups - Scripting

Posted: September 9th, 2010, 5:50 pm
by PizzaLover101
Did you edit in fps/rpg or ssp? It makes a difference.

Re: SSP Pickups - Scripting

Posted: September 9th, 2010, 8:48 pm
by TheGreatStone
I'm editing in SSP.

Re: SSP Pickups - Scripting

Posted: September 9th, 2010, 9:32 pm
by InHumanUnit
Sup. I suggest the Launcher.

Re: SSP Pickups - Scripting

Posted: September 9th, 2010, 10:21 pm
by TheGreatStone
I think the real concern is that I don't understand the guts of the engine. I can't figure out how game_ssp.cfg interacts with ssp.cpp and myLevel.cfg.
If I wanted things to happen (doors open & close, etc.) based on the number of coins the character picks up, how would I do that?

Re: SSP Pickups - Scripting

Posted: September 10th, 2010, 5:31 am
by Runescapedj
well, you can make a key, but I can't help u with that... I'm no good in coding

Re: SSP Pickups - Scripting

Posted: September 10th, 2010, 5:49 pm
by chocolatepie33
a .cpp file is a C++ programming file, so I'd recommend YOU DON'T MESS WITH IT unless you're real f***ing good with C++.
It is possible to use scripting in the FPS mode, but not in SSP.