Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (AndrewAMD, TipmyPip, NewbieZorro, Grant), 14,196 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 2 of 3 1 2 3
Re: C&C - LiteC [Re: bstudio] #185286
02/29/08 19:25
02/29/08 19:25
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline OP
Senior Member
Vadim647  Offline OP
Senior Member
V

Joined: Feb 2008
Posts: 337
I just can't use a dll in lc. On any dll fuction call engine crashes.


I switched to other account since marth 2010. Guess which.
Re: C&C - LiteC [Re: bstudio] #185287
03/10/08 10:27
03/10/08 10:27
Joined: Mar 2008
Posts: 17
Kärnten, Austria
T
Tarandur Offline
Newbie
Tarandur  Offline
Newbie
T

Joined: Mar 2008
Posts: 17
Kärnten, Austria
i think A* would be a good feature for the next GS version.

Re: C&C - LiteC [Re: bstudio] #185288
03/10/08 10:28
03/10/08 10:28
Joined: Mar 2008
Posts: 17
Kärnten, Austria
T
Tarandur Offline
Newbie
Tarandur  Offline
Newbie
T

Joined: Mar 2008
Posts: 17
Kärnten, Austria
i think a pathfinding system like A* would be a great feature for the next Gamestudio edition.

Re: C&C - LiteC [Re: Tarandur] #185289
03/10/08 13:15
03/10/08 13:15
Joined: Aug 2006
Posts: 652
Netherlands
bstudio Offline
User
bstudio  Offline
User

Joined: Aug 2006
Posts: 652
Netherlands
you can already implement A* in 3dgs


BASIC programmers never die, they GOSUB and don't RETURN.
Re: C&C - LiteC [Re: bstudio] #185290
03/10/08 13:19
03/10/08 13:19
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
@Vadim:
1. Do you define your dll function as "function DllFunction();" instead of "dllfunction DllFunction();"?
2. Try to call the function in your Dll with and without "()" at the end! I can't explain why but it makes a difference!

Had the same problems some days ago

Re: C&C - LiteC [Re: PadMalcom] #185291
03/11/08 07:10
03/11/08 07:10
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
I still have one question to your code:
- How can I make the player turn around in a closer cirle?

What I want is to turn him in the right direction and then start goint to the selected target point.

Re: C&C - LiteC [Re: PadMalcom] #185292
03/15/08 17:35
03/15/08 17:35
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline OP
Senior Member
Vadim647  Offline OP
Senior Member
V

Joined: Feb 2008
Posts: 337
Sorry, if I make you waiting.

just replace
Code:

c_move(me,vector(my.skill1,0,0),nullvector,IGNORE_PASSABLE);


in unit action by
Code:

if (abs(my.pan-t_v2.x)<3) {c_move(me,vector(my.skill1,0,0),nullvector,IGNORE_PASSABLE);}


'<3' because of possible other-source turning.
(3 degrees make no differense.


I switched to other account since marth 2010. Guess which.
Re: C&C - LiteC [Re: Vadim647] #185293
03/15/08 17:50
03/15/08 17:50
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Thanks I just replaced the ent_rotate by vec_to_angle... My player turns now imediately but that doesn't matter

Re: C&C - LiteC [Re: PadMalcom] #185294
03/15/08 18:05
03/15/08 18:05
Joined: Feb 2008
Posts: 337
V
Vadim647 Offline OP
Senior Member
Vadim647  Offline OP
Senior Member
V

Joined: Feb 2008
Posts: 337
imediatly turning is always good thing, but it has one dis-advantage: when unit makes one-moment turning over 180 degrees, it looks quite strange.


I switched to other account since marth 2010. Guess which.
Re: C&C - LiteC [Re: Vadim647] #185295
03/16/08 13:45
03/16/08 13:45
Joined: Mar 2006
Posts: 1,993
Karlsruhe
PadMalcom Offline
Serious User
PadMalcom  Offline
Serious User

Joined: Mar 2006
Posts: 1,993
Karlsruhe
Yeah thats true But for testing purposes it should be satisfying!
My problem is now that I have to implement some kind of path finding because the entity is not running around blocks if they are in its way!

Page 2 of 3 1 2 3

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

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