Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / how to make a scrits to change values?

Author
Message
Daniel wright 2311
User Banned
Posted: 28th Aug 2010 21:36
So i was wanting a full low down on how to write scrits and the script influence my game values like animations,textures,text.any help or tut would be nice.

Your signature has been erased by a mod please reduce it to 600 x 120.
Daniel wright 2311
User Banned
Posted: 29th Aug 2010 00:04
No one?

Your signature has been erased by a mod please reduce it to 600 x 120.
Sixty Squares
20
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 29th Aug 2010 02:04
Wait, so you want to be able to write scripts outside of your game, and then have the game read them and do stuff based on what's in the script? Look into LUA; Barnski has a great plugin for that. It lets you call functions from DBP outside of your game, I'm using it in my game and it's working great. You'll need to learn some LUA scripting language to be able to use it, but you don't have to learn a lot. LUA works great for settings files too.

Here's a link to Barnski's plugin.
http://forum.thegamecreators.com/?m=forum_view&t=74095&b=5


Alternatively you can write your own scripting system using the FILE commands if you want.

If you're just trying to save filenames and stuff though, I'd just use the FILE commands. Barnski's plugin could be overkill for that


Guns, cinematics, stealth, items and more!
Daniel wright 2311
User Banned
Posted: 29th Aug 2010 05:27
thanks bud, ill check it all out.

Your signature has been erased by a mod please reduce it to 600 x 120.

Login to post a reply

Server time is: 2026-07-23 12:10:47
Your offset time is: 2026-07-23 12:10:47