Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (dr_panther, Quad, AndrewAMD, 7th_zorro), 945 guests, and 2 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
Page 1 of 2 1 2
mouse range! A7 7.8 #462666
10/19/16 18:07
10/19/16 18:07
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Hi everyone,

this is driving me nuts! I have LiteC script working to click on entites, but I cannot change the mouse_range variable anywhere! If I use:

mouse_range = 180;

I get a compile Syntax error : "Cant convert GETPVALUE:FIXED::."

however if I use:

var mouse_range = 180;

The code compiles correctly, but the range doesnt change from the default 2000.

Anyone know what Im doing wrong?

Re: mouse range! A7 7.8 [Re: jumpman] #462667
10/19/16 18:21
10/19/16 18:21
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

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

Run this code and press space. It works for me (latest A8).
Code:
void main(){
	level_load("");
	
	while(1){
		
		mouse_range = 1000;
		if(key_space){
			mouse_range = 100;
		}
		
		DEBUG_VAR(mouse_range, 100);
		wait(1);
	}
}

If this doesn't work for you, I highly recommend you to start using A8 (at least free version) for multiple reasons. First of all, it's the latest version of Acknex. Secondly, forum is almost dead and users left here (most of them) a using latest version (I assume).

Best regards!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: mouse range! A7 7.8 [Re: 3run] #462668
10/19/16 18:29
10/19/16 18:29
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
that doesnt work, gives me the same error. mouse_map, mouse_mode, both work, except mouse_range mad

Does A7 lite-C code work with A8? Or are there alot of syntax changes too?

Re: mouse range! A7 7.8 [Re: jumpman] #462669
10/19/16 19:13
10/19/16 19:13
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
No, it doesn't have huge differences, but some stuff might not work and will require some adjustments. F.e. one of my older projects made with A7 didn't work, cause it wasn't written correctly grin But anyway, I highly recommend you to update to A8, cause your projects will be more stable.

Best regards.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: mouse range! A7 7.8 [Re: jumpman] #462670
10/19/16 19:15
10/19/16 19:15
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Quote:
mouse_range
, bug in A7 or perhaps in your A7 version? Are you sure you set the mouse_range value low enough when testing?

Quote:
Secondly, forum is almost dead
, I think you meant to say, undead


Re: mouse range! A7 7.8 [Re: Reconnoiter] #462671
10/19/16 19:16
10/19/16 19:16
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Reconnoiter
Quote:
Secondly, forum is almost dead
, I think you meant to say, undead



grin grin grin


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: mouse range! A7 7.8 [Re: 3run] #462673
10/19/16 19:23
10/19/16 19:23
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
lol

What kind of things did you need to rework to get it working in A8, @3run? Just curious.

Reconnoiter, I am using A7 Professional, 7.8. I think thats the latest A7 version.

Last edited by jumpman; 10/19/16 19:23.
Re: mouse range! A7 7.8 [Re: jumpman] #462675
10/19/16 19:27
10/19/16 19:27
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Originally Posted By: jumpman

What kind of things did you need to rework to get it working in A8, @3run? Just curious.
, according to the manual's Obsolete Keywords not so much, but I dont know how correct the manual is with that. That being said, if you have any syntax bugs in A8, we can help you (undead or not we are here to help grin ).

Re: mouse range! A7 7.8 [Re: jumpman] #462676
10/19/16 19:28
10/19/16 19:28
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: jumpman
What kind of things did you need to rework to get it working in A8, @3run? Just curious.
To be honest, I can't remember anything to specify, I changed to A8 years ago.

Greets.


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: mouse range! A7 7.8 [Re: 3run] #462677
10/19/16 19:42
10/19/16 19:42
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline OP
Serious User
jumpman  Offline OP
Serious User

Joined: Apr 2002
Posts: 1,246
ny
I guess I need a few pointers from you guys, as to what I should do. So here's my concerns:

I consider myself a character artist, so I made the move from A6 to A7, mainly because I enjoyed using C-Script, as well as having bone weights on 3d models. Single bone influence makes all models look terrible. So making the move to A7 was helpful in this regard.

I am currently creating a base level in A7, with all the default scripts that I want for future games, mainly pathfinding and ent_animate code. I am porting old code that I have from A6 into A7. Until I ran into this mouse_range quirk.

Should I try to port the code fully into A7, then make the jump to A8 and port the code from A7 to A8? Or should I stop porting it now to A7 and just buy the upgrade to A8 and work on it there?

Page 1 of 2 1 2

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