Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 10/15/25 20:44
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (AndrewAMD, 1 invisible), 7,036 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Max length of action names that can be assigned through WED #409094
10/11/12 14:13
10/11/12 14:13
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

What is the max length of action names that can be asigned through WED? I made some test and I think it is 19 (Why 19? why not 20 or 32?). If exceding 19 chars, they are not called (They appear in action list but not get called when level is loaded). I see that in the wmb format, there is a

Code:
char  action[33];

. So It is quite strange.

PS : I see that in WMB_OLD_ENTITY (internal file formats), there is a
Code:
char  action[20];

. Does Med create OLD entities? Or am I missing something?

Ver : A8 Pro 8.40

Test file available here

Thanks in advance.

Last edited by 3dgs_snake; 10/11/12 14:16. Reason: Added test file
Re: Max length of action names that can be assigned through WED [Re: 3dgs_snake] #409143
10/12/12 09:24
10/12/12 09:24
Joined: Jul 2000
Posts: 28,028
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,028
Frankfurt
The action name limit is 19 chars. You can see in the $$M file if you defined a simple entity - it's a lot shorter and simpler and has only 8 skills and 20 bytes for names - that's why you have the 19 chars limit.

WED always places a simple entity when a normal entity is not needed, f.i. when you don't use more than 8 skills, no material, etc. The simple entity definition starts with the number "3", like this:
Code:
{ //model
	3
	0 0 0
	360 0 0
	0.5 0.5 0.5
	Kugel.mdl
	Model
	A_Modell
	0 0 0 0 0 0 0 0
	0000
	0
}



Re: Max length of action names that can be assigned through WED [Re: jcl] #409146
10/12/12 10:17
10/12/12 10:17
Joined: Feb 2010
Posts: 320
TANA/Madagascar
3dgs_snake Offline OP
Senior Member
3dgs_snake  Offline OP
Senior Member

Joined: Feb 2010
Posts: 320
TANA/Madagascar
Hi,

Thanks for you answer.


Moderated by  old_bill, Tobias 

Gamestudio download | 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