Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (TedMar, AndrewAMD, alibaba, 7th_zorro, 1 invisible), 1,049 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A8 shooter template #374422
06/18/11 15:20
06/18/11 15:20
Joined: Jun 2008
Posts: 37
Oklahoma City, OK
emo10001 Offline OP
Newbie
emo10001  Offline OP
Newbie

Joined: Jun 2008
Posts: 37
Oklahoma City, OK
I'm hoping that I'm just missing something simple...but it really seems like using the templates is way too difficult for something that it supposed to make it "easier".

I create a simple level of terrain and guard model. Then I attach a "Template_Project" script in map properties. Then I go to project manager and add CLASS "Shooter", "Customizable Shooter Player Parameters" and leave it at the default settings. Then I attach "t_shooter_player" behavior to my guard model.

I compile...run...and get "t_shooter_player: Action not found"...and of course....I can't move my guard model at all with any key.

In looking at the splash screen, I see the error "error in 't_shooter_player.h' line 24: Include file t_shooter_player.c not found"

And, the error is correct...there is no t_shooter_player.c file in my project folder. And I can't find a t_shooter_player.c anywhere in/with the templates...only t_shooter_player.h...which is in the templates...and then copied to my project folder when I added the "Shooter", "Customizable Shooter Player Parameters" in the Project manager.

Any help?

Thanks! laugh


"To one who has faith, no explanation is necessary. To one without faith, no explanation is possible." - St. Thomas Aquinas
Re: A8 shooter template [Re: emo10001] #374440
06/18/11 16:55
06/18/11 16:55
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
You are right, this is clearly a bug in the t_shooter_player.h.

In line 24 there is written: #include "t_shooter_player.c"

This is wrong, it must be: #include <t_shooter_player.c>

For including files from the include folder, they must be in <> and not in "".

You should report this bug, it is a clear bug in my opinion, report it to George on the AUM forum. The shooter template is from George's AUM.

Re: A8 shooter template [Re: Spirit] #374441
06/18/11 17:01
06/18/11 17:01
Joined: Sep 2003
Posts: 929
Spirit Offline

Moderator
Spirit  Offline

Moderator

Joined: Sep 2003
Posts: 929
By the way, all the other shooter templates seem to have the same bug, in all templates the "" must be replaced by <>, but the car templates and the rest of the templates are ok. Also, some weapon files are missing that are referenced by the shooter templates, but that should be less of a problem.


Moderated by  HeelX, rvL_eXile 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1