Gamestudio Links
Zorro Links
Newest Posts
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Data from CSV not parsed correctly
by EternallyCurious. 04/20/24 21:39
M1 Oversampling
by 11honza11. 04/20/24 20:57
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 459 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
c-script to litec (in A8) #471896
03/24/18 11:24
03/24/18 11:24
Joined: Jan 2005
Posts: 282
devon UK
D
DAVIDMORETON Offline OP
Member
DAVIDMORETON  Offline OP
Member
D

Joined: Jan 2005
Posts: 282
devon UK
Just in case you use c-script and are about to try A8 (Litec), [as I had problems with it,] this might help:-
In c-script you put a biped into the game and give it an action (walking etc.) from a list.
I tried this in A8, but there were no actions.
If you want to put a biped into a basic game, I have found this is the easiest way to do it.:-

Build a hollow box, (texture it if you like), give it a name in save, add a model player, go to Map Properties and click on New script, select Template project. (close box)
Open project manager, click Add, click Script, (make sure ‘camera’ is in the box), click the drop down arrow and select Start up and then add Player parameters.
Close the box, highlight player and add 'behavior' build and save, and then run. You can alter the player’s properties by going back to Project manager, select customize, and then highlight player and click ‘customize’ in the pale blue bar – don’t forget to save your alterations !!
Hope this helps someone!
David.

Last edited by DAVIDMORETON; 03/24/18 11:40.
Re: c-script to litec (in A8) [Re: DAVIDMORETON] #471912
03/25/18 13:54
03/25/18 13:54
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Hey!

In A8 with Lite-C you can also assign actions to entities. There are several steps that needs to be done in order to get it working correctly (c-script was more forgiving).

-include 'main' file in Map Properties in WED (to keep things as simple as possible, it should be in same folder with WMB file)
-action's name should end up with (), in older c-script snippets I used to find out that actions where written wrong, examples:
Code:
ACTION name(){ }

or
Code:
action name { }


Both of them are wrong in lite-c! It should be like this:
Code:
action name(){ }


Here is how it works for me:
Quote:
Map properties:

Actions in Behaviour:


I hope it helps! Greets!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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