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 - Treynolds416

Pages: 1 [2] 3 4
16
Modification Help / How to change map values through script
« on: August 11, 2012, 04:51:18 PM »
I tried tracing, found a number of possible functions. There are so many, and the ones I saw were all specific to the specific pref. I did find serverCmdEnvGui_SetVar(%client,%name,%value), which works exactly as I would like, but it requires a client and I would prefer a way that I don't need to make a fake client.

17
Modification Help / How to use a variable from its name
« on: August 10, 2012, 06:18:02 PM »
Quick question: How do I get the filepath of an isolated document from within the document?
Something like expandFilename("~"); but there's got to be a better way than that

18
Modification Help / Being able to add a quotation mark to a string
« on: August 02, 2012, 07:07:10 PM »
Pretty much echo("""); except that doesn't work. Isn't there a backslash index number so I can use it in strings?

19
Games / What games run at the same level as portal 2?
« on: July 12, 2012, 12:30:49 PM »
I've been told in the past that I have a stuffty computer (trueish). I can run games like tf2, portal 2, and supreme commander 2 just fine. However, I don't have a good enough graphics card to start up just cause 2 without a display error. (damn, a lot of '2's in my library)

Anyway, if you hadn't noticed already, the steam summer sale has started AND I WANT TO BUY SOME GODDAMN GAMES THAT GODDAMN WORK, GOD DAMMIT. List any fun games (preferably action) that you've tried or that you know are good that run at about the same graphics requirement as the games listed above.

If they're currently on sale or will be on sale, then that's even better

Edit: And if one of you suggests a great game that I end up buying and and loving I might buy YOU a game

20
Modification Help / Problems with onFire
« on: June 30, 2012, 05:29:59 PM »
RESOLVED

I've had this problem, not exactly sure what is wrong
Whenever I fire the item, the console echoes "Unknown command onFire" even though I did everything exactly like other mods
Pertinent code:
Code: [Select]
datablock ShapeBaseImageData(MyGunImage)
{
        //Code

stateName[2]                     = "Fire";
stateTransitionOnTimeout[2]      = "Reload";
stateTimeoutValue[2]             = 0.14;
stateFire[2]                     = true;
stateAllowImageChange[2]         = false;
stateSequence[2]                 = "Fire";
stateScript[2]                   = "onFire";
stateWaitForTimeout[2] = true;
stateEmitter[2] = "";
stateEmitterTime[2] = 0.05;
stateEmitterNode[2] = "muzzleNode";
stateSound[2] = "";

        //More code
}

function MyGunImage::onFire(%this,%obj,%slot)
{
    //Code
}

moved this out of general modification section because of so few views.

21
Modification Help / -moved-
« on: June 29, 2012, 02:32:50 PM »
title^

22
Modification Help / Scheduling a variable declaration
« on: June 28, 2012, 11:14:18 AM »
Is there an easier way to schedule a variable declaration than making a function for it?

23
Off Topic / Ok, wtf steam mobile
« on: June 27, 2012, 01:42:50 PM »
So I have the steam mobile app, on iOS whatever the hell newest version
It sends me push notifications labeled "Chats". The problem is it doesn't tell me who sent it or what it said, leaving me to guess at who sent it. I know it isn't just a random notification because I've guessed right a few times and got the right person.

Anyway, what the hell. Does this happen to you? Can it be fixed? Did any of you send me a chat ~30 minutes ago?

24
Modification Help / Best way to get all clients in a minigame
« on: June 25, 2012, 01:18:55 PM »
So, I need a list of all clients in a minigame to use often. The following code works well for me:
Code: [Select]
%clientCount = clientGroup.getCount();
for(%i=0;%i<%clientCount;%i++)
{
    %clObj = clientGroup.getObject(%i);
    if(%minigame == getMinigameFromObject(%clObj))
        //Do stuff
}
However, I always strive for optomization in my scripts. I'm using this in a loop to update a bottomprint for individual clients in a minigame. I know I could package the function when clients leave or join a minigame, but I was wondering if there was already something default that handled a dynamic minigame client list, possibly named minigameClientGroup

25
Modification Help / Triggering plant errors in script
« on: June 16, 2012, 09:47:03 PM »
How do I get a brick plant error to display to a specific client?

Before you ask, I did trace. I found two things: clientCmdServerMessage(22 MsgPlantError_Float) and handlePlantError(same argument)
I tried handlePlantError("22 MsgPlantError_Float") first. It did the right thing, but it sent the plant error to all of the connected clients. I then tried clientCmdServerMessage("22 MsgPlantError_Float") and then commandToClient(%client,"ServerMessage","22 MsgPlantError_Float"), neither did anything that I could see.

Could someone that actually knows about this tell me what to do?

26
Modification Help / Rooting a player animation
« on: June 12, 2012, 09:52:40 AM »
I made a script to package OnPlant and not allow planting of bricks in certain situations. The script works, but the player still makes the planting animation. I've tried playThread(2,root), but I don't really know what I'm doing and it doesn't work.
Also, it still makes the planting sound occasionally. I can live with this, but if anyone knows an easy way to stop it doing that it would be great.

27
Modification Help / Finding what a vehicle hits
« on: June 08, 2012, 09:52:02 PM »
So I need a script to figure out what exactly a certain vehicle has hit.

the package part is pretty easy:
Code: [Select]
package WtfAmHit
{
    function DriftingJeepVehicle::OnImpact(%this,%obj,%col,%pos,%speed)
    {
        //What now
    }
};
activatePackage(WtfAmHit);
%pos is highly unreliable, the given position is way off from where the collision occurs. %speed is only a scalar value, %col is always 0, and I don't have a clue what %this is.

I could do some stuff with container searches, but that is messy and I wanted to know if there is a cut and dry method before I jump all the way in.

28
Modification Help / Tron Light Bike
« on: May 26, 2012, 02:41:40 PM »
TRON LIGHT BIKE

Let me get straight to the point: I have a script and no model. This is sort of ironic because most modification discussion projects have a model and no script. Anyways, I thought hydralisk was going to model it for me, but he said that he doesn't like the legacy bike for ideological reasons, so I need someone(s) to help me out here.

If you are interested in modeling the light bike from tron legacy for me, you can post here, send me a pm, or talk to me ingame. I will accept multiple modelers because I believe that a little competition gets stuff done, and also the end product turns out a little better.

look at some pictures



(Pics by Wehrmacht)
If you want more pics, be sure to ask

29
General Discussion / Tron Light Plane Deathmatch
« on: May 05, 2012, 07:35:33 PM »
Remember this topic?

Well I completely remade the mod, and it's pretty damn cool


CRITICAL ACCLAIM







Very fun!  Got a few screenshots, too.






Some more of mine:


I fly backwards because I'm cool.
The server gets more fun with more people, so join now!


(Thanks z0w0, Kalphiter, and Glass because apparently credit matters)

30
Suggestions & Requests / "Above" Dark
« on: May 04, 2012, 01:28:16 PM »
Simple, a version of the map "Above" (by Squideey) that is dark. I don't care much for fancy skyboxes or anything, you can make the sky just plain black and make the lighting dark (but not as dark as destruct)

Pages: 1 [2] 3 4