Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → An idea and a question...
An idea and a question...
2002-05-06, 2:30 AM #1
The question first:
Does anyone know if it's possible to use ParseArg to change a .pup?

The idea:
Say you wanna make more than ten weapons. Say you wanna be able to access all of them from the ten hotkeys. Does anybody think it's a good idea to write a cog, flag it in items.dat like it's a weapon, and then use it as a 'gateway' of sorts? Like have all the messages of a weapon, tie it to x(a random number) actual weapon cogs, then use SendMessageEx to call the actual weapon cogs and some other hotkey to cycle through the weapons on that one hotkey. If this makes no sense, it's probably my fault, sorry.

------------------
Christianity: Don't knock it if you haven't tried it.

Why should the devil have all the good music? www.thousandfootkrutch.com
Cynic (sin'ik) n. One of a sect of ancient Greek philosophers who held that virtue is the ultimate goal of life, their doctrine gradually coming to symbolize insolent self-righteousness.

Drink So-Be, and play longer!
2002-05-06, 3:28 AM #2
Sure, you can change the pup with Parsearg...

Parsearg(Player, "Puppet=NEWPUP.pup");


Im afraid I dont quite understand your idea, though....

------------------
I used to believe that we only want what we can't have. I was wrong. The truth is, the wonderful truth is, we only want what we think we can't have.

JK editing resources.
And when the moment is right, I'm gonna fly a kite.
2002-05-06, 7:51 AM #3
so basically...

you have one new weapon, you fire it, it works, and when you press a hotkey, it changes to another weapon, also stored within the same cog?

That's a kinda cool idea, but no really useful applications.

Also, why the hell would you need to change the .pup file?

If you're looking to get the gun stances, just use setarmedmode(player, 1);
"I hate ravers. Raving Fruit Boy wears stupidass jewelry so he'll be the coolest kid at the Nitrous Oxide tent." --Cliff Yablonski
2002-05-06, 9:02 AM #4
Yeah, I want at the gun stances, but my problem is there aren't enough of them. And the idea itself would be really usefull if you had more than ten weapons and didn't want to hotkey you're way up the wazoo. It's kinda like a Half-Life type selection system. Maybe somebody on a TC could use it.
Cynic (sin'ik) n. One of a sect of ancient Greek philosophers who held that virtue is the ultimate goal of life, their doctrine gradually coming to symbolize insolent self-righteousness.

Drink So-Be, and play longer!
2002-05-06, 11:51 AM #5
I think what your describing is what we're doing in Team Battle TC (Its already coded). When its released everyone can have full access to the code and use the basics of it if they like. (My coding is pretty messy and bad though)
Team Battle.
2002-05-06, 4:58 PM #6
I once tried changing the puppet files with ParseArg. I though had to close the project, because ParseArg messed them up. I tried to recreate the turok monkey mode for jk...

------------------
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)
"Häb Pfrässe, süsch chlepfts!" - The coolest language in the world (besides Cherokee)

↑ Up to the top!