Just a few questions. Easy answers! Look in here! Quick!

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Just a few questions. Easy answers! Look in here! Quick!

Post by Epena »

Sorry, I couldn't resist.

First of all I'd like to apoligize for any porn that "I" have posted. It wasn't me, my account was hacked. The pass has been changed and it's all better now. Please don't hold this against me!!

Now...

Sorry for creating a THIRD topic, but, you know, my last one wasn't getting any more answers and I've redesigned the questions to be more specific.

Hokay.

1) Terrain cutting. Is there any possible way for a tunnel to go into a cliff without terrain interference? Kinda hard to not have terrian ona cliffwall when stuff goes on the top.

2)Vehicles. Now, I know you guys get a bajillion questiona about these. I only want one specific thing. Thanks to Fred I understand the converting of the file type, but, in the Req file, the second part that you add...Say I'm adding an X-wing and everything esle has been done right. I have the spawn thing placed, and the unit added in there for the specific CP. And then The first thing is added in the LUA. The All_fly_Xwing has been added under "ReadDataFile("sound\\tat.lvl;tat1gcw")
ReadDataFile("SIDE\\all.lvl",
"all_inf_basicdesert",
"all_fly_xwing",
"all_inf_lukeskywalker",
"all_inf_smuggler");"

Now, for the second part, all I want you to do is tell me EXACTLY WHAT AND WHERE TO PUT THE STUFF IN THE LUA. THAT'S ALL.

And that sums up all I wanted to know. Thanks, mateys. Hardy har and some really bad eggs.

EDITZ- HA. I SEE MY PROBLEM NOW. I WAS ASKING ABOUT REQ, AND WHAT I REALLY NEED IS LUA INFO.
Last edited by Epena on Fri Oct 28, 2005 6:49 pm, edited 1 time in total.
Delta_57_Dash
Jedi
Jedi
Posts: 1187
Joined: Fri Jun 10, 2005 2:46 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Just a few questions. Easy answers! Look in here! Quick!

Post by Delta_57_Dash »

uhm.. the xwing is actualy in another req file. find that one, and change all_fly_xwing in teh lua to all_?_?
sawyerdk9

RE: Just a few questions. Easy answers! Look in here! Quick!

Post by sawyerdk9 »

do you mean the xwing isn't spawning. because that happened to me. In the lua put the all_fly_xwing on top of all_inf_basicdesert.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

RE: Just a few questions. Easy answers! Look in here! Quick!

Post by Epena »

Yes, not spawning. But, no, I got the part with the all_inf_basic desert.

The second part need(ed)(s?) help. I'm hobbling over to Fred's site right now, though.
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

RE: Just a few questions. Easy answers! Look in here! Quick!

Post by Teancum »

When you add the all_fly_xwing values in ZeroEdit, be sure to hit the pageDown button on the right and fill those values in, too.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Yar, you guys need to read my question...

It really shouldn't be all that hard to answer..

Fred, those files (one of which I already had and had enjoyed-the Imperial shuttle one with Kwing) were good for looking at the .lvl files, but all U need is waht to type in the second part of the req, not in a lvl file.

Sorry for being so dense about all this.. heh

All I want is the data to enter in the second part in the LUA. The part pertaining to my mod .lvl.

Just need the text to type in...once I see that I will be able to enter all the stock vehicles. Thanks!
Astute
Rebel Colonel
Rebel Colonel
Posts: 566
Joined: Tue Apr 12, 2005 7:03 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Astute »

do you mean this?

-- Level Stats
ClearWalkers()
AddWalkerType(0, 0)
-- AddWalkerType(1, 4)
AddWalkerType(2, 0)
--SetMemoryPoolSize("EntityHover", 12)
--SetMemoryPoolSize("EntityFlyer", 5)
-- SetMemoryPoolSize("EntityBuildingArmedDynamic", 16)
-- SetMemoryPoolSize("EntityTauntaun", 0)
-- SetMemoryPoolSize("MountedTurret", 22)
SetMemoryPoolSize("PowerupItem", 60)
-- SetMemoryPoolSize("SoundSpaceRegion", 85)
SetMemoryPoolSize("EntityMine", 40)
--SetMemoryPoolSize("Aimer", 200)
-- SetMemoryPoolSize("Obstacle", 725)
--SetMemoryPoolSize("EntityLight", 150)
SetSpawnDelay(10.0, 0.25)
ReadDataFile("dc:mod1\\mod1.lvl")
SetDenseEnvironment("false")
--AddDeathRegion("Sarlac01")
-- SetMaxFlyHeight(90)
-- SetMaxPlayerFlyHeight(90)

If so then sptest would have caught the lack of memory with flyers.
All you need to do is take out the "--" from SetMemoryPoolSize("EntityFlyer", 5). From there set your flyer amount.
If thats not it then i might have missunderstood.

Just a thought though, did you set up your spawns right, thats usually my problem.

EDIT:
Answer to the post below, just take out the two dashes("--") and it will be enabled, and yes the 5 is the count.
Last edited by Astute on Sat Oct 29, 2005 2:09 am, edited 1 time in total.
User avatar
Epena
Old School Staff
Posts: 1176
Joined: Fri Oct 21, 2005 2:33 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set

Post by Epena »

Just take out the quotes?

And isn't the 5 the spawn amount?
Post Reply