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.


Messages - Headcrab Zombie

Pages: 1 ... 550 551 552 553 554 [555] 556 557 558 559 560 ... 781
8312
Add-Ons / Environment Control Events - Now on RTB
« on: August 11, 2012, 09:24:36 PM »
Contains many output events for changing environment settings
All events require super admin to place on a brick, but may then be activated by anyone

All events are accessed under the brick class

Contains:
env_sky - Change the skybox
env_water - Change the water texture
env_ground - Change the ground texture
env_sunational socialistmuth
env_sunElevation
env_sunDirectColor
env_sunAmbientColor
env_sunShadowColor
env_sunFlareColor
env_sunFlareSize
env_visibleDistance
env_fogDistance
env_fogColor
env_skyColor
env_waterColor
env_waterHeight (suggest pairing with onBrickEnterWater and onBrickExitWater)
env_underWaterColor
env_waterScrollX
env_waterScrollY
env_groundColor
env_groundScrollX
env_groundScrollY
env_vignetteColor

>>>View on RTB<<<

For events that contain a drop down menu containing 'Set' and 'Increase/Decrease' :
Set, as the name implies, sets the value to what you put.
Increase/decrease increases if you put a positive number, decreases with a negative number
waterHeight also contains an option named 'AtBrick' - this causes the water to rise to directly at the brick's bottom edge. Entering a number in the box with 'AtBrick' selected will cause the water to go to that amount above or below the brick's bottom edge


EDIT: Found a pre-existing admin-only event system after I wrote my own. Oh well, I
enjoyed figuring out more about the event system to write my own, and I like how much more compact it is.

8313
Modification Help / Re: Occasionally mounting to wrong slot
« on: August 11, 2012, 05:00:17 PM »
You're on its side when doing that becuase slot 0 is your/the horse's main weapon mount.
I figured this much out after posting the thread, but I was confused about the rest that your post cleared up.
Thanks for the help, I'll look at that playertype whenever I feel like working on the gamemode again.

8314
Suggestions & Requests / Re: enviroment changing events
« on: August 11, 2012, 03:03:23 PM »
I might do this if no one else does, but tons of simple copy-paste events like these would be are annoying to me

EDIT: Going to do it.
I made a script to allow events that are only placeable by admins, but can be activated by anyone once the event is placed. These events will use that.


EDIT: Events are nearly done. Just need to fix a duplicator exploit and will be releasing

8315
Seeing some possibilities for a few water-based gamemodes.
Also might make a good pair if someone makes a setWaterLevel event with Environmental Control Event's env_waterHeight

Contains two input events, onBrickEnterWater, and onBrickExitWater, detecting when the water level rises above or below the brick you put the events on.

View on RTB

8316
Off Topic / Re: Would you forget the above user's avatar?
« on: August 11, 2012, 03:24:14 AM »
I guess

8317
Suggestions & Requests / Re: Gamemode - Rising/Lowering Lava
« on: August 11, 2012, 02:10:42 AM »
I don't quite get the concept of this as a gamemode.
I could make a setWaterLevel event easily though
Only problem is huge potential for abuse

8318
Off Topic / Re: Would you forget the above user's avatar?
« on: August 11, 2012, 01:14:10 AM »
That's a very lovey E

8319
Modification Help / Re: Occasionally mounting to wrong slot
« on: August 11, 2012, 01:10:48 AM »
That makes sense....but other than that I don't even know what to think

If I jump on the horse normally, I am in the correct position, and mounted to slot 0 (horse.getMountedObject(0) returns my player, while any other slot is empty)
If I manually call mountObject to mount to slot 0, I am mounted on the side of the horse, yet I am able to control the horses movement normally.
If I do the same, but mount to slot 2, I am mounted in the correct position, but I am unable to control the horses movement.

8320
Modification Help / Occasionally mounting to wrong slot
« on: August 11, 2012, 12:53:22 AM »
Code: [Select]
function GameConnection::spawnPlayer(%this)
{
Parent::spawnPlayer(%this);
if(isObject(%this.horse))
%this.horse.kill();
%this.horse = new Player()
{
datablock = HorseArmor;
position = %this.player.getPosition();
};
%this.horse.player = %this.player;
%this.horse.mountObject(%this.player,0);
}
This is of course in a package.

Part of something I'm making to try out the gamemode system, when the player spawns they are automatically spawned a horse and mounted to it
The problem is, sometimes the player mounts to slot 1 of the horse, instead of slot 0 (mounting at the side instead of the seat). This is literally the only place that moutObject is called, so I have no idea what could be causing it to mount to the wrong slot. This is also using the new gamemode system, so the way I understand it there are no other add-ons loaded that could be interfering with it.

EDIT: It would seem that slot 0 is the wrong slot and I should be mounting to slot 2. But this still leaves me confused as most of the time I was spawning in the slot I wanted instead of what I was telling it

8321
Suggestions & Requests / Re: Client-Sided Auto Pilot for Planes
« on: August 10, 2012, 05:05:21 PM »
are you guys dumb?
moveforward(0.5) is pretty much
moveforward(1); and adding walk(1);
I am pretty sure it works

You're a whole page late

8322
Off Topic / Re: Is the above user's Avatar disturbing?
« on: August 10, 2012, 05:01:24 PM »
No, but it looks rather awkward, tbh.
Any specific reason for that? I inked and colored it myself from a rough sketch I found, and I'd like to improve.



Ontopic: No but I laughed a little bit

8323
Forum Games / Re: What is the person above you avatar saying?
« on: August 10, 2012, 04:51:22 PM »
ssssssssssssssssssssssssss
(God damn I haven't posted in this thread in at least 2000 pages)

8324
Off Topic / Re: Is the above user's Avatar disturbing?
« on: August 10, 2012, 04:50:14 PM »
Maybe a little bit just because I can't see much other than eyes and mouth

Pages: 1 ... 550 551 552 553 554 [555] 556 557 558 559 560 ... 781