Whats the best way to open a stock map for Spearhead and add objects to them? What programs do i use...if any?
And also..how do i get the yellow messages that appear to the left to work in the map script..where do i put the IPRINTLN etc...?I want the message to appear every 5 mins!!
thx
Help!!
Moderator: Moderators
-
LiquorKraZy
- Captain
- Posts: 267
- Joined: Tue Aug 10, 2004 5:38 am
- Location: CA
- Contact:
You would have to decompile. Do a search for it here, you'll find about 6000 topics on why it is a BAD idea.
to print a message every 5 min:
to print a message every 5 min:
Code: Select all
message_5min:
iprintln "SOME MESSAGE"
wait 300
goto message_5min
endyou can open stock maps by decompiling to a .map file and using radiant, but it wont get you anywhere. A decompiled map is compeltely flawed, and cant jsut be recompiled with new data.
You can only add things to stock maps via scripting. How you add it, depends on what you want to add, but the first things you will need to know is coordinates within the map. You can use the 'coord' command from console(I think only if you have developer mode on) to give you the xyz position as well as angles. Once you have that information you can use 'spawn' and other commands to place models, triggers, etc into stock maps. To see the basics of how it is done, check out one of the myriad of mapfixes people have made and distributed for moh. Counter Intelligence comes with a pretty comprehensive set of mapfixes, might give you some insight on what you can spawn in a map(or code) and the basics of how to get it done. Or do some searches, there are probably thousnads(no joke) of posts on this forum(mainly in scripting) that refer to, or are about spawning things into maps.
You can only add things to stock maps via scripting. How you add it, depends on what you want to add, but the first things you will need to know is coordinates within the map. You can use the 'coord' command from console(I think only if you have developer mode on) to give you the xyz position as well as angles. Once you have that information you can use 'spawn' and other commands to place models, triggers, etc into stock maps. To see the basics of how it is done, check out one of the myriad of mapfixes people have made and distributed for moh. Counter Intelligence comes with a pretty comprehensive set of mapfixes, might give you some insight on what you can spawn in a map(or code) and the basics of how to get it done. Or do some searches, there are probably thousnads(no joke) of posts on this forum(mainly in scripting) that refer to, or are about spawning things into maps.
When I am king, you will be first against the wall~


-
LiquorKraZy
- Captain
- Posts: 267
- Joined: Tue Aug 10, 2004 5:38 am
- Location: CA
- Contact:
-
LiquorKraZy
- Captain
- Posts: 267
- Joined: Tue Aug 10, 2004 5:38 am
- Location: CA
- Contact:
