Page 2 of 3
Re: Is "Mining" possible?
Posted: September 22nd, 2010, 6:03 pm
by chocolatepie33
Um, if you look around you should be able to find some good coding tutorials.
This should help:
viewtopic.php?f=15&t=1319
Re: Is "Mining" possible?
Posted: September 22nd, 2010, 6:23 pm
by Noigel
Alright thanks, I'll see if I can do it.
Re: Is "Mining" possible?
Posted: September 22nd, 2010, 8:20 pm
by Noigel
Ok I got an object under the ground...Another question... How do I create a "*Locator device" so players can find it?
I'd like to use some sort of tool the character must have on them.... i.e. John wants to mine for gold, john must be in possession of the "Locator device" and "Survey probes" to detect the buried gold locations.
The idea for the device is that it it locates the buried gold by sending down sensor probes. Sensors probes go into the ground as far as the "Locator device" will allow. Each locator device has it's own Max depth range and diameter range. Locator device 1 might search 10 feet deep and 10 feet in diameter, locator device 2 might search 30 feet deep aand 35 feet in diameter, and Locator device #3 might search 50 feet and 60 feet in diameter.
Is it possible to add such a device and actions to the game and where can I get the info?
If it's not possible what other alternatives to locating hidden objects beneath the ground might be a good choice?
Re: Is "Mining" possible?
Posted: September 23rd, 2010, 6:14 am
by PizzaLover101
What is you put a map model, model # -1, trigger type 5, level_trigger_#
Code: Select all
level_trigger_# = [echo "Dig here! Dig here!"]
Maybe that would help..........?
Re: Is "Mining" possible?
Posted: September 23rd, 2010, 7:39 pm
by chocolatepie33
That makes sense... Or you could script it to say something like if detector = 1, then level trigger 2 says there's gold under there
Re: Is "Mining" possible?
Posted: September 24th, 2010, 4:57 am
by Noigel
Alright, after I figure out how to do the script stuff, I'll try it. Don't know how long it'll be. thanks
Re: Is "Mining" possible?
Posted: September 24th, 2010, 6:16 am
by PizzaLover101
any news on a game that might be?
Re: Is "Mining" possible?
Posted: September 25th, 2010, 5:13 pm
by Noigel
No, not yet. I don't know anything about coding... Not sure if I can even do this. But it's eating away at me and I think I'll have to do some reading and experimenting on and with this program and all that. No progress is expected in the foreseeable future.
Re: Is "Mining" possible?
Posted: September 25th, 2010, 7:42 pm
by PizzaLover101
Trust me when I say this. I am 14 years old, I've been using this program for about a year. Just look around on the forum and the wiki and the faq, and you'll pick this up in no time!
Re: Is "Mining" possible?
Posted: September 26th, 2010, 10:12 pm
by Noigel
Thinking out loud...
Been giving it a go, some things make sense and others don't. I tried some things and they worked (like making a barrel disappear) and tried others and they didn't (like the picking up a barrel script).
The current plan is to make a transportation system via the teleporters that lead to unique mining area's that have NPC's and all that, while learning to understand these scripts and how to use them properly.
Once I get the area's complete or almost complete visually I'll be needing some things, here they are:
- How do I change the sound of "rumble" to "drill" or "vaccuum" or some other sound when an object is picked up?
- How do I delay the disappearance of the barrell until "drilling" or "vacuum" sound has ended?
-How do i set an object to be picked up with a sound, go into inventory at a set value, then have it respawn randomly somewhere else after a certain amount of time? (Would like to have it respawn at different amount value)
ie: Player finds barrel and it might be worth 3 barrels in their inventory, once it's picked up, it disappears and respawns in a different location within a certain time and may be worth 6 barrels this time. Each time the barrel is found and picked up it repeats the random spawing and value.)
Need to make sure it doesn't come out of inventory when respawned.
[b]-Need Shop script for selling barrels to NPC and trading to NPC. 3 types[/b]
ie; 1. Player sells the barrels to npc for money. 2. NPC's gives player another object instead of money for their barrels of "Oil". 3. And another NPC would give money and an object for a certain amount of barrels.
- Need script for inventory
- Need Detector devices (3-10) for buried objects. Depth and width range limited (I haven't overlooked the suggestions already made, just putting it on the "todo" list:)
That's it for today, gonna go play some games and get a few more idea's, will check back in a few days. Thanks