Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Single Player Maps
Single Player Maps [message #262866] Sun, 03 June 2007 15:21 Go to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
i edited some single player lvl files and when i run my serv to test them it just keeps restarting and idk why

also it still crashes when adding wep spawns
Re: Single Player Maps [message #262871 is a reply to message #262866] Sun, 03 June 2007 16:01 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Nice explanation of what you've actually done. It really got to the point(!).

I know the answer, Tell us what you're doing exactally and we may be able to pinpoint a solution to your issue.
Re: Single Player Maps [message #262872 is a reply to message #262866] Sun, 03 June 2007 16:16 Go to previous messageGo to next message
BlueThen is currently offline  BlueThen
Messages: 2402
Registered: February 2006
Karma: 0
General (2 Stars)
Did you try and play them as .lvl, .mix, or .pkg?
Re: Single Player Maps [message #262889 is a reply to message #262866] Sun, 03 June 2007 17:22 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
i have edited the map from leveledit and added a red wall blocker and a few wep spawns and this
http://renhelp.net/index.php?mod=Tutorials&action=view&id=38
Re: Single Player Maps [message #262899 is a reply to message #262866] Sun, 03 June 2007 17:41 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
no it loads up on the renegademaster server then when saying loading map blank % it restarts over and over
Re: Single Player Maps [message #262979 is a reply to message #262866] Mon, 04 June 2007 00:43 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
you load the .ldd with the original map. You do not load any other file unless it is required. TBH If you can't get this to work, don't attempt again unless you fully understand how it works.
Re: Single Player Maps [message #262981 is a reply to message #262866] Mon, 04 June 2007 00:47 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ok now im confused can u guys explain it a little more i thought u just do the same thing as in the mulitplayer lvl files but dont add that lsd file
Re: Single Player Maps [message #263001 is a reply to message #262866] Mon, 04 June 2007 02:29 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
Don't add the lvl file either, or <mapname>.ddb unless you temped new presets. The only file you need is <mapname>.ldd and the orignal .mix file already in the server, then load the .mix map. The new .ldd file overrides the one already in the .mix package and will load your mod with it. You don't need any other file unless you need it.
Re: Single Player Maps [message #263011 is a reply to message #262866] Mon, 04 June 2007 03:30 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
every time u wanna do something with the presents do u have to make them a temp so lets say if i made a copy of the nod turret for something do i click add or temp?
Re: Single Player Maps [message #263034 is a reply to message #263011] Mon, 04 June 2007 06:31 Go to previous messageGo to next message
Sn1per74* is currently offline  Sn1per74*
Messages: 939
Registered: April 2006
Karma: 0
Colonel
When I edited maps I didn't delete anything from XCC mixer I just saved my map from level edit straight to my data folder, and it worked perfectly.

http://i4.photobucket.com/albums/y133/FMAROCKS/sniper74halosigsnipedontforgettogiv.png
Creator: AoBFrost
Re: Single Player Maps [message #263050 is a reply to message #262866] Mon, 04 June 2007 08:27 Go to previous messageGo to next message
Zion is currently offline  Zion
Messages: 2722
Registered: April 2006
Karma: 1
General (2 Stars)
For serverside mods i've heard people say you should always always always temp presets, but i've added them personally and they've worked fine. You may only use presets from the Objects preset branch (some others do work but Tiles for one do not). You have to place the .ldd file and the original .mix file in the Data folder of your server, then place the .mix map into the rotation to load the map.

A tip for creating serverside maps: Save often. this includes exporting to .ldd and testing it in the server. Level Edit is a very unstable program and if you've done alot then make something new it may crash and you loose all your work (i have many projects that i just couldn't be bothered completing because i lost so much due to a crash). When you add an experimental something into the map, test it to make sure it works.
Re: Single Player Maps [message #263176 is a reply to message #262866] Mon, 04 June 2007 21:49 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
so u think i should try to use only temps for once?
Re: Single Player Maps [message #263183 is a reply to message #263176] Mon, 04 June 2007 22:54 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
when u map a coop serv with single player maps is it running of an aow serv?
Re: Single Player Maps [message #263184 is a reply to message #262866] Mon, 04 June 2007 23:14 Go to previous messageGo to next message
Dave Anderson is currently offline  Dave Anderson
Messages: 1953
Registered: December 2004
Location: United States
Karma: 0
General (1 Star)
Dude... In the last 3-4 pages you have created 22 topics. Please, visit RenHelp and read the tutorials until your eyes fall out. If you don't understand it, read it again. If you fail to understand it after your eyes fall out, then maybe you shouldn't bother.

Seriously though, you need to keep your questions to one topic, and don't ask so many questions at once. Wait until your previous questions are answered before asking new ones. You're going to aggravate the folks here like you have me, and they will fail to provide help for you, and instead will just flame you. I'm not trying to be mean, but you seriously need to control yourself more when clicking the new topic button and asking so many questions.


David Anderson
Founder, Software Consultant
DCOM Productions
Microsoft Partner (MSP)

[Updated on: Mon, 04 June 2007 23:15]

Report message to a moderator

Re: Single Player Maps [message #263190 is a reply to message #262866] Mon, 04 June 2007 23:25 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
i do look at renhelp alot but not all questions are on there and i ask questions but when people stop asking them thats when i start a new topic
Re: Single Player Maps [message #263211 is a reply to message #262866] Tue, 05 June 2007 01:24 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
Your server is crashing because you are adding the wrong type of weapon spawns. Although they look the same, infact they look identicle because they use the same model.

But I had a similar experinace with weapon spawns. I found many different ways of adding them, but basically there are three different effects.

a) it doesn't show up on the map
b) server keeps crashing and restarting on map load
c) works fine

If you are getting a or b then you are on the right track (because you are creating the modified map correctly), however you are just spawning the wrong type of weapon powerup.

Don't start messing around with temping presets. Do it the way I told you with "make" and just using the .lsd and .ldd files.
For what you are doing temping isn't necessary and just will add confusion.
Also, there isn't any difference in editting the single player maps server side to how you do it for multiplayer maps. You are just getting confused.

It has been nearly 18 months (i think) since I added a weapon spawns to a map using level edit, so I can't tell you off the top of my head which ones are fine to add. But I will research it for you and show an example later.



[Updated on: Tue, 05 June 2007 01:26]

Report message to a moderator

Re: Single Player Maps [message #263221 is a reply to message #262866] Tue, 05 June 2007 02:16 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
im doing the same thing as on renhelp
but i get number 2

[Updated on: Tue, 05 June 2007 02:19]

Report message to a moderator

Re: Single Player Maps [message #263222 is a reply to message #263221] Tue, 05 June 2007 02:24 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
joe937465 wrote on Tue, 05 June 2007 05:16

im doing the same thing as on renhelp
but i get number 2


OK, I will make a tutorial on how to make weapon spawns server side on amap using level edit. I can't do this now, I am at work. But I will at some point this week, hopefully tonight.



Re: Single Player Maps [message #263227 is a reply to message #262866] Tue, 05 June 2007 03:08 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
If possible a video tutorial Smile

I'm really trying to get more on there but if not that is ok.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Re: Single Player Maps [message #263232 is a reply to message #262866] Tue, 05 June 2007 03:28 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
ty!!
THAt reminds me is there a program to record stuff u do on ur pc like if someone was watching ur screen ?
Re: Single Player Maps [message #263238 is a reply to message #262866] Tue, 05 June 2007 04:07 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
Camtasia studio is the best for that, look for it on http://www.google.co.uk

For the weapon spawners since i don't know what you're trying to do it in ill tell you the easiest way of doing it:

In the scripts.dll source, make a script that does:

void WepSpawner::Created(GameObject *Obj)
{
      Commands->Start_Timer(Obj, this, 0.0, 1);
}

void WepSpawner::Entered(GameObject *Obj, GameObject *Obj2)
{
     Commands->Start_Timer(Obj, this, 10.0, 1);
}

void WepSpawner::Timer_Expired(GameObject *Obj, int number)
{
     if(number == 1)
     {
           int rand = Commands->Get_Random_Int(0, 3); //for 4 powerups
           if(rand == 0)
           {
                 Commands->Create_Object("POW_Railgun_Player", Commands->Get_Position(Obj));
           }
           if(rand == 1)
           {
                 Commands->Create_Object("POW_VoltAutoRifle_Player", Commands->Get_Position(Obj));
           }
           if(rand == 2)
           {
                      Commands->Create_Object("POW_VoltAutoRifle_Player", Commands->Get_Position(Obj));   
           }
           if(rand == 3)
           {
                      Commands->Create_Object("POW_TiberiumFlechetteGun_Player", Commands->Get_Position(Obj));   
           }
}


Then all you need to do is make a script zone and attach it. Much easier and you don't need any extra ddb / ldd files Smile
Re: Single Player Maps [message #263241 is a reply to message #262866] Tue, 05 June 2007 04:36 Go to previous messageGo to next message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
how u attachh it to a script zone?

which script?

how u add that or edit it?

i stillw ant reborns vidoe Smile
Re: Single Player Maps [message #263244 is a reply to message #262866] Tue, 05 June 2007 04:42 Go to previous messageGo to next message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma: 0
General (3 Stars)
1) Attach_Script_Once(scriptzone, true); //scriptzone must be the GameObject * of the script zone you want to attach it to.

2) The script i posted in the code

3) Microsoft Visual C++ Express Edition

4) Reborn never said he would make a video, he said he would make a tutorial. Someone suggested he makes a video.
Re: Single Player Maps [message #263246 is a reply to message #263241] Tue, 05 June 2007 04:55 Go to previous messageGo to next message
reborn is currently offline  reborn
Messages: 3231
Registered: September 2004
Location: uk - london
Karma: 0
General (3 Stars)
joe937465 wrote on Tue, 05 June 2007 07:36

how u attachh it to a script zone?

which script?

how u add that or edit it?

i stillw ant reborns vidoe Smile



What gamemodding has done is create a script just for you that can be attached to a script zone and will create weapon spawners in that zone.
You would need to add this script to the source code of ssaow before you compile it.
Then copy the scripts.dll file to your level edit scripts folder for the mod package, then when you "mod" a preset and look under the scripts list there will be one called: "WepSpawner". This is what should be attached to the script zone that you would need to create.
However he hasn't included the registrant or the code for the .h file. I guess he is assuming you would know how to create this yourself, but I wouldn't take that for granted really.
To be honest i think this is an over complicated way of doing it. If I was going to handle weapon spawns as part of the scripts.dll i wouldn't make zones, I would just spawn random weapons at pre defined locations for each map.

To be fair, this is kinda throwing you in at the deep end. Don't worry, when I get home from work I will make a start on a tutorial for you, hopefully it will be finished tonight.



Re: Single Player Maps [message #263247 is a reply to message #262866] Tue, 05 June 2007 04:59 Go to previous messageGo to previous message
_SSnipe_ is currently offline  _SSnipe_
Messages: 4121
Registered: May 2007
Location: Riverside Southern Califo...
Karma: 0
General (4 Stars)
...............id stick to the old way.........
Previous Topic: always.dat
Next Topic: C++
Goto Forum:
  


Current Time: Sun Oct 20 14:06:19 MST 2024

Total time taken to generate the page: 0.01915 seconds