Members Online»
0 Active | 42 Guests
Online:
|
LATEST FORUM THREADS»
by morgawr
Posts: 4 / 198 The Future of MODSonline
In The News by KAZAM3766
Posts: 1 / 532 CoD: Battle Royale
CoD+UO Map + Mod Releases by morgawr
Posts: 1 / 2602 Damaged .pk3's
CoD Mapping by lazygit
Posts: 1 / 3118 heli to attack ai
CoD4 SP Mapping by DrBiggzz
Posts: 11 / 997 New Cod UO Rifle Mod.
CoD Mapping |
Polls»
|
|
Topic | Replies | Views | Last Post | |
Complicated thingy :( Call of Duty 4 : CoD4 Scripting You sir, are a ******* legend. edited on Aug. 6, 2011 07:15 am by acedlol... [more] |
12 | 1270 | Aug 6, 2011 11:15 am by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting IzNoGoD writes...Quote:Code: main() { teleporter2 = getEnt ( "game2" , "targetname" ); targetaxis2 = getEnt ( "axis2", "targetname"); targetallies2 = getEnt ( "allies2", "targetname"); player=undefined; while(!isdefined(player)||!isplayer... [more] |
12 | 1270 | Aug 6, 2011 09:30 am by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting Okay, so I think I got it working, but now I have another problem. Code: main() { teleporter1 = getEnt ( "game1" , "targetname" ); targetaxis1 = getEnt ( "axis1", "targetname"); targetallies1 = getEnt ( "allies1", "targetname"); teleport... [more] |
12 | 1270 | Aug 6, 2011 08:22 am by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting Enabled developer_script error was "type undefined was not a vector" ... [more] |
12 | 1270 | Aug 5, 2011 03:24 pm by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting Fixed the syntax erros Code: main() { teleporter = getEnt ( "game1" , "targetname" ); targetaxis = getEnt ( "axis", "targetname"); targetallies = getEnt ( "allies" , "targetname"); teleporter waittill("trigger",player); if(player.pers["te... [more] |
12 | 1270 | Aug 5, 2011 12:52 pm by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting So I give the script_origins names: teleportaxis1 teleportallies1 Put this into the script target_axis=getent(teleportaxis1,"targetname"); target_allies=getent(teleportallies1,"targetname"); I get unitialised variable error at that ... [more] |
12 | 1270 | Aug 5, 2011 11:31 am by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting Script is fine, up to the bit where you set the weapons for(i=0;i... [more] |
12 | 1270 | Aug 5, 2011 10:41 am by acedlol |
|
Complicated thingy :( Call of Duty 4 : CoD4 Scripting I have a scripting job, which is essential for my map, and I don't have the amount of knowledge needed to write this myself. I've tried looking and searching and made attempts, but I've only produced miserable failures. I would greatly appreciate if anyon... [more] |
12 | 1270 | Aug 5, 2011 07:58 am by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting FINALLY got it working, (so far at least) For all those looking at this topic, and wondering how to: http://modsonline.com/Forums-top-116671.html Thanks to all those that helped, most appreciated.... [more] |
15 | 2242 | Jul 22, 2011 02:59 pm by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting It was some syntax error in the _load file, which I found strange, because its my _load file :S:S:S. I'll have a look back over the tutorials and see if I can get it running again. ... [more] |
15 | 2242 | Jul 22, 2011 01:33 pm by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting Oh dear, I could probably get it down by a couple of hundred. ... [more] |
15 | 2242 | Jul 22, 2011 12:23 pm by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting Hmm, several syntax errors in there, first one popped up at: self.health = self.health -- dmg; Changed the -- to the - (not sure if thats right), then that worked but I got the error at : if( self.health =< 0 ) Removed the = (again probably... [more] |
15 | 2242 | Jul 22, 2011 10:22 am by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting Hmm, on further inspection, brax's script isn't working on some occasions, like in promod, and with certain guns on the stock game. I will try the other one, and learn arrays? As I heard that's how you assign one function to a range of things ... [more] |
15 | 2242 | Jul 21, 2011 07:27 pm by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting Say if I needed to create hundreds of these blocks, I cannot just copy+paste and change the targetname everytime ? Thanks for your help so far, beginning to understand this scripting lark :P... [more] |
15 | 2242 | Jul 21, 2011 04:17 pm by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting IzNoGoD writes...Quote:breakablewall() { health=200; while(health>0) { wall waittill("damage",dmg) health-=int(dmg); } normalbrush notsolid(); normalbrush hide(); } Getting bad syntax at: health-=int(dmg); However I don't see ... [more] |
15 | 2242 | Jul 21, 2011 09:07 am by acedlol |
|
how wierd :< Call of Duty 4 : CoD4 Scripting Okay, so in this map I have a simple breakable wall. I do this using this script: main() { thread breakableWall(); } breakableWall() { normalbrush = getEnt("normalbrush", "targetname"); wall = getEnt("damageTrigger", "targetname"); wa... [more] |
15 | 2242 | Jul 21, 2011 08:50 am by acedlol |
|
trigger_hurt + brushmodel Call of Duty 4 : CoD4 Scripting Here's the situation picturised. :D The rotating arm itself, and the 16x16 origin texture brush have these settings, and rotate fine. The rotating script: (from the wikimods website) main() { rotate_obj = getentarray("rotate","targe... [more] |
3 | 1671 | Jul 19, 2011 02:19 pm by acedlol |
|
trigger_hurt + brushmodel Call of Duty 4 : CoD4 Scripting Did a quick search, couldn't find anything. Basically, I have a rotating brush in my map. Its a spinner and when a player gets close to this brush, I want them to die using the trigger-> trigger_hurt. However radiant doesn't allow for the trigger_hu... [more] |
3 | 1671 | Jul 19, 2011 08:56 am by acedlol |
MODSonline.com Forums |
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) OHMY Valley
Call of Duty 2: Maps: Multiplayer (5.7Mb) |
Partners & Friends»
|
Site Links and Information
|
Partners
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware