Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Pie Crust

Pages: [1] 2 3 4 5 6 ... 8
1
General Discussion / Pie Crust's City RPG! (Yes, another one! :D)
« on: October 12, 2015, 05:43:24 PM »
PIE CRUST'S
motha fokken
CITY RPG!

Totally NOT using that gay CityRPG cancer which was invented by Jookia, Frankenstiend by Iban and modified to death by other players!
NO!

THIS GLORIOUS CITYRPG IS RUNNING RP_CORE!
WHAT IS IT? IT'S THAT MOD THAT NO ONE USES!

Modifications added by yours truly:
 - Lots for building without those cancerous triggers.
 - Plants for farming food. The state sells food at a ridiculously high price! FARM YOUR OWN AND START YOUR SUPERMARKET/FOOD BUSINESS/ETC WITH IT!
 - Bricks for planting! (Currently not enabled because I still need to make industrial plots so machines can make them. You cheapo-s aren't going to pay $15 for a brick.
 - Events! You have the following:
TransferMoneyToClient [Amt] [Trust]- Default
TransferMoneyToBrick [Reason] [Amt] - Default
TransferFoodToClient [Amt] [Trust] - Added by me.
TransferFoodToBrick [Reason] [Amt] - Added by me.
TransferMoneyFromBrickToBrick [brickname] - Transfers ALL of the money in the evented brick to the target brick. Why would you ever need this? Unless you'd like to restock your CUSTOM ATMs/Slot machines all the time, this is a quick way.

TransferFoodFromBrickToBrick [brickname] - Same as above but with food. No need to restock every food brick in the store.

TO BE ADDED:
TransferBricksToClient - Like with money/food but for bricks. (Brick shops, anyone?)
TransferBricksToBrick - Like with money/food but for bricks. (Restock that stuff!)
TransferBricksFromBrickToBric k - No need to head over to your machines and pass them manually!

PLEASE NOTE: The transferFromBrickToBrick works with anything for now. I'm planning on adding an in-lot restriction. No more build factory once, never see it again.

PLANNED FEATURES:
 - Better constructions. (I need time which is what I lack)
 - Lot taxes (Yep, sorry about that guys)
 - Locking avatars so players can create clothes shops.
 - Drug plants (Yep)
 - Hospitals for medics
 - Prints for street names (Reserve your names now! Av. Pie Crust is taken for the main avenue. ;3)


stuff I need to fix:
 - Food buying from the state. It's currently borked. Easy fix, probably.
 - Experience points gain for those in the commercial business.
 - Baton door-breaking


Questions for the forums:
 - Should explosives destroy bricks?
 - Should vehicle spawns be charged or spawning vehicles?

AND LAST BUT NOT LEAST, IMAGES OF PROGRESS!

What's built up to now


Neotek building from ACM city used as dock offices. (It's default anyways. Don't come charging at me with copyright bullstuff)

In the dock offices, you get a new job (syndicates FTW!) and/or sell/buy resources. (Bricks, food, ore, etc)

Dock cranes (A ship is a hassle to make so I'm putting it on the waiting list for now)


Le bank. (Another building ripped from ACM city.)

Server ATMs on the first floor, bank machines on the second floor.

Park (ripped from ACM city...)


Police station (copied from the view of my window to the feds dept.)


Total map overview


I take partial credit for the map since I helped make it but I didn't make it alone.




I'll get this hosting as soon as its stable enough to be dedicated and big enough. Currently, there's no room for agricultural lots nor any way of buying food.

2
So I was fooling around with scriptGroups and I decided it would be a good alternative to the funky garbage I was doing before to check if a brick was being planted inside certain bounds.

So I've got this:
Code: [Select]
function inBounds(%brick) {
%client = %brick.client;
if(isObject(%client.lastBound))
if(isInBox(%brick,%client.lastBound))
return %client.lastBound;
for(%i = 0;%i < $LotGroup.getCount;%i++) {
if(isInBox(%brick,$LotGroup.getObject(%i))) {
%client.lastBound= $LotGroup.getObject(%i);
return %client.lastBound;
}
}
return 0;
}
(yes, for the first time in my life I am indenting code)

So that should check if the brick that was planted (via an onPlant package) inside the bounds. Now, on the other hand, I have this.
Code: [Select]
function fxDTSBrick::onPlant(%brick) {
Parent::onPlant(%brick);
if(!%brick.getDatablock().isBounds && inBounds(%brick) == 0) {
%brick.schedule(0,"delete");
return;
}

if(%brick.getDatablock().isBounds){
$LotGroup.add(%brick);
return;
}
}
When I plant a brick inside of the bounds, the brick gets deleted for being out of bounds (confirmed with console echoes) and the problem is that, in inBounds();, $LotGroup.getCount(); in the For loop returns 0.


If I manually type echo($LotGroup.getCount());, it will echo 0 even when bounds are planted. The only way to add the brick is manually putting into the console $LotGroup.add(brickID); and the syntax is the same in my code and in the console's input. I could use some help with this please.

3
Suggestions & Requests / Camera Brick
« on: October 11, 2015, 07:32:44 PM »
I'm going to be needing a camera brick. Something like so:



If possible, with all three rotations. If not, just one rotation (the one in the image) is fine.

But the connection to the wall being on a side and not on the bottom/top, please!

4
Off Topic / I need to get my tinfoil hat.
« on: October 11, 2015, 11:19:39 AM »
NSA, stop spying other countries. D:


5
General Discussion / What was the issue with JVS doors?
« on: October 10, 2015, 09:08:32 PM »
Legacy doors are gay as forget and I've read around posts that say that JVS is buggy as hell but how/why?

6
Off Topic / Need help confronting a teacher.
« on: October 09, 2015, 02:46:44 PM »
I need a formal and non-aggresive way of confronting a teacher for his test.

So this starfish teacher told me that only buffers, pH, and solubility was going in the test. Today, it was taken by a substitute because he "had to run an errand". Mother forgeter took salts in the test and not just any salt. He tested on ammonia and ammoniac. The two hardest salts in existance. And not only that, to do something with them, you need to know the concentration of either H2O or OH-. He didn't give stuff. I did what I could by guessing but this test counts like 40% of my grade and it's supposedly an "easy pullup".

I am furious enough to violently murder him if I see him. How can I calmly and formally talk to him about this situation?

7
Off Topic / Phone face-down onto cobblestone
« on: October 08, 2015, 12:26:36 AM »
So I managed to sneeze and let go of my phone. It hit pretty hard, screen-down on a cobblestone road. Are the shattered glass going to come off and eventually cut me or is it ok if I continue using it without a film? I'm pretty sure some of you have experience with shattered screens.

8
Off Topic / Virtual Reality headsets and their immersion ingame.
« on: October 06, 2015, 07:57:26 PM »
I got my OVR, hooked it up, installed Minecrift, loaded up a map, my PC took a stuff, I reloaded Minecrift, I joined a server, walked around and got these screenshots:




Then I installed a HD x256 resource pack and some realistic shaders, my PC burned, I removed the shaders, my PC burned again, I removed the HD resource pack and installed LB Photo Realism x256, my PC burned, again, I removed LBPR x256 and installed LBPR x64, got ingame and took the following screenshots:





Walking around the map was loving beautiful! I can't imagine how it would feel like with shaders and a HD resource pack so I'm going to start saving for a decent GPU.

What are your thoughts on virtual reality headsets and their effect on you in games?

9
Modification Help / Silly Torque, that's not an array!
« on: October 06, 2015, 11:41:09 AM »
So using export();, I get this

Code: [Select]
$Map::Chunks::Chunk0_0 = "34";
Of course, attempting to execute this throws a syntax error. What is an easy way to pass this
Code: [Select]
$Map::Chunks::Chunk0_0 = "34";to this
Code: [Select]
$Map::Chunks::Chunk[0,0] = "34";?

And unrelated note, attempting to execute an empty script crashes your Blockland. :o

10
Modification Help / Simtime
« on: October 05, 2015, 01:00:51 PM »
Could I get a clear explanation on simTime and what I can do with it?
inb4 color=transparent

11
Off Topic / Pie Crust Megathread!
« on: October 04, 2015, 01:46:40 PM »
Pie Crust Megathread


Who the forget is Pie
That glorious fox who spends his time on this forum.
God, I love being here. This forum is as addicting as heroin
Oh well.

Not so awesome details!
Weight: 62Kg (weighted 4/10/15 3:44
Height: 1.8m
Date of birth: 19th of May in the year 1998
age: 1337 (it's in my profile. it doesn't lie)
love: female male
loveual preferences: bitches.
special interestes: This would burn people's eyes. (Well, everyone except Mr. Man)
Highest education: About to finish chemistry studies.

And why the forget is this a thing?
Thank espio

12
Off Topic / Arduino + Raspberry Pi came in the mail
« on: October 04, 2015, 12:19:20 AM »
On a sunday, at loving 2:18am.

This is sketchy as forget so as I go to sleep, thinking why the forget my package arrived at this time, give me ideas on what I can do with them so I can get to it tomorrow.

13
Off Topic / Blogland: My parents are going to kill me.
« on: October 01, 2015, 03:32:02 PM »
Report card's in. I pass with a 7.
Math - 4
History - 5
Biology - 10
Organic chemistry - 9
Language - 6
First aid - 9
English - 5
Chemistry - 3
Sports - 2
Religion - 4


what do?

14
/title

So Google is supposed to be the website to connect to to see if you have internet or not. Except that I can't connect to google at all, lol. Anyone else can't connect to google?

15
Torque is loving with my mind. Anyways, I have the following.

Code: [Select]
function timetochoose(%client) {
echo("Client = " @ %client);
schedule(0,0,"commandToClient",%client, 'bottomPrint', "\c2" @ $MapChange::BottomPrint);
schedule(0,0,"messageclient",%client, '',"\c2Use /pick # to vote for the next map!");
%client.playSound(TimeToChoose);
}

The schedules are there because it wouldn't send the bottomprint nor the text message before (and it still doesn't) so I added them to see if it would work on the next frame.

Anyways, the sound TimeToChoose is being played to the client, echo echoes a valid client ID but messageclient and commandtoclient are being rebellious. Any ideas why? If they're typed manually into the console (replacing %client with findclientbyname("P")), they work as intended.



Quick addition, the function is being called via
Code: [Select]
for(%i = 0; %i < clientGroup.getCount(); %i++)
{
%client = clientGroup.getObject(%i);
%client.pickLevel = 0;
echo("Resetting client data.");
if($RoundCount == $RoundBeforeChange) {
echo("Time to choose!");
if(%client.choosing != 1) {
timetochoose(%client);
}
}
}

When I put timetochoose(findclientbyname(P)); into the console, it works as expected. Just not in the code for some reason even when the echo echoes the same client ID.

Pages: [1] 2 3 4 5 6 ... 8