So, I looked at SI's Contest level because it has a trigger that when fired, ends the game after killing the T-Rex. My question is, how do I do the same. I copied the code almost exactly but changed the target and a couple of other values to ones appropriate for my level. My question is: what have I done wrong? I've set up a separate trigger for the ccreature die feature and tied the level end trigger to it accordingly. It's not wanting to fire when I kill my target dinosaur (which is a Suchomimus.) I tried to check Summit Beta for a trigger there since the game ends in the Beta version of Summit upon killing the Alpha Raptor. I couldn't find the appropriate trigger for the level end. So, I need help from anyone who knows what their doing. I'm getting very close to a stable beta release of Giant Forest and this is the last thing I need to fix before I can pack it up for the first beta release. (however, I may also just pretty up the level some more as well if I get it finished earlier than expected. )
So any help is greatly appreciated.
Getting a level to end after killing a dinosaur
Moderators: TresCom Support Team, TresCom Board Managers, TresCom Developers
-
- Pteranodon
- Posts: 792
- Joined: Sun Sep 07, 2008 3:08 pm
- Location: Bloomington, IN, USA
- awesome24712
- Pteranodon
- Posts: 889
- Joined: Sun Oct 02, 2011 1:56 am
- Antispam: No
- Location: USA
- Contact:
Re: Getting a level to end after killing a dinosaur
Some of those T-Scripts can be quite a pain. I've never made a CCreature trigger before, but in a situation like this I would try to see if the CCreature trigger can fire by itself, see if that's the problem. If it does work than it is something with the Level End trigger. Isolate the problem. Not much help, but a suggestion.
Check out the HL2 mod I'm helping with:
Visit my Steam! http://steamcommunity.com/id/awesome24712/
Visit my YouTube! http://www.youtube.com/user/awesome24712
Post benchamrks:
1 [x] 2 [x] 4 [x] 8 [x] 16 [x] 32 [x] 64 [x] 128 [x] 256 [x] 512 [x] 1024 [ ] 2048 [ ] 4096 [ ] 9192 [ ]
Visit my Steam! http://steamcommunity.com/id/awesome24712/
Visit my YouTube! http://www.youtube.com/user/awesome24712
Post benchamrks:
1 [x] 2 [x] 4 [x] 8 [x] 16 [x] 32 [x] 64 [x] 128 [x] 256 [x] 512 [x] 1024 [ ] 2048 [ ] 4096 [ ] 9192 [ ]
Re: Getting a level to end after killing a dinosaur
Code: Select all
group CreatureDie-00 = {
string Class = "CCreatureTrigger"
string A00 = "<DinoToMonitor>"
bool CreatureDie = true
int ActionType = 31 // end game ActionType
}
That should work...
Bringing TPA CRCs up the well, amongst other file format adventures.
Blender 3.0 TPM Plugin [Project GitHub]
Blender 3.0 TPM Plugin [Project GitHub]
-
- Pteranodon
- Posts: 792
- Joined: Sun Sep 07, 2008 3:08 pm
- Location: Bloomington, IN, USA
Re: Getting a level to end after killing a dinosaur
It worked Ltsten! Thanks! =)
-
- Albertosaurus
- Posts: 2365
- Joined: Wed Mar 05, 2003 9:28 pm
Re: Getting a level to end after killing a dinosaur
Cool to know my ancient contest submission is still noticed