Search found 300 matches

by Venima
February 20th, 2010, 12:27 pm
Forum: Sandbox General Support
Topic: help with lagging issues..
Replies: 9
Views: 996

Re: help with lagging issues..

I always do a backup of a map constantly anyway. I've lost 2 maps because I've saved one map, gone on to another then saved that one as the same thing.
by Venima
February 18th, 2010, 11:40 am
Forum: Sandbox General Support
Topic: help with lagging issues..
Replies: 9
Views: 996

Re: help with lagging issues..

water/lava etc. has a big influence on lagging. If you're making a big map I would definately recommend using PVS. It helps hugely with lag issues. Go to the main menu (Esc), Editing GUI, PVS, now I'm not entirely sure what the sliders are at the bottom but to experiment with them I put the view gri...
by Venima
February 18th, 2010, 8:06 am
Forum: Sandbox General Support
Topic: What is the syntax for multiply and divide?
Replies: 4
Views: 656

Re: How do I create a randomly generated number?

Hirato wrote:rnd x will return a pseudo-random number between 0 and x - 1

the functionality is used in a great many places


Ok for anyone else reading this you have to put rnd x withing brackets e.g. (rnd 10)
by Venima
February 18th, 2010, 6:23 am
Forum: Sandbox General Support
Topic: What is the syntax for guislider?
Replies: 1
Views: 368

What is the syntax for guislider?

What is the syntax for guislider? Anybody know?

I know guislider works, to begin with it stays at 0 and doesn't slide, I've tried putting "5" as in like a max but nothing happens.

And also the syntax for the guiradio and whatever the entry box is called would be appreciated
by Venima
February 18th, 2010, 5:45 am
Forum: Sandbox General Support
Topic: An RPG with Rpg Snow
Replies: 3
Views: 403

Re: An RPG with Rpg Snow

To help me learn stuff like that I checked out the village cfg in the main maps. (assuming you've got that one) Although it wasn't long before I surpassed that simple coding. A handy thing to know: locked door and key door: trigger type 11, trigger 17 (doesn't matter which trigger) key: trigger type...
by Venima
February 17th, 2010, 5:37 pm
Forum: Sandbox General Support
Topic: cutscenes help
Replies: 13
Views: 1384

Re: cutscenes help

Is there a way that while playing the game we can have a model to trigger a picture or a content to tell a story like an rpg dunno about picture but you could certainly make use of the newgui function. set a random model trigger to 1. hit F6. (not sure how much you know about all this so I thought ...
by Venima
February 17th, 2010, 12:57 pm
Forum: Sandbox General Support
Topic: What is the syntax for multiply and divide?
Replies: 4
Views: 656

Re: How do I create a randomly generated number?

so for example I could do:

chosen_number = rnd 4 (the range being 0 to 3)
or
chosen_number = (+ $chosen_number rnd 4)

right?
by Venima
February 17th, 2010, 5:09 am
Forum: Sandbox General Support
Topic: What is the syntax for multiply and divide?
Replies: 4
Views: 656

What is the syntax for multiply and divide?

New question: I've tried doing Number1 = (* $Number1 4) or Number1 = (/ $Number1 2) it doesn't recognise the syntax. Can I have the symbols for multiply and divide? Also, what language does sandbox use? Maybe that would help if I come across anything else syntax related. Old question: Say I want to...
by Venima
February 17th, 2010, 5:05 am
Forum: Sandbox General Support
Topic: making a door open IF you have key?
Replies: 3
Views: 946

Re: making a door open IF you have key?

to help even more, some example code: Door (trigger type 11, trigger 1) Key (trigger type 12, trigger 2) key1 = 0 level_trigger_1 = [ if (> $key1 0) [trigger 1 1] [echo "This door appears not to be opening"] ] level_trigger_2 = [ if (= $key1 0) [ //so that you can't pick it up twice key1 =...

Go to advanced search