vehical scripts -1 reply

Please wait...

Darthjab

...

50 XP

25th March 2006

0 Uploads

95 Posts

0 Threads

#1 12 years ago

how do i add vehicals in the scripts (all of them, flyers, tanks, speeders etc)




Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#2 12 years ago

for the speeders, hovertanks, all you have to do is add the name to the side it belongs too. like rep_hover-fightertank would go under the republic side. for walkers, look at the post called "the proper method of vehicles? alittle help" I explain it there, And for the flying ships, I think u just have to add it to the side too. for the ships that carry multiple people, I'm not sure about. now I think I'll have a root beer:beer:




L1nK

The Hero Of Time!

50 XP

22nd March 2006

0 Uploads

109 Posts

0 Threads

#3 12 years ago

ok well in your scripts (located in data_ABC/common/scripts/ABC (ABC being your map name) select one that says ABCc_con.lua or ABCg_con.lua (not the LUA file type the one that ends in .lua) thats assuming your doing conquest otherwise itd be something like ABC(c or g)_ctf or eli (eli = assault).lua ok so scroll down the script until you find something that looks sort of like this (i editted mine so it wont be exact) ReadDataFile("SIDE\\rep.lvl", "rep_inf_ep3_rifleman", "rep_inf_ep3_rocketeer", "rep_inf_ep3_engineer", "rep_inf_ep3_sniper", "rep_inf_ep3_officer", "rep_inf_ep3_jettrooper", "rep_walk_atxt", "rep_hero_yoda", "rep_hover_fightertank", "rep_fly_gunship") ReadDataFile("SIDE\\cis.lvl", "cis_inf_rifleman", "cis_inf_rocketeer", "cis_inf_engineer", "cis_inf_sniper", "cis_inf_officer", "cis_inf_droideka", "cis_tread_snailtank", "cis_inf_marine", "cis_fly_droidgunship") ok so you can replace the hero as you can see with any hero. you can replace OR add vehicles as well so as you can see i replaced cis_hover_aat with cis_tread_snailtank and i ADDED cis_fly_droidgunship make sure the odf name is under the correct team (cis_ under the other cis_) so you thats how you get vehicles in the script once you have finished editting it in any way you want (make sure the vehicle ammount does not pass "line 90" in the script otherwise youll get errors if for some reason your vehicles dont work thats fine because for soem reason some of these vehicles have been having errors e.g. cis_fly_droidgunship, rep_walk_oneman_atst and atte and so forth




Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#4 12 years ago

reply to link, the atte shouldn't have any error messages, it should work fine as long as you put it in the scripts right, my atte works fine. about the cis gunship, I dont know...:confused:




Darthjab

...

50 XP

25th March 2006

0 Uploads

95 Posts

0 Threads

#5 12 years ago

thx guys but dont u have to put something like SetMemoryPoolSize("EntityFlyer", 10) some where in the script?




Squirrel7Hunter

Attacking Utapau

50 XP

27th September 2005

0 Uploads

295 Posts

0 Threads

#6 12 years ago

I dont think you do.




Wraith 5

The Fun cannot be Halted!

50 XP

11th October 2005

0 Uploads

3,047 Posts

0 Threads

#7 12 years ago

The memory pool names are already there, you just have to change the number depending on how many vehicles there are. The problem is I don't know what the value is per vehicle?




L1nK

The Hero Of Time!

50 XP

22nd March 2006

0 Uploads

109 Posts

0 Threads

#8 12 years ago

O.o couldnt you just set it to a million or something? LOL




Wraith 5

The Fun cannot be Halted!

50 XP

11th October 2005

0 Uploads

3,047 Posts

0 Threads

#9 12 years ago

I set it to 1000 on a map with 12 vehicles, and that didn't work. I think it has to be exact or something?




L1nK

The Hero Of Time!

50 XP

22nd March 2006

0 Uploads

109 Posts

0 Threads

#10 12 years ago

that would suck if it did, im going to try like 10,000 LOL