Bumbleson on 19/3/2005 at 11:12
The last few days I've been experimenting with attachment links to put a torch or something else permanently in Garrett's hands, but I can't get it to work. I tried to copy the link properties of other things, like the quiver, which are already attached to him, but my objects don't appear in the game. So what is the secret property that makes it work? :p
Here's evidence that somebody (;)) must know how to do it: (
http://www.ttlg.com/dave/t3ed/torch.jpg) Torch.jpg
And yes, I followed the tutorial for a torch bearing guard, but that doesn't seem to work for Garrett.
Zillameth on 19/3/2005 at 12:02
It seems there is a problem with lights. You can't just link Garrett to a moveable light, because it won't move when game starts. The way I managed to do that was to:
- create a version of lamp (or torch), which does not give light (that is, doesn't have Lighitng properties at all)
- link Garrett to it though RigidAttachment link
- add lighting properties to Garrett and set them to simulate torch light.
I even almost managed to make lantern appear in Garrett's hand, when he picks it up from the floor, and disappear, when he drops it. I simply attached it to Garrett permanently and changed its transparence accordingly. Unfortunately, some objects are partially visible even with transparence set to 1, so it's not a fully effective method. Maybe using Advanced -> bHidden instead of transprence (and setting link not to propagate its value to linked objects) would work better, but I haven't checked it yet.
van HellSing on 19/3/2005 at 12:06
Quote Posted by David
Also (
http://www.ttlg.com/dave/t3ed/torch.jpg) sometimes it is even too dark for Garrett.
The lighting engine is excellent. Running around a tiny map like this, torch in hand and watching the shadows dance over everything is excellent!
So it IS possible... But How?
Bumbleson on 20/3/2005 at 01:14
By saving the gamesys! :o :o :o
I didn't know you HAVE to save the gamesys for the changes to take effect. I didn't want to change the original, so I never saved it. Now it works like a charm.
Inline Image:
http://img31.exs.cx/img31/6779/garrettattach7ui.jpg"Ok, maybe I am afraid of the dark. So what?"The new question is: How can I save the gamesys without changing the original files? Do I have to keep a backup copy or is there a more convenient way? What other things do I have to save if I change the gamesys, and how do I restore them later?
ProjectX on 20/3/2005 at 09:53
I never saved the gamesys when making firelementals or waterelementals, and they seem to work well without it.
Jadon on 20/3/2005 at 10:11
Restoring what you change is easy just remember you probably have to exit the editor first then come back in without opening any maps up (If I don't do this then the Editor throws up an error saying archtypes are in use) . Just delete the archtypes that you created in the editor actor class browser and poff they're gone (not really you can view what you deleted by go ing to view> show deleted archtypes or something like that.) Hope that helps.
Dark Arrow on 20/3/2005 at 12:30
How do you save the gamesys? I know that it asks you to save it when you make a change and try to enter the game, but how do I do it manually. I don't want to overwrite the original gamesys, or are gamesys files saved with the mission file and not separatly?
Bumbleson on 21/3/2005 at 00:06
I'd like to know that too. When it asks you if you want to save it, it says you can do it manually in the actor browser, but if I do so it asks me anyway when I go to game mode. Another thing is, when I quit the editor after a change, it asks if I want to save the gamesys. Then it displays a file dialog window, but if I choose a name and try to save, it spits out a warning that "something" tried to save without using the internal "Savegamesys()" routine and that I would have to quit the editor immediately afterwards or abort the save. Looks like something's wrong here :weird:
Bumbleson on 21/3/2005 at 00:09
Quote Posted by ProjectX
I never saved the gamesys when making firelementals or waterelementals, and they seem to work well without it.
As long as you don't actually change something in the actor hierarchy, you don't need to save the gamesys.
Jadon on 21/3/2005 at 04:59
Just go ahead a save it, for me at least nothing goes wrong it just saves.