Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 6 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoDUO Mapping
CoD United Offensive mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Previous Page
subscribe
Author Topic: Trains in map
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 1437
Last: Jul 3, 2017
[view latest posts]
Level 8
Category: CoDUO Mapping
Posted: Monday, Jan. 14, 2008 12:48 am
lol not quite, u got the
Train = getent("targetname","train");
targetname and stuff the wrong way round
should be
Train = getent("train","targetname");

same with
Waypoints = getentarray("targetname","waypoint");
Wheels = getentarray("targetname","wheels");

not sure if Spawn = getentarray("track","1"); will work think u can only have set keys to work with

ill make a script were u can have multiple trains with only one script tomoz (well... later today :P)
Share |
Birdyman
General Member
Since: Nov 14, 2005
Posts: 55
Last: Nov 23, 2011
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Tuesday, Jan. 15, 2008 10:06 am
i try your script but it keep telling me

size cannot be applied for undefined
for(i=1;i
i dont no why its keep telling this becouse the waypoints are defined.

any suggestions are welcome

thanks
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoDUO Mapping
Posted: Tuesday, Jan. 15, 2008 06:02 pm
Did you maybe make an error in the targetnames or something? A typo is easily made.
Share |
Birdyman
General Member
Since: Nov 14, 2005
Posts: 55
Last: Nov 23, 2011
[view latest posts]
Level 3
Category: CoDUO Mapping
Posted: Tuesday, Jan. 15, 2008 06:30 pm
i allready fix it.
the script targetnames are reversed with the names like .KiLL3R. allready said.
anyhow this script have more errors problems,
its not working
Share |
TexasRebel
General Member
Since: May 1, 2006
Posts: 373
Last: Aug 20, 2013
[view latest posts]
Level 5
Category: CoDUO Mapping
Posted: Tuesday, Jan. 15, 2008 07:17 pm
If its not working you can go back to the longer version of it. You will need to use script_models for the train and find train models. Then for each waypoint you add in, its gonna make the script that much longer and one small mis-spelling in radiant can cause errors in the script.
Share |
|DA|DarkDilbert
General Member
Since: Jun 5, 2006
Posts: 675
Last: Apr 29, 2008
[view latest posts]
Level 6
Category: CoDUO Mapping
Posted: Tuesday, Jan. 15, 2008 07:32 pm
How complex is your train's path? As long as you don't need it to turn both left and right you can get away with using an offsetted origin. I'll draw and post if need be
Share |
Restricted Access Topic is Locked
Page
Previous Page
subscribe
MODSonline.com Forums : Call of Duty : CoDUO Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»