to modify map?

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Almogaver
Lance Corporal
Posts: 12
Joined: Mon Feb 16, 2004 2:52 pm

to modify map?

Post by Almogaver »

Hello in the first place pardon for my English because I am Spanish.
I am learning how to modify maps with the scripts.
I don't find a tutorial that explains to me it well, I also eat not you very English I find difficult to understand it.
Do I want very for example to put a flag in a map Stalingrado, in one of their walls, as I can make it?.
I have a mod that modifies this map and modifying the script can put on new things, boxes, life, fire......
Which serious you line them to introduce to put a flag?
Thank you.
Krane
Lieutenant General
Posts: 782
Joined: Sat May 31, 2003 4:18 pm
Location: California, USA
Contact:

Post by Krane »

Try this just below (abajo de) "level waittill spawn"

Code: Select all

local.flag = script_model "targetname" "myflag"
local.flag model static/static_kriegsflag.tik
local.flag origin -241.00 -188.00 -16.00
local.flag angles 0 90 270
In the origin numbers, you'll have to put the right numbers corresponding to where you want the flag...-241.00 -188.00 -16.00 will spawn the flag right at the bottom of a balcony, in the main area :wink:

Good luck!

PS: If this didn't work, try this:

Code: Select all

local.flag = script_model "targetname" "myflag"
local.flag model "static/static_kriegsflag.tik"
local.flag origin "-241.00 -188.00 -16.00"
local.flag angles "0 90 270"
Image
Almogaver
Lance Corporal
Posts: 12
Joined: Mon Feb 16, 2004 2:52 pm

Thaks

Post by Almogaver »

Thank you for the help will prove.
Post Reply