- Messages
- 375
- Reaction score
- 148
- Points
- 903
look at this been trying to get this to work
no fog shows, no energy mods or working like wtf xD help
the codes aren't doing what they should
Code:
void <player> SetDoubleJumpEnergy(<energy>)
[MANDATORY] <energy> % energy to set on the player
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Sets a double jump energy amount on the player
EXAMPLE: player SetDoubleJumpEnergy( <energy> )
//example of my idea
function UnlimitedJumpEnergy()
{
SetDoubleJumpEnergy( 999999999 );
//I have also tried using "9999999" using quotes
}
Also the disco fog I have made
void SetExpFog(<startDist>,<halfwayDist>,<red>,<green>,<blue>,<transition time>)
[LIST=1]
[LIST]
[*][MANDATORY] <startDist> The distance, in world units, at which the fog begins.
[*][MANDATORY] <halfwayDist> The distance, beyond the startDist, at which the scene will be 50% fogged.
[*][MANDATORY] <red> The red component of the fog as a value between 0.0 and 1.0
[*][MANDATORY] <green> The red component of the fog as a value between 0.0 and 1.0
[*][MANDATORY] <blue> The red component of the fog as a value between 0.0 and 1.0
[*][MANDATORY] <transition time> transition time in seconds
[/LIST]
CATEGORY:
CLIENT/SERVER: Server
SUMMARY: Creates an exponential fog.
EXAMPLE: SetExpFog(.0001144, 131/255, 116/255, 71/255, 0)
[/LIST]
function MakeDiscoFog()
{
wait 5;
self iPrintlnBold("Disco Mode Activated");
while(1)
{
self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.8, 0, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0.6, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.2, 1, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.4, 1, 0);
wait .1;
self SetExpFog(256, 512, 0, 0, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 0.2, 0.2, 0);
wait .1;
self SetExpFog(256, 512, 0.4, 1, 1, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 0, 0.4, 0);
wait .1;
self SetExpFog(256, 512, 1, 0, 0.8, 0);
wait .1;
self SetExpFog(256, 512, 1, 1, 0, 0);
wait .1;
self SetExpFog(256, 512, 0.6, 1, 0.6, 0);
}
}
the codes aren't doing what they should