Scripts / Model moving script ?

Author
Message
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 14th May 2014 23:38
Is there a script to make an Object, Model move ?

Like a car or something... If a Character can already move and follow waypoints isn't it possible for a model car to do the same thing with a modded script ?



Or is it not the way it works ?
PM
TattieBoJangle
10
Years of Service
User Offline
Joined: 7th Jan 2014
Location: United Kingdom
Posted: 15th May 2014 00:36
It should be easy but it all depends on 1.7 to be fair it wouldn't be a car you could go in but you could tell it to go from A to B then repeat to get back.





PC SPECS: Windows 8 Pro 64-bit, Intel I7 (PASSMARK 9529) 4GHz CPU, Asus R9 3GB GPU (PASSMARK 6858) 32GB DDR3 MEM (PASSMARK 2842)
tomjscott
User Banned
Posted: 15th May 2014 00:36
Not in 1.006, but the commands will be there in 1.007 according to the following blog:



http://fpscreloaded.blogspot.com/2014/05/script-commands-plenty.html
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th May 2014 01:01 Edited at: 15th May 2014 01:03
Quote: "It should be easy but it all depends on 1.7 to be fair it wouldn't be a car you could go in but you could tell it to go from A to B then repeat to get back."




That's what I was thinking....A Plane flying or a bus on a route, a jeep patrolling maybe.. Just ideas I had in my head



@tomjscott : Thanks il check the link
PM
tomjscott
User Banned
Posted: 15th May 2014 01:05
The only problem is that they don't have a way to set the objects xyz rotation. There is a command to make the entity rotate to face the player, but that's not going to be enough for a lot of things like moving objects around. I've requested them to put in the xyz rotation function in 1.007 a few times, but have not gotten any response back on it.
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 15th May 2014 01:38 Edited at: 15th May 2014 01:40
Quote: "but that's not going to be enough for a lot of things like moving objects "




Im a bit green here...But isn't a character just an animating model ?

and the script is what makes him move...So its not a case of changing the soldier for a Bus for instance ?



Don't forget im thinking in layman's terms
PM
tomjscott
User Banned
Posted: 15th May 2014 01:44
Quote: "So its not a case of changing the soldier for a Bus for instance ?"




Unfortunately, no.
Uman
GameGuru TGC Backer
19
Years of Service
User Offline
Joined: 22nd Oct 2004
Location:
Posted: 24th May 2014 23:19
I have asked for this. i.e. "Follow Path" no idea when it will be in by default.
BarZaTTacKS
10
Years of Service
User Offline
Joined: 3rd Feb 2014
Location:
Posted: 27th May 2014 16:04
http://fpscrforum.thegamecreators.com/?m=forum_view&t=208722&b=2
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 27th May 2014 23:00
here's an example of a possible script (pressing E will make the object turn - just a set rotation but could be improved)



wish we had more input control so we could actually make a real remote controlled racing car type game XD







as you can see it's very easy to control objects now



life's one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 28th May 2014 22:42
@smallg



That's brilliant mate....your on to something there
PM

Login to post a reply

Server time is: 2024-04-23 15:38:15
Your offset time is: 2024-04-23 15:38:15