I'm thinking that...
a. Everyone here has grown to despise me (because of the actions of my 'little brother', honest!)
b. My COG-related conundrums are far too complex for mere mortals to comprehend.
c. None of the COG savants have swept through here in the past 24 hours.
(or a combination of some or all, like all the COG savants despise me because my problems are too complex!)
This is a general editing/cog related problem, but since it's more cog oriented, I'm posting it here.
One of the main points in Life of Grismath level 1 was the use of a warhammer holdover from the Rites of Xanthus TC. After hours of painstaking work, I got the weapon to work once more ingame, actually damage people, and be comaptible with my custom master cog.
Here's the catch:
I can't seem to give the player the hammer (which replaces the crossbow) in-game through COG. I thought I was real clever, and as I was typing this, I tried to do it all with triggers and pickups, but noooo.
it works in-game, and when I use 'diediedie' to get all weapons, I can mount it manually. But otherwise, it doesn't show up. I thought it had something to do with the ammo, so I gave myself full ammo, and still no luck.
[EDIT: The pup does change and is most definitely unrelated to the problem, answering an IM question by Ruthven.]
That's in one of the cogs. If any code would help you to fix this,a sk for specifics and I'll post it. But I don't know where to start anymore, let alone who i am. This has jellified my mind.
[This message has been edited by Lord_Grismath (edited January 12, 2004).]
a. Everyone here has grown to despise me (because of the actions of my 'little brother', honest!)
b. My COG-related conundrums are far too complex for mere mortals to comprehend.
c. None of the COG savants have swept through here in the past 24 hours.
(or a combination of some or all, like all the COG savants despise me because my problems are too complex!)
This is a general editing/cog related problem, but since it's more cog oriented, I'm posting it here.
One of the main points in Life of Grismath level 1 was the use of a warhammer holdover from the Rites of Xanthus TC. After hours of painstaking work, I got the weapon to work once more ingame, actually damage people, and be comaptible with my custom master cog.
Here's the catch:
I can't seem to give the player the hammer (which replaces the crossbow) in-game through COG. I thought I was real clever, and as I was typing this, I tried to do it all with triggers and pickups, but noooo.
it works in-game, and when I use 'diediedie' to get all weapons, I can mount it manually. But otherwise, it doesn't show up. I thought it had something to do with the ammo, so I gave myself full ammo, and still no luck.
Code:
trigger:
if(GetSourceRef()==1337) {
status=1;
adventure=GetMasterCog();
SendMessage(adventure, user0);
player=GetLocalPlayerThing();
SetInv(player, 12, 1);
SetInvAvailable(player, 135, 1);
SetInv(player, 135, 1.0);
SelectWeapon(player, 135);
SetCurWeapon(player, 5);
ParseArg(player, "puppet=ky.pup");
SetCameraFocus(0, player);
SetCurrentCamera(0);
}
return;[EDIT: The pup does change and is most definitely unrelated to the problem, answering an IM question by Ruthven.]
That's in one of the cogs. If any code would help you to fix this,a sk for specifics and I'll post it. But I don't know where to start anymore, let alone who i am. This has jellified my mind.
[This message has been edited by Lord_Grismath (edited January 12, 2004).]
- there was another instance of something like this (Tazz, I think, was the topic starter), which involved a certain level of ambiguity with the contents of the DataMaster, with regard to SetCurWeapon()... that is if memory serves me correctly... ![http://forums.massassi.net/html/redface.gif [http://forums.massassi.net/html/redface.gif]](http://forums.massassi.net/html/redface.gif)
![http://forums.massassi.net/html/biggrin.gif [http://forums.massassi.net/html/biggrin.gif]](http://forums.massassi.net/html/biggrin.gif)