Page 1 of 1

ServerSide Stalingrad Mods?!?

Posted: Sun Mar 20, 2005 4:39 am
by BiG_HeaD
Where can i get that file , its like unreal4 or something, where it made steps from sandbags on the stalingrad map, and u can use it serverside.

I wanna host it for demo.

Posted: Thu Mar 24, 2005 5:20 am
by BiG_HeaD
my next Question would be How do u add Items to Stalingrad VIA script only and have it serverside?

Posted: Thu Mar 24, 2005 5:42 pm
by Green Beret
ur jus messin wit us right,u really never spawned anything in a map?

after level waittill spawn put the item to be spawned,then end it.

Code: Select all

level waittill spawn

local.item = spawn script_model targetname my_item
local.item model "models/static/vehicle_mercedes.tik"
local.item.origin = ( 100.00 100.00 100.00 )//change this to your coords
local.item.angles = ( 0 360 0 )//change to fit your angles

end
//other stuff
to get the coords go to the spot on stalingrad were u want the item,then pop up console and type in coord,and youll see the coords pop up wit the angles under them.so ull have two lines of numbers :wink:

Posted: Thu Mar 24, 2005 7:24 pm
by BiG_HeaD
so what do i do ? I really dont get it? What the command to add sandbags? Rifles?

Posted: Thu Mar 24, 2005 8:57 pm
by At0miC
Hhm just do what he said lol, if you want to place a model somewehere, go in the game to the place where the model has to be, open console, and type "coord" and write down the coordinations and angles.

Add the script (from above) under "level waittill spawn" in the scr of the map.
Change the coordinations and angles in the script
Then choose the model, search for the model you want in radiant, and remember the model's path. And change the path of the model in this piece of the script:
local.item model "models/static/vehicle_mercedes.tik"

That's it

Anyway, you can change the scr in game too, type "editscript" in console. The edited scr will be found in main/maps/dm (or obj) If you're done press control + S to save. Restart the map and test if the model(s) is on the right place or right angles.

Posted: Fri Mar 25, 2005 6:32 am
by BiG_HeaD
OKAY, Im using the Demo map as a test. Where can i find the scr for mohdm6? Do i edit that one?

Posted: Fri Mar 25, 2005 6:38 am
by BiG_HeaD
i dont get this at all. OK, i opened the Script from script editor ingame, but when i edit it and hit control S it saves, but when i restart the map, i dont see any new model.

BTW where do i put the coords at?

local.item model "models/static/vehicle_mercedes.tik THEN coords? ?!?!?!

Posted: Fri Mar 25, 2005 6:47 am
by BiG_HeaD
my goal is to SPawn Stairs To the roof of stalingrad. Maybe even spawn some more stuff on the roof. I wanna then SAVE it as a mod that is server side.

Posted: Fri Mar 25, 2005 7:41 am
by LiquorKraZy
using EDITSCRIPT, adding what ever you want and saving it, then restarting only works for AA...in SH you have to figure out where you want stuff then type in COORD and it will give you the coordinates and the angles you need for the objects to spawn, then you have to open the .scr for that map and add it, then save, use a thread to call the object, example:
level waitill spawn

thread rock
end

rock:
local.object = spawn script_model
local.object model "static/rock_large.tik"
local.object.origin = ( *** *** *** )
local.object.angles = ( *** *** *** )
local.object solid/notsolid
end
put the coords in for Black
put angles in for Red
solid makes object solid, and not solid makes it so you can walk thru it

Posted: Fri Mar 25, 2005 6:19 pm
by Green Beret
origin is were coords go :)

level waittill spawn

local.item = spawn script_model targetname my_item
local.item model "models/static/vehicle_mercedes.tik"
local.item.origin = ( 100.00 100.00 100.00 )//change this to your coords
local.item.angles = ( 0 360 0 )//change to fit your angles

end
//other stuff

Posted: Fri Mar 25, 2005 7:08 pm
by BiG_HeaD
I edit the script INGAME, CLICK SAVE. IT doesnt save when the map is restarted. What am i doing wrong? LOL

Posted: Fri Mar 25, 2005 8:57 pm
by LiquorKraZy
that only works for AA...not SH...

Posted: Fri Mar 25, 2005 11:17 pm
by Green Beret
edit the .scr mohdm6.scr
place it in a folder in main and name it maps
then make a folder named DM
place the mohdm6.scr in the DM folder

you can find the mohdm6.scr in the pak5.pk3
maps/DM/mohdm6.scr
pull it out and edit it with notepad,then place it in the main/maps/DM folder

Posted: Sat Mar 26, 2005 5:06 am
by BiG_HeaD
any .scr editors out there?

Posted: Sat Mar 26, 2005 9:11 pm
by jaz_3450
BiG_HeaD wrote:any .scr editors out there?
why don't you just use notpad like me. when you save it after your done editing just add the extentsion .scr name it the same as the map ur editing and the script master will automatically get it.at least thats what i do.